Título : Learning of Tree Automata applied to Neural Language Acceptors
Autor(es) : da Silva, Juan
Yovine, Sergio
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 : Active Learning
Tree Automata
Visibly Pushdown Languages
Resumen : We extract visibly pushdown grammars (VPGs) from neural language models in a fully black-box setting. Our work builds on the VPL* framework, which learns VPGs from recurrent networks by exploiting access to the target's internal state. First, we replace the white-box equivalence oracle with PAC sampling over trees. The resulting algorithm applies unchanged to transformer language models and, more generally, to any acceptor exposing only binary decisions. Second, we further observe that the original framework only ever queries the target on well-formed sequences that can be accepted by the most permissive VPG (called BParse) with the target's ranked alphabet. That is, VPL* is blind to the target's behavior outside BParse. Thus, we propose to sample trees directly instead of sequences and call the target with all the resulting sequences in order to provide an error estimate of how far the target deviates from being a VPG. Last but not least, we develop a learner that captures a tree automaton describing discovered behaviors of the target outside BParse, which results in a larger learnable space. We evaluate the approach on several cases, including transformers trained with Dyck grammars and synthetic targets designed to be outside BParse.
URI / Handle: https://hdl.handle.net/20.500.12381/5636
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_NAC_2023_1_178663
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
Learning_tree_automata__ICGI_2026___arXiv_.pdfDescargar 317.31 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)