Skip to main content

Showing 1–7 of 7 results for author: McPheat, L

Searching in archive cs. Search in all archives.
.
  1. arXiv:2503.05439  [pdf, ps, other

    cs.CL cs.AI

    An Empirical Study of Conformal Prediction in LLM with ASP Scaffolds for Robust Reasoning

    Authors: Navdeep Kaur, Lachlan McPheat, Alessandra Russo, Anthony G Cohn, Pranava Madhyastha

    Abstract: In this paper, we examine the use of Conformal Language Modelling (CLM) alongside Answer Set Programming (ASP) to enhance the performance of standard open-weight LLMs on complex multi-step reasoning tasks. Using the StepGame dataset, which requires spatial reasoning, we apply CLM to generate sets of ASP programs from an LLM, providing statistical guarantees on the correctness of the outputs. Exper… ▽ More

    Submitted 11 April, 2025; v1 submitted 7 March, 2025; originally announced March 2025.

  2. arXiv:2308.04519  [pdf, other

    cs.CL cs.AI cs.LO

    DisCoCat for Donkey Sentences

    Authors: Lachlan McPheat, Daphne Wang

    Abstract: We demonstrate how to parse Geach's Donkey sentences in a compositional distributional model of meaning. We build on previous work on the DisCoCat (Distributional Compositional Categorical) framework, including extensions that model discourse, determiners, and relative pronouns. We present a type-logical syntax for parsing donkey sentences, for which we define both relational and vector space sem… ▽ More

    Submitted 8 August, 2023; originally announced August 2023.

    Comments: In Proceedings AMSLO 2023, arXiv:2308.03679

    Journal ref: EPTCS 381, 2023, pp. 32-45

  3. arXiv:2208.05393  [pdf, other

    cs.CL cs.LO

    A Quantum Natural Language Processing Approach to Pronoun Resolution

    Authors: Hadi Wazni, Kin Ian Lo, Lachlan McPheat, Mehrnoosh Sadrzadeh

    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 o… ▽ More

    Submitted 10 August, 2022; originally announced August 2022.

  4. arXiv:2111.11331  [pdf, other

    cs.LO cs.CL

    Vector Space Semantics for Lambek Calculus with Soft Subexponentials

    Authors: Lachlan McPheat, Hadi Wazni, Mehrnoosh Sadrzadeh

    Abstract: We develop a vector space semantics for Lambek Calculus with Soft Subexponentials, apply the calculus to construct compositional vector interpretations for parasitic gap noun phrases and discourse units with anaphora and ellipsis, and experiment with the constructions in a distributional sentence similarity task. As opposed to previous work, which used Lambek Calculus with a Relevant Modality the… ▽ More

    Submitted 6 October, 2023; v1 submitted 22 November, 2021; originally announced November 2021.

    Comments: arXiv:2111.11331v2 was intended to replace arXiv:2005.03074. now restoring arXiv:2111.11331v1

  5. arXiv:2110.10641  [pdf, ps, other

    cs.LO

    Anaphora and Ellipsis in Lambek Calculus with a Relevant Modality: Syntax and Semantics

    Authors: Lachlan McPheat, Gijs Wijnholds, Mehrnoosh Sadrzadeh, Adriana Correia, Alexis Toumi

    Abstract: Lambek calculus with a relevant modality $!\mathbf{L^*}$ of arXiv:1601.06303 syntactically resolves parasitic gaps in natural language. It resembles the Lambek calculus with anaphora $\mathbf{LA}$ of (Jäger, 1998) and the Lambek calculus with controlled contraction, $\mathbf{L}_{\Diamond}$, of arXiv:1905.01647v1 which deal with anaphora and ellipsis. What all these calculi add to Lambek calculus i… ▽ More

    Submitted 20 October, 2021; originally announced October 2021.

  6. Categorical Vector Space Semantics for Lambek Calculus with a Relevant Modality (Extended Abstract)

    Authors: Lachlan McPheat, Mehrnoosh Sadrzadeh, Hadi Wazni, Gijs Wijnholds

    Abstract: We develop a categorical compositional distributional semantics for Lambek Calculus with a Relevant Modality, which has a limited version of the contraction and permutation rules. The categorical part of the semantics is a monoidal biclosed category with a coalgebra modality as defined on Differential Categories. We instantiate this category to finite dimensional vector spaces and linear maps via… ▽ More

    Submitted 25 January, 2021; originally announced January 2021.

    Comments: In Proceedings ACT 2020, arXiv:2101.07888. arXiv admin note: substantial text overlap with arXiv:2005.03074

    Journal ref: EPTCS 333, 2021, pp. 168-182

  7. Categorical Vector Space Semantics for Lambek Calculus with a Relevant Modality

    Authors: Lachlan McPheat, Mehrnoosh Sadrzadeh, Hadi Wazni, Gijs Wijnholds

    Abstract: We develop a categorical compositional distributional semantics for Lambek Calculus with a Relevant Modality !L*, which has a limited edition of the contraction and permutation rules. The categorical part of the semantics is a monoidal biclosed category with a coalgebra modality, very similar to the structure of a Differential Category. We instantiate this category to finite dimensional vector spa… ▽ More

    Submitted 11 May, 2023; v1 submitted 6 May, 2020; originally announced May 2020.

    Journal ref: Compositionality, Volume 5 (2023) (May 16, 2023) compositionality:13521