paper-with-me

홈 › Papers

Mixing Times of Glauber Dynamics on Masked Language Models

2026-05-11 · Suvadip Sana, Sami Wolf, Neer Mehta, Alina Shah, Aitzaz Shaikh, Janna Goodman, Lionel Levine arxiv

Masked language models (MLMs) define local conditional distributions over tokens but do not, in general, correspond to any consistent joint distribution over sequences. This raises a fundamental question: what global distributional behavior is induced when such conditionals are used iteratively for generation? We address this question by modeling iterative masked-token resampling as a Glauber dynamics Markov chain on the discrete space of token sequences. We first show that MLM conditionals are intrinsically incompatible: we introduce a rectangle test that certifies this incompatibility and empirically verify its prevalence across modern MLMs. We then provide a theoretical analysis of the induced Markov chain. Under bounded cross-token influence, we establish a high-temperature contraction result implying $O(n\log n)$ mixing time where $n$ is the sequence length. In contrast, we prove that under a uniform local margin condition, the chain exhibits metastability, with exponentially slow escape from semantic basins at low temperatures. Empirically, we demonstrate a phase transition in mixing behavior as a function of temperature and sequence length, consistent with the theoretical predictions. We further characterize the induced stationary behavior through semantic trajectories, identifying persistent structures such as long-lived traps and recurrent semantic basins, with political content serving as a measurable case study.

📄 PDF Abstract BibTeX arXiv:2605.16378

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Leveraging Pretrained Language Models as Energy Functions for Glauber Dynamics Text Diffusion

2026-05-05 · Tarun Kathuria, Sachin Kumar arxiv

We present a discrete diffusion-based language model using Glauber dynamics from statistical physics. Our main insight is that instead of trying to train a discrete state space diffusion model using Glauber dynamics with…

Common Sense Reasoning

Rapid mixing in positively weighted restricted Boltzmann machines

2026-04-01 · Weiming Feng, Heng Guo, Minji Yang arxiv

We show polylogarithmic mixing time bounds for the alternating-scan sampler for positively weighted restricted Boltzmann machines. This is done via analysing the same chain and the Glauber dynamics for ferromagnetic two-…

Learning Gaussian Graphical Models from a Glauber Trajectory Without Mixing

2026-06-30 · Eric Shen, Tony Wu, Mahbod Majid, Ankur Moitra arxiv

We study the task of learning the structure of a $d$-sparse Gaussian graphical model on $n$ variables from a single trajectory of Glauber dynamics. Beyond algorithmic considerations, many applications present temporally …

Learning graphical models from the Glauber dynamics

2014-10-28 · Guy Bresler, David Gamarnik, Devavrat Shah

In this paper we consider the problem of learning undirected graphical models from data generated according to the Glauber dynamics. The Glauber dynamics is a Markov chain that sequentially updates individual nodes (vari…

Structure Learning in Gaussian Graphical Models from Glauber Dynamics

2024-12-24 · Vignesh Tirukkonda, Anirudh Rayas, Gautam Dasarathy

Gaussian graphical model selection is an important paradigm with numerous applications, including biological network modeling, financial network modeling, and social network analysis. Traditional approaches assume access…

Model Selection