S. D. V. Stephens

notes / Basic Neuroscience and Geometry of Neuroscience / chapter 12: Language

G17 A Mathematical Model of Language

This lecture rests on two works:

  • for the general theory of Merge: M. Marcolli, N. Chomsky, R.C. Berwick, Mathematical Structure of Syntactic Merge. An Algebraic Model of Generative Linguistics, MIT Press, 2025 (cited below as [MCB]);
  • for its dynamical-system structure: M. Marcolli, D. Skigin, Merge on workspaces as Hopf algebra Markov chain, arXiv:2512.18861.

Syntax as structure

Syntax is the focus here: the “large-scale structure” of language, where the main structure-building computational process resides. The input from linguistics consists of:

  • what the main structure-building and transformation operations of syntax are;
  • cross-linguistic variation, and the common universal computational core underlying it;
  • the interface between syntax and semantics (structure formation and parsing);
  • language acquisition, and the specialization of the core computational mechanism to one particular language.

Strings versus structures

An important development in the modeling of language is the passage from strings to structures. What language appears to look like is a string of symbols,

What language actually looks like is shown on the slide by a photograph of a hanging mobile sculpture: black shapes dangling from wires that branch and branch again from a single suspension point, free to turn in space.

How is language “a structure” beyond the string of words? Look at this sentence:

I shot an elephant in my pajamas – what it was doing in my pajamas, I’ll never know (Groucho Marx)

Why is it funny? Because it conflates two different structures.

Two parse trees for 'I shot an elephant in my pajamas', with the prepositional phrase attached to the verb phrase or to the noun phrase.

A sentence is not just a string of words. We perceive structural relations in a sentence, more than proximity relations in the ordering of its words; the structure reflects the different possible ways in which sentences are generated.

Merge

Chomsky’s Minimalist Program (from the 1990s onward, reformulated after 2013) aims to identify the core computational process of structure formation in syntax. That core is a simple computational structure: Merge.

A complete binary rooted tree with eight leaves, with circles around its subtrees showing the nested Merge operations that built it.

This process generates structures that are

  • called hierarchical structures (or syntactic objects) in linguistics;
  • called non-planar (or abstract) binary rooted trees by mathematicians.

The lexical items, at the leaves, are combined into a hierarchical structure. The tree dangles from its root and does not lie in the plane, so the lexical items at the leaves do not form an ordered string of symbols.

Merge is a computational process of structure formation: for instance, merging and and then merging the result with gives the tree at the top of the figure below. It is a generative process of non-planar full binary rooted trees with labeled leaves; below are some of the trees it generates.

The tree obtained by merging alpha with the merge of beta and gamma, and three six-leaf binary rooted trees generated by Merge.

What about the linear order of sentences? We can learn any language, and languages vary widely in their word-order structure. So the core computational mechanism, common to all languages, should not depend on one particular word order: word order is learned during language acquisition.

Externalization

  • Externalization follows the generative process of structure formation, in which sentences are hierarchical non-planar tree structures.
  • Language is externalized through the sensory-motor system (speech, sign) as a temporally ordered sequence of words.
  • Equivalently, the trees acquire a planar structure.
  • This uses language-dependent forms of word order, plus other rules.
  • Example: English is head-initial, Japanese is head-final.
Head-initial English 'eat an apple' versus head-final Japanese 'ringo-o tabe-ru' as syntax trees.

Here VP = verb phrase, TP = tense phrase, DP = determiner phrase. This leads to syntactic variability, syntactic parameters, and a geometry of syntax (which constraints?).

Summary of the picture so far.

  • Language starts as hierarchical structures: free-floating (non-planar) binary rooted trees that encode only the structural relations between words.
  • The physical constraints of externalization (sound, motion) force a reduction to an ordered sequence.
  • During language acquisition our brain quickly learns, from a small collection of such examples, the (non-visible and complex) structure of syntax.

Remark. Note the enormous computational difficulty of solving this inverse problem… yet our brain does it easily.

Structure formation: the Merge model

