paper-with-me

Papers

A Unified Framework for Critical Scaling of Inverse Temperature in Self-Attention

2026-05-12 · Tomohiro Hayase, Ryo Karakida arxiv

Length-dependent logit rescaling is widely used to stabilize long-context self-attention, but existing analyses and methods suggest conflicting inverse-temperature laws for the context length $n$, ranging from $(\log n)^{1/2}$ to $\log n$ and $(\log n)^2$. We provide a general theory showing that the desirable scale is determined by the gap-counting function $N_n$ of each attention row. Counting how many competitors lie within each gap from the maximum, we define an upper-tail accumulation scale and prove that it gives the critical inverse-temperature scale for softmax concentration: below this scale, the top competitors remain unseparated, whereas above it, the attention entropy collapses. This framework unifies prior scaling laws as different $N_n$ and yields a direct diagnostic for attention-score families, from idealized theoretical models to more practical transformers.

📄 PDF Abstract BibTeX arXiv:2605.12697

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

LLM-Oriented Token-Adaptive Knowledge Distillation

2025-10-13 · Xurong Xie, Zhucun Xue, Jiafu Wu, Jian Li 외 arxiv

Knowledge distillation (KD) is a key technique for compressing large-scale language models (LLMs), yet prevailing logit-based methods typically employ static strategies that are misaligned with the dynamic learning proce…

Knowledge Distillation

Scaling limit of the Random Language Model

2026-06-26 · Eric De Giuli arxiv

We develop a quantitative theory of the Random Language Model (RLM), an ensemble of stochastic context-free grammars, in a scaling limit where the number of hidden symbols $N \to \infty$ while the grammar temperature $\t…

Scaling Limits of Long-Context Transformers

2026-05-08 · Giuseppe Bruno, Shi Chen, Zhengjiang Lin, Yury Polyanskiy 외 arxiv

We study the long-context limit of softmax self-attention with a fixed query and a random context of $n$ i.i.d. keys on the sphere, viewing the inverse temperature $β_n$ as the scaling parameter that decides whether atte…

Bin-wise Temperature Scaling (BTS): Improvement in Confidence Calibration Performance through Simple Scaling Techniques

2019-08-30 · Byeongmoon Ji, Hyemin Jung, Jihyeun Yoon, Kyungyul Kim 외

The prediction reliability of neural networks is important in many applications. Specifically, in safety-critical domains, such as cancer prediction or autonomous driving, a reliable confidence of model's prediction is c…

Autonomous Drivingimage-classificationImage ClassificationPrediction

Consciousness as a Jamming Phase

2025-07-10 · Kaichen Ouyang arxiv

This paper develops a neural jamming phase diagram that interprets the emergence of consciousness in large language models as a critical phenomenon in high-dimensional disordered systems.By establishing analogies with ja…