Improving Constrained Language Generation via Self-Distilled Twisted Sequential Monte Carlo

Sooyeon Kim, Giung Nam, Byoungwoo Park, Juho Lee
7/3/2025
cs.LGstat.ML

No confident code implementation found for this paper.

Abstract

Recent work has framed constrained text generation with autoregressive language models as a probabilistic inference problem. Among these, Zhao et al. (2024) introduced a promising approach based on twisted Sequential Monte Carlo, which incorporates learned twist functions and twist-induced proposals to guide the generation process.

Show full abstract

However, in constrained generation settings where the target distribution concentrates on outputs that are unlikely under the base model, learning becomes challenging due to sparse and uninformative reward signals. We show that iteratively refining the base model through self-distillation alleviates this issue by making the model progressively more aligned with the target, leading to substantial gains in generation quality.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{kim2025improving,
  title  = {Improving Constrained Language Generation via Self-Distilled Twisted Sequential Monte Carlo},
  author = {Sooyeon Kim and Giung Nam and Byoungwoo Park and Juho Lee},
  year   = {2025},
  eprint = {2507.02315},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2507.02315v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2507.02315.svg)](https://codeofpaper.com/paper/2507.02315)

Discussion