arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2406.01124cs.LGcs.CL
收藏

面向大语言模型事件序列解释的隐式逻辑树提取

Latent Logic Tree Extraction for Event Sequence Explanation from LLMs

School of Computer Science and Engineering, Nanyang Technological University(南洋理工大学计算机科学与工程学院);School of Data Science, The Chinese University of Hong Kong, Shenzhen(香港中文大学(深圳)数据科学学院);Skywork AI(Skywork AI公司)

Zitao Song, Chao Yang, Chaojie Wang, Bo An, Shuang Li

AI总结:

本文提出一种基于时间点过程与摊销EM框架的方法,利用LLM先验和GFlowNet从事件序列中高效提取隐式逻辑树解释,并通过在线轻量级模型迭代获取最相关规则,在多个实验中验证了其性能与适应性。

摘要:

现代高风险系统(如医疗保健或机器人技术)通常会产生海量的流式事件序列。我们的目标是设计一种高效、即插即用的工具,从大语言模型(LLMs)中提取基于逻辑树的解释,从而为每个观察到的事件序列提供定制化的洞察。该方法建立在事件的时间点过程模型之上,采用似然函数作为评分标准来评估生成的逻辑树。我们提出了一种摊销期望最大化(EM)学习框架,并将逻辑树视为隐变量。在E步中,我们利用LLM先验和观察到的事件序列的似然来评估隐逻辑树上的后验分布。LLM为隐逻辑树提供了高质量的先验,但由于后验建立在离散组合空间上,我们无法获得闭式解。我们提出使用可学习的GFlowNet从后验中生成逻辑树样本,GFlowNet是一种面向结构化离散变量的多样性寻求生成器。M步利用生成的逻辑规则来近似后验上的边缘化,从而促进模型参数的学习并优化可调LLM先验参数。在在线设置中,我们本地构建的轻量级模型将仅通过少量迭代为每个序列迭代地从LLM中提取最相关的规则。实证演示展示了该框架的良好性能和适应性。

英文摘要:

Modern high-stakes systems, such as healthcare or robotics, often generate vast streaming event sequences. Our goal is to design an efficient, plug-and-play tool to elicit logic tree-based explanations from Large Language Models (LLMs) to provide customized insights into each observed event sequence. Built on the temporal point process model for events, our method employs the likelihood function as a score to evaluate generated logic trees. We propose an amortized Expectation-Maximization (EM) learning framework and treat the logic tree as latent variables. In the E-step, we evaluate the posterior distribution over the latent logic trees using an LLM prior and the likelihood of the observed event sequences. LLM provides a high-quality prior for the latent logic trees, however, since the posterior is built over a discrete combinatorial space, we cannot get the closed-form solution. We propose to generate logic tree samples from the posterior using a learnable GFlowNet, which is a diversity-seeking generator for structured discrete variables. The M-step employs the generated logic rules to approximate marginalization over the posterior, facilitating the learning of model parameters and refining the tunable LLM prior parameters. In the online setting, our locally built, lightweight model will iteratively extract the most relevant rules from LLMs for each sequence using only a few iterations. Empirical demonstrations showcase the promising performance and adaptability of our framework.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