GRACE: Parallel Best-of-N Multi-Agent Analysis of Closed-Form Questions over Dataframes with Guardrail Selection and Adaptive Retry
On the map: LLM agents and tool use → Web, search, and research agents
Abstract (arXiv)
LLM agents answer closed-form questions over a tabular dataframe by writing and executing Python, almost always as a single rollout: one interpretation, one script, one result, accepted without comparison. The few pipelines that produce several candidates reconcile them by answer-agreement voting, which needs a single comparable scalar and always returns one, even when every candidate is wrong. We present GRACE (Generative, Ranked, Adaptive Code Ensemble), a production-oriented pipeline that instead runs parallel best-of-N selection specialised to dataframe code. N agents run concurrently under a strict, machine-checkable output contract, diversified by persona hints, per-retry rotation, and a two-regime temperature schedule. Rather than vote, GRACE judges the executed artefacts: a pairwise tournament pre-filters the pool and a domain-specialised guardrail either selects the best candidate or, when none is defensible, rejects the whole pool and abstains with a diagnosis (an option voting structurally lacks), which in turn drives an adaptive retry with per-agent feedback. On InfiAgent-DABench (DAEval, M = 246), using Qwen3.6-35B-A3B as the backbone, GRACE raises answer match from 39% for a single-rollout baseline to 71% (+32 pp, 1.8x), recovering 53% of previously wrong answers. On the same DAEval task, the smaller dense Qwen3.5-9B lifts answer match from 38% to 63% (+25 pp, 1.7x). A controlled 3 x 3 study that sweeps the number of parallel agents against the retry budget finds, on the 35B backbone, the two levers largely substitutable: once either one is generous, the other adds little, identifying a cheap operating point for deployment. The same directional pattern replicates on the independent DataBench benchmark, again on the Qwen3.6-35B-A3B backbone, where answer match rises by 15 percentage points (from 70% to 85%) across 400 sampled questions.
Key facts. No citing papers in the map yet (data through 24 Nov 2026). Placed in Web, search, and research agents, one of 16 directions in LLM agents and tool use. Builds on 35 of its 41 references that are in the map. Submitted 16 Nov 2026.
Builds on
35 of 41 references.
Closest ancestors · 8
Same direction, newest first
- 2025SPIO: Ensemble and Selective Strategies via LLM-Based Multi-Agent Planning in Automated Data Science30 Mar
- 2025DatawiseAgent: A Notebook-Centric LLM Agent Framework for Adaptive and Robust Data Science Automation10 Mar
- 2024LAMBDA: A Large Model Based Data Agent24 Jul
- 2024Data Interpreter: An LLM Agent For Data Science28 Feb
- 2024DS-Agent: Automated Data Science by Empowering Large Language Models with Case-Based Reasoning27 Feb
- 2024InfiAgent-DABench: Evaluating Agents on Data Analysis Tasks10 Jan
- 2023MAC-SQL: A Multi-Agent Collaborative Framework for Text-to-SQL18 Dec
- 2023TaskWeaver: A Code-First Agent Framework29 Nov
Other references · 27
- 2021Training Verifiers to Solve Math Word Problemscited by 11,055
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 9,589
- 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 9,360
- 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 6,016
- 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,789
- 2023Let's Verify Step by Stepcited by 4,259
- 2023Self-Refine: Iterative Refinement with Self-Feedbackcited by 3,799
- 2022Constitutional AI: Harmlessness from AI Feedbackcited by 3,271
- 2023G-Eval: NLG Evaluation using GPT-4 with Better Human Alignmentcited by 2,428
- 2023AutoGen: Enabling Next-Gen LLM Applications via Multi-Agent Conversationcited by 2,189
- 2024Scaling LLM Test-Time Compute Optimally can be More Effective than Scaling Model Parameterscited by 2,138
- 2022Competition-Level Code Generation with AlphaCodecited by 1,510
15 more
- 2024Large Language Monkeys: Scaling Inference Compute with Repeated Samplingcited by 1,124
- 2023CRITIC: Large Language Models Can Self-Correct with Tool-Interactive Critiquingcited by 855
- 2023Prometheus: Inducing Fine-grained Evaluation Capability in Language Modelscited by 634
- 2024Mixture-of-Agents Enhances Large Language Model Capabilitiescited by 478
- 2022CodeT: Code Generation with Generated Testscited by 411
- 2023NeMo Guardrails: A Toolkit for Controllable and Safe LLM Applications with Programmable Railscited by 397
- 2023Large Language Models are Effective Text Rankers with Pairwise Ranking Promptingcited by 335
- 2025AIDE: AI-Driven Exploration in the Space of Codecited by 281
- 2023LEVER: Learning to Verify Language-to-Code Generation with Executioncited by 247
- 2023Universal Self-Consistency for Large Language Model Generationcited by 231
- 2024More Agents Is All You Needcited by 206
- 2024CHASE-SQL: Multi-Path Reasoning and Preference Optimized Candidate Selection in Text-to-SQLcited by 151
- 2023Data-Copilot: Bridging Billions of Data and Humans with Autonomous Workflowcited by 79
- 2024SELA: Tree-Search Enhanced LLM Agents for Automated Machine Learningcited by 29
- 2025CSC-SQL: Corrective Self-Consistency in Text-to-SQL via Reinforcement Learningcited by 17
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2025TUMIX: Multi-Agent Test-Time Scaling with Tool-Use Mixture
- 2026MATA: Multi-Agent Framework for Reliable and Flexible Table Question Answering
- 2025Agent-Based Detection and Resolution of Incompleteness and Ambiguity in Interactions with Large Language Models
- 2025Beyond the Strongest LLM: Multi-Turn Multi-Agent Orchestration vs. Single LLMs on Benchmarks
- 2026Unsupervised Tool Evolution for Coding Agents in Data-Lake Analytics
- 2025Debate Only When Necessary: Adaptive Multiagent Collaboration for Efficient LLM Reasoning
- 2026Demystifying Multi-Agent Debate: The Role of Confidence and Diversity
- 2026GRADRAG: Cross-Component Prompt Adaptation for Coordinated Multi-Agent RAG