LLM作为DFA学习的概率最小充分教师
LLMs as Probabilistic Minimally Adequate Teachers for DFA Learning
AI总结:
本文提出概率最小充分教师(pMAT)框架,利用LLM作为概率预言机进行DFA学习,并通过Discrimination与Verification提示、动态查询缓存精化算法提升准确性,为LLM参与的自动机学习提供理论基础。
摘要:
大语言模型(LLMs)中智能的出现激发了研究者将其集成到自动机学习中的兴趣。本文引入了概率最小充分教师(pMAT)形式化框架,该框架利用一个概率预言机,在回答用于确定性有限自动机(DFA)学习的成员查询时可能随机产生持续错误。鉴于LLMs倾向于产生幻觉内容,我们开发了提高答案准确性并确保所学自动机正确性的技术。我们提出了$\mathtt{Discrimination}$提示和$\mathtt{Verification}$提示,并探索了它们相对于常用提示的优势。此外,我们比较了TTT算法与常见主动学习算法之间的DFA学习性能。为解决持续错误的指数级数量问题,我们实现了一种动态查询缓存精化算法,该算法通过结合主动学习和被动学习算法来识别并纠正冲突查询。实证结果证明了我们方法的鲁棒性和效率,为在回路中引入LLMs的自动机学习提供了理论基础。
英文摘要:
The emergence of intelligence in large language models (LLMs) has inspired investigations into their integration into automata learning. This paper introduces the probabilistic Minimally Adequate Teacher (pMAT) formulation, which leverages a probabilistic oracle that could give persistent errors randomly during answering the membership queries for deterministic finite automata (DFA) learning. Given the tendency of LLMs to produce hallucinatory content, we have developed techniques to improve answer accuracy and ensure the correctness of the learned automata. We propose the $\mathtt{Discrimination}$ prompt as well as the $\mathtt{Verification}$ prompt and explore their advantages over common prompts. Additionally, we compare DFA learning performance between the TTT algorithm and common active learning algorithms. To address the exponential number of persistent errors, we implement a dynamic query cache refinement algorithm that identifies and corrects conflicting queries by combining the active and passive learning algorithms. The empirical results demonstrate the robustness and efficiency of our approach, providing a theoretical foundation for automata learning with LLMs in the loop.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。