mlsanityData to 26 Nov 2026

Beyond Causal Masks: Auditing and Localizing Hidden Future-Token Leakage in Adaptive Sequence Models

arXiv 2610.31522 ↗Submitted 22 Oct 2026cs.AIcited by 0

Not on the map. Why?

Abstract (arXiv)

Hidden future-token leakage can create false architectural gains: an autoregressive model may appear substantially better under teacher-forced evaluation while its free-running generation deteriorates. We investigate this failure in an adaptive residual-routing decoder whose sequence-level routing summary exposes prefix positions to future tokens despite a correct causal attention mask. An anomalous 24-layer checkpoint reduces validation loss from the baseline's 3.5958 to 1.4259, yet it fails a prefix-invariance audit and has substantially higher reference-model perplexity during generation. Layer-wise diagnostics and implementation inspection trace the violation to a full-sequence summary broadcast through the dynamic routing-query path. Two independently trained 12-layer causal repairs eliminate detectable leakage and return validation loss and reference perplexity to the control scale, removing the large apparent advantage. As diagnostic tools, we use the established prefix-invariance contract, maximum prefix-output discrepancy (LeakScore), complementary behavioral metrics, and layer-wise profiles. Supporting experiments cover six synthetic implementation pairs spanning five module families, clean pretrained controls, controlled fault injection, and cache consistency across numerical precisions. These results illustrate how hidden future-token access can produce misleading claims of architectural progress and why lower teacher-forced loss should be interpreted together with whole-model causal checks and free-running evaluation.

Key facts. No citing papers in the map yet (data through 26 Nov 2026). Builds on 22 of its 24 references that are in the map. Submitted 22 Oct 2026.

Builds on

22 of 24 references.

References · 22

  1. 2017Attention Is All You Needcited by 62,125
  2. 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 5,111
  3. 2017Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layercited by 3,767
  4. 2020Longformer: The Long-Document Transformercited by 3,606
  5. 2021Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsitycited by 3,272
  6. 2021Efficiently Modeling Long Sequences with Structured State Spacescited by 2,611
  7. 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 2,130
  8. 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,932
  9. 2016WaveNet: A Generative Model for Raw Audiocited by 1,908
  10. 2024Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Dualitycited by 1,480
  11. 2023RWKV: Reinventing RNNs for the Transformer Eracited by 884
  12. 2023Retentive Network: A Successor to Transformer for Large Language Modelscited by 662
10 more
  1. 2022Mixture-of-Experts with Expert Choice Routingcited by 655
  2. 2021Documenting Large Webtext Corpora: A Case Study on the Colossal Clean Crawled Corpuscited by 519
  3. 2023Hyena Hierarchy: Towards Larger Convolutional Language Modelscited by 413
  4. 2017DeepXplore: Automated Whitebox Testing of Deep Learning Systemscited by 316
  5. 2024Mixture-of-Depths: Dynamically allocating compute in transformer-based language modelscited by 294
  6. 2024Benchmark Data Contamination of Large Language Models: A Surveycited by 171
  7. 2026Attention Residualscited by 79
  8. 2026TorchLean: Formalizing Neural Networks in Leancited by 10
  9. 2026FBS: Modeling Native Parallel Reading inside a Transformercited by 8
  10. 2026Expert Threshold Routing for Autoregressive Language Modeling with Dynamic Computation Allocation and Load Balancingcited by 4

Built on by

Not cited yet.