paper-with-me

홈 › Papers

The Hyperfitting Phenomenon: Sharpening and Stabilizing LLMs for Open-Ended Text Generation

2024-12-05 · Fredrik Carlsson, Fangyu Liu, Daniel Ward, Murathan Kurfali, Joakim Nivre

This paper introduces the counter-intuitive generalization results of overfitting pre-trained large language models (LLMs) on very small datasets. In the setting of open-ended text generation, it is well-documented that LLMs tend to generate repetitive and dull sequences, a phenomenon that is especially apparent when generating using greedy decoding. This issue persists even with state-of-the-art LLMs containing billions of parameters, trained via next-token prediction on large datasets. We find that by further fine-tuning these models to achieve a near-zero training loss on a small set of samples -- a process we refer to as hyperfitting -- the long-sequence generative capabilities are greatly enhanced. Greedy decoding with these Hyperfitted models even outperform Top-P sampling over long-sequences, both in terms of diversity and human preferences. This phenomenon extends to LLMs of various sizes, different domains, and even autoregressive image generation. We further find this phenomena to be distinctly different from that of Grokking and double descent. Surprisingly, our experiments indicate that hyperfitted models rarely fall into repeating sequences they were trained on, and even explicitly blocking these sequences results in high-quality output. All hyperfitted models produce extremely low-entropy predictions, often allocating nearly all probability to a single token.

📄 PDF Abstract BibTeX arXiv:2412.04318

Code (0)

등록된 구현이 없습니다.

Tasks

BlockingImage GenerationText Generation

Methods 이 논문이 사용한 방법론

SET Dynamic Sparse Training method where weight mask is updated randomly periodically

Similar Papers 제목 키워드 기반

Beyond Temperature: Hyperfitting as a Late-Stage Geometric Expansion

2026-05-21 · Meimingwei Li, Yuanhao Ding, Esteban Garces Arias, Christian Heumann arxiv

Recent work has identified a counterintuitive phenomenon termed "Hyperfitting", where fine-tuning Large Language Models (LLMs) to near-zero training loss on small datasets surprisingly enhances open-ended generation qual…

Attention Slipping: A Mechanistic Understanding of Jailbreak Attacks and Defenses in LLMs

2025-07-06 · Xiaomeng Hu, Pin-Yu Chen, Tsung-Yi Ho arxiv

As large language models (LLMs) become more integral to society and technology, ensuring their safety becomes essential. Jailbreak attacks exploit vulnerabilities to bypass safety guardrails, posing a significant threat.…

Trajectory Alignment: Understanding the Edge of Stability Phenomenon via Bifurcation Theory

2023-07-09 · NeurIPS 2023 11

Cohen et al. (2021) empirically study the evolution of the largest eigenvalue of the loss Hessian, also known as sharpness, along the gradient descent (GD) trajectory and observe the Edge of Stability (EoS) phenomenon. T…

When Sharpening Becomes Collapse: Sampling Bias and Semantic Coupling in RL with Verifiable Rewards

2026-01-22 · Mingyuan Fan, Weiguang Han, Daixin Wang, Cen Chen 외 arxiv

Reinforcement Learning with Verifiable Rewards (RLVR) is a central paradigm for turning large language models (LLMs) into reliable problem solvers, especially in logic-heavy domains. Despite its empirical success, it rem…

Reinforcement Learning

Understanding Temporal Logic Consistency in Video-Language Models through Cross-Modal Attention Discriminability

2025-10-09 · Chengzhi Li, Heyan Huang, Ping Jian, Zhen Yang 외 arxiv

Large language models (LLMs) often generate self-contradictory outputs, which severely impacts their reliability and hinders their adoption in practical applications. In video-language models (Video-LLMs), this phenomeno…