Proxy-Screened Exact Search for Ancestral Graphs

When two measured variables share an unmeasured cause, causal discovery methods mark the pair with a bi-directed edge. A bi-directed edge says "something hidden drives both of these," and it lets the method avoid modelling the hidden variable itself. The most accurate way to learn such graphs is exact score-based search. Methods of this kind break the model's fit score into pieces, one per "district": a group of variables tied together by bi-directed edges, along with their direct causes. An integer program then picks the best consistent set of pieces. The bottleneck is that candidate districts grow exponentially with the number of variables. Current exact solvers therefore cap district size and stall at roughly 12 to 18 variables. Neural architecture search (NAS), the automated search for network designs, has faced the same shape of problem for years. It has far too many candidates to evaluate exactly. Its answer is to rank candidates with cheap "zero-cost proxies," measure how well those rankings agree with the true scores, and spend exact evaluations only on the top of the list.

This note proposes to bring that discipline into latent-confounder discovery. We would replace the fixed district-size cap with a cheap, learned screen that ranks candidate districts by their likely contribution to the fit score. The exact integer program then runs over the screened list. In two sentences: exact search for graphs with hidden confounders is limited by how many candidate districts it can afford to score, and NAS has already worked out how to rank huge candidate pools cheaply and how to audit those rankings. We propose to do the same for districts, so that exact solvers can afford larger confounded structures at the same compute.

Core Claim

At a matched budget of exact local-score evaluations, a screened candidate list contains the districts of the best-scoring graph more often than a size-capped list does. The gap should be largest when the true graph contains large districts, which happens when several hidden variables have overlapping children. The integer program stays exact with respect to whatever list it receives. The only new source of error is screening recall, and screening recall can be measured directly.

We also predict a specific failure mode, transferred from NAS. Zero-cost proxies there show "big-model bias": they favour larger networks regardless of quality, as documented by NAS-Bench-Suite-Zero. The analogue here is big-district bias. Any likelihood-based proxy rewards larger districts, so the penalty term must be calibrated, or the screen will flood the list with large, useless candidates.

Why this intersection, and why this direction

The research file's suggested intersections mostly run the other way: apply causal machinery to NAS. CARNAS separates causal from spurious subgraphs of the input graphs in graph NAS. Disentangled Neural Architecture Search learns a variational latent space of architectures without formal causal semantics.

The natural next step would be to treat supernet weight sharing or proxy bias as latent confounding. A supernet is a single over-parameterized network whose weights all candidate sub-networks inherit. We considered this framing and rejected it. In NAS benchmarks, design choices are sampled at random, so the effect of a design choice on accuracy is identified by randomization alone. The bias of a supernet score is a mismatch between two estimands, not a hidden common cause. A plain regression or mixed-effects model would answer that question as well as a mixed graph would.

The reverse transfer is where each field has something the other lacks. Latent-confounder discovery has an exact solver blocked by candidate explosion. NAS has a mature toolkit for cheap ranking: proxies, surrogate models over proxies, and tabular benchmarks that make ranking quality measurable.

Research Program

The method builds on AGIP, from Integer Programming for Causal Structure Learning in the Presence of Latent Variables. AGIP scores maximal ancestral graphs (MAGs) by decomposing the Bayesian Information Criterion (BIC) score into district scores. It enforces acyclicity with cluster inequalities and forbids "almost directed cycles" with bicluster inequalities. It limits district size to stay tractable, and its authors describe it as suited to about 18 variables. Maximal ancestral graph structure learning via exact search hits the same wall with branch-and-bound, scaling to 12 variables in 10 hours. These papers supply the solver. We change only the candidate list it receives.

The first ingredient is a cheap proxy for each candidate district $C$ with given parent sets. Under the linear Gaussian models these solvers assume, we regress each node in $C$ on its candidate parents and take the correlation matrix $R_C$ of the residuals. The proxy is

$$\hat g(C) = -\tfrac{n}{2}\log\det R_C \;-\; \lambda\,\tfrac{\log n}{2}\,|E_{\leftrightarrow}(C)|,$$

where $n$ is the sample size, $|E_{\leftrightarrow}(C)|$ is the number of bi-directed edges the district introduces, and $\lambda$ scales the BIC penalty. The first term is the likelihood gain from letting the errors in $C$ correlate while holding regression coefficients fixed. It equals the first step of residual iterative conditional fitting (RICF), the iterative routine both exact solvers use to compute district scores. The proxy costs one regression pass and one log-determinant, compared with a full iterative fit. The $\lambda$ parameter is where big-district bias shows up, and we tune it explicitly.

The second ingredient follows NAS-Bench-Suite-Zero's finding: combining 13 proxies in a gradient-boosted surrogate raised Spearman rank correlation by up to 42%. We train a small boosted-tree screener on several cheap district features. The features are $\hat g(C)$, district size, the largest residual partial correlation inside $C$, and p-values from the targeted conditional-independence tests of FCIT Efficient Latent Variable Causal Discovery. The screener is trained on small graphs, where every district can be scored exactly, and applied to larger ones.

The third ingredient is optional and ablated: the NAS analogue of weight sharing. RICF fits for a district are warm-started from fits of its sub-districts, cutting the cost of the exact evaluations that survive screening. The NAS lesson is that shared weights mis-rank candidates. We therefore use warm starts only to speed up exact scoring, never to rank.

