Reading Why: Born-Measured Attention with Exact Word Evidence on Light and Qubits
Not on the map. Why?
Abstract (arXiv)
When a language model answers, we can usually only estimate why. We build a transformer in which every nonlinearity is a quadratic detection - an interference, a balanced reading or a camera - and the output is a Born probability: attention |<q|k>|^2, the form of the Born rule, normalised per row, a measured product for the feed-forward nonlinearity, and a Born readout; between detections, classical control rescales and re-encodes. With its denominators held at the input, each class probability is a polynomial in the word amplitudes, so its integrated-gradient evidence is computed by a finite quadrature with no quadrature error: the words' contributions sum to the class probability above its no-information share to 10^-13. On e-SNLI natural language inference it reaches 77.45 +- 0.91 % accuracy, level with a same-size softmax transformer (76.62 +- 0.36 %) and an order-free bag of embeddings (77.79 %). Exactness buys the sum, not the best ranking. Deleting the word its evidence ranks first changes the answer in 44 % of pairs, of the 53 % some deletion changes, against 31-32 % for the softmax model's integrated gradients; the model's own gradient x input does as well (43 %), as does a bag of embeddings' (43 %, seed 0), and leave-one-out does better. Holding the denominators helps the low end: the five words ranked last change the answer in 1 %, against 6 % free. The same weights compile exactly to simulated optoelectronics, and their attention to qubits. On ibm_kingston, reading only the attention, the device gave the model's answers in all three Hadamard-test runs (the two shortest pairs and one without its deciding word) and both compute-uncompute runs (one circuit per overlap); uniform attention answers otherwise on two of the three inputs. With the device's row sums the evidence correlated with the exact one at 0.997 and 0.962 by Hadamard tests; with compute-uncompute, 0.971 and 0.48.
Key facts. No citing papers in the map yet (data through 26 Nov 2026). Builds on 30 of its 41 references that are in the map. Submitted 3 Nov 2026.
Builds on
30 of 41 references.
References · 30
- 2017Attention Is All You Needcited by 62,125
- 2014Adam: A Method for Stochastic Optimizationcited by 38,598
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,787
- 2017Axiomatic Attribution for Deep Networkscited by 3,508
- 2015A large annotated corpus for learning natural language inferencecited by 1,887
- 2019Attention is not Explanationcited by 991
- 2020Quantifying Attention Flow in Transformerscited by 828
- 2019Attention is not not Explanationcited by 672
- 2020Transformer Interpretability Beyond Attention Visualizationcited by 654
- 2019ERASER: A Benchmark to Evaluate Rationalized NLP Modelscited by 573
- 2018e-SNLI: Natural Language Inference with Natural Language Explanationscited by 479
- 2021Generic Attention-model Explainability for Interpreting Bi-Modal and Encoder-Decoder Transformerscited by 334
18 more
- 2024AttnLRP: Attention-Aware Layer-Wise Relevance Propagation for Transformerscited by 132
- 2021QNLP in Practice: Running Compositional Models of Meaning on a Quantum Computercited by 70
- 2019Encoding word order in complex embeddingscited by 55
- 2022Quantum Vision Transformerscited by 51
- 2022Quantum Self-Attention Neural Networks for Text Classificationcited by 46
- 2023PolySketchFormer: Fast Transformers via Sketching Polynomial Kernelscited by 42
- 2024Bilinear MLPs enable weight-based mechanistic interpretabilitycited by 34
- 2019Reprogrammable Electro-Optic Nonlinear Activation Functions for Optical Neural Networkscited by 20
- 2023Lightening-Transformer: A Dynamically-operated Optically-interconnected Photonic Transformer Acceleratorcited by 16
- 2023Optical Transformerscited by 12
- 2024Quantum Mixed-State Self-Attention Networkcited by 12
- 2024Quantum Transformer: Accelerating model inference via quantum linear algebracited by 11
- 2023Four Axiomatic Characterizations of the Integrated Gradients Attribution Methodcited by 8
- 2025Hybrid Photonic-digital Accelerator for Attention Mechanismcited by 2
- 2025Quantum NLP models on Natural Language Inferencecited by 2
- 2026A Quantum Roadmap for Softmax Attention: Exact Born-Rule Analogs for Softmax Attention on the Probability Simplexcited by 1
- 2026Watching Quantum Models Think: Hilbert-Space Interpretability in Quantum Transformer Blockscited by 1
- 2026Seeing Why: Exact Evidence Maps for Quantum and Optical Image Classifierscited by 1
Built on by
Not cited yet.