A closer look at structure formation (movement and transformation):

  • We do more than form sentences: we modify them, transform them and manipulate them according to precise rules (forming questions, changing to the passive voice, and so on).
  • The Merge operation of structure formation has two aspects: Internal Merge and External Merge.
  • Internal Merge (responsible for “movement”) needs to reach inside already formed structures (syntactic objects) for constituent parts (accessible terms) that are available for further computation.
  • Structure formation is also a “bottom-up” operation that proceeds in steps, using an intermediate scratchpad for its operations (workspaces).
Lexical items copied from the lexicon into the workspace, which is the input to Merge.

The main aspects of the Merge model of syntax, in its most recent formulation (2013 onward), are:

  • syntactic objects;
  • workspaces;
  • accessible terms;
  • the Merge action on workspaces;
  • externalization.

All of these notions have a precise mathematical formulation. It shows that many aspects of the linguistic model that have empirical grounds in fact follow from constraints of the algebraic structure.

Syntactic objects

Definition G17.1 (Magma of syntactic objects). Start with a set of lexical items and syntactic features, and a binary operation that is commutative and nonassociative: The set of syntactic objects is the free nonassociative commutative magma generated by , that is, all elements obtained by repeated application of starting from elements of .

Proposition G17.2 (Free magma and abstract binary rooted trees). The free nonassociative commutative magma on a set is canonically isomorphic to the set of abstract binary rooted trees with leaves decorated by elements of . In particular

So syntactic objects are abstract binary rooted trees with leaves decorated by lexical items. Abstract means that there is no assigned planar embedding (such trees are also called non-planar), and the leaves do not form an ordered string of elements of .

Workspaces

Definition G17.3 (Workspaces). The set of workspaces is the free commutative monoid on the set , Its elements are binary forests, finite disjoint unions of abstract binary rooted trees,

A workspace as a forest: the disjoint union of three binary rooted trees.

Merge operations map the set of workspaces to itself: they transform workspaces into new workspaces. This action should account for two types of operation, structure formation (External Merge) and movement or transformation (Internal Merge). The second requires access to substructures.

Accessible terms

Definition G17.4 (Accessible terms). The accessible terms of a syntactic object are its subtrees , with a non-root vertex of and the subtree below . The accessible terms of a workspace are the accessible terms of each and the components themselves.

A workspace of three trees with accessible terms circled: subtrees below non-root vertices in red, a whole component in orange.

In symbols: for a tree and a vertex , let be the subtree rooted at , and let be the set of non-root vertices of . The accessible terms of are For a workspace with ,

What mathematical structure governs workspaces and accessible terms? The answer: workspaces form a Hopf algebra.

Hopf algebras

A Hopf algebra is a mathematical way of describing composition–decomposition:

  • a product, an “assemble” operation (two inputs, one output) that says how to put different objects together;
  • a coproduct, a “decompose” operation (one input, two outputs) that lists all the possible ways of decomposing an object into two parts;
  • compatibility between these two operations (a relation for interchanging the order of product and coproduct).

The slide illustrates this with jigsaw-puzzle pieces. At the top, two pieces are assembled in all possible ways: the product lists the five ways their tabs and slots can be joined. At the bottom, an assembly of three pieces is decomposed in all possible ways into a pair of parts: (the whole, ), (, the whole), and each split into a single piece and the remaining two.

Definition G17.5 (Hopf algebra). A Hopf algebra is a vector space over a field endowed with

  • a multiplication ;
  • a unit ;
  • a comultiplication ;
  • a counit ;
  • an antipode ,

such that

  • the multiplication is associative;
  • the comultiplication is coassociative;
  • is a unit for the multiplication and is a counit for the comultiplication;
  • the comultiplication and the counit are homomorphisms of algebras, and the multiplication and the unit are homomorphisms of coalgebras;
  • relates and , and and .

All of this is expressed by the commutativity of the diagrams below.

These formal requirements are exactly what makes a good pair of composition and decomposition operations.

Multiplication: associativity and unit.