The fourth piece is a benchmark contribution. Following NAS-Bench-201, which made search algorithms comparable by precomputing every candidate, we build exhaustive district-score tables for synthetic linear Gaussian MAGs of 8 to 12 nodes. With these tables, any screening rule can be evaluated in seconds against exact scores.

Baselines

The do-nothing reference is AGIP with its standard size cap, using as many exact district evaluations as its enumeration needs. The screened method then gets exactly that many exact evaluations, chosen by the screen instead of by size. Both use the same integer-programming solver, time limit, and data.

The strongest exact competitor is the integer program with cutting planes and the linear-programming heuristic from Integer Programming Based Methods and Heuristics for Causal Graph Learning. On 10-node sparse graphs it reports a skeleton F-score of 0.972, against 0.891 for ABIC and 0.918 for GBAP. On the 46-node Barley network its heuristic returned solutions where GBAP failed to finish in 24 hours. We run it with the same candidate budget. Beating it means higher BIC at equal wall-clock on graphs with planted large districts, and no worse BIC elsewhere. Exact branch-and-bound Maximal ancestral graph structure learning via exact search is the ground-truth optimizer up to 12 variables. Matching its BIC there shows that screening loses nothing.

The strongest scalable competitors are the score-guided hybrid methods in Efficient Latent Variable Causal Discovery: FCIT, BOSS-FCI, GRaSP-FCI, and the deliberately simple LV-Dumb. In 20- to 200-node simulations they report arrowhead precision near 0.99, against about 0.65 for FCI. We also include ABIC, the continuous relaxation from Differentiable Causal Discovery Under Unmeasured Confounding, and the GFlowNet sampler AGFN Human-in-the-Loop Causal Discovery under Latent Confounding, each run with its published defaults and the same per-instance time limit.

Two ablations isolate what matters. The first is random screening at the same list size. NAS-Bench-201 found that random search often beats elaborate methods, so the screen must beat chance by a clear margin. The second is the analytic proxy $\hat g$ alone, without the learned combination.

Why not just…?

Why not just keep the district-size cap, as AGIP already does? If the best-scoring graphs rarely contain districts above the cap, the cap is free, and our method only adds overhead. This is a real threat. The experiments settle it by planting hidden variables with overlapping children, so that true districts exceed the cap, and by reporting results separately for instances with and without such districts. If the gain vanishes on realistic structures such as Sachs, we will say so.

Why not just use the fast hybrid methods, which already scale to 200 nodes? LV-Dumb's near-0.99 arrowhead precision is strong evidence that exactness may not matter for orienting edges. These methods, however, do not optimize the score. The same paper reports that standard GFCI returns malformed graphs up to 90% of the time in dense settings. We compare on structural Hamming distance (the number of edge edits separating learned and true graphs) and on BIC separately. If FCIT or LV-Dumb matches the screened exact solver on Hamming distance at lower cost, the honest conclusion is that exactness buys a better score but not better structure. That would be a useful negative result.

Why not just screen at random, or rely on the solver's own LP-based pruning? Random screening is in the ablations above. LP-based heuristics prune within the candidate list but cannot recover districts that were never generated. The decisive quantity is recall of the optimal graph's districts at list size $M$, which we measure on the exhaustive tables for every rule.

Proposed Experiments

The first experiment audits the screens on the exhaustive tables. For each rule we report Spearman and Kendall rank correlation with exact district scores, along with top-$M$ recall of the districts in the optimal graph. Each metric is broken down by district size, to expose big-district bias and the effect of $\lambda$. The screener is trained on 8- to 10-node tables and tested on 11- and 12-node tables, which checks whether it transfers to larger graphs.

The second experiment is end-to-end search on linear Gaussian MAGs of 10 to 30 observed variables. These are generated from larger graphs by hiding 1 to 6 variables, at two densities and $n \in \{500, 1000, 5000\}$. We report BIC, Hamming distance against the true MAG and its equivalence class, arrowhead precision and recall, and runtime. Where branch-and-bound finishes, we also report the BIC gap to the exact optimum. As AGIP reports, its own baseline improved on greedy M3HC in 53 of 60 instances, so the cutting-plane integer program is the bar to clear.

The third experiment covers the real-data cases in the file. On the 11-protein Sachs data, ABIC reports skeleton precision of 0.77 and identifies Erk–PKA as a bi-directed edge. We check whether screened exact search recovers that edge and matches or exceeds that precision. On Barley, we compare BIC and runtime against the linear-programming heuristic. No reported BIC value for Barley was found on Lacuna, so the comparison will be run, not quoted.

The decisive check is this: at equal exact-evaluation budget, on instances whose optimal graph has a district larger than the cap, does the screened solver reach strictly better BIC than the size-capped solver more often than not under a paired sign test, without losing on the remaining instances? If so, NAS-style screening has extended exact search for confounded graphs. If not, the district tables still show why: the proxies' rank correlation and recall show whether the problem is the proxy or the premise. The scope is limited to linear Gaussian ancestral graphs, the regime where these exact solvers already operate. Extending the proxy to non-Gaussian or discrete data is left open.