Some of the most interesting dependencies in data are synergistic. A set of variables tells you about a target only jointly, the way two coin flips determine their parity while neither alone says anything. Partial information decomposition (PID) is the family of methods that splits the information a set of sources carries about a target into unique, shared, and synergistic pieces. It can name such effects. It cannot find them at scale. The number of pieces, called atoms, grows like the Dedekind numbers: 166 atoms for 4 sources, 7,581 for 5, and more than 7.8 million for 6 (Gutknecht et al.). Cheap summary scores such as O-information only report a net balance, so strong redundancy and strong synergy can cancel to zero (Rosas, Mediano, Gastpar). The practical question in neuroscience, sensor fusion, or genomics is usually narrower than full decomposition: which small groups of variables, among hundreds, act synergistically on this target? That is a search problem, and it looks like the pattern-detection problems that algebraic graph algorithms solve well.
This note proposes treating synergy discovery as detection of a hidden $k$-variable pattern. For binary data, each candidate set's top-order interaction with the target becomes one coefficient of an explicitly computable polynomial. The sum of squared coefficients over all candidate sets, or over only those forming a pattern in a known graph, can be evaluated exactly without listing the sets. The polynomial machinery built for $k$-path detection keeps variables from repeating within a set, and that property turns out to be what keeps lower-order signal from leaking into the statistic. The randomness the method uses has explicit error bounds. Every reported synergy is re-checked by an exact small PID on held-out data, so the method never outputs an unchecked claim.
Core Claim
Encode $m$ samples of $n$ binary sources as $x_{s,i}\in\{-1,+1\}$ and a centered target as $y_s$. The top-order interaction of a set $S$ with the target is its empirical Walsh (parity) coefficient
$$f(S)=\frac{1}{m}\sum_{s=1}^{m} y_s\prod_{i\in S}x_{s,i}.$$
For an XOR target this is the only nonzero coefficient, and it sits exactly on the synergistic set. Down and Mediano show that XOR is the unique purely synergistic deterministic system of three binary variables, which makes it the canonical case here. Now let $\mathrm{Occ}$ be the family of candidate sets: all $k$-subsets, or the vertex sets of occurrences of a small pattern $H$ (a path, star, or tree) in a known graph $G$ over the variables. The total energy of those sets is
$$E=\sum_{S\in\mathrm{Occ}} f(S)^2=\frac{1}{m^2}\sum_{s,t} y_s y_t\, P_{H,G}(x_s\odot x_t),\qquad P_{H,G}(w)=\sum_{S\in\mathrm{Occ}}\prod_{i\in S}w_i .$$
Here $x_s\odot x_t$ is the entrywise product of two samples, and $P_{H,G}$ is a vertex-weighted graph pattern polynomial in the sense of Bläser et al., who define and relate families of polynomials that enumerate subgraph and homomorphism occurrences. The claim has three parts.
The first part is computational. $E$ and its restrictions can be evaluated without enumerating $\mathrm{Occ}$. For unrestricted $k$-sets, $P$ is an elementary symmetric polynomial and costs $O(nk)$ per pair of samples. For graph patterns, $P$ is computed by dynamic programming over the graph. Setting some $w_i=0$ deletes variables, so the same evaluator also localizes the heavy set by adaptive splitting in $O(k\log n)$ calls.
The second part is statistical. Dropping the diagonal terms $s=t$ gives an unbiased statistic whose null mean is zero. Its null spread is roughly $\sqrt{|\mathrm{Occ}|}/m$, because each of the $|\mathrm{Occ}|$ squared coefficients fluctuates at scale $1/m$ and these fluctuations are close to independent when sources are close to independent. A planted synergy of strength $c$ is therefore detectable once $c^2\gtrsim\sqrt{|\mathrm{Occ}|}/m$. Restricting to a sparse graph shrinks $|\mathrm{Occ}|$ from about $n^k$ to about $n d^{k-1}$ for maximum degree $d$. This is the concrete payoff of the graph-pattern view: the graph is not decoration, it lowers the sample requirement.
The third part is about certainty. Every coefficient $f(S)^2$ is nonnegative, so the plug-in energy with the diagonal kept upper-bounds each one. "No candidate set has interaction above $\tau$" is therefore a deterministic certificate about the data in hand, obtained from one evaluation. Positive findings are handled Las Vegas style: they are reported only after direct verification.
Research Program
Why the path-detection machinery is needed. Pattern polynomials are easy to evaluate as homomorphism sums, meaning walks over the graph, where vertices may repeat. With $\pm1$ encodings, $x_i^2=1$, so a walk that revisits a vertex silently turns into a lower-order set. Ordinary pairwise and lower-order dependence then contaminates a statistic meant to isolate top-order synergy. Extensor-coding (Dell et al.) solves exactly this problem for $k$-paths. It assigns each vertex a vector in an exterior algebra, where $v\wedge v=0$, so any repeated vertex zeroes the term. Brand et al. extend this to deterministic multilinear detection with cancellations and to tree patterns (out-branchings).
We reuse their construction with one change: each vertex carries a weight vector of length $m$ (one entry per sample) instead of a scalar, combined entrywise. The open technical question is whether the costs reported for their settings carry over when weights are signed and vector-valued. Their deterministic general-circuit result assumes nonnegative coefficients in the multilinear part. Our pair-summed energy satisfies that assumption; single-sample evaluations do not. We will analyze and measure this rather than assume it.
Where the randomness enters, and how it is bounded. The exact statistic costs about $m^2$ pattern evaluations. A Rademacher sketch reduces this to $m$ per draw. Draw random signs $r_i$ for the variables, and set $Z_r=\frac1m\sum_s y_s P_{H,G}(r\odot x_s)$. Cross terms between different sets average away, so $\mathbb{E}[Z_r^2]=E$. Standard hypercontractivity bounds the variance of $Z_r^2$ by a factor exponential in $k$, so $R\approx C^k/\varepsilon^2$ draws give relative error $\varepsilon$ for a constant $C$ from that bound. The exterior-algebra evaluation adds its own randomness when random extensors are used; Brand et al.'s deterministic construction removes it at higher cost.
We will therefore study three versions: the fully exact $m^2$ evaluator, the sketched evaluator, and the sketched evaluator with deterministic extensors. For each, we record which error guarantee holds.
Calibration uses permutations of $y$. This gives exact finite-sample p-values for "no dependence of $y$ on candidate sets." It does not calibrate "no top-order interaction beyond lower-order effects." For that null we fit the lower-order structure and permute residuals, and we report the gap between the two nulls.
Verification and the Las Vegas guarantee. Localized candidates have $k\le4$ variables. That is small enough to compute the full redundancy lattice (at most 166 atoms) or a two-source decomposition on a held-out split. A synergy is reported only if its synergistic atom exceeds a threshold on held-out data. False positives from the screen therefore cost time, not correctness. False negatives are controlled only by the screen's power, and we will measure that power directly.
Known weakness we must confront. Walsh coefficients measure pure top-order interaction only when sources are nearly independent. Under dependence, redundancy leaks into high Walsh degrees. The $n$-bit Copy model is the worst case: if $x_1=x_2=x_3=y$, then $x_1x_2x_3=y$ and $f(\{1,2,3\})=1$, even though the information is purely redundant. Verification removes such false positives. Whether true synergy among correlated sources can hide from the screen is an open question, and the experiments below target it directly.
Relation to prior bridges. Information-theoretic signatures of causality proves that co-parents and co-tails in Bayesian networks and hypergraphs are marked by synergy. It assumes an oracle for PID values and reduces the problem to two-source PID over aggregated "supervariables." Our screen supplies the missing search and finite-sample step, and it never aggregates, so higher-order structure is not collapsed. Measuring Multi-Source Redundancy in Factor Graphs attaches PID-style redundancy to graphs, but only for linear-Gaussian models with closed forms and without search or guarantees. Down and Mediano's ideals give sign guarantees for three binary variables; we do not extend their classification, but use their XOR result as the target phenomenon.
Baselines
Do-nothing reference: lower-order screening. Rank variables by pairwise mutual information with the target, then grow sets greedily. This is what most pipelines do. It should fail completely on pure parity, since every proper subset of an XOR has zero dependence. Including it shows how much lower-order signal each benchmark actually contains. We run it on identical data splits.
Strongest baseline: exhaustive enumeration. Compute $f(S)$, or a direct synergy atom, for every candidate set, then take the maximum with permutation calibration. This is statistically the best possible screen: it needs roughly $m\gtrsim k\log n/c^2$ samples versus our $\sqrt{|\mathrm{Occ}|}/c^2$. So it will beat the energy statistic in sample efficiency, and our claim is only about compute at fixed accuracy. We give it the same machine, a vectorized implementation, and the same verification stage.
We count a win in two cases: our method reaches the same verified recall with at least ten times less wall-clock time at $n\ge200$ and $k\in\{3,4\}$, or it finishes where enumeration does not. We also report the regime where enumeration is simply better. No reported result found on Lacuna for synergy localization accuracy of any method, so this baseline's numbers will be produced here.
Net-metric baseline. Score-based O-information estimation (SΩI) avoids density estimation and tracks ground truth up to 20 dimensions per variable on the "Beyond Normal" benchmarks. The file gives no numerical error table: no reported result found on Lacuna for SΩI MSE. We use it as a detection-only competitor, computing O-information on the whole system and on sliding groups, with the authors' settings. We win if we localize planted synergies that it misses, especially when a redundant block cancels the net score.
Gaussian baseline. Gaussian PID (Venkatesh et al.) restricts the optimization to Gaussians. It scales to 128 dimensions per region (384 total) with bias correction that stays stable at 100 samples. We apply it to candidate pairs of groups at matched compute. We expect it to be blind to parity, and it serves to confirm that the benchmarks are not Gaussian-solvable.
Key-ingredient ablation. The same pipeline with walk-based homomorphism polynomials in place of repeat-cancelling extensors. The only difference is whether revisited vertices are removed, so any drop in precision measures the lower-order leakage the exterior algebra is meant to prevent. A second ablation removes the graph restriction and uses all $k$-sets, which isolates the predicted threshold gain from sparsity.
Why not just…?
Why not just enumerate all $k$-sets and compute PID on each? At $n=50$ and $k=3$ there are about 20,000 sets, and enumeration is the right tool; we will say so. At $n=500$ and $k=4$ there are about $2.6\times10^9$ sets, each requiring a pass over the data. That is where an evaluator costing polynomial in $n$ and the pattern count, rather than in $\binom{n}{k}$, matters. The honest threat is that enumeration's statistical advantage outweighs our speed at realistic sample sizes. The planted-parity sweep maps this crossover explicitly. If enumeration with simple pruning dominates across the Neuropixels-sized regime, the proposal's main claim fails.
Why not just use O-information or the redundancy–synergy index as a screen? They are cheap and scale well. However, Rosas et al. prove they are net balances that can be exactly zero when redundancy and synergy are both large, and they name no set. Our cancellation benchmark plants a Copy block alongside an XOR block. On it we expect O-information near zero while our method localizes the XOR set.
Why not just fit a flexible model and read off its interactions? A gradient-boosted tree or neural network trained to predict the target could in principle discover parity structure. It gives no calibrated statement about absence, and parities with no lower-order signal give greedy tree splits nothing to latch onto. We include tree-interaction importance as an extra baseline on the planted benchmarks. If it matches our verified recall at comparable cost, the algebraic screen offers only certificates, and we would reframe the work around them.
Why not just use random subset sampling (Monte Carlo) instead of algebraic evaluation? Sampling random $k$-sets finds a single planted set with probability about $1/|\mathrm{Occ}|$ per draw, so it degrades to enumeration. Unlike the energy bound, it can never certify absence. We include it at matched compute as the simplest randomized competitor.
Proposed Experiments
The first decisive check is a planted-parity sweep on the synthetic families from the "Beyond Normal" suite and the $n$-bit XOR and Copy models used by Rosas et al. and SΩI. We plant one to three $k$-parities ($k=3,4$) among $n\in\{50,200,500,1000\}$ binary variables, with and without a sparse graph containing the planted set as a path or star. We vary $m$ and the planted strength. The prediction is a detection boundary near $c^2m\approx\sqrt{|\mathrm{Occ}|}$, clearly shifted in the graph-restricted case. We report verified recall, false discovery rate after verification, and wall-clock time against enumeration and SΩI. The result counts against the proposal if the measured boundary does not move with $|\mathrm{Occ}|$ as predicted.
The second check uses a leakage adversary: Copy blocks, correlated sources, and a Copy block combined with an XOR block. We measure how often the screen flags redundant sets and how often verification removes them. We also measure the harder case: whether synergy among correlated sources escapes the screen. The extensor-versus-walk ablation is run here, since leakage is where it should matter most.
The third check studies the guarantees themselves. We test Type I error of permutation calibration under both nulls, compare the sketch's empirical variance with its bound, and check how tight the absence certificate is (how close the certified $\tau$ comes to the true maximum coefficient).
The fourth check is the Allen Institute Visual Behavior Neuropixels data used by Venkatesh et al. and Bounoua et al. Both report higher inter-areal redundancy for change than for no-change stimuli, with no numerical values given in the file. We binarize spike counts in short windows, take the change/no-change label as the target, and use probe adjacency and area membership as the graph. We then search for verified synergistic triplets and quadruplets. Success means the findings replicate across sessions and on held-out trials, do not appear under permuted labels, and are invisible to the net-metric and Gaussian baselines. A null result here is still informative if the absence certificate is tight. It would say that, at this resolution, top-order synergy in these recordings is bounded by a stated $\tau$, a claim none of the cited methods can currently make.
References
- Bits and Pieces: Understanding Information Decomposition from Part-whole Relationships and Formal Logic
- Characterising Directed and Undirected Metrics of High-Order Interdependence
- Algebraic Representations of Entropy and Fixed-Sign Information Quantities
- Graph Pattern Polynomials
- Extensor-coding
- Patching Colors with Tensors
- Information-theoretic signatures of causality in Bayesian networks and hypergraphs
- Measuring Multi-Source Redundancy in Factor Graphs
- S$\Omega$I: Score-based O-INFORMATION Estimation
- Gaussian Partial Information Decomposition: Bias Correction and Application to High-dimensional Data