LinearRAG icon indicating copy to clipboard operation
LinearRAG copied to clipboard

Issue for Data Processing Guidance for 2WikiMultihopQA Dataset

Open codemonkey-1024 opened this issue 1 year ago • 3 comments

Hello,

Thank you for sharing your code. I noticed an issue while using it: in the original 2WikiMultihopQA dataset, each sample has 10 related pages, so 1000 samples should contain approximately 10,000 documents. However, the provided dataset only has 657 chunks. I couldn't find the specific data processing script in the code. Could you please provide guidance or the relevant script for converting the original dataset to the required format? I would greatly appreciate your help!

Thank you very much!

codemonkey-1024 avatar Nov 04 '25 10:11 codemonkey-1024

Thank you for your interest! We follow the evaluation protocol from HippoRAG[1]. The detailed dataset construction process is described in Section 3.1 of the HippoRAG paper.

[1] HippoRAG: Neurobiologically Inspired Long-Term Memory for Large Language Models, NeurIPS 2024.

LuyaoZhuang avatar Nov 05 '25 13:11 LuyaoZhuang

Thanks for your reply! I have also read HippoRAG and noticed that HippoRAG treats each Wikipedia passage as an independent short passage (~100–200 tokens), while in LinearRAG the chunk seems to be constructed by merging multiple paragraphs into a longer passage (often >600 tokens).

May I ask about the design consideration behind this difference?

codemonkey-1024 avatar Nov 05 '25 14:11 codemonkey-1024

Thank you for your question! In LinearRAG, we apply fixed-length chunking to the entire corpus which is a universal strategy. In contrast, HippoRAG uses Wikipedia's natural paragraph structure. Our approach is better suited for diverse, unstructured corpora without requiring domain knowledge.

LuyaoZhuang avatar Nov 06 '25 03:11 LuyaoZhuang