cs.LGOct 16, 2026

No-Regret Language Generation

Authors: Jiaxun Li, Vinod Raman, Ambuj Tewari

Organizations: Department of Statistics, University of Michigan

Abstract

We introduce no-regret generation, which requires a generator to make a sublinear number of mistakes uniformly over all demonstration sequences and compatible target languages. We also formulate an agnostic variant that allows arbitrary demonstrations that may not be compatible with any languages. For both settings, we introduce tree-based mistake-forcing dimensions that exactly characterize finite-horizon minimax complexity and establish necessary and sufficient conditions for no-regret generation. Our characterizations reveal a rich spectrum of generation rates: up to constant rescaling, every admissible nondecreasing profile is attainable in both the realizable and agnostic settings. Finally, we connect generation complexity to online prediction: for language classes of finite Littlestone dimension dd, we obtain realizable mistake bounds of O(dlog⁡(1+T/d))O(d\log(1+T/d)) and agnostic regret bounds of O(dTlog⁡(1+T/d))O(\sqrt{dT\log(1+T/d)}). The realizable bound is optimal up to universal constants.

Figures & tables

Explore similar work

CardsList
  1. Mistake-Bounded Language Generation

    May 11, 2026Jon Kleinberg, Charlotte Peale, Omer Reingold

  2. On Language Generation in the Limit with Bounded Memory

    May 28, 2026Jon Kleinberg, Anay Mehrotra, Amin Saberi +1Statistical Learning TheoryText Generation

  3. Space-Efficient Language Generation in the Limit

    Jun 24, 2026Nicolas Flammarion, Chirag Pabbaraju, Hristo Papazov +2Automata LearningStreaming Algorithms