arXiv Machine Learning By Kanishk Awadhiya

Reasoning as Attractor Dynamics: Latent Memory Retrieval via Gibbs-Weighted Energy Minimization

Read the original on arXiv Machine Learning →

arXiv:2606. 24543v1 Announce Type: new Abstract: Large Language Models (LLMs) are traditionally viewed as autoregressive generators.

Machine-generated by The Flow from the publisher's headline and feed description — not written or checked by a human. The full article lives at arXiv Machine Learning.

arXiv AI
1d ago

Memorization and Generalization in Generative Models: A Perspective From Energy-based Modeling and Associative Memory

The paper investigates how generative models, particularly diffusion models, can be understood as associative memory systems where patterns are stored as energy minima and retrieved via attractor dynamics. It shows that with limited data, diffusion models create distinct basins of attraction around each training sample, but as data increases these basins shrink and spurious states—new minima that blend stored samples—emerge, signaling the onset of generative capability. The study extends this view to language models, demonstrating that uniform-state discrete diffusion models also act as associative memories, with basins around unseen data expanding as training data grows, allowing corrupted test sentences to be recovered reliably. The authors argue that memorization and generalization coexist within a single retrieval process, offering a framework to determine when a generative model recalls versus creates.

By Bao Pham
arXiv AI
Sep 3

Language Diffusion Models are Associative Memories Capable of Retrieving Unseen Data

The paper investigates when language diffusion models, specifically Uniform-based Discrete Diffusion Models (UDDMs), shift from memorizing training data to generalizing to new data. It shows that UDDMs act as associative memories, forming basins of attraction around stored examples without requiring an explicit energy function. By measuring token recovery and conditional entropy, the authors identify a sharp transition governed by training set size, where memorization (vanishing entropy) gives way to generalization (finite entropy).

By Bao Pham, Mohammed J. Zaki, Luca Ambrogioni, Dmitry Krotov, Matteo Negri
arXiv AI
Sep 15

How Many Thoughts Can a Vector Hold? The Capacity of Reasoning by Superposition

The paper investigates how continuous latent states in large language models can store multiple reasoning steps through superposition. It challenges the intuition that retaining only the current reasoning frontier is optimal, showing that cumulative superposition of the full reasoning history can actually require fewer representational dimensions. The authors demonstrate that this approach preserves more valid evidence, improves downstream outcome discrimination, and delays unreliability, while also establishing that uniform cumulative weighting of memories is minimax‑optimal for future reasoning.

By Hongyu Gu, Chang Liu, Jingwen Fu
Hugging Face Trending Papers
Sep 28

Not All Thinking is Created Equal: Latent Reasoning Discovers a Recurrent Search Algorithm for Depth Generalization

The paper investigates whether different forms of intermediate computation in large language models—such as token-based traces, pause tokens, and latent reasoning—rely on the same underlying mechanism. By training five variants of GPTNeoX on an extended multi-hop reasoning task, the authors find that while vanilla, Chain-of-Thought, and Pause Token models perform well on in-distribution data, they fail to generalize to longer-hop out-of-distribution problems. In contrast, latent-reasoning models exhibit better depth generalization, with causal analysis revealing a sparse recurrent search circuit that implements forward reachability propagation across the graph.