{"title":"PDFA Distillation via String Probability Queries {PDFA Distillation via String Probability Queries}","authors":"Robert Baumgartner, Sicco Verwer","doi":"arxiv-2406.18328","DOIUrl":null,"url":null,"abstract":"Probabilistic deterministic finite automata (PDFA) are discrete event systems\nmodeling conditional probabilities over languages: Given an already seen\nsequence of tokens they return the probability of tokens of interest to appear\nnext. These types of models have gained interest in the domain of explainable\nmachine learning, where they are used as surrogate models for neural networks\ntrained as language models. In this work we present an algorithm to distill\nPDFA from neural networks. Our algorithm is a derivative of the L# algorithm\nand capable of learning PDFA from a new type of query, in which the algorithm\ninfers conditional probabilities from the probability of the queried string to\noccur. We show its effectiveness on a recent public dataset by distilling PDFA\nfrom a set of trained neural networks.","PeriodicalId":501124,"journal":{"name":"arXiv - CS - Formal Languages and Automata Theory","volume":"56 1","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2024-06-26","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"arXiv - CS - Formal Languages and Automata Theory","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/arxiv-2406.18328","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
Probabilistic deterministic finite automata (PDFA) are discrete event systems
modeling conditional probabilities over languages: Given an already seen
sequence of tokens they return the probability of tokens of interest to appear
next. These types of models have gained interest in the domain of explainable
machine learning, where they are used as surrogate models for neural networks
trained as language models. In this work we present an algorithm to distill
PDFA from neural networks. Our algorithm is a derivative of the L# algorithm
and capable of learning PDFA from a new type of query, in which the algorithm
infers conditional probabilities from the probability of the queried string to
occur. We show its effectiveness on a recent public dataset by distilling PDFA
from a set of trained neural networks.