SOTAVerified

Analyzing constrained LLM through PDFA-learning

2024-06-12Code Available0· sign in to hype

Matías Carrasco, Franz Mayr, Sergio Yovine, Johny Kidd, Martín Iturbide, Juan Pedro da Silva, Alejo Garat

Code Available — Be the first to reproduce this paper.

Reproduce

Code

Abstract

We define a congruence that copes with null next-symbol probabilities that arise when the output of a language model is constrained by some means during text generation. We develop an algorithm for efficiently learning the quotient with respect to this congruence and evaluate it on case studies for analyzing statistical properties of LLM.

Tasks

Reproductions