Commutative diagram for the unit axiom of a Hopf algebra.

Comultiplication: coassociativity and counit.

Commutative diagram for the counit axiom of a Hopf algebra.

The commutativity of the first of these diagrams is coassociativity:

Compatibility of product and coproduct.

Commutative diagram expressing the compatibility of product and coproduct: Delta of a product equals the product of the Deltas after swapping the middle factors.

Here is the flip , so permutes the two middle factors of . Writing also for this middle permutation, and for the product (as it will be for workspaces), the diagram says The behavior of the unit and counit with respect to the coproduct and product is given by the two diagrams below, using the identification .

Two triangles: the counit is multiplicative and the coproduct of the unit is the unit tensor the unit.

Antipode. A further compatibility is the commutativity of the diagram that is, .

Remark (Graded Hopf algebras). If the Hopf algebra is graded, with , and and are compatible with the grading, then the antipode comes for free: is determined by the rest of the structure and is not an additional constraint. It is given inductively by for , where , are terms of lower degree. For workspaces the grading is by the number of leaves.

Workspaces form a Hopf algebra

Let be the vector space spanned by the forests.

  • Product: workspaces (forests) are assembled by disjoint union of syntactic objects (trees),
  • Coproduct: it disassembles workspaces into their constituent parts.

If one uses the coproduct in which the trees are primitive elements, , one gets , that is, This gives only partitions of the workspace, with no access to substructures (accessible terms). With it one would get External Merge, but no movement (Internal Merge).

The coproduct by admissible cuts

In a tree , consider forests of accessible terms,

Definition G17.6 (Coproduct by admissible cuts). The coproduct is Each such corresponds to an admissible cut of , with cut forest and remaining tree . A cut is admissible when there is at most one cut on any path from the root to the leaves.

An admissible cut of a six-leaf tree: three cut edges, no two on a path from the root, with the cut-off subtrees circled.

Remark. Warning: some care is needed in defining so that the coproduct is coassociative.

The Merge action

Definition G17.7 (Merge). For syntactic objects, the Merge operation on workspaces is It works in four steps:

  1. the coproduct extracts and displays all the accessible terms;
  2. locates the matching pairs of accessible terms, and ;
  3. the grafting operator attaches the extracted terms to a new root;
  4. the product recomposes the new workspace.
The grafting operator B joining trees T1 to Tn under a new common root.

Because of , only the binary case of applies. From now on the coproduct is a particular version of the admissible-cut coproduct, and is the Hopf algebra of workspaces.

Definition G17.8 (Types of Merge).

  • External Merge (EM): and are components of the workspace.
  • Sideward Merge (SM): at least one of , is an accessible term (not a whole component).
  • Internal Merge (IM): , the extraction of an accessible term , which is then merged with its own complement .
  • The assembled Merge operation (all possible Merge transformations of a workspace): and where is the projection onto the terms of the coproduct with components in the left-hand side.

Merge as a Hopf algebra Markov chain

Here the Merge operations are considered as forming a Hopf algebra Markov chain (HAMC), and its dynamical properties are studied. This treats syntax formation and transformation (movement) as a dynamical system.

Theorem G17.9 (Main results (Marcolli–Skigin)).

  1. The directed graph of the Merge HAMC breaks down into finite graphs , indexed by the number of leaves; these are sparse graphs for large .
  2. Each is strongly connected and aperiodic, so the dynamics converges to a stationary distribution.
  3. The IM arrows give subgraphs in which each component has the uniform stationary distribution.
  4. The full dynamics reduces to a much smaller graph whose vertices are the partitions (instead of forests).
  5. The dynamics can be weighted by cost functions on the edges.
  6. The full dynamics of the Merge HAMC maximizes entropy (and, if weighted by a cost function, optimizes free energy).

The Merge graph

