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

从CCG构建话语电路的流水线

A Pipeline For Discourse Circuits From CCG

Quantinuum(昆腾努姆);University of Oxford(牛津大学)

Jonathon Liu, Razin A. Shaikh, Benjamin Rodatz, Richie Yeung, Bob Coecke

AI总结:

本文提出一个将英语文本转换为DisCoCirc电路表示的软件流水线,结合CCG解析与共指消解,生成简单类型λ演算项和电路图,以支持经典与量子NLP应用。

摘要:

语言理论与现代自然语言处理(NLP)实践之间存在显著脱节,后者严重依赖难以解释的黑箱架构。DisCoCirc是一种新提出的意义模型,旨在通过提供融合语言结构的神经符号模型来弥合这一鸿沟。DisCoCirc将自然语言文本表示为一个“电路”,该电路捕获文本的核心语义信息。这些电路随后可以被解释为模块化机器学习模型。此外,DisCoCirc还实现了另一个重要目标,即提供一种可以在近期量子计算机上实现的NLP模型。在本文中,我们描述了一个软件流水线,该流水线将英语文本转换为其DisCoCirc表示。该流水线实现了对英语语言大部分片段的覆盖。它依赖于输入文本的组合范畴语法(CCG)解析以及共指消解信息。这些语义和句法信息在多个步骤中被用于将文本转换为简单类型λ演算项,然后再转换为电路图。该流水线将使DisCoCirc框架能够应用于NLP任务,同时采用经典方法和量子方法。

英文摘要:

There is a significant disconnect between linguistic theory and modern NLP practice, which relies heavily on inscrutable black-box architectures. DisCoCirc is a newly proposed model for meaning that aims to bridge this divide, by providing neuro-symbolic models that incorporate linguistic structure. DisCoCirc represents natural language text as a `circuit' that captures the core semantic information of the text. These circuits can then be interpreted as modular machine learning models. Additionally, DisCoCirc fulfils another major aim of providing an NLP model that can be implemented on near-term quantum computers. In this paper we describe a software pipeline that converts English text to its DisCoCirc representation. The pipeline achieves coverage over a large fragment of the English language. It relies on Combinatory Categorial Grammar (CCG) parses of the input text as well as coreference resolution information. This semantic and syntactic information is used in several steps to convert the text into a simply-typed $λ$-calculus term, and then into a circuit diagram. This pipeline will enable the application of the DisCoCirc framework to NLP tasks, using both classical and quantum approaches.

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

↑