Foundations
Attention assigns weights from scores. β acts like temperature: higher β concentrates weights; lower β spreads them. CEAS monitors spread and nudges β so attention stays inside a target band that is empirically stable for training and aligned with the model’s pseudo-critical regime.
Notation: let \(L_{\text{corr}}\) denote the correlation length (instead of the conventional \( \xi \)). “Critical” refers to critical phenomena: the regime where the system’s effective correlation length grows without bound—informally, a small local change influences the whole system. The controller steers the model toward its critical temperature, i.e., the point where \( L_{\text{corr}} \to \infty \). On finite machines this manifests as a pseudo-critical regime with a large but finite \( L_{\text{corr}} \) (near “blow-up,” yet bounded by model/context size). As model scale grows, finite-size effects shrink and the pseudo-critical behavior approaches the textbook limit.
- Fixed scaling is brittle. The textbook \(1/\sqrt{d_k}\) assumes one setting fits every head, layer, and dataset.
- Instability at the extremes. Too broad → noisy gradients; too sharp → stalled learning. Both waste compute.
- Targeted balance. CEAS keeps attention in the region where small score changes carry useful information.
Canonical Ensemble → Linear Regression and Entropy → Loss (KL → NLL).
Critical-region operation
The controller centers operation near the model’s pseudo-critical regime where information per update is maximized. A low-order (Landau-style) expansion is accurate enough here to steer β.
Objective alignment
Training with negative log-likelihood equals minimizing KL divergence to data; in Gaussian settings this reduces to ordinary least squares. Managing β therefore directly manages the gap to data: sharper when evidence is clear, broader when it is not.
- Single, physics-grounded control knob: β is set by data dispersion and competition, not just head dimension.
- Compute discipline: Keeping entropy in a critical band reduces noisy updates and improves convergence stability.
- Research prototype: Minimal code changes; complements standard optimizers and schedulers.
Measured: on a 32-billion-parameter model (Qwen3-32B, compressed to 2.6 bits per weight), tuning only the per-head temperatures recovered about 5% of the loss caused by compression (perplexity 12.69 → 12.55). In small-model tests, CEAS savings at convergence were zero. CEAS is under active development.