Definition G17.10 (Merge graph). The Merge graph is the directed graph whose vertices are the forests with nonempty set of edges, (here is the set of edges of the forest ). There is an edge from the vertex to the vertex if there is a Merge operation (EM, minimal SM, or IM) with

  • Minimal SM is where both and consist of a single leaf (at least one of them in a tree with more than one leaf).
  • There are two possible choices, which affect the properties of : allow cutting both edges below the same vertex, or not. This is only relevant in the SM case. The algebraic properties of are better if one does not; the dynamical-system properties are better if one does (so it is allowed).
  • The condition is imposed because every Merge operation creates some edge. So any with is transient: it does not contribute to the long-term dynamical behavior.

Example G17.11 (The Merge graph for ). With three leaves , the vertices are the three forests made of a two-leaf tree (a “cherry”) and a single leaf, and the three trees with three leaves. Here cutting both edges below the same vertex is excluded.

The Merge graph on three leaves: External, Sideward and Internal Merge arrows among three cherry-plus-leaf forests and three three-leaf trees.

Decomposing the Merge graph

Merge operations preserve the number of leaves of forests (using ). So the infinite graph breaks into a disjoint union of finite graphs, The case is trivial (no dynamics), so it is excluded. Merge operations also do not alter the labeling of the leaves, so there is a further decomposition where is the set of -element multisets of lexical items: is the set of labels of the leaves. The graph has the finite set of vertices

Counting vertices: counting forests

Counting the vertices means counting the forests (non-planar, with labeled leaves). A forest has set of leaves so the set of leaf labels is partitioned among the .

Definition G17.12 (Partitions). is the set of partitions of as a sum of integers . A partition is written (with possible repetitions among the ), or with the multiplicities written explicitly (and no repetitions among the ): The partitions with at least one form the set where .

Partitions can be represented as Young diagrams: boxes arranged in rows of lengths , in non-increasing order.

The Young diagram of the partition {4,2,2,1} of 9.

There is a projection from workspaces to partitions, , recording the numbers of leaves of the components. For example, both forests below have .

Two workspaces with leaf partition {4,2,2,1}: a balanced or a comb four-leaf tree, two cherries and a single leaf.

Definition G17.13 (Counting functions). For a partition with , define

  • the multinomial coefficient
  • the generalized multinomial coefficient
  • the counting function with the convention for parts .

Proposition G17.14 (What they count).

  1. Tree topologies: the number of non-planar full binary rooted trees with labeled leaves is
  2. Forests with a fixed partition: the number of forests with is The multinomial coefficient counts the ways the labels split between the components, and the normalization by accounts for the symmetry of rows of the same length in the partition.
  3. Vertices of the Merge graphs: since ,

Connectivity of the Merge graphs

For a forest write for its number of connected components, for the set of connected components of with a nontrivial set of edges, and . For let be the numbers of leaves of these components.

Proposition G17.15 (Numbers of arrows). At a vertex of the Merge graph:

  1. the number of outgoing External Merge arrows is
  2. the number of incoming External Merge arrows is
  3. the number of outgoing Internal Merge arrows is (nontrivial IM occurs only for ), and the number of incoming Internal Merge arrows is the same,
  4. the number of outgoing minimal Sideward Merge arrows is where for the set of pairs of leaves that form a cherry, for the set of cherries that are connected components, and is the number of cherries contained in larger trees;
  5. the number of incoming minimal Sideward Merge arrows is

Proof. Internal Merge. The sources of IM arrows: there is one for each accessible term . A tree with leaves has non-root vertices, and excluding the two just below the root (which give the identity) leaves . The targets of IM arrows: the target has one component , which comes from or from , where denotes insertion at the edge . So there is a choice of edges. ∎

This seems complicated, but the key observation is: all these depend only on , not on .

Reducing the graph by projection to partitions

This fact is used to reduce the graph by projecting it to a graph whose vertices are the partitions in .

Example G17.16 (The projection ). The vertices of are the four partitions , , , of , drawn as Young diagrams. Each edge carries its multiplicity, the number of edges of that project to it.

The Merge graph for four leaves projected to the partitions {2,1,1}, {2,2}, {3,1}, {4}, with edge multiplicities.

