AI & ML
PAC Learning to Sample: On Computational Aspects of Language Generation
arXiv stat.ML0 views
arXiv:2611.33464v1 Announce Type: new Abstract: The success of language models has motivated theoretical work on learning to sample from distributions on discrete domains. A prominent abstraction is the model of language generation in the limit, introduced by Kleinberg and Mullainathan (NeurIPS 2024), in which the algorithm must generate from the target language after some finite but unspecified number of positive examples. While its positive results are surprisingly general, most guarantees are qualitative. In this work, we seek quantitative guarantees on sample and time complexity, inspired by statistical and computational learning theory. To this end, we study a PAC model of language generation, proposed (in a different context) by De, Diakonikolas, and Servedio (SODA 2015), in which a Boolean concept class $C$ over $\{-1,1\}^n$ defines the target languages: given uniformly random positive examples of an unknown concept $f \in C$, the learner must output a sampler whose output distribution (conditioned on the training data) is close in total variation to the uniform distribution over $f^{-1}(1)$. Their work implicitly gives an efficient algorithm for PAC learning to sample $C$, given three primitives for $C$: an online learner, approximate sampling and counting oracles, and an SQ learner. We ask whether these ingredients, in particular online learnability, are necessary. First, we construct a Boolean concept class $C$ for which online learning is cryptographically hard, yet PAC learning to sample is computationally efficient. Then, we develop new algorithms that use offline ERM oracles instead of online learners, together with approximate sampling/counting oracles for intersections of concepts in $C$ and an SQ learner for $C$. We view our results, together with the work of De, Diakonikolas, and Servedio, as a first step towards understanding the computational complexity of language generation.
Source:https://arxiv.org/abs/2611.33464PreviousCentered Kernel Distance: Dimension-Free Error Bounds for Comparing Neural RepresentationsNextOn the Impact of Extra Information in Bandit Learning: More is Not Always Merrier
Related posts
Meu Core Web Vitals passou de 100% bom para 24% bom sem eu mexer em uma linha de código
0dev.to

Keep invalid input separate from a successful UI result
0dev.to
Staying relevant by learning the wider engineering context
0dev.to
Markdown is 3% of a long LLM answer and 22% of a short one
0dev.to
Tracking one week of LEI record changes for one country: 15.4 KB and 5,593 tokens vs one call (measured)
0dev.to
LipCN: Designing a Local-First Speech and Lip-Reading Input Tool That Stays Honest About Uncertainty
0dev.to