workshop LingEmbed · Theories Under Pressure at COLING 2027, Macau. Papers due 5 January 2027. Read the call →

research programme · neuro-symbolic computational linguistics

Embedding linguistic theory
into neural representations

LingEmbed studies how the structures of formal linguistics (categories, types, λ-terms, dependency arcs, semantic graphs) can be written into vector spaces and neural networks, and how they can be read back out of them.

symbolic structure → geometric embedding → neural computation

interactive · 01

One sentence, five theories, one geometry

Pick a theory. The analysis of every student reads a book is drawn on the left. In the middle, its nodes are placed so that ‖hᵢ − hⱼ‖² = dtree(i, j), which is the geometry a structural probe looks for. On the right, the embedding is passed through a small neural encoder. Hover a node to follow it through all three stages.

scope · 02

Linguistic theories as inductive bias

Each framework commits to a different kind of structure. Each commitment can become a constraint, a target, or an architecture for a neural model.

syntax

Categorial grammar (CCG)

Lexical categories such as (S\NP)/NP are functions. Derivations correspond to typed function application and composition.

Neural reading: categories as typed tensors, with combinators as learned or fixed contractions.

semantics

Montague & type-theoretic semantics

Meanings are typed λ-terms (e, t, e→t…), and composition is β-reduction. Modern type theories add dependent and subtyped structure.

Neural reading: type-respecting embeddings, and logic-aware losses for entailment and quantifier scope.

compositional distributional

DisCoCat

Pregroup types fix tensor orders: nouns are vectors in N, and transitive verbs live in N⊗S⊗N. Grammar specifies how the tensors are contracted.

Neural reading: grammar-shaped tensor networks with an exact diagrammatic semantics.

syntax

Dependency grammar

Head–dependent arcs labelled nsubj, obj, det. The analysis is a tree over the words themselves.

Neural reading: structural probes, graph encoders, and attention constrained by arcs.

meaning graphs

AMR & frame semantics

Rooted, labelled graphs of predicates and roles, e.g. read-01 :ARG0 student. Surface words that carry no content are abstracted away.

Neural reading: graph embeddings, role binding, and graph-to-text and text-to-graph models.

cognitive

Construction grammar

Form–meaning pairings at every grain size, from morphemes to idioms to argument-structure constructions.

Neural reading: constructions as reusable subspaces or memory slots, tested with minimal pairs.

interactive · 03

Tensor-product binding: structure in a single matrix

Smolensky's tensor product representations bind each filler (a word or concept) to a role (its structural position) with an outer product, then sum the bindings: T = Σ fᵢ ⊗ rᵢ. If the roles are orthonormal, unbinding T·rₖ returns fₖ exactly. Turn orthonormality off to see crosstalk. The fillers and roles come from the theory selected above.

Bindings

    Superposition T ∈ ℝ6×6

    Unbind a role

    methods · 04

    Two directions of travel

    Neuro-symbolic work on language runs both ways. Symbolic structure can be injected into a network, or extracted from one that was trained without it.

    Symbolic → neural (embedding)

    • Tensor product representations: role/filler binding for trees and λ-terms.
    • Typed compositional models: grammar-determined tensor orders and contractions (DisCoCat; adjectives as matrices).
    • Logic as loss: Logic Tensor Networks and differentiable fuzzy semantics for quantifiers and entailment.
    • Structure-aware architectures: tree and graph encoders, and syntax-guided attention masks.

    Neural → symbolic (probing)

    • Structural probes: linear maps under which squared distance recovers parse-tree distance.
    • Diagnostic classifiers: decoding categories, types, roles and scope from hidden states.
    • Causal interventions: activation patching and interchange interventions on hypothesised variables.
    • Behavioural minimal pairs: agreement, NPI licensing, quantifier scope, and inference.

    Background reading

    1. Smolensky, P. (1990). Tensor product variable binding and the representation of symbolic structures in connectionist systems. Artificial Intelligence 46.
    2. Montague, R. (1973). The proper treatment of quantification in ordinary English.
    3. Steedman, M. (2000). The Syntactic Process. MIT Press.
    4. Coecke, B., Sadrzadeh, M. & Clark, S. (2010). Mathematical foundations for a compositional distributional model of meaning.
    5. Baroni, M. & Zamparelli, R. (2010). Nouns are vectors, adjectives are matrices. EMNLP.
    6. Banarescu, L. et al. (2013). Abstract Meaning Representation for sembanking. LAW.
    7. Serafini, L. & d'Avila Garcez, A. (2016). Logic Tensor Networks.
    8. Hewitt, J. & Manning, C. D. (2019). A structural probe for finding syntax in word representations. NAACL.

    project · 05

    Roadmap

    Planned components of the repository. Edit this list in index.html as the work progresses.

    Theory encoders

    Converters from CCG derivations, λ-terms, UD trees and AMR graphs to a shared role/filler format.

    Embedding library

    TPR, typed-tensor (DisCoCat-style) and tree-metric embeddings, with exact unbinding tests.

    Probing suite

    Structural, type and scope probes for pretrained language models, with control tasks.

    Benchmarks

    Compositional generalisation and inference tasks that compare theory-informed and unconstrained models.

    Cite

    @misc{lingembed,
      title  = {LingEmbed: Embedding Linguistic Theory into Neural Representations},
      author = {TODO: author list},
      year   = {2026},
      url    = {https://github.com/StergiosCha/LingEmbed}
    }