NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

When Do Probe Distances Pinpoint Multiple Link Failures? Girth, Group Testing, and the Limits of Balanced Losses

Suppose you place a few measurement probes on routers in a network and record the shortest-path distances between every pair of probes. When a link breaks, some of those distances get longer, and the pattern of which ones changed is a fingerprint of the failure. Existing theory asks how few probes are needed so that every single link failure changes at least one distance. Real outages are different. Several links fail together, some links fail often and most fail rarely, and a sensible engineer would hand the problem to a neural network trained with an imbalance-aware multi-label loss. This note argues that this pipeline hits a ceiling that no loss function can raise. When several links always sit on the same measured paths, they appear together in every fingerprint, so they cannot be told apart. This "co-occurrence" comes from where the probes are, not from how the training data was sampled. The note also argues that the network's girth (the length of its shortest cycle) controls how clean and decodable those fingerprints are.

The central observation is simple. If two probes are closer than half the girth, the shortest path between them is unique, so their distance grows exactly when at least one link on that path fails. Within that radius, probe-pair measurements behave like pooled tests in group testing, the classic problem of finding a few defective items by testing groups and learning only whether each group contains a defective. Beyond that radius, a measurement responds only when the failures cut every shortest path, and the combinatorics get much harder. The project turns this observation into probe-placement criteria for identifying several simultaneous failures, an explicit identifiability ceiling for learned detectors, and a benchmark that tests whether learning adds anything over combinatorial decoding.

Core Claim

Two existing ideas define a monitoring edge-geodetic (MEG) set. First, an edge is detected by a probe pair only if it lies on all shortest paths between them, because otherwise traffic reroutes at equal length and the failure is masked (Monitoring Edge-Geodetic Sets in Graphs, Monitoring Edge-Geodetic Sets in Graphs: Extremal Graphs, Bounds, Complexity). Second, an MEG set is a probe set in which every edge is detected by some pair. The related distance-edge-monitoring (DEM) sets of Monitoring the edges of a graph using distances share the same single-failure, coverage-only goal. Coverage guarantees that a failure is noticed. It does not guarantee that the failed set can be named. Naming it requires the edges' detection patterns to be distinct, and with $k$ simultaneous failures it requires something like the separability conditions of group testing.

Formally, fix a probe set $M$. Write $A_M$ for the binary matrix whose rows are probe pairs, whose columns are edges, and in which entry $(\{u,v\}, e)$ equals 1 when $e$ lies on every shortest $u$–$v$ path. Let $d(u,v)$ be the graph distance and $g$ the girth. The pivotal fact is the following.

$$d(u,v) < g/2 \;\Longrightarrow\; \text{the shortest } u\text{–}v \text{ path is unique.}$$

The reason is that two distinct shortest paths of length $d$ would close a cycle of length at most $2d$. For such pairs, the observation under a failure set $F$ is exactly an OR over the edges of one path. Girth therefore sets a "clean-test radius." Inside it, decoding is standard Boolean group testing on $A_M$. Outside it, an observation can also fire when $F$ jointly cuts all geodesics without containing any single monitored edge. That breaks the OR model and makes decoding harder.

The claim has three parts. First, the right object for multi-link localization is a $k$-identifying probe set: one in which every pair of failure sets of size at most $k$ produces a different fingerprint. Its size should depend on girth in the way the single-failure bounds do. Second, edges with identical columns in $A_M$ form alias classes, and these classes bound the per-edge recall of any detector, learned or not. Third, the multi-label rebalancing methods built for vision help only with the part of the error that comes from skewed failure frequencies, not with the part that comes from aliasing.

Research Program

The theoretical arm extends the girth results from coverage to identification. Bounds and extremal graphs for monitoring edge-geodetic sets in graphs proves two results this arm builds on: for girth at least 5 every vertex cover is an MEG set, and for 2-connected graphs of girth at least 4, $meg(G) \le 4|V|/(g-3)$. Monitoring the edges of a graph using distances with given girth supplies the DEM analogues $dem(G) \le n - \lfloor g/2\rfloor$ and $dem(G) \le \gamma(G)$, where $\gamma(G)$ is the domination number. All of these are single-failure coverage statements, and their proofs work through exactly the short-range unique-geodesic structure described above.

