GraphRAG-Benchmark icon indicating copy to clipboard operation
GraphRAG-Benchmark copied to clipboard

[Data Discrepancy] Reproduced graph metrics for HippoRAG2 (Medical Dataset) conflict with paper's reported statistics

Open zhegerushigui666 opened this issue 1 year ago • 3 comments

Thanks for releasing the GraphRAG-Benchmark! I am using the example script provided in this repository (which calls the hipporag.index() method) and the bge-large-en embedding model. However, the graph metrics I've generated are significantly different from those reported in the paper (Figure 5, Section 4.3, and Table 5).

Paper's Reported Metrics (Medical Dataset):

Nodes (V): 598 (from Fig. 5 & Sec 4.3)

Edges (E): 3,979 (from Fig. 5 & Sec 4.3)

Avg. Degree (Table 5): 13.31

Verification: The paper's metrics are internally consistent: (2 * E) / V = (2 * 3,979) / 598 ≈ 13.31.

Metric,My Reproduced Value

Nodes (V),"10,354"

Edges (E),"146,239"

Avg. Degree (2*E/V),28.25

Avg. Clustering Coeff.,0.3902

Could you please clarify how the "598 nodes" and "3,979 edges" metrics were calculated?

My reproduction script seems to build a single, large graph for the entire corpus. Is it possible the metrics reported in the paper (598 nodes) represent an average per document (i.e., per NCCN guideline) or some other form of aggregation that isn't immediately obvious from the example script?

Any help in understanding this discrepancy would be greatly appreciated so I can accurately reproduce your baseline.

Thank you!

zhegerushigui666 avatar Nov 23 '25 12:11 zhegerushigui666

Hello, thank you for your interest in and recognition of our work. Your approach is correct! In our paper, we also indexed the entire medical file. In our experiments, we used gpt-4o-mini for graph construction (you may need to check whether the backbone model you used is the same).

Additionally, to make the results comparable, we measured how many nodes and edges were extracted under a fixed 10k corpus-token size. Therefore, the values reported in the paper are actually average results. We will clarify this setting in the revised version of the paper to avoid misunderstandings.

Thank you again for your valuable feedback!

Eric-Xiang-526 avatar Nov 24 '25 03:11 Eric-Xiang-526

您好,感谢您对我们工作的关注和认可。你的方法很正确!在我们的论文中,我们还索引了整个医疗档案。在我们的实验中,我们使用了gpt-4o-mini来构建图(你可能需要确认你用的骨干模型是否相同)。

此外,为了使结果可比,我们测量了在固定10k语料-令牌大小下提取的节点和边数量。因此,论文中报告的数值实际上是平均结果。我们将在修订版论文中澄清这一设定,以避免误解。

再次感谢你宝贵的反馈!

Thanks for clearing up the graph stats confusion—good to know my graph construction is actually fine.

But I've got a question about the retrieval results in Table 4. I ran the exact script from the repo with gpt-4o-mini and the bge embedding you mentioned, and my results are wildly different. I'm getting an Evidence Recall of 91.15%, which is like 12 points higher than the 78.7% in the paper. Relevance is slightly lower at around 84%, but that recall gap is huge.

Is Table 4 definitely based on the entire dataset?

zhegerushigui666 avatar Nov 24 '25 22:11 zhegerushigui666

You are right, Table 4 is based on the entire dataset. But we only ran the retrieval performance evaluation once due to time constraints, so there may be some instability in the results. We will update the paper with more stable results in future revisions. Thank you for pointing out the issue.

Eric-Xiang-526 avatar Dec 01 '25 02:12 Eric-Xiang-526