Título : A formal approach for understanding the behavior of constrained language models
Autor(es) : Iturbide, Martín
Yovine, Sergio
Carrasco, Matías
Fecha de publicación : ago-2026
Tipo de publicación: Preprint
Areas del conocimiento : Ciencias Naturales y Exactas
Ciencias de la Computación e Información
Otros descriptores : Artificial Intelligence
Language Models
Constrained Decoding
Formal Languages
Resumen : We study language models under explicit formal constraints by treating common operations, such as prompting, masking, temperature scaling, and vocabulary translation, as composable transformations, in particular those that preserve the set of generable sequences and/or its probability distribution. We focus on constraints that disable tokens, potentially leading to dead-ends during generation. Moreover, we formalize bounded-length and safe decoding procedures. The theoretical results enable the algorithmic approximation of the probability of subsets (properties) of the generable language, as well as active learning of automata representations, such as DFA o Moore machines. We evaluate the approach to analyze the behavior of several state-of-the-art large language models.
URI / Handle: https://hdl.handle.net/20.500.12381/5635
Otros recursos relacionados: https://hdl.handle.net/20.500.12381/3417
https://hdl.handle.net/20.500.12381/3418
https://hdl.handle.net/20.500.12381/3419
https://hdl.handle.net/20.500.12381/3420
https://hdl.handle.net/20.500.12381/3622
https://hdl.handle.net/20.500.12381/3624
https://hdl.handle.net/20.500.12381/3626
https://hdl.handle.net/20.500.12381/3656
https://hdl.handle.net/20.500.12381/5138
https://doi.org/10.60895/redata/Z8QDEZ
https://doi.org/10.60895/redata/NDHQQQ
https://doi.org/10.60895/redata/KNERSJ
https://doi.org/10.60895/redata/JY5DUS
https://hdl.handle.net/20.500.12381/5632
https://hdl.handle.net/20.500.12381/5633
Institución responsable del proyecto: Universidad ORT Uruguay
Financiadores: Agencia Nacional de Investigación e Innovación
Identificador ANII: FMV_1_2023_1_175864
POS_FMV_2023_1_1012218
Nivel de Acceso: Acceso abierto
Licencia CC: Reconocimiento 4.0 Internacional. (CC BY)
Aparece en las colecciones: Publicaciones de ANII

Archivos en este ítem:
archivo  Descripción Tamaño Formato
ICGI_2026__bis___arXiv_.pdfDescargar 485.53 kBAdobe PDF

Las obras en REDI están protegidas por licencias Creative Commons.
Por más información sobre los términos de esta publicación, visita: Reconocimiento 4.0 Internacional. (CC BY)