paper-with-me

Papers

Sampling from Stochastic Finite Automata with Applications to CTC Decoding

2019-05-21 · Martin Jansche, Alexander Gutkin

Stochastic finite automata arise naturally in many language and speech processing tasks. They include stochastic acceptors, which represent certain probability distributions over random strings. We consider the problem of efficient sampling: drawing random string variates from the probability distribution represented by stochastic automata and transformations of those. We show that path-sampling is effective and can be efficient if the epsilon-graph of a finite automaton is acyclic. We provide an algorithm that ensures this by conflating epsilon-cycles within strongly connected components. Sampling is also effective in the presence of non-injective transformations of strings. We illustrate this in the context of decoding for Connectionist Temporal Classification (CTC), where the predictive probabilities yield auxiliary sequences which are transformed into shorter labeling strings. We can sample efficiently from the transformed labeling distribution and use this in two different strategies for finding the most probable CTC labeling.

📄 PDF Abstract BibTeX arXiv:1905.08760

Code (2)

mjansche/ctc_sampling 공식 구현
https://gitlab.com/Jaco-Assistant/finstreder

Similar Papers 제목 키워드 기반

Constrained Decoding for Diffusion Language Models via Efficient Inference over Finite Automata

2026-07-08 · Meihua Dang, Stefano Ermon arxiv

Constrained decoding is essential for serving LLMs, ensuring that generated outputs follow specific structures such as JSON schema-formatted function calls. Existing systems are designed for autoregressive models and ass…

Mitigating Bias in Locally Constrained Decoding via Tractable Proposals

2026-06-01 · Meihua Dang, Linxin Song, Honghua Zhang, Jieyu Zhao 외 arxiv

Generations from large language models often fail to conform to desired constraints such as JSON schema. Existing locally constrained decoding (LCD) approaches enforce constraints by myopically masking out next tokens, r…

On the Theory of Stochastic Automata

2021-03-26 · Merve Nur Cakir, Mehwish Saleemi, Karl-Heinz Zimmermann

The theory of discrete stochastic systems has been initiated by the work of Shannon and von Neumann. While Shannon has considered memory-less communication channels and their generalization by introducing states, von Neu…

Decoding with Finite-State Transducers on GPUs

2017-01-11 · EACL 2017 4 · Arturo Argueta, David Chiang

Weighted finite automata and transducers (including hidden Markov models and conditional random fields) are widely used in natural language processing (NLP) to perform tasks such as morphological analysis, part-of-speech…

ChunkingGPUMorphological Analysisnamed-entity-recognition+5

Spectral Learning from a Single Trajectory under Finite-State Policies

2017-08-01 · ICML 2017 8 · Borja Balle, Odalric-Ambrym Maillard

We present spectral methods of moments for learning sequential models from a single trajectory, in stark contrast with the classical literature that assumes the availability of multiple i.i.d. trajectories. Our appr…