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

基于自然语言解释的逻辑推理实现零样本分类

Zero-Shot Classification by Logical Reasoning on Natural Language Explanations

University of Illinois at Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校);The University of Texas at Dallas(德克萨斯大学达拉斯分校)

Chi Han, Hengzhi Pei, Xinya Du, Heng Ji

AI总结:

本文提出 CLORE 框架,将自然语言解释解析为逻辑结构并进行显式推理,从而提升零样本分类性能,并可扩展到视觉模态且受语言偏差影响更小。

摘要:

人类能够通过推理未见类别的语言解释来对其数据进行分类。这种能力源于语言的组合性:我们可以组合先前见过的属性来描述新类别。例如,我们可以将一只鼠鸫描述为“它有细直且相对较短的喙、黄色的眼睛和长尾巴”,从而让他人利用自己对“细直且相对较短的喙”“黄色的眼睛”和“长尾巴”这些属性的知识来识别鼠鸫。受这一观察启发,本文通过逻辑解析和推理自然语言解释来解决零样本分类任务。为此,我们提出了框架 CLORE(Classification by LOgical Reasoning on Explanations,基于解释的逻辑推理分类)。以往方法通常将文本信息视为隐式特征,而 CLORE 将解释解析为逻辑结构,然后沿着这些结构对输入进行显式推理以产生分类分数。在基于解释的零样本分类基准上的实验结果表明,CLORE 优于基线方法,我们进一步表明这一优势主要来自在需要更多逻辑推理的任务上取得更高的分数。我们还证明该框架可以扩展到视觉模态上的零样本分类。除了分类决策之外,CLORE 还能以清晰的理由形式提供逻辑解析和推理过程。通过实证分析,我们证明 CLORE 受语言偏差的影响也小于基线方法。

英文摘要:

Humans can classify data of an unseen category by reasoning on its language explanations. This ability is owing to the compositional nature of language: we can combine previously seen attributes to describe the new category. For example, we might describe a sage thrasher as "it has a slim straight relatively short bill, yellow eyes and a long tail", so that others can use their knowledge of attributes "slim straight relatively short bill", "yellow eyes" and "long tail" to recognize a sage thrasher. Inspired by this observation, in this work we tackle zero-shot classification task by logically parsing and reasoning on natural language expla-nations. To this end, we propose the framework CLORE (Classification by LOgical Reasoning on Explanations). While previous methods usually regard textual information as implicit features, CLORE parses explanations into logical structures and then explicitly reasons along thess structures on the input to produce a classification score. Experimental results on explanation-based zero-shot classification benchmarks demonstrate that CLORE is superior to baselines, which we further show mainly comes from higher scores on tasks requiring more logical reasoning. We also demonstrate that our framework can be extended to zero-shot classification on visual modality. Alongside classification decisions, CLORE can provide the logical parsing and reasoning process as a clear form of rationale. Through empirical analysis we demonstrate that CLORE is also less affected by linguistic biases than baselines.

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

↑