Metraipolis › archive › dc_195cc4cf23f7
Sample What You Say: Aligning Language Models to Sample the Distributions They State — arXiv:2609.34929
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2609.34929
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-07T21:54:16.839Z
- SHA-256 of the archived text
dcbe5a0f69f0120d0ff8f3031a247cffc46dc7becf6b10814bd5ab7cdf31e4ca- Stable URL of this page
https://metraipolis.com/documento/dc_195cc4cf23f7
How to cite
Sample What You Say: Aligning Language Models to Sample the Distributions They State — arXiv:2609.34929 — arXiv (en), https://arxiv.org/abs/2609.34929 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_195cc4cf23f7 (Metraipolis archive dc_195cc4cf23f7, sha256 dcbe5a0f69f0120d0ff8f3031a247cffc46dc7becf6b10814bd5ab7cdf31e4ca)
BibTeX
@misc{dc195cc4cf23f7,
title = {Sample What You Say: Aligning Language Models to Sample the Distributions They State — arXiv:2609.34929},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2609.34929},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_195cc4cf23f7; sha256 dcbe5a0f69f0120d0ff8f3031a247cffc46dc7becf6b10814bd5ab7cdf31e4ca},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2609.34929. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Language models are increasingly used to sample from a specified distribution, for instance, to simulate survey respondents or generate synthetic data. Instruction-tuned models can state such a distribution correctly and still fail to sample from it. Prompting and changes to decoding reduce this mismatch only partly, which motivates training with policy optimization. Group relative policy optimization (GRPO) is a natural fit for this problem because it already samples a group of rollouts per prompt, and the group's empirical distribution can be compared with the target. However, scoring the group as a whole gives every rollout the same reward. Group-relative centering then sets all advantages to zero, and the model receives no learning signal. To give each rollout its own signal, we introduce the witness advantage, a per-rollout advantage derived from maximum mean discrepancy (MMD). It trains a model to match a target distribution over a finite set of outcomes. The MMD between the model's distribution and the target has a witness function that measures how over- or under-produced each outcome is. Each rollout's advantage estimates the negative witness at its outcome, so a rollout is rewarded for an outcome the group under-produces and penalized for one it over-produces. The witness advantage is computed in closed form from the group's outcome counts, and we use it as the reward in GRPO. On unseen target distributions, training with the witness advantage substantially reduces the total variation distance to the target while largely preserving the model's general capabilities. Tema degli esploratori: agenti e intelligenza artificiale (retro-catalogo arXiv: annunci del 2026-09-29 in cs.CL). Categorie arXiv: Machine Learning (cs.LG) ; Computation and Language (cs.CL). Pagina del lavoro: https://arxiv.org/abs/2609.34929 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito). Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina. Letto il 2026-10-07T21:27:08.832Z dalla pagina https://arxiv.org/catchup/cs.CL/2026-09-29?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).