The vertex multiplicities (the numbers of forests in each class, that is, ) are , , , for , , , . So is a small and manageable graph, while has 270 edges and 36 vertices, which already makes Perron–Frobenius computations difficult.

Sparsity

Unlike what the case suggests, the Merge graphs become rapidly more and more sparse as grows.

Definition G17.17 (Density). The density of a graph is the ratio of its number of edges to the maximal possible number,

Proposition G17.18 (Sparsity). For the Merge graphs, where is a polynomial of degree (coming from the counting of the ), while the forest count grows at least exponentially.

Strong connectedness and aperiodicity

Definition G17.19. A directed graph is strongly connected if there is a directed path of edges between any ordered pair of vertices in . A graph is periodic if all the cycle lengths in the graph have a common gcd , and aperiodic if this gcd is .

Theorem G17.20. The Merge graphs are strongly connected (this needs at least minimal SM) [MCB], and they are also aperiodic.

Proof. Strong connectedness is shown in [MCB]. For aperiodicity: for it follows by direct inspection, since there are cycles of length 2 and 3. For , take as vertex the single comb tree

The comb tree T_n with leaves alpha_n down to alpha_1.

The IM transformation that extracts , repeated, gives a cycle of length . There are also the vertices with a comb, so there are cycles of all lengths , and the gcd is . ∎

Strong connectedness and aperiodicity have important dynamical consequences, discussed next.

From the graph to a dynamical system

There are two different approaches:

  1. a random walk on the graph;
  2. the maximal entropy random walk (here the same as the Hopf algebra Markov chain).

For the random walk, take the transition probabilities to be a normalization of the adjacency matrix, The drawback: what does the rescaling mean? What the linguistic theory predicts is that the Merge action is Markovian, so it should be itself that is the Markov chain, and not .

The maximal entropy random walk (and HAMCs in general) instead finds the basis in which itself is a stochastic matrix.

Theorem G17.21 (Perron–Frobenius theorem). Let be a matrix with real non-negative entries whose associated graph is strongly connected. Then there is a Perron–Frobenius eigenvalue (equal to the spectral radius), which is simple, with a right Perron–Frobenius eigenvector , and also a left Perron–Frobenius eigenvector ,

Proposition G17.22 (The basis given by the Perron–Frobenius eigenvector). Take the new basis (the same combinatorial generators , rescaled by the Perron–Frobenius eigenvector). The same linear map written in this new basis has the matrix and this matrix is stochastic. So is a Markov chain (“Merge is Markovian”).

Proof. ∎

Stationary distribution

The first important piece of information about a Markov chain as a dynamical system is the form of its stationary distribution, which rules the long-term behavior of the dynamics.

Definition G17.23. A stationary distribution is a probability distribution on workspaces with

Proposition G17.24. Let be the Markov chain obtained, via the basis rescaled by the Perron–Frobenius eigenvector, from the adjacency matrix of a strongly connected graph. Then the probability distribution with is given by with and the right and left Perron–Frobenius eigenvectors (normalized so that ).

Proof. ∎

Ergodicity

Another important property of dynamical systems is ergodicity: the long-term time average along a single trajectory equals the ensemble average across many trajectories.

Definition G17.25 (Ergodic Markov chain). A Markov chain is ergodic if

  1. its stationary distribution is unique, and
  2. any initial distribution (a probability on the set of vertices of the graph) converges to the stationary distribution under iteration of .

Theorem G17.26. Ergodicity of a Markov chain follows from strong connectedness and aperiodicity of its graph.

Corollary G17.27. The Markov chain of the Merge action on workspaces is ergodic.

Entropy

Let be a directed graph with adjacency matrix , and the Markov chain in the Perron–Frobenius rescaled basis. Consider all the Markov chains with the same underlying graph (for example the random walk, or any stochastic matrix with nonzero entries exactly where the adjacency matrix has ).

Definition G17.28 (Entropy of a Markov chain). The entropy of a Markov chain (also called the entropy rate) is

