TL;DR
The Orchestra framework enables small, open-weight LLMs (like Qwen and Llama) to achieve state-of-the-art performance in Table Question Answering (TQA) by decomposing complex reasoning into a multi-agent workflow. By distributing tasks among specialized "Logic," "Query," and "Decision" agents, Orchestra allows accessible models to match or even surpass proprietary giants like GPT-4 while maintaining data privacy and reducing costs.
What Problem Does This Paper Address?
Table Question Answering (TQA) is the task of providing natural language answers to queries based on structured data (e.g., "Which ship in Auckland had the fastest speed?"). While large proprietary models like GPT-4 excel at this, they are expensive and pose privacy risks for sensitive data.
The authors identify a "capability gap": existing TQA methods (like ReAcTable) rely on long, complex prompts that require the LLM to simultaneously handle high-level logical reasoning and low-level code generation (SQL/Python). Smaller, "accessible" models (7B–14B parameters) often fail under this cognitive load, getting distracted by irrelevant context or failing to follow intricate instructions.
Methods
The authors propose Orchestra, a multi-agent framework built on the open-source AgentScope platform. Instead of one LLM doing everything, Orchestra uses a structured, layered workflow:
- Decomposition (Logic vs. Query Agents):
- Logic Agent: Focuses purely on the "what"—determining what information is needed from the table to answer the question.
- Query Agent: Focuses on the "how"—translating the Logic Agent’s instructions into executable SQL or Python code to interact with the database.
- Context Refinement (Decision Agent): Once a reasoning path is established, a third agent—the Decision Agent—is introduced. It receives a "cleaned" version of the reasoning trace, stripped of distracting few-shot examples and technical logs, to produce the final answer.
- Monte Carlo Calibration: To align the system with the true TQA objective, the framework runs the two-agent interaction multiple times ($m$ samples). It then uses the Decision Agent to evaluate these paths and selects the most frequent (dominant) answer, effectively trading "test-time compute" for higher accuracy.
Datasets
The framework was evaluated on three major TQA benchmarks:
- WikiTQ: A representative benchmark for general TQA with complex reasoning and numerical operations.
- TabFact: A large-scale dataset for table-based fact verification (binary "yes/no" answers).
- TableBench: A comprehensive and more difficult recent benchmark covering diverse domains like finance and health, designed to test the limits of LLM table understanding.
Key Insights and Ideas
- Orchestration over Scale: The paper demonstrates that a carefully coordinated group of 14B-parameter models can approach the performance of GPT-4. This suggests that for specialized tasks, how you use the model is as important as the model's size.
- Reducing Context Switching: By separating logic from code generation, the authors prevent "fragmented reasoning." Smaller models perform significantly better when they don't have to switch between "thinking like a human" and "writing like a coder" in the same prompt.
- The "Few-Shot" Tax: While few-shot examples help guide LLM behavior, they consume valuable context window space and can distract the model during the final decision phase. Using a Decision Agent to look only at the refined reasoning trace is a key "aha moment" for boosting reliability.
- Test-Time Scaling Laws: The results reinforce the idea that allocating more computation at inference time (via multi-agent iterations and Monte Carlo sampling) can compensate for smaller model weights.
Key Results
Orchestra establishes new state-of-the-art (SOTA) results across the board:
- WikiTQ: When paired with Qwen2.5-14B, Orchestra achieved 72.1% accuracy, nearing GPT-4’s 75.3%. With Qwen2.5-72B, it hit 75.4%, officially surpassing the GPT-4 baseline.
- Small Model Gains: On WikiTQ, Mistral-7B jumped from a dismal 3.6% (using the ReAcTable method) to 45.9% with Orchestra.
- TabFact: Using DeepSeek-V3, Orchestra reached 93.0% accuracy, outperforming all previous solutions.
- TableBench: Orchestra consistently outperformed the previous best open-source method (ReAcTable) by significant margins across all tested model families (Qwen, Llama, Mistral).
Limitations and Future Work
The authors acknowledge two primary limitations:
- Latency: Because the framework is multi-agent and iterative, it requires multiple sequential LLM calls. This makes it slower than "one-shot" methods and less suitable for real-time applications.
- Single-Table Focus: Orchestra is currently optimized for questions involving a single table. The authors suggest that extending the framework to handle multi-table joins and complex schema-linking is a promising direction for future research.
- Edge-Side Limits: While it works well on 7B+ models, the authors found that "edge-side" models (like Qwen-1.5B) still struggle to maintain the required behavior patterns even with this framework.
Summary updated