The Mask Is Not the Model: Auditing Prefix Invariance in Attention, State-Space, and Hybrid Sequence Models
Taebong Kim, Youngsik Hong, Minsik Kim, Sunyoung Choi, Jaewon Jang, Minseo Kim
Key points
From the paper's conclusion- We formalize prefix invariance and give a lightweight audit, two forward passes, no training or gradients, yielding a per-layer score localizing where causality breaks.
Abstract
Hybrid sequence models must satisfy prefix invariance: representations at position t must not depend on future inputs, yet this is rarely verified. We formalize prefix invariance and give a lightweight audit, two forward passes, no training or gradients, yielding a per-layer score localizing where causality breaks. Attention-mask inspection, the field's default check, is incomplete: causality is a graph-level property, and leaks can occur via scans, aggregations, or normalization despite correct masks. Across 192 injected-fault trials on eight checkpoints, mask inspection detected none, while our audit localized all 192/192 to the exact layer. Static/dynamic analysis of chunked-scan code in transformers found the same defect in Zamba2 and Nemotron-H, an inter-chunk axis error fixed via the reference implementation. The method fits on one page and runs in seconds.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Beyond Causal Masks: Auditing and Localizing Hidden Future-Token Leakage in Adaptive Sequence ModelsarXiv · 2026
- CascadeLedger: Counterfactual Auditing of Information and Resource Integrity in LLM CascadesarXiv · 2026
- The Intrusion Pathway: How Non-Evidential Context Degrades Language Model PerformancearXiv · 2026
- The Answer Is Not the ArgumentarXiv · 2026
- On the Difficulty of Sequence-Level Supervised Learning for Autoregressive Language ModelsarXiv · 2026
- Open-Weight Masked Introspection: Measuring What Language Models Can Report About Their Own ComputationarXiv · 2026