Source-linked AI summary
BaRe-Mem: Bayesian Reliability Memory for Robust and Adaptive Agent Consultation
Peilin Feng, Zhengyang Huang, Soujanya Poria
TL;DR
Because advisor reliability varies across tasks and misleading advice can make consultation worse than autonomous reasoning, the paper introduces BaRe-Mem, which learns contextual reliability from verified history to weight advice and choose whether to consult. Across the reported tasks, it remains robust as advisor information becomes more misleading and extends to worker routing, where it identifies capable workers earlier.
Problem
Consultation is difficult because advisors’ task-dependent capabilities and misleading responses can make external information unreliable for a central model’s decision.
Source: §1 · p. 1Method
Results
BaRe-Mem remains robust as advisor information becomes more misleading and its predicted consultation advantage tracks real gains, while its worker routing reaches higher completion with fewer calls.
Source: §4.3.2 · p. 8, §5 · p. 10, §4.4 · p. 10Takeaways & Limitations
The results suggest persistent reliability memory can support robust, adaptive consultation and worker routing in long-horizon multi-agent systems.
Source: §5 · p. 10
Abstract
from arXiv · showhide
In multi-agent systems, reliable consultation is challenging because advisor capabilities vary across tasks, and misleading information can make consultation worse than autonomous reasoning. We introduce BaRe-Mem, an online Bayesian reliability memory for multi-agent consultation. It estimates advisor reliability based on the central model's internal belief representations and updates these estimates from historical interactions. These estimates modulate the influence of advisor responses and guide the choice between consultation and autonomous reasoning. Across nine benchmarks and six central models, BaRe-Mem is more robust to misleading advisor information than debate and majority voting. On the more challenging tasks, it remains above autonomous reasoning across all tested misleading levels. Moreover, we extend the BaRe-Mem mechanism to worker allocation in agent teams. On the MuSiQue benchmark, BaRe-Mem improves task completion over routing by historical success counts and identifies capable workers earlier.
1 INTRODUCTION
Because advisor information can help or harm and capabilities vary by task, reliable consultation requires estimating which external evidence to trust. BaRe-Mem uses verified interaction history to estimate reliability and decide how much to consult or rely on autonomous reasoning.
1 INTRODUCTION
- Task-dependent advisor capabilities and misleading or mutually reinforcing errors make response aggregation alone insufficient for reliable consultation.The central model must estimate the reliability of external evidence for the current question.Source: §1 · p. 1
- Historical memory should turn prior interactions into contextual reliability estimates that regulate external evidence, adapt to changing advisors, and scale over long interactions.The introduction argues reliability should also determine whether to consult, given that collaboration can yield diminishing or negative gains as central-model capability rises.Source: §1 · pp. 1–2
- BaRe-Mem estimates advisor and central-model reliability from verified outcomes, using the estimates to modulate responses and choose between consultation and autonomous reasoning.The paper also applies the mechanism to worker selection in agent teams.Source: §1 · p. 2
2 RELATED WORK
Prior work stores experience in textual or continuous memories and steers model behavior through several interfaces. BaRe-Mem addresses the lack of explicit advisor reliability estimation conditioned on the central model’s context belief.
2 RELATED WORK
- Text-based memory stores or distills experience into records, reflections, skills, and trajectories, but is constrained by compression fidelity and retrieval noise.The cited approaches include external records and reusable summaries of experience.Source: §2 · p. 2
- Continuous-memory approaches encode experience in persistent latent states, neural memory, generated tokens, or structured competence states updated across interactions.The paper distinguishes this line from text-based memory construction.Source: §2 · p. 2
- Memory steering spans prompt conditioning, parameter adaptation, and internal-state modulation; BaRe-Mem adopts attention modification to apply its reliability estimates to advisor influence.The related work says these estimates can directly modulate each advisor response’s influence.Source: §2 · p. 2
3 BARE-MEM: RELIABILITY-GUIDED CONSULTATION
BaRe-Mem learns contextual reliability from verified history and uses it both to weight advisor responses and to choose whether consultation is preferable. Its consultation estimate balances the reliability of available evidence against autonomous ability and possible degradation from unreliable advice.
3.1 ORGANISING HISTORICAL RELIABILITY
- The memory represents each candidate using question and answer-content beliefs plus source identity, modeling reliability from both contextual similarity and the candidate response.Verified correctness is modeled with Bayesian linear regression; Kalman-gain updates incorporate new outcomes online using current posterior uncertainty.Source: §3.1 · p. 3
- Without verified evidence, advisors begin with equal reliability; verified correct outcomes raise an estimate, while an incorrect outcome lowers it.The Kalman gain controls update magnitude, and candidates without new evidence remain unchanged.Source: §3.1 · p. 3, Figure 1 · p. 3
3.2 RELIABILITY-GUIDED ATTENTION
- Estimated advisor reliability rescales attention to advisor-response tokens before softmax, leaving the most reliable advisor unchanged and progressively downweighting less reliable ones.This steering uses relative advisor reliability and adds no trainable parameters or training.Source: §3.2 · p. 4
3.3 DECIDING WHETHER TO CONSULT
- Consultation ability interpolates between performance with trustworthy evidence and autonomous ability reduced by unreliable evidence, using the memory’s confidence that trustworthy advice is available.The model compares this estimated consultation ability with autonomous ability on the current question.Source: §3.3 · p. 4
- The current question supplies autonomous ability and the highest advisor reliability, while verified outcomes train estimates of consultation success with reliable evidence and degradation under unreliable evidence.The resulting estimates determine current-question consultation ability.Source: §3.3 · p. 4
- The model selects consultation when its estimated accuracy is at least its autonomous ability; otherwise it reasons autonomously.Consultation is preferred when expected gain from reliable evidence outweighs potential degradation from unreliable evidence.Source: §3.3 · p. 5
4 EXPERIMENTS
Experiments test consultation across capability regimes, misleading-advice levels, sparse feedback, and agent-team routing. Analyses examine whether BaRe-Mem’s ability estimates track autonomous accuracy and predict consultation gains.
4.1 EXPERIMENTAL SETUPS
- The evaluation covers six central models and six advisors across capability-supported and capability-challenging benchmark suites, with questions shuffled within each regime.The supported suite includes GSM8K, APPS, and SQuAD; the challenging suite spans PIQA, MMLU, OpenBookQA, SciQ, BBH, and SuperGLUE.Source: §4.1 · p. 5
4.2 ADAPTIVE CONSULTATION UNDER MISLEADING INFORMATION
- In challenging tasks, Question + Peers and two-round Debate fall below the No consultation baseline once misleading information exceeds 50%.The evaluation varies misleading responses from 0% to 100%; the responses remain fluent and on-topic but are verified incorrect.Source: §4.2 · p. 5
- BaRe-Mem remains above autonomous reasoning across tested misleading-information levels, while reliability-guided consultation without an autonomous option eventually falls below that baseline on challenging tasks.In the capability-challenging regime, consultation ratios fall from 90% to 21% for Qwen3-14B and from 85% to 18% for Phi-4 as misleading information rises from 0% to 100%.Source: Figure 2 · p. 6, §4.2 · p. 6, Table 1 · p. 7
4.3.1 AUTONOMOUS ABILITY ESTIMATION
- Estimated autonomous ability κ tracks changes in empirical autonomous accuracy, and grouped-question accuracy increases monotonically with κ for both analyzed models.The analysis uses Qwen3-14B and Phi-4.Source: §4.3.1 · p. 7, Figure 3 · p. 7
4.3.2 PREDICTED VS. REAL CONSULTATION GAIN
- Real consultation gain increases with predicted gain across misleading-information ratios, and the predicted consultation-versus-autonomy boundary aligns near zero.As misleading information increases, both predicted and real consultation gains shift downward and left, primarily alongside lower estimated consultation ability.Source: Figure 4 · p. 8, §4.3.2 · p. 8
4.3.3 LEARNING FROM SPARSE FEEDBACK
- Both Qwen3-14B and Phi-4 gain over no-feedback performance with less than 1% verified feedback, with performance then largely saturating as feedback increases.The below-1% region corresponds to approximately 170 samples; most eventual gain arrives well before full feedback.Source: Figure 5 · p. 8, §4.3.3 · pp. 8–9
4.4 REAL-WORLD APPLICATION: AGENT TEAM ROUTING
- BaRe-Mem achieves the highest task completion across both lead agents and all verification settings, outperforming random routing and routing by historical success counts.Its advantage persists with no verification, lead-agent verification, and exact dataset verification.Source: Figure 6 · p. 9, §4.4 · p. 9
- With fewer worker calls, BaRe-Mem reaches higher task completion; all routing strategies approach the same ceiling once every worker has been tried.The ceiling is reached when at least one worker can solve the sub-task.Source: Figure 7 · p. 9, §4.4 · p. 10
5 CONCLUSION
BaRe-Mem learns contextual source reliability from verified interaction history, using it to modulate advisor influence and choose between consultation and autonomous reasoning. The paper reports robustness to misleading advice, useful reliability learning from sparse feedback, and an extension to worker routing.
- BaRe-Mem uses persistent reliability estimates to adaptively determine whom to trust and whether to consult.The authors suggest persistent reliability memory as a practical foundation for robust consultation in long-horizon multi-agent systems.Source: §5 · p. 10
A MATHEMATICAL DERIVATIONS
The appendices derive BaRe-Mem’s Bayesian posterior, online updates, reliability and consultation-ability estimates, and adaptive decision rule. They also characterize when adaptive selection can match or exceed always consulting or always reasoning autonomously.
A.1 BAYESIAN REGRESSION POSTERIOR
- The posterior is Gaussian with mean m_n and precision P_n, and its mean uniquely minimizes the corresponding regularized least-squares objective.The derivation expresses the objective as a quadratic and obtains the minimizer by setting its gradient to zero.Source: §A.1 · p. 16
A.2 DERIVING THE KALMAN GAIN
- A data-dependent Kalman gain weights each new prediction residual using current posterior uncertainty and minimizes conditional expected squared estimation error.The gain depends on existing observations and the new input, not the new outcome.Source: §A.2 · pp. 16–17
A.3 EXACT ONLINE UPDATE
- Recursive rank-one updates recover the batch posterior exactly after every verified observation, and BaRe-Mem applies them to its reliability-memory inputs and outcomes.The covariance update avoids recomputing a matrix inverse.Source: §A.3 · pp. 17–18
A.4 ORDER INDEPENDENCE
- For a fixed set of verified observations, BaRe-Mem’s posterior is invariant to the order in which those observations are processed.The memory is therefore insensitive to the arrival order of that evidence.Source: §A.4 · p. 18
A.5 DERIVING THE RELIABILITY ESTIMATE
- BaRe-Mem estimates reliability as the probability that predictive signed correctness is positive, using the posterior mean and uncertainty for each candidate.Before verified evidence, all candidates receive neutral reliability of 1/2.Source: §A.5 · pp. 18–19
A.6 DERIVING THE ESTIMATES OF ρ AND δ
- A two-dimensional Bayesian regression estimates consultation ability when evidence is trustworthy and its shortfall relative to autonomous ability when evidence is unreliable.Intermediate trust levels provide evidence about both parameters.Source: §A.6 · pp. 19–20
A.7 BREAK-EVEN TRUST AND DECISION REGIMES
- When estimated trustworthy consultation ability exceeds autonomous ability and unreliable consultation degrades performance, consultation is preferred above a break-even trust threshold.The threshold rises with greater autonomous ability or unreliable-consultation degradation, and falls when trustworthy evidence is more useful; other parameter regimes can imply always consulting or never consulting.Source: §A.7 · pp. 20–21
A.8 ACCURACY OF ADAPTIVE CONSULTATION SELECTION
- If adaptive selection never chooses the option with lower true accuracy, its expected accuracy is at least that of always consulting or always reasoning autonomously.A wrong-side choice incurs a penalty equal to the true accuracy gap, so errors near ties have little effect on final accuracy.Source: §A.8 · p. 21
B ADDITIONAL EXPERIMENTS AND ANALYSIS
Advisor and central-model capabilities vary across tasks, while BaRe-Mem improves accuracy across the evaluated central models and capability regimes. Gains are especially pronounced where capabilities are more heterogeneous.
B.1 CAPABILITY OF ADVISORS AND CENTRAL MODELS
- Advisor performance varies substantially across tasks, yet the pool often contains a correct answer, making question-specific identification of reliable evidence important.The capability-challenging regime exhibits stronger task-dependent heterogeneity across models and tasks.Source: §B.1 · pp. 21–23
B.2 CONSULTATION GAINS ACROSS CENTRAL MODELS
- 7.2–12.4 accuracy points in the capability-challenging regime and 4.3–13.7 points in the capability-supported regime are BaRe-Mem’s gains across six central models.Figure 8 presents autonomous accuracy, BaRe-Mem’s additional gain, individual advisor accuracy, and the fraction of questions with at least one correct advisor.Source: Figure 8 · p. 23, §B.2 · p. 23
B.3 ADVISOR SELECTION BEHAVIOR
Under uncorrupted advice, attribution patterns show a broadly consistent reliability ordering but vary across central models. BaRe-Mem also retains autonomous reasoning rather than consulting on every question.
- R1-Distill-Qwen-7B receives the largest advisor attribution and DeepSeek-Coder-V2-Lite the smallest across central models, while attribution shares vary by central model.Figure 9 attributes consulted questions to the advisor with the highest pre-feedback reliability estimate; the shares do not imply exclusive use of one advisor.Source: §B.3 · p. 23, Figure 9 · p. 24
- BaRe-Mem retains autonomous reasoning for every central model instead of forcing consultation on all questions.Figure 9 distinguishes autonomous answers from questions attributed to an advisor.Source: §B.3 · p. 23, Figure 9 · p. 24
B.4 ADVISOR RELIABILITY ESTIMATION
Across six advisors, reliability estimates from both central models decline as misleading information increases, tracking the advisors’ falling empirical accuracy. The estimates nevertheless remain above empirical accuracy at high misleading ratios, revealing a calibration gap.
B.4 ADVISOR RELIABILITY ESTIMATION
- Across six advisors, higher misleading-information ratios lower both empirical accuracy and reliability estimates from Qwen3-14B and Phi-4.Figures 10–15 show these curves across misleading ratios from 0% to 100%.Source: §B.4 · p. 24, Figure 10 · p. 25, Figure 11 · p. 25
- Reliability estimates decline faster early and then change less as accumulated evidence reduces posterior uncertainty.For a fixed representation, the Kalman gain corrects a fraction v/(1 + v) of the prediction residual.Source: §B.4 · p. 24
- At 100% misleading information, empirical accuracy is nearly 0 while estimates remain around 0.2, exposing a calibration gap.Unit observation noise leaves nonzero predictive probability even when uncertainty about regression parameters vanishes; this is not a universal lower bound.Source: §B.4 · p. 24
B.5 CONSULTATION ROBUSTNESS ACROSS ADDITIONAL CENTRAL MODELS
Across six central models, BaRe-Mem remains above autonomous reasoning throughout tested misleading-information levels in the capability-challenging regime, where other consultation methods can fall below it. The section also describes how the memory ranks and retries workers using verified feedback.
B.5 CONSULTATION ROBUSTNESS ACROSS ADDITIONAL CENTRAL MODELS
- At 50% misleading information in the capability-challenging regime, adding reliability memory improves accuracy over Question + Peers by 9.4, 12.6, and 9.1 percentage points for Qwen3-4B, Qwen3-8B, and Qwen3-14B, respectively.The corresponding gains are 11.8 points for Ministral-8B, 7.7 for Qwen2.5-7B, and 19.9 for Phi-4; both methods consult on every question.Source: §B.5 · p. 27
- In the capability-challenging regime, BaRe-Mem stays above autonomous reasoning across tested misleading-information levels for all six models.At 100% misleading information, it exceeds always-consult Advisors + memory by 13.0%–34.6% points and autonomy by 1.5%–2.8% points.Source: §B.5 · p. 27
- In the capability-challenging regime, all six models reduce consultation from 85%–90% without misleading information to 9%–21% at the highest misleading ratio.In the capability-supported regime, Phi-4’s consultation ratio drops only 1%–3% points, while Ministral-8B drops from 84% to 77% and 85% to 71%.Source: §B.5 · p. 27
C.1 AGENT TEAM PIPELINE.
- For worker routing, the lead agent ranks candidates per sub-task, tries the next worker after a rejected report, and updates reliability from verified outcomes.Checking determines whether to retry; after commitment, gold labels update memory for queried workers, while unqueried workers receive no update.Source: §C.1 · p. 31, Figure 22 · p. 32
C.2 TASK SOLVED ACCURACY
BaRe-Mem improves worker assignment, with higher initial sub-task completion than random or historical-success routing even when the first report is committed without retries. Under dataset-verifier checking, it achieves the highest task and sub-task completion across lead models.
C.2 TASK SOLVED ACCURACY
- With no retries, BaRe-Mem achieves higher sub-task completion than random or historical-success routing for all six lead models.It improves task completion over random routing by 13.4%–17.8% points across the six models.Source: §C.2 · p. 32
- Under dataset-verifier checking, BaRe-Mem reaches 51.9%–55.0% task completion, exceeding historical-success routing by 1.8%–4.9% points and random routing by 9.1–11.4 points.Sub-task completion exceeds historical-success routing by 1.7%–3.5% points; BaRe-Mem has the highest task and sub-task completion for every lead model.Source: §C.2 · p. 32
- Lead-agent checking improves BaRe-Mem task completion over no checking for five of six models by 1.5%–3.0% points, while dataset-verifier checking improves it over lead-agent checking by 11.6%–14.2% points across all six.For Ministral-8B, lead-agent checking changes task completion from 41.6% to 40.8%, while dataset-verifier checking raises it to 55.0%.Source: §C.2 · pp. 32–33
C.3 AGENT TEAM SWEEP
On MuSiQue, BaRe-Mem identifies capable workers earlier, with its advantage most evident when few workers can be tried; methods approach the same ceiling once all seven workers are available. It also adapts early from verified feedback, maintaining higher initial-worker accuracy than historical-success routing across the stream.
C.3 AGENT TEAM SWEEP
- Across six lead models, BaRe-Mem achieves higher task and sub-task completion with fewer worker calls, outperforming historical-success routing even with one worker per sub-task.As the budget reaches all seven workers, methods approach the same ceiling because they share the candidate pool; smaller-budget gaps reflect how early a capable worker is selected.Source: Figure 29 · p. 35, §C.3 · p. 36, Figure 30 · p. 36
- Conditioning worker reliability on the current sub-task yields a more informative ranking than a single aggregate past-success rate, with consistent advantages across six lead models.This supports the same instance-specific reliability principle used in advisor consultation.Source: §C.3 · p. 36
C.4 ADAPT SPEED
- Initial-worker accuracy rises quickly early in the 6,404-sub-task stream and remains above historical-success routing, while random routing stays nearly unchanged.The stream is partitioned into eight consecutive blocks of approximately 800 sub-tasks; early verified outcomes have greater influence when posterior uncertainty is high.Source: §C.4 · p. 37, Figure 31 · p. 37
Related papers
This paper cites
- ToolLLM: Facilitating Large Language Models to Master 16000+ Real-world APIs2023
- MuSiQue: Multihop Questions via Single-hop Question Composition2021
- SuperGLUE: A Stickier Benchmark for General-Purpose Language Understanding Systems2019
- Large Language Model based Multi-Agents: A Survey of Progress and Challenges2024
- Mixture-of-Agents Enhances Large Language Model Capabilities2024
- Recursive Experiential-Working Memory Evolution for Long-Horizon Agent Harnesses2026