We will try to prove two things. The first is that for girth comfortably above a threshold depending on $k$, augmenting a vertex cover with a bounded number of extra probes per edge yields distinct columns ($k=1$) and then $k$-separability. The second is the matching lower-bound constructions at girth 3 and 4, where the file's characterization of indispensable vertices through 4-cycle detours suggests that identification forces probe counts toward $|V|$. We treat these as conjectures to be settled, not as established. The fault-tolerant DEM work of Fault-tolerance in distance-edge-monitoring sets, which casts probe selection as a 0-1 integer program, supplies the method we reuse to compute minimum $k$-identifying sets exactly on small graphs. Those exact solutions will let us check the conjectured bounds.

The line-graph direction enters as a constraint and as a choice of representation, not as the core mechanism. The tempting move is to "monitor edges" by monitoring vertices of the line graph $L(G)$, using alternating edge–node message passing as in CensNet and Dual-Primal Graph Convolutional Networks. That move fails for two reasons. First, every degree-3 vertex turns into a triangle in $L(G)$, so $L(G)$ has girth 3 and none of the high-girth guarantees transfer. Second, $L(G)$'s cliques group edges that share an endpoint, which is not the same as grouping edges that share measurement pools. We will state and check this mismatch formally.

The decoder we build therefore uses a different structure. Its nodes are the edges of $G$, and each measured probe pair is a hyperedge containing the edges on that pair's shortest paths. This is a measurement-induced relative of the dual hypergraph transformation of Edge Representation Learning with Hypergraphs, which makes edges into nodes losslessly at $O(m)$ cost; here the hyperedges come from the probe design rather than from incidence. The decoder outputs posteriors over alias classes, not over raw edges, and it is trained with a prior that reflects long-tailed per-link failure rates.

The learning arm asks a narrow question: once aliasing is factored out, where does learning help? We see three plausible places. One is noisy distance readings. Another is joint-cut observations beyond the clean-test radius, where the OR model is wrong. The third is exploiting skewed priors and correlated failures. Two motivating prior results come from the network tomography line. Neural Network Tomography shows that classical tomography is brittle to map errors, with a 2% map error causing roughly 50% estimation error. Network Tomography with Path-Centric Graph Neural Network shows that path-level neural models handle non-additive metrics. Both predict continuous performance metrics. Neither localizes failed link sets or reasons about whether a set is identifiable, and that is the gap this arm addresses.

Baselines

The naive reference point has two parts. The first is a prior-only predictor that ranks edges by their marginal failure rate and ignores measurements. The second is the "all edges whose every pool fired" rule, which is the COMP decoder from group testing applied to $A_M$. Any proposal that cannot beat COMP on exact-set recovery within the clean-test regime has no reason to exist.

The strongest competitor for the decoding question is a prior-weighted combinatorial decoder: maximum a posteriori inference over failure sets, solved as a small integer program on $A_M$, with joint-cut constraints added for pairs beyond the clean-test radius. It uses the same information as the learned model, plus exact knowledge of the measurement model, so it is the fair upper reference when topology is known. It will run on identical topologies, probe sets, and failure samples, with the same wall-clock budget per instance as the learned decoder's inference. We expect it to win in the noiseless, known-topology, short-radius regime. The learned decoder counts as beating it only if it achieves higher exact-set recovery or tail-edge average precision under distance noise, map errors, or long-radius probe pairs, at equal probe budget.

The strongest learned competitor is a primal graph neural network that takes distance-change vectors as input. We pair it in turn with plain binary cross-entropy, with Distribution-Balanced loss (Distribution-Balanced Loss for Multi-label Classification in Long-Tailed Datasets), and with Partial Label Masking (PLM). For reference, Distribution-Balanced loss reaches 53.55% mAP on COCO-MLT against 41.27% for standard training, and 78.94% versus 70.86% on VOC-MLT. Those numbers come from image benchmarks. We found no reported result on Lacuna for multi-link failure localization on Rocketfuel, ITDK, or any network topology, so all numbers on our task will come from our own runs. We also run a CensNet-style line-graph model and DeepNT as edge-centric and path-centric alternatives. Every learned baseline gets the same training data, the same parameter budget within a factor of two, and the same number of hyperparameter trials.

