arXiv:2610.27366cs.LGOct 2026

Manuscript Offprint

arXiv:2610.27366

Trail-Weighted Influence Scores for Approximate Outcome Prediction in Bayesian Networks

Sahil Kumar Rajput, Randhir Kumar

Abstract

We study trail-weighted pruning of evidence for Bayesian-network prediction. A traversal enumerates the active trails from each evidence node to the outcome, scores each trail by the product of its edge strengths, and drops evidence whose score falls below a threshold. For collider-free networks (chains and forks) over binary variables, we show that the trail score equals the exact correlation between a trail's endpoints, that a chain and a fork with equal edge strengths have identical joint distributions, and that the pruned posterior is within a computable sum of per-trail terms of the exact posterior when each dropped trail lies in its own branch of the outcome node. We prove this bound, check it exhaustively on all small trees, and show that it fails when dropped trails share a branch. In simulations on random trees, thresholding trail scores gives 1.4 to 13 times lower error than random pruning of the same size. We also apply the score, as an unproven heuristic, to seven bnlearn networks with colliders and loops. Keeping the top half of the active evidence by trail score gives lower error than random pruning on all seven, but it is not clearly better than a mutual-information ranking, and scoring costs more than the inference it saves on six of the seven, so we show no speedup. Models trained on trail, graph and information features and tested on networks they never saw do not beat the trail score or mutual information, but trail features carry most of what they use and clearly outperform generic graph features. A bound for general networks is left to future work.

1 Introduction

Predicting an outcome Y from partial evidence E in a Bayesian network requires the posterior P(Y∣E)P(Y \mid E), which is NP-hard to compute exactly in general (Cooper, 1990). A user also wants to know which evidence actually drove the prediction, and ideally to compute the answer from that evidence alone.

Standard relevance pruning uses d-separation. Evidence that is d-separated from Y by other observed nodes can be removed with no error (Geiger, Verma and Pearl, 1990; Shachter, 1998). This is exact but coarse: every evidence node with an active trail to Y is kept, even when that trail is a long chain of weak dependencies whose effect on Y is negligible.

We rank the remaining evidence by trail strength. A traversal from Y enumerates the active trails, each trail is scored by composing the strengths of its edges, and evidence whose best trail scores below a threshold is discarded. The score needs no inference, and it names the trail responsible for each piece of evidence. Earlier approximations delete weak links from the network (Kjaerulff, 1994; Choi, Chan and Darwiche, 2005). We instead prune the evidence set and leave the network intact.

This paper makes six contributions. The first four concern collider-free networks (chains and forks) over binary variables, and the last two are empirical:

  1. Exact trail scores. The product of edge strengths along a trail equals the exact correlation between its endpoints, and mutual information is a monotone function of it.

  2. Chain–fork equivalence. A chain and a fork with equal edge strengths have identical joint distributions, so every trail score treats them identically, which illustrates Markov equivalence.

  3. A pruning bound with a stated condition. When each dropped trail lies in its own branch of Y, the error of the pruned posterior is bounded by a sum over dropped trails. The bound is nearly tight for weak trails. We show empirically that it can fail when dropped trails share a branch.

  4. A simulation study with exact inference. d-separation pruning is exact, and trail thresholding beats random pruning of the same size across all thresholds tested.

  5. A benchmark study. On seven bnlearn networks, with colliders and loops handled heuristically, trail pruning beats random pruning on every network and hop distance on four of seven, is not clearly better than a mutual-information ranking, and shows no speedup.

  6. A test of learned calibration. Models trained on trail, graph and information features and tested on unseen networks do not beat the trail score or mutual information. Trail features add clear predictive value over generic graph features and make up 64% of the model's attributions.

A bound for colliders and loopy networks is outside this paper and is described under future work.