Inverse-Free Wilson Loops for Transformers: A Practical Diagnostic for Invariance and Order Sensitivity
On the map: LLM reasoning → Prompting and chain-of-thought reasoning
Abstract (arXiv)
Large language models can change answers under harmless edits that matter in practice: RAG outputs flip when passages are reordered, fine-tuning erodes invariances learned at pretraining, debate or chain-of-thought prompts take path-dependent routes, and compiler fusion or reordering perturbs logits near decision boundaries. These failures violate intended invariances, break continuous integration, and force teams to trade safety for speed. The effects are small yet distributed across layers and positions, sensitive to context length and evaluation order, and costly to repair with retraining or formal verification. We present WILSON, a minimal post-hoc diagnostic suite that converts simple loop and reordering checks on internal representations into system signals. WILSON combines an inverse-free curvature map over positions and layers, computed with JVPs and Hutchinson probes, with activation-level commutators that flag reorder risk. Signals are cheap to compute, model-agnostic for standard Transformers, and exported as thresholds and CSV artifacts for orchestrators. This enables concrete actions: guard RAG against order effects, catch fine-tuning regressions, stabilize debate pathways and long multi-turn contexts, and gate fusions or reorders in deployment. In short, WILSON helps anticipate failures and approve safe optimizations so reliability and throughput can improve together without changing model architecture or training.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Placed in Prompting and chain-of-thought reasoning, one of 17 directions in LLM reasoning. Builds on 19 of its 62 references that are in the map. First posted on arXiv 9 Oct 2025.
Builds on
19 of 62 references.
Closest ancestors · 1
Same direction, newest first
Other references · 18
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
- 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,383
- 2019Similarity of Neural Network Representations Revisitedcited by 1,695
- 2016Group Equivariant Convolutional Networkscited by 1,154
- 2021Geometric Deep Learning: Grids, Groups, Graphs, Geodesics, and Gaugescited by 1,131
- 2021Train Short, Test Long: Attention with Linear Biases Enables Input Length Extrapolationcited by 1,085
- 2023Progress measures for grokking via mechanistic interpretabilitycited by 822
- 2023Extending Context Window of Large Language Models via Positional Interpolationcited by 721
- 2019Designing and Interpreting Probes with Control Taskscited by 608
- 2023YaRN: Efficient Context Window Extension of Large Language Modelscited by 584
- 2023Towards Best Practices of Activation Patching in Language Models: Metrics and Methodscited by 328
- 2024LongRoPE: Extending LLM Context Window Beyond 2 Million Tokenscited by 302
6 more
- 2016Steerable CNNscited by 298
- 2021Robustness Gym: Unifying the NLP Evaluation Landscapecited by 107
- 2022ReCode: Robustness Evaluation of Code Generation Modelscited by 100
- 2024Premise Order Matters in Reasoning with Large Language Modelscited by 71
- 2025Do RAG Systems Really Suffer From Positional Bias?cited by 12
- 2025Multi-Agent Collaborative Intelligence: Dual-Dial Control for Reliable LLM Reasoningcited by 2
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026Adaptive Loops and Memory in Transformers: Think Harder or Know More?
- 2026Training-Free Looped Transformers
- 2026Stability and Generalization in Looped Transformers
- 2026Symmetry Breaking in Transformers for Efficient and Interpretable Training
- 2026What Does Layer-Importance Reveal About Transformers and State-Space Models?
- 2026Quantizing Looped Transformers: Feedback Exposure and Calibration Blindness
- 2026Beyond the Training Horizon: Mechanisms and Limits of Length Generalization in Looped Transformers
- 2024Towards an Understanding of Stepwise Inference in Transformers: A Synthetic Graph Navigation Model