🛰️ Daily AI Frontier
‹ back to 2026-10-01

Provably Tractable NFA-Constrained Language Generation via HMMs

Research LLMs & Foundation Models

Ranking

Overall 78
Content 95
Popularity 39

Observed public metrics from 1 member.

Representative image for Provably Tractable NFA-Constrained Language Generation via HMMs

Merged summary

TL;DR - NFA-LM is a polynomial-time method for generating language-model outputs that approximately preserve the LM distribution while satisfying hard nondeterministic finite automaton constraints. It provides bounded approximation error under mild assumptions, addressing a problem whose exact counting formulation is #P-complete.

  • Connects NFA-constrained generation to counting length-(n) sequences accepted by an NFA (#NFA).
  • Builds on a fully polynomial randomized approximation scheme for #NFA to obtain tractable generation.
  • Aims to avoid the distribution distortion or inefficiency of existing approaches.
  • Experiments report efficient generation of high-quality outputs with theoretically bounded approximation error.

Sources (1)

Provably Tractable NFA-Constrained Language Generation via HMMs

arXiv cs.CL Jialiang Sun, Kuldeep Meel 2026-09-30 arXiv:2609.40185
Public signals Semantic Scholar citations 0 · Semantic Scholar influential citations 0
Providers: Hugging Face · N/A OpenAlex · N/A Publisher · N/A Semantic Scholar · Citations 0 · Influential citations 0 X · N/A Fetched 2026-10-22 14:23:34.953792 UTC

TL;DR - NFA-LM is a polynomial-time method for generating language-model outputs that approximately preserve the LM distribution while satisfying hard nondeterministic finite automaton constraints. It provides bounded approximation error under mild assumptions, addressing a problem whose exact counting formulation is #P-complete.

  • Connects NFA-constrained generation to counting length-(n) sequences accepted by an NFA (#NFA).
  • Builds on a fully polynomial randomized approximation scheme for #NFA to obtain tractable generation.
  • Aims to avoid the distribution distortion or inefficiency of existing approaches.
  • Experiments report efficient generation of high-quality outputs with theoretically bounded approximation error.
item →