Skip to main content

Coherent Diagrammatic Reasoning in Compositional Distributional Semantics

Part of the Lecture Notes in Computer Science book series (LNTCS,volume 10388)

Abstract

The framework of Categorical Compositional Distributional models of meaning [3], inspired by category theory, allows one to compute the meaning of natural language phrases, given basic meaning entities assigned to words. Composing word meanings is the result of a functorial passage from syntax to semantics. To keep one from drowning in technical details, diagrammatic reasoning is used to represent the information flow of sentences that exists independently of the concrete instantiation of the model. Not only does this serve the purpose of clarification, it moreover offers computational benefits as complex diagrams can be transformed into simpler ones, which under coherence can simplify computation on the semantic side. Until now, diagrams for compact closed categories and monoidal closed categories have been used (see [2, 3]). These correspond to the use of pregroup grammar [12] and the Lambek calculus [9] for syntactic structure, respectively. Unfortunately, the diagrammatic language of Baez and Stay [1] has not been proven coherent. In this paper, we develop a graphical language for the (categorical formulation of) the nonassociative Lambek calculus [10]. This has the benefit of modularity where extension of the system are easily incorporated in the graphical language. Moreover, we show the language is coherent with monoidal closed categories without associativity, in the style of Selinger’s survey paper [17].

Keywords

  • Diagrammatic reasoning
  • Coherence theorem
  • Proof nets
  • Compositional distributional semantics

This is a preview of subscription content, access via your institution.

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • DOI: 10.1007/978-3-662-55386-2_27
  • Chapter length: 16 pages
  • Instant PDF download
  • Readable on all devices
  • Own it forever
  • Exclusive offer for individuals only
  • Tax calculation will be finalised during checkout
eBook
USD   64.99
Price excludes VAT (USA)
  • ISBN: 978-3-662-55386-2
  • Instant PDF download
  • Readable on all devices
  • Own it forever
  • Exclusive offer for individuals only
  • Tax calculation will be finalised during checkout
Softcover Book
USD   84.99
Price excludes VAT (USA)
Fig. 1.
Fig. 2.
Fig. 3.

Notes

  1. 1.

    John Baez, personal communication, 2014.

  2. 2.

    This terminology comes from the algebraic concept of a magma, a monoid with no associativity or unit properties. We refer the reader to a blog post that advocates the name magmatic: https://bartoszmilewski.com/2014/09/29/how-to-get-enriched-over-magmas-and-monoids/.

References

  1. Baez, J., Stay, M.: Physics, topology, logic and computation: a rosetta stone. In: Coecke, B. (ed.) New Structures for Physics, pp. 95–172. Springer, Heidelberg (2010). doi:10.1007/978-3-642-12821-9_2

    CrossRef  Google Scholar 

  2. Coecke, B., Grefenstette, E., Sadrzadeh, M.: Lambek vs. Lambek: functorial vector space semantics and string diagrams for lambek calculus. Ann. Pure Appl. log. 164(11), 1079–1100 (2013)

    MathSciNet  CrossRef  MATH  Google Scholar 

  3. Coecke, B., Sadrzadeh, M., Clark, S.: Mathematical foundations for a compositional distributional model of meaning. arXiv preprint arXiv:1003.4394 (2010)

  4. Freyd, P., Yetter, D.N.: Coherence theorems via knot theory. J. Pure Appl. Algebr. 78(1), 49–76 (1992)

    MathSciNet  CrossRef  MATH  Google Scholar 

  5. Girard, J.Y.: Linear logic. Theor. Comput. Sci. 50(1), 1–101 (1987)

    MathSciNet  CrossRef  MATH  Google Scholar 

  6. Joyal, A., Street, R.: The geometry of tensor calculus, I. Adv. Math. 88(1), 55–112 (1991)

    MathSciNet  CrossRef  MATH  Google Scholar 

  7. Joyal, A., Street, R.: Braided tensor categories. Adv. Math. 102(1), 20–78 (1993)

    MathSciNet  CrossRef  MATH  Google Scholar 

  8. Kelly, G.M., Laplaza, M.L.: Coherence for compact closed categories. J. Pure Appl. Algebr. 19, 193–213 (1980)

    MathSciNet  CrossRef  MATH  Google Scholar 

  9. Lambek, J.: The mathematics of sentence structure. Am. Math. Mon. 65(3), 154–170 (1958)

    MathSciNet  CrossRef  MATH  Google Scholar 

  10. Lambek, J.: On the calculus of syntactic types. Struct. Lang. Math. Asp. 166, C178 (1961)

    Google Scholar 

  11. Lambek, J.: Deductive systems and categories. Theory Comput. Syst. 2(4), 287–318 (1968)

    MATH  Google Scholar 

  12. Lambek, J.: Type grammar revisited. In: Lecomte, A., Lamarche, F., Perrier, G. (eds.) LACL 1997. LNCS, vol. 1582, pp. 1–27. Springer, Heidelberg (1999). doi:10.1007/3-540-48975-4_1

    CrossRef  Google Scholar 

  13. Lambek, J., Scott, P.J.: Introduction to Higher-Order Categorical Logic, vol. 7. Cambridge University Press, Cambridge (1988)

    MATH  Google Scholar 

  14. Moortgat, M.: Multimodal linguistic inference. J. Log. Lang. Inf. 5(3–4), 349–385 (1996)

    MathSciNet  CrossRef  MATH  Google Scholar 

  15. Moot, R.: Proof Nets for Linguistic Analysis. Ph.D. thesis, Utrecht University (2002)

    Google Scholar 

  16. Penrose, R.: Applications of negative dimensional tensors. In: Combinatorial Mathematics and its Applications, vol. 1, pp. 221–244 (1971)

    Google Scholar 

  17. Selinger, P.: A survey of graphical languages for monoidal categories. In: Coecke, B. (ed.) New Structures for Physics, pp. 289–355. Springer, Heidelberg (2010)

    CrossRef  Google Scholar 

  18. Wijnholds, G.J.: Categorical foundations for extended compositional distributional models of meaning. MSc. thesis, University of Amsterdam (2014)

    Google Scholar 

Download references

Acknowledgements

The author is greatly indebted for many fruitful discussions with Michael Moortgat during the writing of the MSc thesis on which this paper is largely based. Also, a thanks goes out to Mehrnoosh Sadrzadeh for discussions culminating in the existence of this paper. A thanks as well to John Baez and Peter Selinger for giving some advice a long time ago on the topic of diagrammatic reasoning. Finally, the author would like to thank the two anonymous referees of this paper. The author was supported by a Queen Mary Principal’s Research Studentship during the writing of this paper.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Gijs Jasper Wijnholds .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and Permissions

Copyright information

© 2017 Springer-Verlag GmbH Germany

About this paper

Cite this paper

Wijnholds, G.J. (2017). Coherent Diagrammatic Reasoning in Compositional Distributional Semantics. In: Kennedy, J., de Queiroz, R. (eds) Logic, Language, Information, and Computation. WoLLIC 2017. Lecture Notes in Computer Science(), vol 10388. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-662-55386-2_27

Download citation

  • DOI: https://doi.org/10.1007/978-3-662-55386-2_27

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-662-55385-5

  • Online ISBN: 978-3-662-55386-2

  • eBook Packages: Computer ScienceComputer Science (R0)