通过字符串概率查询的PDFA蒸馏
PDFA Distillation via String Probability Queries
AI总结:
本文提出一种L#算法的衍生方法,通过字符串概率查询从神经网络中蒸馏概率确定性有限自动机(PDFA),并在公开数据集上验证了其作为可解释代理模型的有效性。
摘要:
概率确定性有限自动机(PDFA)是一类离散事件系统,用于对语言上的条件概率进行建模:给定已观测到的token序列,它们返回感兴趣token接下来出现的概率。这类模型在可解释机器学习领域受到越来越多的关注,被用作训练为语言模型的神经网络的代理模型。本文提出了一种从神经网络中蒸馏PDFA的算法。该算法是L#算法的一种衍生方法,能够通过一种新型查询来学习PDFA,其中算法根据被查询字符串出现的概率推断条件概率。我们通过从一组已训练的神经网络中蒸馏PDFA,在最近的一个公开数据集上验证了该方法的有效性。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。