The maximum over all Markov chains with the same graph is where is the Perron–Frobenius eigenvalue of the adjacency matrix of .

Maximal entropy random walk

A Markov chain on induces a probability distribution on paths in , related to the entropy by

Theorem G17.29 (Maximal entropy random walk). Among the Markov chains with the same graph there is a special one, , such that

  1. its entropy is maximal: ;
  2. the probability distribution on paths induced by is uniform on all paths with the same length and endpoints;
  3. is the Perron–Frobenius rescaled adjacency matrix of :

Weighted adjacency matrices: from entropy to free energy

  • The different Merge operations (EM, IM, SM) have associated cost functions.
  • These cost functions give a weighted adjacency matrix of the Merge graph .
  • To incorporate cost functions, the maximal-entropy result has to be replaced by another optimization: Ruelle’s free energy optimization.

This Markov chain represents the core computational process of syntax formation and transformation, prior to its embodiment in the grammar of any one particular language (the core “universal grammar”).

Main question: what are its possible neurocomputational realizations? (For example, realizations of Markov chains in Hopfield networks, or realizations through cross-frequency phase synchronization on wavelets.)

Interfaces

In addition to the core computational mechanism there are the interfaces: externalization (the sensory-motor channel) and semantics (the conceptual channel). The model is motivated by the dual-stream picture of language in the brain (a “what” stream and a “how” stream).

The dual-stream picture of language: a dorsal stream through articulation and the sensory-motor interface, a ventral stream through the lexical interface and the combinatoric network.

For theoretical linguistics, the externalization interface also incorporates the specialization of the core computational mechanism to one particular language, through positive examples during language acquisition (conditioning of the Markov chain, plus planarization of the trees via word-order rules).

Externalization

The key idea, in a nutshell:

Externalization: the projection from planar to abstract trees, a language-dependent section back, and the constraints selecting the trees of a language L.
  • are the syntactic objects produced by free symmetric Merge.
  • are the planar binary rooted trees (with ordered leaves).
  • is the canonical projection (a morphism of magmas).
  • is a non-canonical (language-dependent) section of (it is not a morphism of magmas).
  • The constraints (syntactic parameters, theta theory) give a projection to the language-dependent .

First step, :

  • the planarization is a language-dependent, non-unique section of the projection;
  • the only requirement on is compatibility with the word-order parameters of the given language ;
  • in this way one obtains a planar tree for every syntactic object , with no further restriction.

Second step: other constraints.

  • One needs to further eliminate those objects (the planar trees, which form the noncommutative version of ) that violate linguistic constraints of the particular language unrelated to word order (more syntactic parameters).
  • There are other language-dependent conditions as well: theta theory, obligatory control, and so on; the trees that fail them are eliminated.

The quotient map (the of the diagram) is the projection that eliminates whatever does not satisfy these further constraints.

Associahedra

Definition G17.30 (Associahedra (Stasheff)). The associahedron is a convex polytope of dimension whose vertices are all the ways of inserting balanced parentheses in an ordered string of symbols, that is, all the planar binary rooted trees with leaves.

Example G17.31. The 1-dimensional associahedron is a segment: The 2-dimensional is a pentagon. The slide shows two views of the 3-dimensional , with its 14 vertices labeled by the parenthesizations of , from to , and its edges oriented, each edge moving one pair of parentheses.

The syntax–semantics interface

The overall picture:

  • In a similar way, formulating the generative process of syntax in terms of coproduct, grafting and product operations allows syntactic structures and substructures to be mapped consistently to semantic spaces.
  • This is called the syntax–semantics interface.
  • There are many different models of semantics; the simplest keeps track of proximity relations, agreement, similarity and co-occurrence (for example vector space models).

The slide shows a picture of such a semantic space: points scattered in the plane, grouped into four clusters, each point joined by a line to the center of its cluster.

The conceptual requirements on the syntax–semantics interface are:

  1. autonomy of syntax;
  2. syntax supports semantic interpretation;
  3. semantic interpretation is, to a large extent, independent of externalization;
  4. compositionality.

