When Attention Collapses: Residual Evidence Modeling for Compositional Inference

Niklas HoubaNeurIPS 2026

TL;DR

Standard attention mechanisms are great at picking apart distinct objects in an image, but they fail miserably when signals overlap additively—like competing voices in a room or colliding gravitational waves across the cosmos. Because attention has no memory of what has already been explained, every latent "slot" gets magnetized by the loudest signal in the mixture, leaving quieter sources ignored. This paper introduces evidence depletion, a lightweight, stateful tweak to attention that tracks remaining explanatory capacity, preventing this collapse and unlocking reliable multi-source scientific inference.

What Problem Does This Paper Address?

Imagine looking at a photo of a desk: a coffee mug occupies one set of pixels, and a laptop occupies another. Slot attention—a popular method for decomposing scenes into distinct components—excels here because tokens can be cleanly partitioned ("which slot owns this pixel?").

Now imagine listening to a symphony, or observing gravitational waves from space. Here, components combine via additive superposition: multiple sources contribute simultaneously to every single data token, often with massive differences in amplitude. When you apply standard slot attention to these mixtures, a structural failure occurs that the author calls slot collapse: multiple slots lock onto the single loudest component, while weaker signals go completely unrepresented.

Why? Standard attention is memoryless with respect to explained evidence. Even if competitive normalization pushes a "losing" slot away from one token toward another, if a dominant signal blankets all tokens, every reweighting still points in the exact same direction. Without a ledger of what has already been accounted for, every slot chases the brightest star in the sky.

Methods

To give attention a memory, the author introduces residual evidence modeling, instantiated via evidence depletion.

While the surrounding inference pipeline uses standard tools—a GRU to update slots, Hungarian matching to align predictions, and conditional normalizing flows to estimate parameter posteriors—the core attention mechanism is modified in three distinct ways:

  1. Sequential Processing: Instead of updating all slots in parallel, slots take turns attending to the input one by one (normalizing softmax over tokens rather than over slots).
  2. Residual State ($e_\ell$): Every token $\ell$ carries a scalar weight initialized to $1$, representing its unexplained capacity.
  3. Coupled Depletion & Bias: After slot $s$ attends to the tokens with weights $\alpha_{s\ell}$, the evidence is multiplicatively reduced—for instance, linearly via $e_\ell \leftarrow \max(e_\ell(1 - \alpha_{s\ell}), \epsilon)$ or quadratically using $(1 - \alpha_{s\ell}^2)$. This scalar scales the keys and values ($e_\ell \cdot \mathbf{h}_\ell$) and enters the attention logits as an explicit penalty ($\gamma \log e_\ell$), actively steering subsequent slots toward unexplained regions.

Crucially, unlike classical iterative subtraction (like CLEAN or matching pursuit) which subtracts estimated waveforms directly from the raw data, evidence depletion never alters the underlying tokens. Early estimation errors only redistribute attention rather than corrupting the signal for downstream slots.

Datasets

The method is tested across three tiers of increasing complexity:

  • Controlled Synthetic Benchmarks: Newly constructed 1D mixtures (1–4 sources, 256 samples) with one dominant source and additive noise, spanning overlapping sinusoids, time-domain Gaussian bumps, and multi-scale wavelet-like mixtures.
  • FUSS (Free Universal Sound Separation): An existing benchmark of real-world audio recordings (speech, music, environmental sounds) additively mixed at 16 kHz, adapted here to predict spectral parameters rather than separated waveforms.
  • Simulated LISA Gravitational-Wave Data: High-realism simulations for the ESA/NASA Laser Interferometer Space Antenna, featuring 1–4 resolvable galactic binaries spanning ~2 orders of magnitude in strain amplitude, buried in colored detector noise and a confusion foreground of unresolvable sources.

Key Insights and Ideas

  • Sequential processing alone makes things worse (at first): Simply making slots take turns without tracking residual evidence actually increases collapse on synthetic and audio tasks (jumping from ~0.30 to >0.80), degenerating into a "first slot wins" dynamic. Statefulness is the true magic ingredient.
  • Both the update and the logit bias are essential: Ablations depleting the token vectors directly in data space fail wildly unless paired with an explicit log-norm attention bias. Tracking what is explained isn't enough; you have to explicitly tell the attention logits to look elsewhere.
  • Re-dividing a static pie doesn't work: Alternative mechanisms like optimal transport (Sinkhorn/MESH) or sparsemax try to balance or sharpen how tokens are divided. While helpful on simple sinusoids, they fail at scale on LISA because every slot still reads the same undepleted, dominant-heavy tokens.
Table 2: Alternative mechanisms: peak overlap (5 seeds, same harness; evidence depletion is linear).

Key Results

Across all vijf domains, linear evidence depletion $(1-\alpha)$ consistently achieves the lowest slot collapse, dropping mean overlap to $\le 0.07$ everywhere.

Figure 1: Slot collapse across all five domains (mean ± std over 5 seeds; LISA linear: 3 seeds). Synthetic and FUSS report peak overlap; LISA reports cosine overlap of active slots (Definition 1) on the matched reruns of Table 3, so absolute values are not comparable across the LISA boundary. Linear evidence depletion (blue) has the lowest collapse in every domain; quadratic depletion (green) is used in the main LISA experiments. Data-space variants in Table 1.
  • Synthetic & Audio: On synthetic tasks, linear depletion slashes peak-overlap collapse by up to an order of magnitude (e.g., from $0.22$ with Vanilla SA down to $0.01$ on multi-scale mixtures). On real FUSS audio, collapse drops nearly $8\times$, from $0.30$ to $0.04$.
  • LISA Gravitational-Wave Inference: Under identical architectures and losses, Vanilla SA completely collapses ($0.99$ cosine overlap) and its normalizing flow diverges (NLL $+7.4$). Optimal transport (SA-SH) likewise collapses ($0.993$). Evidence depletion drops overlap to $0.05$ (quadratic) and $0.03$ (linear), achieves a convergent NLL of $-6.0$, and yields well-calibrated multi-source posteriors.

Limitations and Future Work

  • Linear compute scaling: Processing $S$ slots sequentially increases the critical path from $O(I)$ to $O(S \cdot I)$, costing ~4$\times$ wall-clock time at $S=5$ and ~31$\times$ at $S=40$. Furthermore, shared cardinality readouts struggle for all variants once $S \ge 8$.
  • Needs a dynamic range gap: When superposed sources have nearly equal amplitudes (ratios $\le 1.5$), evidence depletion offers no reliable advantage over standard slot attention.
  • Inference, not waveform separation: On FUSS, avoiding attention collapse does not automatically yield clean audio separation via simple masking, as attention trained for parameter estimation isn't separation-optimal.
  • Open questions: Theoretical identifiability guarantees, adaptive tuning of depletion hyperparameters ($\gamma, \tau$), and pinpointing the exact trigger for total collapse on LISA remain open for future work.

Summary updated

BibTeX
@inproceedings{houba2026when,
  author = {Niklas Houba},
  title = {{When Attention Collapses: Residual Evidence Modeling for Compositional Inference}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=hbOb7WNLD6},
}
Figure