arXiv:2611.01317cs.LGOct 2026

Manuscript Offprint

arXiv:2611.01317

AgentCBO: Causal Belief Routing for Bayesian Optimization under Unknown Graphs

Qiyu Wei, Xin Zhang, Richard Allmendinger, Mauricio A Álvarez

Abstract

Causal Bayesian optimization (CBO) typically relies on the unrealistic assumption of a perfectly known causal graph. Recent methods relax this constraint by coupling optimization with structure learning, but they often waste sample budgets on structural uncertainties that are irrelevant to the optimizer. In this paper, we formalize routing-equivalence to shift the objective from full causal-graph recovery to causal belief routing, where structural differences only matter when they alter optimizer-facing objects such as admissible exploration sets and do-priors. We establish conditional fixed-update decision preservation and quantify CEI stability under predictive perturbations on a common exploration-set family. Furthermore, we propose AGENTCBO, a graph-belief routing framework that incorporates LLM causal priors through guarded proposal and commit mechanisms. Specifically, a LANGUAGE-PRIOR AGENT combines LLM beliefs with constraint-based discovery to extract a protected causal backbone alongside residual uncertain edges. A CALIBRATION AGENT and a RESIDUAL REPAIR AGENT then refine only these uncertain structures through score-gated bounded local edits. Finally, a deterministic commit gate evaluates candidate updates using routing-proxy checks before allowing them to influence intervention selection. Across ten benchmarks, AGENTCBO performs comparably to known-graph CBO, demonstrating that guarded LLM priors can improve fixed-budget CBO performance.

1 Introduction

In scientific research, optimizing complex objectives frequently requires carefully planned sequential experiments because evaluating candidate interventions is typically expensive [Jones et al., 1998, Shahriari et al., 2016, Frazier, 2018]. Bayesian optimization (BO) provides a principled framework for this setting by using probabilistic surrogate models and sequential acquisition rules to select informative experiments [Mockus, 1974, Jones et al., 1998, Shahriari et al., 2016, Frazier, 2018]. When causal structure is available, causal Bayesian optimization (CBO) can further improve sample efficiency by exploiting the graph to restrict interventions and initialize graph-informed surrogate models [Pearl, 2009, Aglietti et al., 2020]. Concretely, the causal graph routes the optimizer by determining which variables should be considered for intervention, which exploration sets (ESs) are admissible, and which do-calculus priors inform the corresponding surrogate models, ultimately shaping the acquisition policy used at each CBO update.

A long-standing challenge in CBO is that the known-graph assumption is rarely realistic in scientific investigations. Recent unknown-graph CBO methods address this limitation by coupling causal optimization with structure uncertainty. Causal Entropy Optimization models uncertainty over causal graphs within the surrogate and acquisition process to trade off structure learning and causal-effect

40th Conference on Neural Information Processing Systems (NeurIPS 2026).

Figure

Figure 1: Routing-equivalence vs. routing-critical edits. All three DAGs share manipulative ancestors {A,B}\{A, B\} of YY; DD (gray) is non-manipulable and EE is a non-ancestor. The schematic assumes matched fitting inputs and unchanged do-priors for the outside edit B→EB \to E, giving G1∼RG2\mathcal{G}_1 \sim_{\mathrm{R}} \mathcal{G}_2. The inside edit D→BD \to B (red) is routing-critical if dμ>δμd_{\mu} > \delta_{\mu}, as assumed for the displayed relation (Defs. 1–2).

optimization [Branchini et al., 2023]. Graph Agnostic Causal Bayesian Optimization maintains plausible graph models and selects interventions optimistically so that causal discovery is pursued only when it serves reward maximization [Mukherjee et al., 2024]. CBO with Unknown Graphs improves scalability by focusing posterior inference on the direct causal parents of the target variable [Durand et al., 2025]. While these methods weaken the need for expert-specified graphs, a remaining limitation is that graph relevance is still expressed through graph hypotheses, graph posteriors, or structurally restricted target-local summaries. This results in an optimization objective that is too tightly coupled with causal discovery, often demanding significant sample budgets to resolve structural uncertainties that might be irrelevant to the downstream choices of the optimizer.

Drawing insights from causal-bandit research, partial structural information has been shown to suffice for no-regret learning even under hidden confounders [Elahi et al., 2024]. A similar principle applies to our fixed-budget Bayesian optimization setting. What matters to the optimizer is not the exact recovery of the entire graph topology, but rather the optimizer-facing routing objects induced by the graph, such as the runtime ES family and the graph-derived do-prior objects. This insight leads to the notions of routing-equivalence and routing-critical edits. At a fixed update, two graphs are routing-equivalent if they induce the same runtime ES family and the same graph-derived prior objects. A local edit is routing-critical when it changes the ES family or moves the prior mean beyond a specified tolerance. As Figure 1 illustrates, an edit can change the DAG without changing its routing inputs; at matched state and coupled fitting/selector randomness, such an edit preserves the next intervention. An edit within the target-relevant ancestral structure can instead alter admissible ESs or graph-derived priors. Therefore, in latent-confounded settings, the maintained graph should be interpreted as an observed-variable routing proxy rather than a strictly identifiable causal DAG.

Based on this observation, we reframe unknown-graph CBO as causal belief routing rather than full causal-graph recovery. In this paper, we propose AGENTCBO, a guarded graph-belief routing framework that treats large language model (LLM) causal outputs as structured but uncertain causal priors. AGENTCBO does not treat the LLM as an autonomous optimizer or an unrestricted causal discovery oracle. Instead, it enforces a strict separation of roles where language models provide structured but uncertain causal beliefs while the BO loop manages intervention selection, surrogate updating, and acquisition. The graph-update stack follows a guarded Propose, Calibrate, Repair, and Commit architecture. The LANGUAGE-PRIOR AGENT elicits pairwise causal beliefs and combines them with constraint-based discovery to obtain a Peter-Clark(PC) Algorithm[Spirtes et al., 2000]-anchored point DAG, a protected backbone, and residual uncertain pairs. The CALIBRATION AGENT and RESIDUAL REPAIR AGENT then operate only on residual structures through score-gated refinement and bounded local edits. Candidate updates are accepted through a deterministic COMMIT GATE based on confidence and inexpensive routing-proxy checks. When a graph is committed, runtime ESs and graph-derived do-prior objects are recomputed, and archived interventions are re-injected whenever compatible ESs reappear. Interventional outcomes update the per-ES BO surrogate and archive instead of being fed into the LLM-based proposal mechanism.

In summary, our contributions are as follows. (1) We propose AGENTCBO, an LLM-assisted CBO framework whose Propose, Calibrate, Repair, and Commit stack admits graph beliefs through PC anchoring, score-gated calibration, bounded repair, and a deterministic commit gate, while retaining CBO's intervention authority. (2) We formalize causal belief routing through the ES and do-prior interface, giving sufficient conditions for fixed-update decision preservation, a quantitative CEI stability bound, and an acquisition-margin condition for retaining the selected ES. (3) Across ten benchmarks, AGENTCBO is generally competitive with known-graph CBO, with its largest refinement gain on CompleteGraph. Matched PC-only ablations, exploration-set controls, route replay, and a controlled corruption study provide evidence for prior utility, finite-budget routing effects, and update-time protection. ALARM evaluates semantic-prior utility at 37 nodes, while ordered ER studies demonstrate operation and quantify computational cost through 50 nodes under a supplied ordering prior.