English

Free Energy Mixer

Computation and Language 2026-02-10 v1 Artificial Intelligence Machine Learning Machine Learning

Abstract

Standard attention stores keys/values losslessly but reads them via a per-head convex average, blocking channel-wise selection. We propose the Free Energy Mixer (FEM): a free-energy (log-sum-exp) read that applies a value-driven, per-channel log-linear tilt to a fast prior (e.g., from queries/keys in standard attention) over indices. Unlike methods that attempt to improve and enrich the (q,k)(q,k) scoring distribution, FEM treats it as a prior and yields a value-aware posterior read at unchanged complexity, smoothly moving from averaging to per-channel selection as the learnable inverse temperature increases, while still preserving parallelism and the original asymptotic complexity (O(T2)O(T^2) for softmax; O(T)O(T) for linearizable variants). We instantiate a two-level gated FEM that is plug-and-play with standard and linear attention, linear RNNs and SSMs. It consistently outperforms strong baselines on NLP, vision, and time-series at matched parameter budgets.

Cite

@article{arxiv.2602.07160,
  title  = {Free Energy Mixer},
  author = {Jiecheng Lu and Shihao Yang},
  journal= {arXiv preprint arXiv:2602.07160},
  year   = {2026}
}

Comments

Camera-ready version. Accepted at ICLR 2026

R2 v1 2026-07-01T10:25:23.853Z