arXiv:2610.23641cs.LGOct 2026

Manuscript Offprint

arXiv:2610.23641

No-Regret Language Generation

Jiaxun Li, Vinod Raman, Ambuj Tewari

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

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.

Contents

1 Introduction 3
1.1 Main contributions 5
1.2 Related work 6

2 Preliminaries 7
2.1 Language classes 7
2.2 Generation game and trajectories 7
2.3 Realizable and agnostic generation 9
2.4 Success criteria 10

3 Realizable No-Regret Generation 10
3.1 Mistake-forcing dimension 10
3.2 Characterizations of realizable no-regret generation 12
3.3 Finite-horizon versus uniform mistake bounds 13
3.4 The spectrum of realizable no-regret rates 14

4 Agnostic No-Regret Generation 15
4.1 Signed mistake-forcing dimension 15
4.2 Characterizations of agnostic no-regret generation 16
4.3 Realizable versus agnostic generation 17
4.4 The spectrum of agnostic no-regret rates 17

5 Comparison with Other Generation Criteria 18
5.1 Comparison of realizable generation criteria 18
5.2 Noisy generation versus agnostic generation 19
5.3 Finite and countable classes 19

6 From Prediction to Generation 20
6.1 Online prediction and Littlestone dimension 20
6.2 Upper bounds from finite Littlestone dimension 21
6.3 Sharpness in the realizable setting 22

7 Conclusion and Future Work 22

A Proofs for Section 3 25
A.1 Proofs for Section 3.2 25
A.2 Proofs for Section 3.3 30
A.3 Proofs for Section 3.4 31

B Proofs for Section 4 33
B.1 Proofs for Section 4.2 33
B.2 Proofs for Section 4.3 37
B.3 Proofs for Section 4.4 39

C Proofs for Section 5 41
C.1 Definitions of the generation criteria 41
C.2 Proofs for Section 5.1 41
C.3 Proofs for Section 5.2 44
C.4 Proofs for Section 5.3 45

D Proofs of Theorems 6.1 and 6.2 47
D.1 Weighted sequential leaf capacity 47
D.2 Proof of the realizable upper bound 48
D.3 Proof of the agnostic upper bound 51

E Proof of Theorem 6.3 54

F Finite VC Dimension Does Not Imply No-Regret Generation 62