Here:

  • autonomy of syntax: the Merge computational generative process of syntax is independent of semantics;
  • syntax-first view: the syntax–semantics interface proceeds from syntax to semantics;
  • there are two channels from the core Merge mechanism: to the conceptual-intentional system (the syntax–semantics interface) and to the sensory-motor system (externalization);
  • compositionality: consistency across syntactic substructures.

Geometry of semantic spaces

  • Language is a recent evolutionary step, so it requires a small modification: Merge as a single evolutionary step (Berwick–Chomsky).
  • Everything else had already evolved: semantic and conceptual spaces are not specific to language (syntax is specific to language)… for example, conceptual manifolds in vision.
  • The basic structures of a semantic space are
    1. proximity measurement (topology, metric);
    2. interpolation (convexity);
    3. agreement and disagreement measurements.

The slide’s picture is a curved surface with the tangent plane at a point , tangent vectors and , the geodesic from in the direction ending at , a nearby point with its own tangent plane and the transported vector , and below, two points and joined by a geodesic and by another curve .

Semantic parsing of syntactic structures

  • Lexical items map to the semantic space, (words in context).
  • Syntactic objects (trees) also map to , using the proximity and interpolation properties of the semantic space together with additional structure on the syntactic objects (syntactic head, phases, labeling).
A non-planar syntactic object mapped into a semantic space with a metric, where the lexical items land at points s(alpha), s(beta), s(gamma).

Externalization and the syntax–semantics interface together

Free symmetric Merge feeding two channels, externalization into planar trees and embedding into semantic spaces, which combine.

On the slide, the externalization arrow is decorated with a pentagon (the associahedron ) whose vertices are planar bracketings, one of them circled; the semantic arrow with a pentagon with a five-pointed star inscribed in it; and the combined process with a three-dimensional polyhedron.

The goal is to give a geometric model for the conceptual-intentional and sensory-motor channels and their interaction.

Consistency over substructures

An algebraic approach: a lesson from theoretical physics

The same algebraic structure appears with Feynman diagrams in place of syntactic objects.

  • The coproduct decomposition allows the extraction of meaningful physical values of Feynman integrals, consistently over substructures. The slide’s example: for the two-loop photon self-energy graph of quantum electrodynamics (an electron loop crossed by an internal photon line), where is the one-loop vertex subgraph (it occurs twice in ) and , obtained by shrinking it to a point, is the one-loop photon self-energy graph.
  • A similar coproduct/grafting/product operation describes the recursive solution of the quantum equations of motion (the Dyson–Schwinger equations). The slide’s example: the grafting operator , decorated by the one-loop vertex graph, applied to the one-loop vertex graph gives times the sum of the three two-loop vertex graphs obtained by inserting it at each of the three vertices.

This is the renormalization problem of quantum field theory.

The key idea: Birkhoff factorization

  • Start with an assignment of semantic values to lexical items, .
  • We want to extend it to an assignment for syntactic objects that is consistent over substructures.
  • Key idea: incorporate consistency checking in an inductively defined function.
  • A simple mapping (which will include inconsistent cases) is modified in a recursive way.
  • This recursive construction of consistency checking is known in physics as “Bogolyubov preparation.”

The recursive construction needs two main ingredients:

  1. a way of extracting the substructures of a given structure , so that and can be checked separately;
  2. a way of separating out, in the target space , agreement and disagreement (or of filtering by levels of agreement and disagreement).

The first is on the side of syntax, the second on the side of semantics. The first is provided by the coproduct (the Hopf algebra structure); the second is some form of projection (known as a Rota–Baxter structure).

Example G17.32 (France is a hexagonal republic). Consider the sentences “France is a republic,” “France is hexagonal” and “France is a hexagonal republic.” The first two have a clear, unproblematic semantic parsing; the third seems awkward. Its syntactic object has the form with the lexical items France, is, hexagonal, republic. The Hopf algebra coproduct produces terms of the form , including where the quotient structures and are the two sentences “France is a republic” and “France is hexagonal” (uncontroversial semantic parsing). The coproduct also contains terms like which track the precise location (the extracted term , “hexagonal republic”) where the assignment of semantic values runs into problems.

