Unable to reproduce
I followed the configuration in your article, but I couldn't reproduce the results shown in the table — for example, on the medical dataset.
2025-11-19 23:24:01,615 - INFO - Initializing LinearRAG with config: LinearRAGConfig(dataset_name='medical', embedding_model=SentenceTransformer( (0): Transformer({'max_seq_length': 384, 'do_lower_case': False}) with Transformer model: MPNetModel (1): Pooling({'word_embedding_dimension': 768, 'pooling_mode_cls_token': False, 'pooling_mode_mean_tokens': True, 'pooling_mode_max_tokens': False, 'pooling_mode_mean_sqrt_len_tokens': False}) (2): Normalize() ), llm_model=<src.utils.LLM_Model object at 0x000001EC106077C0>, chunk_token_size=1000, chunk_overlap_token_size=100, spacy_model='en_core_sci_scibert', working_dir='./import', batch_size=128, max_workers=32, retrieval_top_k=5, max_iterations=3, top_k_sentence=1, passage_ratio=1.5, passage_node_weight=0.05, damping=0.5, iteration_threshold=0.5)
[passage] Loaded 902 records from ./import\medical\passage_embedding.parquet [entity] Loaded 9158 records from ./import\medical\entity_embedding.parquet [sentence] Loaded 9862 records from ./import\medical\sentence_embedding.parquet
Retrieving: 100%|██████████████████████████████████████████████████████| 2062/2062 [03:46<00:00, 9.11it/s] QA Reading (Parallel): 100%|███████████████████████████████████████████████| 2062/2062 [10:39<00:00, 3.22it/s] Evaluating samples: 100%|██████████████████████████| 2062/2062 [04:16<00:00, 8.04sample/s, LLM_Acc=0.551, Contain=0.012] 2025-11-19 23:42:48,764 - INFO - Evaluation Results: 2025-11-19 23:42:48,765 - INFO - LLM Accuracy: 0.5514 (1137.0/2062) 2025-11-19 23:42:48,765 - INFO - Contain Accuracy: 0.0116 (24/2062)
Are there any additional parameters I need to configure?
I face the same problem on musique and medical, but the default parameters are able to reproduce the results on 2wikimultihop. I think maybe the hyperparameters need to be tuned on different datasets.
I used the GPT‑4o‑Mini API via the Azure, and just like with the official channel's API, I still couldn't reproduce it.
2025-11-20 12:33:31,586 - INFO - Initializing LinearRAG with config: LinearRAGConfig(dataset_name='medical', embedding_model=SentenceTransformer( (0): Transformer({'max_seq_length': 384, 'do_lower_case': False}) with Transformer model: MPNetModel (1): Pooling({'word_embedding_dimension': 768, 'pooling_mode_cls_token': False, 'pooling_mode_mean_tokens': True, 'pooling_mode_max_tokens': False, 'pooling_mode_mean_sqrt_len_tokens': False}) (2): Normalize() ), llm_model=<src.utils.LLM_Model object at 0x0000023F99536760>, chunk_token_size=1000, chunk_overlap_token_size=100, spacy_model='en_core_sci_scibert', working_dir='./import', batch_size=128, max_workers=32, retrieval_top_k=5, max_iterations=3, top_k_sentence=1, passage_ratio=1.5, passage_node_weight=0.05, damping=0.5, iteration_threshold=0.5) [passage] Loaded 902 records from ./import\medical\passage_embedding.parquet [entity] Loaded 9158 records from ./import\medical\entity_embedding.parquet [sentence] Loaded 9862 records from ./import\medical\sentence_embedding.parquet Retrieving: 100%|████████████████████████████████████████████████| 2062/2062 [03:50<00:00, 8.95it/s] QA Reading (Parallel): 100%|█████████████████████████████████████████| 2062/2062 [06:05<00:00, 5.65it/s] Evaluating samples: 100%|██████████████████████████████████████████ | 2062/2062 [02:00<00:00, 17.08sample/s, LLM_Acc=0.556, Contain=0.013] 2025-11-20 12:45:32,945 - INFO - Evaluation Results: 2025-11-20 12:45:32,946 - INFO - LLM Accuracy: 0.5563 (1147.0/2062) 2025-11-20 12:45:32,946 - INFO - Contain Accuracy: 0.0131 (27/2062)
Thank you for your interest in our work!
For the Medical dataset (subset of GraphRAG-Benchmark), we use the same GPT-Acc evaluation method as for 2Wiki, HotpotQA, and MuSiQue. We have re-uploaded the Medical dataset as we found inconsistencies with our paper settings in the original version.
Regarding hyperparameters, we've updated our run.sh script with the specific parameter settings for all datasets. Please check the updated script for reproduction.
We appreciate your feedbacks and thank you for helping us improve our work!