Abstract
Large Language Models (LLMs) often struggle with complex, knowledge-intensive reasoning tasks that require connecting multiple facts across diverse sources. AtomR is a novel framework that addresses these challenges by decomposing reasoning into "atomic" operations—Search, Relate, and Filter—inspired by database query languages. By enforcing fine-grained planning through an Atomic Reasoning Tree (ART) and dynamically selecting between Knowledge Graphs, Wikipedia, and live Web searches, AtomR significantly reduces hallucinations and improves accuracy. Experimental results show that AtomR outperforms existing state-of-the-art RAG methods by nearly 10% on challenging benchmarks like 2WikiMultiHop and the newly introduced BlendQA.
Introduction
While LLMs have shown remarkable capabilities, they frequently stumble on tasks requiring multi-hop reasoning, entity comparison, or precise calculations. Current solutions typically combine Chain-of-Thought (CoT) with Retrieval-Augmented Generation (RAG). However, these methods suffer from two major flaws: inadequate planning, where sub-questions remain too "coarse" for effective retrieval, and source rigidity, where systems rely almost exclusively on a single source like Wikipedia, ignoring the structured precision of Knowledge Graphs or the timeliness of the live Web.
The AtomR Framework
AtomR treats reasoning like a structured database query, operating in two distinct stages: planning and execution. Unlike previous methods that rely on linear reasoning chains, AtomR constructs a hierarchical tree to manage sub-tasks and data sources more effectively.
1. Atomic Reasoning Planning
Instead of generating free-form sub-questions, AtomR forces the LLM to construct an Atomic Reasoning Tree (ART). Each leaf node in this tree must correspond to one of three "Atomic Knowledge Operators":
- Search: Used for entity disambiguation (e.g., identifying the correct "Shakira").
- Relate: Used for one-hop inference (e.g., finding studio albums released by an artist).
- Filter: Used for narrowing down lists based on specific conditions (e.g., albums released between 2000 and 2010).
These operators are designed to be indivisible and orthogonal, ensuring a highly logical and fine-grained reasoning path that minimizes the "planning gap" often seen in LLMs.
2. Atomic Reasoning Execution
The framework executes the ART from the bottom up. For each atomic operation, it performs:
- Dynamic Source Selection: The LLM determines the most appropriate source (Web, KG, or Text) for the specific step.
- Multi-source Retrieval: Data is pulled from the selected sources.
- Adaptive LLM Executor: A specialized prompt processes the retrieved data to answer the sub-question.
To improve efficiency, AtomR utilizes "Direct Reasoning." Parent nodes first attempt to synthesize an answer from their children's results. Retrieval is only triggered at higher levels if the child data is insufficient, reducing computational costs.
Evaluation and Results
AtomR was evaluated on both single-source (HotpotQA, 2WikiMultiHop, Musique) and multi-source benchmarks, including Meta’s CRAG and a new benchmark, BlendQA, designed for heterogeneous reasoning.
Key findings include:
- State-of-the-Art Performance: AtomR achieved a 9.4% absolute F1 score improvement on 2WikiMultiHop and a 9.5% improvement on BlendQA compared to previous baselines.
- The Value of Heterogeneity: Ablation studies confirmed that removing any single source (Web, Text, or KG) led to performance drops, with Web knowledge having the most significant impact on multi-source datasets.
- Cost Efficiency: Despite its fine-grained nature, AtomR often requires fewer retriever calls because its atomic leaf nodes make retrieval more successful on the first attempt.
Conclusion
AtomR demonstrates that imposing constraints on LLM reasoning through atomic operators can significantly bridge the planning gap in complex QA tasks. While the framework is highly effective for large-scale models like GPT-4o and Llama-3.1-70B, future work is needed to optimize it for smaller models (e.g., 8B), which currently struggle with the complexity of atomic planning instructions.
Summary updated