language as an algebra
play

Language as an Algebra Daoud Clarke Department of Computer Science - PowerPoint PPT Presentation

Background Context Theories Tools Language as an Algebra Daoud Clarke Department of Computer Science University of Hertfordshire The Categorical Flow of Information in Quantum Physics and Linguistics, Oxford, 2010 Daoud Clarke Language as


  1. Background Context Theories Tools Language as an Algebra Daoud Clarke Department of Computer Science University of Hertfordshire The Categorical Flow of Information in Quantum Physics and Linguistics, Oxford, 2010 Daoud Clarke Language as an Algebra

  2. Background Context Theories Tools Overview Background 1 Distributional Semantics Context-theoretic Semantics Context Theories 2 Motivating Example Example Tools 3 Quotient Algebras Finite-dimensional Algebras Algebras from Monoids Daoud Clarke Language as an Algebra

  3. Background Distributional Semantics Context Theories Context-theoretic Semantics Tools Beyond lexical distributional semantics Distributional semantics: Hypothesis of Harris (1968) LSA, distributional similarity etc. Many applications Good for words/short phrases How can we go beyond the lexical domain? Data sparseness Daoud Clarke Language as an Algebra

  4. Background Distributional Semantics Context Theories Context-theoretic Semantics Tools Beyond lexical distributional semantics Distributional semantics: Hypothesis of Harris (1968) LSA, distributional similarity etc. Many applications Good for words/short phrases How can we go beyond the lexical domain? Data sparseness Daoud Clarke Language as an Algebra

  5. Background Distributional Semantics Context Theories Context-theoretic Semantics Tools Physicists (xkcd.com) Daoud Clarke Language as an Algebra

  6. Background Distributional Semantics Context Theories Context-theoretic Semantics Tools Physicists (xkcd.com) Daoud Clarke Language as an Algebra

  7. Background Distributional Semantics Context Theories Context-theoretic Semantics Tools Context-theoretic Semantics Suggestion: explore the use of unital associative algebras over the real numbers An algebra is a vector space together with a bilinear multiplication: x · ( y + z ) = x · y + x · z ( x + y ) · z = x · z + y · z Associative algebras form a monoidal category K -Alg Daoud Clarke Language as an Algebra

  8. Background Distributional Semantics Context Theories Context-theoretic Semantics Tools Context-theoretic Semantics Suggestion: explore the use of unital associative algebras over the real numbers An algebra is a vector space together with a bilinear multiplication: x · ( y + z ) = x · y + x · z ( x + y ) · z = x · z + y · z Associative algebras form a monoidal category K -Alg Daoud Clarke Language as an Algebra

  9. Background Distributional Semantics Context Theories Context-theoretic Semantics Tools Context-theoretic Semantics Suggestion: explore the use of unital associative algebras over the real numbers An algebra is a vector space together with a bilinear multiplication: x · ( y + z ) = x · y + x · z ( x + y ) · z = x · z + y · z Associative algebras form a monoidal category K -Alg Daoud Clarke Language as an Algebra

  10. Background Distributional Semantics Context Theories Context-theoretic Semantics Tools Al-kit¯ ab al-mukhtas .ar f¯ ı h .is¯ abi-l-jabr wa’l-muq¯ abala Daoud Clarke Language as an Algebra

  11. Background Distributional Semantics Context Theories Context-theoretic Semantics Tools Algebra over a field An algebra over a field: abstraction of the space of operators on a vector space Hilbert space operators → C ∗ -algebras Vector lattice operators → lattice-ordered algebras Matrices of order n form an algebra under normal matrix multiplication Daoud Clarke Language as an Algebra

  12. Background Distributional Semantics Context Theories Context-theoretic Semantics Tools Algebra over a field An algebra over a field: abstraction of the space of operators on a vector space Hilbert space operators → C ∗ -algebras Vector lattice operators → lattice-ordered algebras Matrices of order n form an algebra under normal matrix multiplication Daoud Clarke Language as an Algebra

  13. Background Distributional Semantics Context Theories Context-theoretic Semantics Tools Algebra over a field An algebra over a field: abstraction of the space of operators on a vector space Hilbert space operators → C ∗ -algebras Vector lattice operators → lattice-ordered algebras Matrices of order n form an algebra under normal matrix multiplication Daoud Clarke Language as an Algebra

  14. Background Distributional Semantics Context Theories Context-theoretic Semantics Tools Algebra over a field An algebra over a field: abstraction of the space of operators on a vector space Hilbert space operators → C ∗ -algebras Vector lattice operators → lattice-ordered algebras Matrices of order n form an algebra under normal matrix multiplication Daoud Clarke Language as an Algebra

  15. Background Distributional Semantics Context Theories Context-theoretic Semantics Tools Context-theoretic Framework A context theory is a tuple � A , A , ˆ , φ � The meaning of a string x ∈ A ∗ is a vector ˆ x ∈ A A ∗ is the free monoid on an alphabet A A is a real associative unital algebra The mapping ˆ from A ∗ to A is a monoid homomorphism the cat sat = � � the · � cat · � sat Multiplication · is distributive with respect to vector space addition (bilinearity) φ is a linear functional on A indicating probability Daoud Clarke Language as an Algebra

  16. Background Distributional Semantics Context Theories Context-theoretic Semantics Tools Context-theoretic Framework A context theory is a tuple � A , A , ˆ , φ � The meaning of a string x ∈ A ∗ is a vector ˆ x ∈ A A ∗ is the free monoid on an alphabet A A is a real associative unital algebra The mapping ˆ from A ∗ to A is a monoid homomorphism the cat sat = � � the · � cat · � sat Multiplication · is distributive with respect to vector space addition (bilinearity) φ is a linear functional on A indicating probability Daoud Clarke Language as an Algebra

  17. Background Distributional Semantics Context Theories Context-theoretic Semantics Tools Context-theoretic Framework A context theory is a tuple � A , A , ˆ , φ � The meaning of a string x ∈ A ∗ is a vector ˆ x ∈ A A ∗ is the free monoid on an alphabet A A is a real associative unital algebra The mapping ˆ from A ∗ to A is a monoid homomorphism the cat sat = � � the · � cat · � sat Multiplication · is distributive with respect to vector space addition (bilinearity) φ is a linear functional on A indicating probability Daoud Clarke Language as an Algebra

  18. Background Distributional Semantics Context Theories Context-theoretic Semantics Tools Context-theoretic Framework A context theory is a tuple � A , A , ˆ , φ � The meaning of a string x ∈ A ∗ is a vector ˆ x ∈ A A ∗ is the free monoid on an alphabet A A is a real associative unital algebra The mapping ˆ from A ∗ to A is a monoid homomorphism the cat sat = � � the · � cat · � sat Multiplication · is distributive with respect to vector space addition (bilinearity) φ is a linear functional on A indicating probability Daoud Clarke Language as an Algebra

  19. Background Distributional Semantics Context Theories Context-theoretic Semantics Tools Context-theoretic Framework A context theory is a tuple � A , A , ˆ , φ � The meaning of a string x ∈ A ∗ is a vector ˆ x ∈ A A ∗ is the free monoid on an alphabet A A is a real associative unital algebra The mapping ˆ from A ∗ to A is a monoid homomorphism the cat sat = � � the · � cat · � sat Multiplication · is distributive with respect to vector space addition (bilinearity) φ is a linear functional on A indicating probability Daoud Clarke Language as an Algebra

  20. Background Motivating Example Context Theories Example Tools Motivating Example: Context Algebras Meaning as context Formal language → syntactic monoid Fuzzy language → context algebra E.g. Latent Dirichlet Allocation → commutative algebra Daoud Clarke Language as an Algebra

  21. Background Motivating Example Context Theories Example Tools Motivating Example: Context Algebras Meaning as context Formal language → syntactic monoid Fuzzy language → context algebra E.g. Latent Dirichlet Allocation → commutative algebra Daoud Clarke Language as an Algebra

  22. Background Motivating Example Context Theories Example Tools Motivating Example: Context Algebras Meaning as context Formal language → syntactic monoid Fuzzy language → context algebra E.g. Latent Dirichlet Allocation → commutative algebra Daoud Clarke Language as an Algebra

  23. Background Motivating Example Context Theories Example Tools Motivating Example: Context Algebras Meaning as context Formal language → syntactic monoid Fuzzy language → context algebra E.g. Latent Dirichlet Allocation → commutative algebra Daoud Clarke Language as an Algebra

  24. Background Motivating Example Context Theories Example Tools Context Algebras: How it works Fuzzy language C : A ∗ → [ 0 , 1 ] x : A ∗ × A ∗ → [ 0 , 1 ] by For x ∈ A ∗ , define ˆ ˆ x ( y , z ) = C ( yxz ) Define A as vector space generated by { ˆ x : x ∈ A ∗ } Choose a basis and use multiplication on A ∗ to define multiplication on A Multiplication is the same, no matter what basis we choose! Daoud Clarke Language as an Algebra

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend