arXiv Machine Learning

The Quantum Shortcut: Complex Phase-State Dynamics Reduce the Optimization Steps of Sequence Models

arXiv:2608. 14691v1 Announce Type: new Abstract: Sequence models are conventionally distinguished by their backbone, the mechanism that routes information across positions, such as attention or recurrence.

arXiv Machine Learning
Oct 12

An Input-Dependent Readout Phase for Resonant Sequence Models

The paper introduces an input‑dependent readout phase for ResonatorLM, a resonant sequence model that traditionally uses a fixed phase per head to read memory. By making the phase a function of the current token, the authors add input dependence to the read‑only operation while preserving the exact convolutional path and adding only 0.2 % more parameters. Experiments on 6 M‑parameter character‑level models show that this modification matches the original performance at the training length and dramatically improves generalisation to longer sequences, reducing perplexity from 12.81 to 3.76 when trained on 256 tokens and tested on 1024 tokens.

By Shivesh Rane
arXiv AI
Oct 16

Learning to Read Out: Unembedding Dynamics in Language Model Pretraining

The paper investigates when a language model actually learns task information versus when its readout (unembedding matrix) learns to express that information. Using a new parameter‑trajectory cross‑coding method, the authors find that hidden states can encode task data early in training, but the readout reorganizes only in a narrow window (0.4–1.1% of Pythia’s pretraining). By varying the readout learning rate, they show that faster readout learning reduces the gap between hidden‑state encoding and output expression without affecting final performance.

By Matteo He, William F. Shen, Alex Iacob, Andrej Jovanovic, Xinchi Qiu, Nicholas D. Lane
arXiv Machine Learning
Oct 12

Trainable Quantum-Native Language Models: Dissipative Memory, Capacity Limits, and Hardware Validation

The paper introduces byte‑level autoregressive language models that use a small quantum register as hidden state, with token‑conditioned quantum channels and Born‑rule measurements providing next‑byte probabilities. Unitary dynamics alone fail to retain memory beyond one token, but adding learned dissipative gating improves test negative log‑likelihood and key‑value recall up to a limited capacity. Experiments on IBM Heron hardware show measurable quantum memory signals and autoregressive byte generation, though the models remain classically simulable and do not outperform classical n‑gram baselines.

By Deniz Yunus G\"o\u{g}\"u\c{s}
Hugging Face Trending Papers
Nov 12

Symmetry in Time: A Representation Theory of Linear Recurrent Memory

The paper studies state space models (SSMs) and shows that diagonal real- or complex-valued SSMs can only track commutative groups because their transition matrices commute. By applying representation theory, the authors derive conditions for an SSM to track a group and introduce HyperSSM, which incorporates quaternion channels to satisfy these conditions while maintaining linear-time inference and parallel training. HyperSSM achieves exact solutions on recent state-tracking benchmarks, generalizes to much longer sequences, and allows direct interpretation of learned weights in real-world calibration tasks.

arXiv AI
Oct 15

A Tutorial on Quantum Amplitude Embedding with Data Re-Uploading

The paper presents a tutorial on enhancing quantum amplitude embedding through data re-uploading, a technique that repeatedly encodes input data between trainable blocks to increase model expressiveness. It demonstrates that each additional upload raises the reachable polynomial order by two and provides simulation results showing significant improvements in test coefficient of determination for higher-order targets. The study offers practical guidance on selecting the number of uploads based on the polynomial order required for a given task.

By Hyojun Ahn, Joongheon Kim
arXiv Machine Learning
Sep 22

Watching Quantum Models Think: Hilbert-Space Interpretability in Quantum Transformer Blocks

The paper demonstrates that quantum transformer blocks can be intrinsically interpretable by tracking quantum mutual information, entanglement entropy, and state fidelity across layers. Experiments on four synthetic tasks show that learned mutual information aligns with task structure, entanglement is essential for accuracy, and mutual information predicts prediction correctness. These findings are validated on IBM Quantum hardware, illustrating that quantum computation’s physics can provide observable interpretability signals.

By Diego Iacopetta, Andrea Gasparini
arXiv Computation and Language
Nov 6

The Gating Mechanism of KV Cache Eviction

The paper proposes a learnable gating mechanism for KV cache eviction in transformer models, embedding the gate within the softmax normalizer to redistribute attention weight rather than discard entries. Training the gate on the language‑modeling loss shows it tends toward a constant score, revealing challenges in optimizing for dense attention and highlighting obstacles such as gradient interference from the frozen backbone. The authors demonstrate that, under conditions where dense attention is excluded from the gate’s influence and the dense model’s predictions serve as the target, the gate can achieve high compression (75 % KV cache) with minimal performance loss—achieving 90.14 on RULER and 46.03 on LongBench with Qwen3‑8B. whyItMatters":"The study shows that a simple, parameter‑free gating strategy can effectively compress KV caches while preserving model accuracy, offering a practical solution for deploying large language models with limited memory."

By Hao Gu, Xintong Yang, Zhiwei Li, Lei Zhu, Jian Yang, Qiyuan Zhu, Dezhi Li, Jingyuan Zhang, Zhizhuo Kou, Hao Wang, Bei Liu, Jiacheng Liu, Sirui Han
arXiv Machine Learning
Aug 31

Fast Weight Attention for Continual Learning

Fast Weight Attention for Continual Learning introduces recurrent fast‑weight memories and selective state‑space models that compress expanding context into a fixed‑size recurrent state, enabling an online learning rule for state transitions. The paper derives normalized first‑order updates for squared‑error regression and negative inner‑product objectives, presenting several variants (Falcon‑1, Falcon‑2, Falcon‑3 and their inner‑product counterparts) with recurrent, masked‑parallel, and chunk‑parallel implementations. These methods demonstrate competitive performance in language modeling and improved length extrapolation on variable‑digit addition tasks.

By Yifan Zhang, Steve Ta, Jasper Zhang, Jichen Feng, Shuzhen Li, Yongxin Zhang, Yifeng Liu, Huizhuo Yuan, Mengdi Wang, Quanquan Gu, Andrew Chi-Chih Yao