A basic model of semantic parsing

Its main constructions are:

  1. a semantic space (topological or metric, with interpolation or convexity), for instance a geodesically convex Riemannian manifold, with a mapping of syntactic objects to it (using heads and phases);
  2. evaluations (of distances, or of agreement and disagreement): an algebra or semiring with some “threshold operation” (a Rota–Baxter structure);
  3. semantic probes, which extract (comparative) evaluations from the image of syntactic objects in the semantic space.

Evaluations and thresholds: Rota–Baxter structures

Definition G17.33 (Rota–Baxter algebra). A Rota–Baxter algebra of weight is a commutative associative algebra with a linear operator such that

Its effect: and split into subalgebras .

Definition G17.34 (Rota–Baxter semiring). For a semiring with addition and multiplication , a Rota–Baxter semiring satisfies or

What does this Rota–Baxter identity mean? It is the behavior of a “threshold operator.”

Example G17.35 (Max-plus (tropical) semiring and ReLU). The max-plus semiring (tropical semiring) is . The ReLU operator is a Rota–Baxter operator of weight on : in this semiring the weight identity reads

Graph of the ReLU function max(0, x).

Proof. Check the four cases of the signs of and : In every column the maximum of the three lower rows equals the first row. ∎

Example G17.36 (Viterbi (probabilistic) semiring and thresholds). The Viterbi semiring is . The threshold operators , for , are Rota–Baxter operators of weight .

Example G17.37 (Boolean semiring). The Boolean semiring is . The identity is a Rota–Baxter operator of weight (there is no room for more subtle thresholds in this case).

Semantic probes

The semantic space has probes: functions that check the degree of agreement or disagreement with a particular semantic hypothesis. For example, in vector space models one chooses a vector and sets The inner product with a fixed probe vector detects agreement or disagreement; it can be normalized to the cosine similarity.

Cosine similarity of two vectors at angles near 0, 90 and 180 degrees: similar, orthogonal and opposite vectors.

Characters and Birkhoff factorization

Start with , where is a Hopf algebra and a Rota–Baxter algebra… but is only a morphism of commutative algebras (it is multiplicative: independent structures go to independent values). Such maps are called characters of the Hopf algebra.

Remark. The target does not have the same kind of “computational” structure as the source (it has no coproduct), but it has the Rota–Baxter projection .

Definition G17.38 (Birkhoff factorization). A Birkhoff factorization of is a pair of algebra homomorphisms with where the product is determined by the coproduct of :

The part detects where agreement is right or wrong: the substructures where consistent or inconsistent parsing is located (for a given probe and evaluation).

Proposition G17.39 (Inductive construction). Birkhoff factorizations are constructed inductively. Writing with , of lower degree,

The Bogolyubov preparation is the expression which inductively incorporates the search for possible inconsistencies in substructures.

In the semiring case, where the runs over all the terms of the coproduct, and . These are multiplicative for the semiring product:

Example G17.40 (Tropical semiring and ReLU). Take a vector space model of semantics with probe vectors , and the character where is the head function on syntactic objects and its domain. Then identifies the maximum value of over all nested sequences of substructures with all . So it identifies where the chains of substructures realizing maximum consistent agreement with the chosen probe are.

References

  • M. Marcolli, N. Chomsky, R.C. Berwick, Mathematical Structure of Syntactic Merge. An Algebraic Model of Generative Linguistics, MIT Press, 2025. [MCB]
  • M. Marcolli, D. Skigin, Merge on workspaces as Hopf algebra Markov chain, arXiv:2512.18861.
  • R.C. Berwick, N. Chomsky, cited for Merge as a single evolutionary step (Why Only Us: Language and Evolution, MIT Press, 2016).
  • Also named on the slides: J. Stasheff (associahedra) and D. Ruelle (free energy optimization).