Two ablations isolate the key ingredients. The first swaps the probe-pool hypergraph for $L(G)$ adjacency while keeping everything else fixed; this tests the representation claim. The second trains our decoder on raw edge labels instead of alias-class labels; this tests whether the quotient matters.

Why not just…?

Why not just train a graph network with Distribution-Balanced loss on the failure labels? That loss fixes a sampling-induced conflict, where oversampling a rare label duplicates co-occurring head labels, as documented by Distribution-Balanced Loss and Pedestrian Attribute Recognition as Label-balanced Multi-label Learning. Here, co-occurrence is fixed by $A_M$: two edges with identical columns produce identical inputs whenever either fails. No reweighting can separate them, and per-edge recall on an alias class of size $c$ with equal priors is capped near $1/c$ at full precision. The experiment computes this ceiling analytically per topology and checks whether balanced losses approach it or exceed it on aliased edges. Exceeding it would indicate a bug or label leakage. The losses may still help on non-aliased tail edges, and we will report that honestly.

Why not just use classical group-testing or integer-programming decoding and skip learning entirely? This is the real threat, and the proposal is designed to concede it where it holds. When topology is known, distances are exact, and all probe pairs lie inside the clean-test radius, the measurement model is a known OR. Combinatorial decoders are then the right tool, and we expect them to match or beat any network. The open question is whether learning helps under noise, under map errors, which Neural Network Tomography shows are damaging, and under joint-cut observations at low girth. The noise and girth sweeps below settle this. If the integer program wins everywhere, the paper's contribution reduces to the identifiability theory and placement algorithms, which still stand on their own.

Why not just place probes on a vertex cover or a minimum MEG set? A vertex cover is a valid MEG set only at girth 5 or more (Bounds and extremal graphs). Even there it only guarantees that each failure is noticed. Edges whose columns coincide remain aliased, and two simultaneous failures can produce the same fingerprint as a third. We will measure alias-class sizes and two-failure confusion rates under vertex-cover and minimum-MEG placements against $k$-identifying placements of equal size. If coverage placements already yield near-singleton classes on real topologies, the identification criterion adds little, and we will say so.

Why not just run the decoder on the line graph, which already makes edges first-class? Line-graph message passing helps edge-level prediction in other domains: DPGCNN raises directed CORA link prediction from 74.95% to 76.45% (Dual-Primal Graph Convolutional Networks). But its adjacency encodes "shares an endpoint," whereas failure evidence is shared through probe paths, and its girth collapses to 3 at every hub. The representation ablation tests directly whether the probe-pool hypergraph beats $L(G)$ at equal capacity.

Proposed Experiments and Decisive Checks

The topologies are the Rocketfuel AS3967, AS3257, and AS1221 maps and the CAIDA ITDK AS15706 snapshot used by Neural Network Tomography. Alongside them we use synthetic families with controlled girth: random regular graphs filtered by girth, and edge subdivisions of real topologies. Subdividing every edge roughly doubles girth, and the file's subdivision result says it at most doubles the probe requirement, which gives a clean girth knob on fixed underlying structure. Failure sets are sampled from long-tailed per-link rates, with optional correlated groups that mimic shared-risk links, and with set sizes from 1 to 4. Distances are observed exactly, and also with additive noise and with a small fraction of map errors. Metrics are exact-set recovery, per-edge and tail-edge average precision, alias-class-level recall, and the number of probes used.

The first decisive check validates the clean-test radius. We measure the fraction of probe pairs with a unique geodesic as a function of girth, and confirm that the OR decoder is exact inside the radius and degrades outside it. The second check tests the identifiability ceiling: learned detectors' per-edge recall on aliased edges should sit at or below the analytic cap, while alias-class recall should be high. If balanced losses improve aliased-edge recall beyond the cap, our measurement model is wrong. The third check asks whether girth predicts decodability at a fixed probe budget, across the subdivision family and real topologies. It also asks whether exact minimum $k$-identifying sets from the integer program track the conjectured girth bounds on small graphs. The fourth check, learned versus combinatorial decoding across noise level and girth, determines whether the learning component earns its place. We commit in advance to reporting the regime map whichever way it falls.