Matching the world’s top multi-hop RAG systems, with no GPU, no fine-tuning, just pip install
Matching the world’s top multi-hop RAG systems, with no GPU, no fine-tuning, just pip install

Matching the world’s top multi-hop RAG systems, with no GPU, no fine-tuning, just pip install

Matching the world's top multi-hop RAG systems, with no GPU, no fine-tuning, just pip install

The three systems below (HippoRAG 2, CoRAG, NeocorRAG) are among the strongest multi-hop QA frameworks published. Every one of them depends on a GPU, fine-tuning, or constrained decoding to get there.

MOTHRAG sits right alongside them on F1, while running entirely on commodity API calls. No GPU. No fine-tuning. No constrained decoding. No non-commercial licenses.

System | Deployment | HotpotQA | 2Wiki | MuSiQue | AVG
HippoRAG 2 | offline graph + GPU | 75.5 | 71.0 | 48.6 | 65.0
CoRAG | trained retrieval | 75.1 | 75.1 | 52.9 | 67.7
NeocorRAG | GPU constrained decode| 78.3 | 76.1 | 52.6 | 69.0
MOTHRAG (ours) | commodity APIs only | 78.1 | 76.3 | 50.5 | 68.3

Highest average F1 among commercially-deployable frameworks, within 0.7 points of the GPU-bound state of the art, and ahead of it on 2Wiki. The point isn't beating these systems, it's reaching their tier with none of their infrastructure.

Deployment is a pip install plus API keys:

pip install mothrag

from mothrag import MothRAG
m = MothRAG.from_documents(["Paris is the capital of France.", "The Eiffel Tower is in Paris."])
result = m.query("In which country is the Eiffel Tower?")
print(result.answer)
print(result.confidence)

The pipeline is fully modular. Readers, embedders and retrieval judges all swap without retraining, installed as optional extras: gemini/openai for API readers and embedders, sentence-transformers for a local embedding fallback, faiss for vector stores over 100k-10M chunks, retrieval for classic BM25/graph features, prod for the full stack.

A one-flag economy tier swaps the retrieval judge and drops cost from ~$0.032 to ~$0.018 per query at statistical parity on HotpotQA and 2Wiki.

Every answer is proof-tree-structured so you can inspect each reasoning hop, and the per-query outputs behind every table in the paper are released so you can verify the numbers.

Paper: https://zenodo.org/records/20668567
Code (Apache 2.0): https://github.com/juliangeymonat-jpg/mothrag
Site: https://mothrag.com

Happy to answer questions about the pipeline or the judge design.

submitted by /u/ObjectiveEntrance740
[link] [comments]