paper-with-me

홈 › Papers

Prompts Generalize with Low Data: Non-vacuous Generalization Bounds for Optimizing Prompts with More Informative Priors

2025-10-09 · David Madras, Joshua Safyan, Qiuyi, Zhang arxiv

Many prompt engineering techniques have been successful in practice, even when optimizing over a large prompt space with with a small amount of task-specific data. Recent work has partially explained this success by showing generalization bounds which apply PAC-Bayes theory to the discrete prompt space, but they are non-vacuous only in data-rich scenarios. We argue that such widespread success can be more fully explained through more carefully considering data- or distribution-dependent perplexity, which acts as an effective prior and steers the optimization towards prompts that are more ``natural'' for the task at hand. We derive novel generalization bounds that are non-vacuous for data-scarce prompt optimization via more useful priors, formally analyzing how perplexity regularization tightens these bounds by limiting exploration. Empirically, we explore both the bounds' effectiveness and the practical benefits of perplexity regularization in improving prompt generalization.

📄 PDF Abstract BibTeX arXiv:2510.08413

Code (0)

등록된 구현이 없습니다.

Tasks

Prompt Engineering

Similar Papers 제목 키워드 기반

Non-Vacuous Generalization Bounds for Large Language Models

2023-12-28 · Sanae Lotfi, Marc Finzi, Yilun Kuang, Tim G. J. Rudner 외

Modern language models can contain billions of parameters, raising the question of whether they can generalize beyond the training data or simply parrot their training corpora. We provide the first non-vacuous generaliza…

Generalization Boundsvalid

A Generalization Bound for Nearly-Linear Networks

2024-07-09 · Eugene Golikov

We consider nonlinear networks as perturbations of linear ones. Based on this approach, we present novel generalization bounds that become non-vacuous for networks that are close to being linear. The main advantage over …

Generalization Bounds

Computing Nonvacuous Generalization Bounds for Deep (Stochastic) Neural Networks with Many More Parameters than Training Data

2017-03-31 · Gintare Karolina Dziugaite, Daniel M. Roy

One of the defining properties of deep learning is that models are chosen to have many more parameters than available training data. In light of this capacity for overfitting, it is remarkable that simple algorithms like…

Generalization Bounds

Unlocking Tokens as Data Points for Generalization Bounds on Larger Language Models

2024-07-25 · Sanae Lotfi, Yilun Kuang, Brandon Amos, Micah Goldblum 외

Large language models (LLMs) with billions of parameters excel at predicting the next token in a sequence. Recent work computes non-vacuous compression-based generalization bounds for LLMs, but these bounds are vacuous f…

Generalization BoundsQuantization

Learning Non-Vacuous Generalization Bounds from Optimization

2022-06-09 · Chengli Tan, Jiangshe Zhang, Junmin Liu

One of the fundamental challenges in the deep learning community is to theoretically understand how well a deep neural network generalizes to unseen data. However, current approaches often yield generalization bounds tha…

Generalization Boundsvalid