arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2507.05017cs.CLcs.SC
收藏

混合可解释性的验证式语言处理:技术报告

Verified Language Processing with Hybrid Explainability: A Technical Report

School of Computing, Faculty of Science, Agriculture and Engineering, Newcastle University(计算学院、科学与工程学院、农业与工程学院、新castle大学)

Oliver Robert Fox, Giacomo Bergami, Graham Morgan

AI总结:

本文提出一种结合图与逻辑、基于蒙太古语法生成一阶逻辑表示的混合可解释性流程,用于文本分类中区分逻辑蕴含、不一致和无关,并在三个数据集上验证其优于现有预训练语言模型。

摘要:

数字信息的数量和多样性导致人们越来越依赖机器学习技术(如自然语言处理)来解释和获取适当的数据。虽然向量嵌入和图嵌入能够为相似性任务表示数据,但当前最先进的流程缺乏有保证的可解释性,无法准确判断给定全文之间的相似性。这些考虑同样适用于利用生成式语言模型和逻辑提示的分类器,这些分类器尽管经过明确训练以识别逻辑蕴含和逻辑无关两类关系,却无法正确区分逻辑蕴含、逻辑无关和逻辑不一致。我们提出了一种面向混合可解释性的新型流程来解决这一问题。我们的方法结合图与逻辑来生成一阶逻辑表示,并通过蒙太古语法创建机器可读和人类可读的表示。初步结果表明,该方法在准确捕捉全文相似性方面具有有效性。据我们所知,这是首个在文本分类任务中区分逻辑蕴含、逻辑不一致和逻辑无关的方法。为解决现有方法的局限性,我们使用三个自包含的数据集(这些数据集为上述分类任务进行了标注)来确定这些方法在捕捉句子结构等价性、逻辑连接词和时空推理方面的适用性。我们还利用这些数据将所提出的方法与为检测句子蕴含而预训练的语言模型进行比较。结果表明,所提出的方法优于最先进的模型,说明自然语言理解无法通过在大量文档语料上进行训练而轻易泛化。这项工作为从海量文本数据中实现更透明、更可靠的信息检索迈出了一步。

英文摘要:

The volume and diversity of digital information have led to a growing reliance on Machine Learning techniques, such as Natural Language Processing, for interpreting and accessing appropriate data. While vector and graph embeddings represent data for similarity tasks, current state-of-the-art pipelines lack guaranteed explainability, failing to determine similarity for given full texts accurately. These considerations can also be applied to classifiers exploiting generative language models with logical prompts, which fail to correctly distinguish between logical implication, indifference, and inconsistency, despite being explicitly trained to recognise the first two classes. We present a novel pipeline designed for hybrid explainability to address this. Our methodology combines graphs and logic to produce First-Order Logic representations, creating machine- and human-readable representations through Montague Grammar. Preliminary results indicate the effectiveness of this approach in accurately capturing full text similarity. To the best of our knowledge, this is the first approach to differentiate between implication, inconsistency, and indifference for text classification tasks. To address the limitations of existing approaches, we use three self-contained datasets annotated for the former classification task to determine the suitability of these approaches in capturing sentence structure equivalence, logical connectives, and spatiotemporal reasoning. We also use these data to compare the proposed method with language models pre-trained for detecting sentence entailment. The results show that the proposed method outperforms state-of-the-art models, indicating that natural language understanding cannot be easily generalised by training over extensive document corpora. This work offers a step toward more transparent and reliable Information Retrieval from extensive textual data.

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

↑