A Quantum Natural Language Processing Approach to Pronoun Resolution

Hadi Wazni,Kin Ian Lo,Lachlan McPheat,Mehrnoosh Sadrzadeh
DOI: https://doi.org/10.48550/arXiv.2208.05393
2022-08-10
Abstract:We use the Lambek Calculus with soft sub-exponential modalities to model and reason about discourse relations such as anaphora and ellipsis. A semantics for this logic is obtained by using truncated Fock spaces, developed in our previous work. We depict these semantic computations via a new string diagram. The Fock Space semantics has the advantage that its terms are learnable from large corpora of data using machine learning and they can be experimented with on mainstream natural language tasks. Further, and thanks to an existing translation from vector spaces to quantum circuits, we can also learn these terms on quantum computers and their simulators, such as the IBMQ range. We extend the existing translation to Fock spaces and develop quantum circuit semantics for discourse relations. We then experiment with the IBMQ AerSimulations of these circuits in a definite pronoun resolution task, where the highest accuracies were recorded for models when the anaphora was resolved.
Computation and Language,Logic in Computer Science
What problem does this paper attempt to address?