Elamur Research

Mathematical Foundations for a Compositional Distributional Model of Meaning

Paper · 2010 · Bob Coecke, Mehrnoosh Sadrzadeh and Stephen Clark

Summary

Knowing that likes and loves are related tells us something about how sentences containing them might be related. To carry that knowledge into a sentence, a calculation needs to use the subject and object in the right roles. It also needs to account for words such as not, which can change what the sentence says about the very same people. Coecke, Sadrzadeh and Clark address this problem by giving grammar a precise job within distributional semantics. A grammatical analysis determines how to combine the representations of the words, and the calculation produces a vector for the sentence.

The bridge between grammar and vectors is a mathematical structure called compact closure. In Lambek’s pregroup grammar, adjacent types can cancel when a word supplies something another word requires on that side. The authors interpret each such link as an inner product, a calculation that measures how two vectors match. A transitive verb has a tensor, a representation with linked places for a subject, an object and a sentence result. The grammar tells the calculation which noun to match to each argument place. Both matches affect the result that emerges in the sentence space.

An affirmative clause and a clause with does not follow different grammatical routes into that same space. In the authors’ construction, does preserves information along its connections, and not exchanges the basis directions used for true and false. That exchange reverses a pure truth value. When the authors give like a mixture of the contributions of love and hate, the exchange moves the weights and leaves some overlap between the affirmative sentence and its negation. The paper also changes the arithmetic from real numbers to Booleans. Under that interpretation, composing the affirmative example amounts to checking whether the subject and object belong to the relation expressed by the verb, as in Montague-style truth evaluation.

These are mathematical demonstrations with specified lexical entries. They establish how to calculate a sentence vector from a grammatical reduction and supplied word meanings, and how to place sentences with different structures in a common space for comparison. Learning the lexical representations from text, testing the resulting comparisons on corpus data and establishing the computational cost remain open. The negation example uses a truth space with distinct basis directions for true and false. A general account of negation and other logical connectives would require further work.

Deep dive: Mathematical Foundations for a Compositional Distributional Model of Meaning

How pregroup grammar turns word vectors into comparable sentence meanings, with worked examples of transitive verbs, negation, and truth. · about 39 minutes to read

The problem and its context

What word contexts tell us

A distributional representation starts with the circumstances in which a word occurs. The paper describes context at more than one level of detail. A context feature can record a nearby word in a window, or it can record a word in a particular grammatical relationship to the target. An occurrence near eat and an occurrence as the direct object of eat supply different evidence. The second feature preserves something about how the target participates in the event expressed by the verb. Both kinds of evidence can contribute to an account of lexical semantics.

The paper uses cat and dog to explain why patterns across contexts can be informative. Both nouns can occur as the subject of verbs about movement and rest. Both can occur as the object of verbs describing how people handle animals, or with adjectives describing size and appearance. A single shared context gives limited information. A pattern across many contexts gives a representation with several dimensions along which the words can agree or differ. The resulting comparison can preserve degrees of resemblance between words that a manually drawn category boundary would treat alike.

In the paper’s small counting example, the context associated with eat occurs 6 times for dog, that associated with sleep 5 times, and that associated with run 7 times. Those are illustrative counts for an individual word. Each count occupies the coordinate for its own context. The authors note that practical applications tend to weight the counts. Such weighting lets a representation reflect how informative a context is about its target. The paper leaves that estimation decision outside its sentence calculation.

The background survey describes lexical representations derived from extensive collections of text and spaces with many context features. It points to their use in obtaining lexical resources, distinguishing word senses, segmenting text and retrieving documents. It also cites earlier experiments in which distributional comparisons correlated with human judgments or association norms. Those findings explain the attraction of using vectors for meaning. Geometry supplies a way to ask how much two representations resemble each other, and observed usage supplies evidence to put into that geometry.

The cited work on automatic lexicon acquisition includes a study organized around finding and clustering similar words. Its task illustrates what a word-level comparison can do on its own. Given a way to compare lexical entries, a system can gather related words without first interpreting a particular sentence in which they occur. Automatic Retrieval and Clustering of Similar Words

What sentence structure contributes

The symbolic tradition discussed in the paper begins from a composition rule. In a truth-theoretic treatment, an expression involving a relation and its arguments can be evaluated once their interpretations and the manner of combining them are given. Consider a transitive clause about liking. The interpretation needs to identify the person whose preference is at issue and the person toward whom it is directed. A relation can then provide the truth value for that ordered pair. The rule explains how the roles of the constituents determine the interpretation of the clause.

The authors characterize this truth-theoretic starting point as qualitative. It gives a definite result for a proposition under the assigned interpretation. A vector gives access to a different question, about the degree of resemblance between meanings. For instance, two clauses may share their participants and differ only through the choice of a verb. A truth assignment can evaluate both clauses. A graded representation can also register that the two verb choices are close in some respects, and the intended sentence calculation should be able to carry that closeness through to the outputs.

Even a context representation that records subjects and objects leaves a further problem to solve. Those features summarize uses that contributed to a lexical entry. Interpreting a new occurrence requires finding the arguments of the verb in the sentence at hand. Keeping the words in an unordered collection would give the same input for clauses with the same vocabulary even when they assign different roles to the participants. The authors want the present construction of the sentence to determine which quantities interact, including which portion of the verb representation encounters each noun.

Another requirement concerns the output. An inner product compares vectors in a shared space. If the meaning of a sentence were simply the tensor obtained by appending all of its word representations, changes in the number or kinds of words could change the space in which that tensor lives. An affirmative clause and its corresponding negative clause make the issue concrete. The negative construction brings in words and intermediate connections absent from the affirmative one. A usable comparison needs a way for both constructions to finish with coordinates that have the same interpretation.

The antecedents for binding roles and reducing types

The paper discusses an earlier proposal by Clark and Pulman, drawing on the connectionist work of Smolensky. That approach represents a grammatical role by a vector and pairs it with the vector of the expression that fills the role. The tensor product supplies the pairing. In the liking example, the representation for John is paired with a subject vector, and the one for Mary with an object vector. A construction guided by the parse can assemble those components with the verb representation. The attachment of a role to a particular noun is then present in the input to the sentence representation.

The authors identify two obstacles in that proposal. Its full sentence tensor depends on the way the roles and words were assembled, which restricts the direct comparison of outputs to sentences with compatible structure. It also requires a vector for each role even though the procedure for obtaining such vectors is unsettled. The new proposal keeps the idea that a meaning should come with a specification of its grammatical role. That specification is now a type. The type determines an operation on the meaning vectors, and the operation takes the assembled input into the designated output space. The transitive verb itself gets a structured tensor whose factors participate in the operation.

The grammatical ingredients come from Lambek’s work. His earlier calculus describes how an expression can combine with another expression on a specified side. Pregroups recast those requirements as adjoints of individual types. A lexical entry can contain both an ordinary type and symbols for what should be supplied nearby. The ordered succession of word types then permits algebraic reductions. These can be drawn as links under the sequence, where a link identifies the two parts involved in a reduction. The paper situates this work in the use of formal systems to describe syntax and grammar.

The authors mention pregroup analyses of several languages, including French, Polish and Persian. For their worked sentences they use English. The attraction of the grammar for their purposes comes from the form of its reductions. Each link has a definite order and definite endpoints. The same kind of link already has an interpretation in the algebra of vectors. This allows grammar to govern the calculation throughout the sentence, down to the choice of which spaces should be paired.

The method, step by step

From a typed clause to a vector

In the affirmative example, the verb likes has a place for a preceding noun and a place for a following noun. Once those requirements are matched with John and Mary, the grammatical type for a sentence is left. The authors use that arrangement as a specification for the vector calculation. John supplies a vector in a subject space and Mary supplies one in an object space. The verb has a factor for each space, with a sentence factor in between. The two noun vectors are paired with the verb factors specified by the grammar.

A tensor space has coordinates indexed by combinations of basis directions. A coordinate of the verb tensor can therefore concern a particular subject direction, a particular object direction and a particular direction in sentence space. The contractions combine that coordinate with the corresponding information from both nouns. A contraction produces scalar weights from the argument factors, and those weights determine the contributions to the surviving sentence factor. In the diagrams, the argument wires end at the contractions. Their values have already entered the calculation.

Composing word meanings through a pregroup reduction

The steps in order.

Composing word meanings through a pregroup reductionStep 1: Give each word its grammatical type1. Give each word its grammatical typeStep 2: Identify the links that yield sentence type2. Identify the links that yield sentence typeStep 3: Supply each word’s meaning in its assigned space3. Supply each word’s meaning in its assigned spaceStep 4: Tensor the word meanings in sequence4. Tensor the word meanings in sequenceStep 5: Apply inner products at the reduction links5. Apply inner products at the reduction linksStep 6: Take the result in the designated sentence space6. Take the result in the designated sentence space

The sentence space is fixed for the sentences being compared. The ordered tensor supplied to the map can change as the construction changes. So can the map itself, since a different grammatical reduction can connect different positions. Once the output has reached the designated space, it can be compared with the result of another construction. For a smaller expression that reduces to a type other than a sentence, the general procedure uses the space associated with that result.

The starting point is an ordered monoid. The operation of the monoid combines types into a sequence. It is associative, so grouping the factors of a sequence in different ways gives the same product. The order tells us when one such expression can reduce to another. It is preserved by adding the same type on either side. As a consequence, a reduction within a portion of the sequence can be carried out while the surrounding material stays in place.

(P, ≤, ·, 1)

Here P is the collection of types, ≤ is the partial order used for reductions, · denotes the ordered product, and 1 is the unit of that product. Parentheses and commas group the ingredients of the ordered monoid. In expressions for sentence types the authors typically write the factors next to one another and omit the product sign.

A pregroup gives every type two adjoints. Their defining inequalities specify the permissible order for a contraction and the permissible order for an expansion. A contraction removes a matching pair by reducing it to the unit. An expansion proceeds from the unit to a linked pair.

pˡ · p ≤ 1 ≤ p · pˡ

Here p is any type in the pregroup and the superscript ˡ marks its left adjoint. The ordered product · puts the factors in the sequence shown. The first ≤ permits reduction of the pair on the left to the unit 1. The second ≤ permits expansion from that unit into the pair on the right, where the factors occur in reverse order.

p · pʳ ≤ 1 ≤ pʳ · p

Here ʳ marks the right adjoint of p. The same unit 1, product · and order ≤ occur. This time the contraction is available for p followed by its right adjoint. The expansion introduces the right adjoint followed by p.

The two adjoints are unique and reverse the order relation on types. Both adjoints of the unit are the unit. Applying the left and right adjoints in succession, in either order, gets back to the original type. Taking an adjoint of a compound reverses the order of its factors. These rules allow requirements on a compound expression to be derived from requirements on its parts. In the examples, the important consequence is that the side on which a noun appears determines which kind of adjoint it can discharge.

The paper makes the link with the earlier Lambek calculus explicit through translations of its division operations. One operation describes an expression that yields a result when its missing argument is supplied on the left.

p ∖ q ↦ pʳ · q

Here p is the type of the required argument and q is the result type. The division symbol ∖ belongs to the Lambek calculus, and ↦ indicates the translation into pregroup notation. In the translation, pʳ is the right adjoint of p and · is the type product. An argument of type p placed to the left of the expression can contract with pʳ.

p / q ↦ p · qˡ

Here / is the other division. The translation sign ↦ again points to the pregroup expression. This time q is the required argument and p is the result. The superscript ˡ marks the left adjoint of q, so the argument goes to the right of that factor in the ordered product ·.

The grammar assigns each word a type assembled from basic types, products and adjoints. For the transitive examples, n marks a noun type and s the desired sentence type. The negative construction additionally uses j for the infinitival contribution and σ as a connecting type. The criterion for a sentence is reduction of the whole sequence to s. The paper notes that the grammaticality test is decidable and invokes Lambek’s switching lemma to justify using contractions for the sentence reductions.

n (nʳ s nˡ) n → 1 s nˡ n → 1 s 1 → s

The outer n factors belong to John and Mary. The parentheses group the factors assigned to likes, with nʳ to match the noun on the left and nˡ to match the noun on the right. The arrows → mark reductions. The left noun and nʳ give the first unit 1, while nˡ and the right noun give the second. Removing both units leaves s, the sentence factor originally inside the verb’s type.

The clause with negation has a longer reduction. Its type assignment lets the auxiliary, particle and infinitive each carry separate connections.

n (nʳ s jˡ σ) (σʳ j jˡ σ) (σʳ j nˡ) n → s

From left to right, the groups are the types of John, does, not, like and Mary. The letters n and s retain their earlier uses. The type j is used for the intermediate infinitival result, and σ gives the connecting factors between the internal words. The superscripts ʳ and ˡ again specify right and left adjoints, and → gives the reduction of the concatenation to s. The noun links are now between the subject and the auxiliary, and between the infinitive and the object. The links pairing σ with σʳ allow the remaining jˡ and j factors to meet. The s in the auxiliary is the surviving sentence type.

The authors discuss the σ factors in connection with earlier work on discourse representation in pregroups. Removing them recovers the earlier types they describe for these words. Keeping them supplies a specific path in the interpretation used here. The subject can reach the subject place of the infinitive through the auxiliary and particle. A separate set of connections brings the infinitival contribution towards the sentence result. This separation lets the construction change the truth contribution while leaving the subject and object assignments intact.

Why the same diagram works for types and vectors

A category specifies objects and arrows between them. An arrow has a source and a target, and arrows can be composed when their interfaces match. A monoidal category also has an operation for putting objects and arrows beside one another. Its tensor records that parallel composition. In the diagrams, a wire stands for an object and a box stands for an arrow. Connecting the outgoing wire of one box to the incoming wire of another composes the processes in sequence. Placing boxes alongside each other forms the tensor of their processes.

(g₁ ⊗ g₂) ∘ (f₁ ⊗ f₂) = (g₁ ∘ f₁) ⊗ (g₂ ∘ f₂)

The arrows f₁ and g₁ belong to one route, and f₂ and g₂ to a second route, with the target of each f matching the source of the corresponding g. The subscripts distinguish those routes. The symbol ∘ denotes sequential composition, with the rightmost operation applied first. The symbol ⊗ denotes parallel composition. The equality says that composing two successive rows of the diagram gives the same arrow as composing each route individually and then putting the results side by side.

The monoidal unit I has no visible wire. It acts as the empty factor for the tensor, so tensoring with it leaves the other object unchanged up to the identification used in the paper. A map out of I can be drawn as a box with output wires and no input wire. For vector spaces the unit is the space of real scalars. A vector can be specified by a linear map from the scalars that sends the scalar one to that vector. This is how the diagram can show a word meaning as a source of wires. The authors use strict notation, which lets them omit explicit regrouping and unit maps when the difference is only one of parentheses or empty factors.

Compact closure adds the arrows needed to introduce and consume linked pairs. There are left and right forms because the two orders matter. The following lines give the maps and their types.

ηˡ : I → A ⊗ Aˡ

The object A has a left adjoint object Aˡ. The map ηˡ introduces a pair in the displayed order from the monoidal unit I. The colon introduces the type of the map, the arrow → points from its source to its target, and ⊗ gives the joint output.

εˡ : Aˡ ⊗ A → I

The left contraction εˡ accepts Aˡ followed by A. The tensor ⊗ supplies those two inputs, and → points to the unit I. In a diagram the two incoming wires are joined by a bend and there is no outgoing wire.

ηʳ : I → Aʳ ⊗ A

Here ηʳ introduces a pair starting with the right adjoint Aʳ. The unit I, arrow → and tensor ⊗ have the same roles as in the left introduction. The two ordered forms can be distinguished by where the adjoint occurs.

εʳ : A ⊗ Aʳ → I

The right contraction εʳ takes the joint input A followed by Aʳ. The order of the factors in ⊗ determines which bent connection is available, and → again leads to the unit I.

The introduction and contraction of pairs obey identities. When the appropriate ends meet, the effect on the remaining input is the same as a direct connection. One of the identities can be written in terms of an identity arrow on A.

(id(A) ⊗ εˡ) ∘ (ηˡ ⊗ id(A)) = id(A)

Here id(A) is the identity on A. The introduction ηˡ supplies A followed by Aˡ beside the incoming A. The contraction εˡ consumes Aˡ together with that incoming A, and the other A becomes the output. The tensor ⊗ places the operations beside one another and ∘ applies the introduction stage before the contraction stage. The equality states that this route implements the identity. The corresponding identities cover the opposite order and the adjoint objects. In the graphical language they allow a bent wire with these connections to be straightened.

The pregroup supplies one instance of these operations. Its objects are the grammatical types. An inequality supplies an arrow, and a partial order allows at most one arrow between a given source and target. The ordered product gives the tensor. The two expansion inequalities supply the η arrows and the two reduction inequalities supply the ε arrows. The compact identities hold because their sides describe arrows with the same endpoints. In particular, the links under an affirmative transitive clause are the grammatical ε operations on the noun and verb factors.

Finite-dimensional real vector spaces supply another instance. The objects are spaces, the arrows are linear maps and the tensor is the vector-space tensor product. The chosen inner products identify the spaces with their duals in the calculation. Under that identification, both adjoint factors for a space can be written as that space. The left and right contractions then use the same scalar operation. The distinction between left and right remains present in the grammatical component.

ε(V)(v ⊗ w) = ⟨v | w⟩

Here v and w belong to the real inner-product space V. The notation ε(V) denotes the contraction for that space. The input is the tensor v ⊗ w, and ⟨v | w⟩ denotes the inner product. The equality gives the contraction on that input. Linearity extends the operation to all tensors in the paired space.

ε(V)(∑ᵢⱼ cᵢⱼ eᵢ ⊗ eⱼ) = ∑ᵢ cᵢᵢ

The eᵢ and eⱼ are basis vectors of V, and cᵢⱼ is the coefficient belonging to the ordered pair indexed by i and j. The sums ∑ᵢⱼ and ∑ᵢ range over basis indices, and ⊗ forms a product of the corresponding basis vectors. With the inner product induced by the basis, the contraction keeps the coefficients cᵢᵢ for matching indices and adds them. Distinct basis directions have inner product 0 and each basis direction has inner product 1 with itself.

η(V)(1) = ∑ᵢ eᵢ ⊗ eᵢ

In this expression η(V) is the vector-space introduction map for V, and its argument 1 is the real scalar one. The sum ∑ᵢ includes a tensor eᵢ ⊗ eᵢ for each basis index i. Thus the introduction contains a matched pair for every basis direction. Connecting either side to an input by a contraction recovers the input on the other side. The matching pairs will also be used inside the word meanings for the negative example.

The vector tensor admits a linear isomorphism that exchanges factors. The grammar generally requires the factors to keep their original order. The authors retain both features in a product category. An object in this category has a vector space and a grammatical type. An arrow has a linear part and a grammatical reduction with matching endpoints.

(f, p ≤ q) : (V, p) → (W, q)

Here V and W are vector spaces, p and q are types, and f is a linear map from V to W. The condition p ≤ q says that the type reduction exists. The colon and arrow → give the source and target of the paired arrow. The compact operations act component by component. Consequently a grammatical contraction can be paired with the appropriate inner-product map, and an introduction of adjoint types can be paired with the vector of matched basis factors.

This pairing is what makes a reduction into a specification of the semantic calculation. A grammatical link says which parts of the input belong together. Its vector counterpart says what to do with them. Several links can act in parallel or in succession. A structural diagram therefore identifies a particular linear map out of a much larger space of conceivable maps between the given input and output types.

Evaluating a transitive verb

For each word the paper supplies a space, a type and a meaning vector. The ordered sequence of types reduces to a target type through the pregroup operations. The linear map follows that structure, with spaces and linear operations substituted for the grammatical components. In the general expression, the input tensor contains one vector for each word.

u = f(a₁ ⊗ ⋯ ⊗ aₙ)

The vector aᵢ is the meaning supplied at position i. The subscripts one through n give the order of the words, with n here counting the positions. The symbol ⊗ forms the joint input and ⋯ stands for its intermediate factors. The map f is built from the reduction. The vector u is the resulting meaning, in the designated space for the target type. When the target is sentence type s, that space is S.

For the affirmative clause, the subject space V and object space W can be different even though both arguments have noun type n. The verb has its subject factor in V, its sentence factor in S and its object factor in W. The linear map pairs each supplied noun with its corresponding factor and applies the identity to the sentence factor.

f = ε(V) ⊗ id(S) ⊗ ε(W)

Here f is the affirmative meaning map, ε(V) and ε(W) are the contractions for the subject and object spaces, and id(S) is the identity on the sentence space S. The tensor ⊗ places the operations in parallel. The two contractions each supply a scalar. Together those scalars weight the surviving contribution in S. The rule always uses the same connections for this type pattern, whatever vectors occupy the word positions.

Ψ = ∑ᵢⱼₖ cᵢⱼₖ vᵢ ⊗ sⱼ ⊗ wₖ

The symbol Ψ denotes the transitive verb tensor. The basis vectors vᵢ, sⱼ and wₖ belong to V, S and W, respectively. Their indices i, j and k identify directions within those spaces. The coefficient cᵢⱼₖ weights the corresponding tensor of basis factors, formed with ⊗. The sum ∑ᵢⱼₖ runs over the combinations of these directions.

f(v ⊗ Ψ ⊗ w) = ∑ⱼ (∑ᵢₖ cᵢⱼₖ ⟨v | vᵢ⟩ ⟨wₖ | w⟩) sⱼ

Here v and w are the subject and object vectors of the current sentence, and Ψ is the verb tensor supplied as the middle input to f. The symbols ⊗ assemble these inputs. The inner products in angle brackets measure the matches with the subject basis vector vᵢ and the object basis vector wₖ. For a fixed output direction sⱼ, the inner sum ∑ᵢₖ adds the weights cᵢⱼₖ multiplied by both matches. The outer sum ∑ⱼ collects the resulting coordinates into the sentence vector.

The formula gives the verb tensor an interpretation as a function of its arguments. If the object is held fixed, the resulting expression is linear in the subject, and it is linear in the object when the subject is fixed. The content of the verb can nonetheless depend on the pair jointly. Its coefficients can record different sentence contributions for different combinations of subject and object. If its three factors were supplied as completely independent vectors, the nouns could only scale a fixed sentence direction through separate matches. The general tensor allows the combination of arguments to affect which sentence directions receive weight.

For an exact truth calculation, the authors choose basis vectors representing individuals. An index in the subject space identifies a man in their example, and an index in the object space identifies a woman. John occupies the position indexed by 3 and Mary the position indexed by 4. The verb entry for each pair carries a sentence-space value supplied by the interpretation of likes. Inner products with the two names then select the entry where both indices match.

f(m₃ ⊗ L ⊗ f₄) = L₃₄

Here m₃ is John’s basis vector, f₄ is Mary’s basis vector, L is the tensor for likes, and L₃₄ is its sentence contribution for this subject and object. The map f is the affirmative contraction, distinct from the basis vector f₄. The tensor symbols ⊗ assemble the inputs. The equality states that only the matching entry remains because every other entry has a zero match with at least one of the noun vectors.

The authors give two ways to store a truth contribution. In a space with one basis direction, they use its designated vector for true and the origin for false. In a space with separate basis directions, the vector |0⟩ represents false and |1⟩ represents true. The digits inside the brackets label basis vectors. In particular, |0⟩ has a non-zero magnitude. The choice changes the entries of the verb tensor while leaving the grammatical selection rule intact.

Passing arguments through the negative construction

The longer clause gives the infinitive a result in an intermediate space J. The auxiliary has factors for the subject, the final result in S, a connection to J and a continuation of the subject. Negation carries two subject-space factors and two J factors, and the infinitive has one factor each for the subject, intermediate result and object. The four-factor entries for does and not are chosen by hand. In the worked calculation, J and S are the same space.

The authors use the correspondence between a linear map and a tensor to specify those entries. Given a basis of the source space, pair each basis vector with its image under the map. The resulting tensor stores the action on all of the basis directions. When one side is connected to an input by the appropriate contraction, the other side provides the result of applying the map.

T(r) = ∑ᵢ eᵢ ⊗ r(eᵢ)

Here r is a linear map, eᵢ ranges over the basis of its source, and r(eᵢ) is the output for that basis vector. The tensor T(r) is the sum ∑ᵢ of the paired factors joined by ⊗. Taking r to be the identity gives the matched terms used by η. In the negation tensor, the subject factors use identity pairs and the middle factors carry the action on the truth directions.

D = (id(V) ⊗ η(J) ⊗ id(V)) ∘ η(V)

The auxiliary entry D is written as a map from the real scalars and represents the meaning of does. The map η(V) introduces a matched pair of subject-space factors, and η(J) introduces a matched pair in the intermediate space J. The identity id(V) leaves each outer subject factor unchanged. The tensor ⊗ places the J pair between them, and ∘ puts this operation after the introduction of the subject pair. With S identified with J, one member of the middle pair can act as the final sentence output. The other gives the connection that brings the infinitival contribution to it.

N = [ 0  1
      1  0 ]

The array is the matrix of the negation map N in the ordered basis |0⟩ and |1⟩ of J. The entries 0 and 1 send each basis input wholly to the other basis direction. The diagonal entries vanish, so no portion of a pure basis input is retained in its original direction. By linearity, a vector with weight in both directions has those weights exchanged.

Q = ∑ᵢ eᵢ ⊗ (|01⟩ + |10⟩) ⊗ eᵢ

Here Q is the entry for not, and eᵢ ranges over the subject basis. The symbols |01⟩ and |10⟩ stand for the ordered tensor pairs of the two J basis vectors with the displayed labels. The sum inside the parentheses, marked by +, supplies the exchange. The outer tensor products ⊗ and the sum ∑ᵢ put that exchange between the matched subject factors. The auxiliary’s middle part contains the corresponding same-label pairs, |00⟩ and |11⟩, which preserve the intermediate basis direction.

The full grammatical map includes links to both nouns, links on the connecting type between adjacent internal words, and contractions for the intermediate result. The paper also writes it as a composition in which the subject and object links act first. At that stage, the argument contractions leave a sequence of J factors. Two further contractions of J factors deliver the result.

F = H ∘ G

Here F is the full meaning map of the negative construction, G is the first stage of argument contractions and H is the remaining stage on the intermediate factors. The symbol ∘ indicates that G is applied before H. This is one ordering of the operations in the diagram.

G = ε(V) ⊗ id(J) ⊗ id(J) ⊗ ε(V) ⊗ id(J) ⊗ id(J) ⊗ ε(V) ⊗ id(J) ⊗ ε(W)

The map G contracts the first subject connection and the subject links through the internal words, each by ε(V), and the last object connection by ε(W). Here V is the subject space and W the object space. The identity id(J) passes a factor of the intermediate space J through this stage, and ⊗ orders the operations in parallel. The first passed factor is also the sentence factor under the identification of J with S.

H = id(J) ⊗ ε(J) ⊗ ε(J)

Here H preserves the first remaining J factor by id(J). The two ε(J) contractions take inner products on the remaining adjacent pairs of J factors. The tensor ⊗ puts these operations side by side. Once these pairs have been consumed, the preserved factor is the output for the whole negative sentence.

Substituting the entries of the function words into this map allows several connections to be straightened. The matched subject factors transmit the subject vector along the connections to the infinitive. The same-label pair in the auxiliary transmits the intermediate contribution. The diagram can move the exchange around a bend by taking its transpose. The exchange matrix is symmetric, so the transpose produces the same matrix. The resulting calculation has the two argument contractions of the affirmative example with the exchange inserted on the result factor.

F(v ⊗ D ⊗ Q ⊗ Ψ ⊗ w) = (ε(V) ⊗ N ⊗ ε(W))(v ⊗ Ψ ⊗ w)

The subject v and object w belong to V and W, D and Q are the word vectors for does and not, and Ψ is the infinitival verb tensor with its middle factor in J. The tensors ⊗ on the left assemble all the supplied word meanings for F. On the right, ε(V) and ε(W) match the nouns to the corresponding verb factors and N acts on the intermediate result, in the space identified with S. The equality gives the simplified calculation for the chosen entries. The authors check it by expanding the basis terms as well as by reducing the diagram.

Comparing vectors and reinterpreting the arithmetic

A shared output space allows a direct inner product. The paper also states a normalized measure for the semantic similarity of strings that reduce to the same grammatical type. In that definition, the score compares directions after accounting for the magnitudes of the outputs. The two reductions can have different structures and use different maps.

m = ⟨u | u′⟩ / (‖u‖ ‖u′‖)

Here u and u′ are the composed vectors in a common space, and m is the similarity. The angle brackets denote the inner product. The bars ‖u‖ and ‖u′‖ are the norms of the vectors, with each squared norm given by that vector’s inner product with itself. Juxtaposition in the denominator multiplies the norms, and / denotes division. The normalized measure requires both norms to be non-zero. The authors mention that phrases with different target types would require a transfer into a common space before comparison.

The same grammatical structure can be interpreted with a different arithmetic. Once bases are fixed, matrices describe the linear operations. A semiring provides an addition and multiplication with the distributive rules needed for matrix calculations. The paper considers replacing real arithmetic with Boolean arithmetic. The entries are 0 and 1, disjunction serves as addition, and conjunction serves as multiplication. A Boolean matrix can then be read as a relation, with a qualifying pair present exactly when its entry is 1.

s ∘ r = {(x, z) | ∃ y ∈ Y with (x, y) ∈ r and (y, z) ∈ s}

The relation r connects an input set to the intermediate set Y, and s connects Y to an output set. The elements x, y and z belong to those three sets in order. The notation ∘ denotes relational composition, ∃ asserts the existence of an intermediate choice, and ∈ denotes membership. The braces collect all pairs satisfying the condition after the vertical bar. Boolean matrix multiplication has this interpretation because any intermediate element that supplies both links makes the resulting entry true.

In the relational setting, an arrow from a singleton can specify a subset of a set. Matching two such subsets succeeds if they have an element in common. This supplies the Boolean counterpart of the inner product. Introduction arrows use matching elements to connect places in the diagram, and the product of sets takes the role of the tensor on the semantic side. The pregroup can still determine which links the sentence calculation uses.

For the affirmative example, the verb relation consists of triples with a subject, the single element of the sentence set and an object. A triple is present when the subject likes the object. The two names supply singleton subsets of their respective argument sets. The intersections against those singletons select precisely the part of the verb relation for John and Mary.

Fᵣ({m₃} × Lᵣ × {f₄}) = B₃₄

Here Fᵣ is the relational interpretation of the affirmative calculation. The sets {m₃} and {f₄} contain the individuals John and Mary, Lᵣ is the set of verb triples, and × forms their set product. The result B₃₄ is a subset of the singleton sentence set for the pair indexed by 3 and 4. It is the full singleton when the triple is present and the empty set otherwise. Those outputs represent truth and falsity in the relational calculation.

Experiments and results

What the examples test

The paper reports worked calculations with constructed lexical entries. There is no corpus sample, training or test split, empirical baseline, or measured runtime. The earlier tensor-binding proposal is compared at the level of representation. The Montague-style relational treatment provides a check on the interpretation of the affirmative truth example. The quantitative results are outputs for particular supplied inputs, chiefly inner products for a set of clauses with the same subject and object.

The first calculation asks whether a transitive verb tensor returns the entry that belongs to the people named in a clause. Because John and Mary are individual basis vectors, the two argument contractions select the entry indexed by their pair. In the one-dimensional truth encoding, this gives the designated true vector if that entry was assigned as true, and the origin if it was assigned as false. The authors specify both branches of the calculation. They leave the underlying answer about John and Mary conditional on what the relation contains.

Using distinct truth basis vectors leaves the selection result unchanged in meaning. It gives falsity its own non-zero basis position, which the negative construction can send to the true position. If the selected like entry is false, does not like returns the true basis vector. If the entry is true, the negative version returns the false basis vector. The following comparison uses the paper’s basis labels as truth codes. The higher code designates the true outcome in this setup. Both clauses are evaluated declaratively, so the codes express the results of evaluation rather than degrees of performance.

Truth code for the John and Mary clauses with a false affirmative entry

The negative construction exchanges the selected false basis position for the true position.

Truth code for the John and Mary clauses with a false affirmative entryAffirmative clause: 0Affirmative clause0Negative clause (this paper): 1Negative clause (this paper)1
The numbers
System or settingtruth code
Affirmative clause0
Negative clause (this paper)1

The code exchange can be read in the diagram or obtained by expanding the tensors of the auxiliary and particle. The first set of contractions removes terms with subject and object indices other than the supplied pair. The remaining intermediate terms from the auxiliary match identical truth positions, and those from the particle match opposite ones. Both derivations lead to the same conditional output.

Overlaps among the graded sentence meanings

The graded calculation uses a different entry for likes. The authors give its tensor weight 3/4 on the tensor for loves and weight 1/4 on the tensor for hates. These fractions are the stipulated lexical mixture, before any sentence comparison. Because the affirmative map is linear on the assembled tensor, the weights are carried to the selected sentence contribution for John and Mary. The overlap calculation treats the selected love and hate outcomes as orthogonal, meaning that their inner product is zero. In the two-direction truth space they occupy opposite basis positions in the worked comparison.

For the affirmative John–Mary clauses, the paper gives an inner product of 3/4 between loves and likes, and 1/4 between hates and likes. The same comparison between loves and hates gives 0. Each result concerns the full sentence vectors after composition with the supplied subject and object. In a comparison with loves, orthogonality suppresses the hate contribution to likes. The comparison with hates retains the other contribution. The figures therefore follow the assigned lexical weights and the geometry of the chosen truth directions.

The negative construction exchanges the two directions of the mixture. In the selected John–Mary case, the negative like contribution has weight 1/4 on the original love outcome and 3/4 on the original hate outcome. The paper reports an inner product of 3/4 between the two negative clauses does not love and does not like. In both clauses the exchange acts on the same truth space. Exchanging the basis positions on both sides preserves their inner product, which explains the agreement with the affirmative comparison of loves and likes.

A comparison between affirmative and negative clauses exchanges the positions on just one side. The paper gives 1/4 for the inner product of does not like with loves, and 3/4 for the inner product of does not like with hates. Both values are for John and Mary. The affirmative calculation supplies a sentence vector directly from the transitive verb, while the negative calculation includes the additional connections of does and not. The fact that both analyses reach S allows the vectors to be placed into the same inner product.

The reported inner product between the affirmative likes clause and its negative counterpart is 3/8. Each vector has contributions along both truth directions in this calculation. Exchanging the directions changes which contribution is larger, while both directions still occur in both vectors. This is the source of the positive overlap. In the pure truth case, where one basis vector is exchanged for the other, the corresponding outputs are orthogonal. The graded result captures a property of the specified representations and their comparison, with no observations of how a reader would judge these sentences.

What the numbers measure

The paper introduces a normalized inner product as its similarity measure, while the displayed arithmetic for the graded examples uses the inner products of the written vectors. In particular, the expansion yielding 3/8 multiplies the mixture weights for the shared directions and adds the products. The mixture weights in that expansion are the ones specified in the lexical construction. Although the paper mentions implicit normalization, the calculation as displayed has no division by the norms of the mixtures. Its reported fractions are best read as the overlaps shown by the derivations.

The Boolean calculation has a different outcome to check. Taking the subject and object intersections returns the full singleton if the John–Mary triple belongs to the verb relation, or the empty subset if it does not. This agrees with the conditions for the two outputs in the corresponding one-dimensional truth example. The comparison shows how a change of scalar arithmetic and semantic objects can preserve the interpretation of a grammatical pattern. It supplies no accuracy score across items because the calculation starts from the relation that settles the example.

What the ablations show

The paper has no empirical ablations, and instead uses worked comparisons that vary the truth encoding, the lexical entry, the grammatical construction or the interpretation of the arithmetic.

Changing the truth encoding identifies a condition for the proposed negation. When falsity is represented by the origin, a linear map must send that origin to itself. An exchange that needs to turn false into true requires a separate non-zero vector for false. The two-direction encoding gives the authors such a vector, making a linear exchange possible. Both encodings support the affirmative argument selection. Their difference becomes consequential when the output must pass through negation.

The affirmative and negative truth calculations retain the same participants and underlying verb relation. The negative type assignment routes the information through more word entries, but the simplified computation still selects the same subject–object contribution before it exchanges the truth directions. This establishes the effect of the auxiliary and particle with their chosen tensors. The coordinate derivation makes the preservation of the subject visible through matching indices, and the diagram shows the same preservation through identity connections.

The graded calculation keeps the exchange fixed and changes what is fed through it. A pure truth vector has support along a single direction. Its exchanged version lies along the other direction. The graded like vector already has weight in both, so each output contains some weight in the same directions as the other. The positive inner product follows from the lexical mixture together with the exchange. There is no comparison of alternative weights or independent test of the linguistic plausibility of the mixture.

The relational example varies the mathematical interpretation while preserving the pattern of argument links. Contraction of matching basis vectors becomes selection by intersections, and the result is a subset that represents truth or falsity. This shows where the argument depends on the structural operations and where it depends on their concrete realization. The comparisons leave the separate effect of the auxiliary connecting types, choices of context features and techniques for fitting verb tensors unmeasured.

Limitations

Limits identified by the authors

The authors leave implementation and evaluation on real text for future work. Their construction specifies what to do once a type reduction and lexical entries have been supplied. It allows context-based noun spaces and compound spaces for verbs without giving a corpus procedure that estimates all of the needed quantities. The worked examples assign individual basis vectors and fill the verb entries from stipulated relations. The distinction matters for engineering. A grammar can specify which contractions to perform while acquisition and storage of the necessary tensors remain substantial tasks.

The paper also leaves efficiency and complexity open. Its linear map for the transitive clause has an input with repeated subject and object factors, since the argument vectors are combined with a verb tensor that already has those slots. The diagram exposes the structure of the contractions. It gives neither a measured cost for realistic lexical spaces nor an assessment of how an implementation should exploit that structure. The authors list optimization alongside implementation and evaluation as further work.

The matrix used for not has a specific interpretation in the example with separate truth directions. The authors ask for a canonical negation operation that applies uniformly across spaces of different dimensions. They mention an earlier proposal involving projection onto an orthogonal subspace as a possibility. They also leave open how to represent conjunction, disjunction and conditionals. Ordinary vector operations by themselves supply no general account of the logical laws involved. The authors use but to point out a related issue. A connective can depend on context in ways that make a unique logical counterpart hard to specify.

For the Boolean treatment, the authors seek a representation theorem that gives a fuller account of the relationship with Montague semantics. Their affirmative example checks a particular relation on a particular argument pair. They identify quantification and its connection with substitution as further issues. They also propose investigating a correspondence between a suitable linear logic, a version of lambda calculus and the compact categorical setting, with the aim of obtaining meaning computations and type assignments more systematically. The possible linguistic role of mixed states remains another question raised by the formalism.

Limits visible in the worked setup

The use of an individual basis vector for each name makes the verb tensor behave like a lookup by an exact pair of indices. A noun represented by distributional evidence can have weight in several basis directions. The same contraction then combines contributions from several tensor entries. The algebra describes that computation, but the worked truth example gives no evidence that the weighted result will correspond to well-calibrated judgments or the intended reading of naturally occurring text. The question concerns the contents of the spaces as well as the validity of the contractions.

The graded arithmetic relies on treating the love and hate outcomes for the selected pair as opposite truth directions. The verb definitions assign truth to loves and hates through their separate relations. Those definitions by themselves allow both relations to be absent for a pair, for instance. The orthogonality assumed in the calculation is an additional condition. The step that writes the negated love outcome using the hate contribution relies on that condition for the selected pair. The example establishes an exchange of the chosen directions. It does not establish a general equivalence between hating and failing to love.

The geometry of comparison also needs a precise metric. The shared space suffices to define an ordinary inner product even for a zero output. Normalized similarity requires non-zero outputs. The one-dimensional encoding therefore gives a legitimate false result to which the normalized formula cannot be applied as written. The graded vectors also bring the normalization issue into view, since the paper’s numerical expansions report their direct overlaps. Anyone reproducing the calculations needs to distinguish those reported values from the measure defined with a product of norms.

The role of the grammatical analysis is another boundary of the demonstration. The categorical account can represent different structures that lead to different interpretations, as the authors point out when discussing ambiguity. The examples start with a particular type assignment and a particular reduction. They supply no evaluation of how to select a reading when more than one is available, or how much the resulting vector changes when the analysis is uncertain. The shared output type makes the results of chosen constructions comparable. The usefulness of such comparisons in practice depends on obtaining suitable analyses, lexical entries and output coordinates.

What came after

Logic, semantic relations and information structure

One line of citing work takes up the relationship between graded representations and logical structure. The original paper obtains a Boolean interpretation by changing the arithmetic of the semantic category. A later study poses the problem with distributional vectors as the starting objects from which to derive Boolean structure. This shifts attention to what logical organization can be obtained from the representations themselves. Deriving Boolean Structures from Distributional Vectors

A second line asks what relationship should be measured once meanings have been composed. The real inner product used in the original paper has the same value when the two arguments are interchanged. Hyponymy is directional, since it relates a more specific expression to a more general one. Work on graded hyponymy makes that relation a subject for compositional distributional semantics, broadening the inquiry from resemblance to graded specificity. Graded Hyponymy for Compositional Distributional Semantics

The original transitive examples use grammatical links to determine who participates in the relation and where the result passes through negation. The citing work on a Frobenius treatment brings information structure into the categorical setting. Its subject is how the organization of information within a sentence enters an account of compositional meaning. It takes up a different aspect of sentence structure within the same broad mathematical program. A Frobenius Approach to Information Structure

Grammar, tensors and circuits

The separation of grammatical structure from vector operations makes the choice of formal grammar a substantive question. The original construction derives its tensor contractions from pregroup reductions. Citing work on feature-driven tensor semantics brings the relationship between grammar and tensors into a Minimalist grammar setting. Its stated focus is the role of grammatical features in that treatment. A Feature-Driven Tensor Semantics for Minimalist Grammars

The paper’s diagrams are related to the diagrams it cites for quantum information protocols, where matched pairs and contractions also have a structural meaning. In the original sentence examples those diagrams express computations with ordinary vectors and linear maps. Later work on variational quantum circuits takes the circuits themselves as representations of meaning. This carries the question of what mathematical objects represent a sentence into a circuit setting. Meaning Representations as Variational Quantum Circuits

A citing study on Arabic puts grammar, morphology and word sense within the scope of circuit topology. That combination expands the structural questions beyond the connections among separate words seen in the original examples. It includes the internal formation of words and their possible interpretations among the phenomena linked to the form of a circuit. Quantum Compositional NLP for Arabic

The cited work on metric grammars concerns a usage-based grammatical formalism supporting generation, parsing and morphological innovation. Its point of contact is the role of a formal grammar in connecting observed language use to the structure assigned to expressions. The pregroup paper uses reductions to guide interpretation once the types are supplied. The later study’s stated scope includes how a grammar supports the production and analysis of forms. Metric Grammars

Other ways to study composition and distributional evidence

The citing literature also investigates sentence representation through neural composition. A convolutional study approaches the construction of sentence representations through its neural architecture. It shares the question of how to obtain a representation for a sentence from its constituent material. The stated approach specifies convolution as the means of assembly. A Convolutional Neural Network for Sentences

Another study makes unordered composition part of a comparison with syntactic methods for text classification. This gives the role of syntax a task-specific test. The original paper explains how syntax can enforce the intended connections between constituents. The later study’s question concerns how composition with different amounts of structural information serves a decision about the full text. Deep Unordered Composition for Text Classification

Work on decomposing compositionality puts generalization at the center of the inquiry. An algebraic rule can specify a result for a well-typed expression once its parts have interpretations. The generalization question concerns how a system behaves across combinations under different aspects of compositionality. The citing work frames that question for neural networks. Compositionality Decomposed

Distributional evidence also appears in citing work with other units and goals. Research on German derivation studies how distributional representations describe relationships involving derived words. It places word formation where the original paper places the structure of a clause, as the linguistic phenomenon whose contribution to meaning needs to be understood. Distributional Representations of German Derivational Morphology

A study of dialogue act classification asks how distributional semantic information contributes to identifying the function of an utterance in dialogue. This gives the representation an application with a defined output beyond geometric similarity. The original paper shows how to obtain and compare vectors under an explicit grammatical interpretation. Dialogue act classification asks what contribution semantic information makes when the decision concerns what an utterance is doing. Distributional Semantic Information for Dialogue Act Classification

Cite

Cite as Bob Coecke, Mehrnoosh Sadrzadeh and Stephen Clark. 2010. Mathematical Foundations for a Compositional Distributional Model of Meaning. arXiv:1003.4394 · Lambek Festschirft, special issue of Linguistic Analysis, 2010.

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.48550/arxiv.1003.4394 · arXiv 1003.4394

@misc{coecke2010mathematical,
  title = {{Mathematical Foundations for a Compositional Distributional Model of Meaning}},
  author = {Bob Coecke, Mehrnoosh Sadrzadeh and Stephen Clark},
  year = {2010},
  doi = {10.48550/arxiv.1003.4394},
  eprint = {1003.4394},
  archivePrefix = {arXiv},
  url = {https://doi.org/10.48550/arxiv.1003.4394}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/coecke-2010-mathematical-foundations-compositional-distributional-model/

References

41 references, from the paper's own bibliography.

  1. S. Abramsky and B. Coecke. A categorical semantics of quantum protocols. In Proceedings of the 19th Annual IEEE Symposium on Logic in Computer Science, pages 415–425. IEEE Computer Science Press, 2004. arXiv:quant-ph/0402130. OpenAlex ↗ · Scholar ↗
  2. Jerome R. Bellegarda. Exploiting latent semantic information in statistical language modeling. Proceedings of the IEEE, 88(8):1279–1296, 2000. OpenAlex ↗ · Scholar ↗
  3. P. Bruza and D. Widdows. Quantum information dynamics and open world science. In Proceedings of AAAI Spring Symposium on Quantum Interaction. AAAI Press, 2007. OpenAlex ↗ · Scholar ↗
  4. W. Buszkowski. Lambek grammars based on pregroups. Logical Aspects of Computational Linguistics, 2001. OpenAlex ↗ · Scholar ↗
  5. Freddy Choi, Peter Wiemer-Hastings, and Johanna Moore. Latent Semantic Analysis for text segmentation. In Proceedings of the EMNLP Conference, pages 109–117, 2001. OpenAlex ↗ · Scholar ↗
  6. S. Clark and S. Pulman. Combining symbolic and distributional models of meaning. In Proceedings of AAAI Spring Symposium on Quantum Interaction. AAAI Press, 2007. OpenAlex ↗ · Scholar ↗
  7. B. Coecke. Kindergarten quantum mechanics — lecture notes. In A. Khrennikov, editor, Quantum Theory: Reconsiderations of the Foundations III, pages 81–98. AIP Press, 2005. arXiv:quant-ph/0510032. OpenAlex ↗ · Scholar ↗
  8. B. Coecke. Introducing categories to the practicing physicist. In G. Sica, editor, What is category theory?, volume 30 of Advanced Studies in Mathematics and Logic, pages 45–74. Polimetrica Publishing, 2006. arXiv:0808.1032. OpenAlex ↗ · Scholar ↗
  9. B. Coecke. Quantum picturalism. Contemporary physics, 51:59–83, 2010. arXiv:0908.1787. OpenAlex ↗ · Scholar ↗
  10. B. Coecke and E. O. Paquette. Categories for the practicing physicist. In B. Coecke, editor, New structures for physics, Lecture Notes in Physics, pages 167–271. Springer, 2010. arXiv:0905.3010. OpenAlex ↗ · Scholar ↗
  11. James R. Curran. From Distributional to Semantic Similarity. PhD thesis, University of Edinburgh, 2004. OpenAlex ↗ · Scholar ↗
  12. G. Denhière and B. Lemaire. A computational model of children's semantic memory. In Proceedings of the 26th Annual Meeting of the Cognitive Science Society, pages 297–302, Chicago, IL, 2004. OpenAlex ↗ · Scholar ↗
  13. D.R. Dowty, R.E. Wall, and S. Peters. Introduction to Montague Semantics. Dordrecht, 1981. OpenAlex ↗ · Scholar ↗
  14. Peter W. Foltz, Walter Kintsch, and Thomas K. Landauer. The measurement of textual coherence with latent semantic analysis. Discourse Process, 15:285–307, 1998. OpenAlex ↗ · Scholar ↗
  15. G. Gazdar. Paradigm merger in natural language processing. In R. Milner and I. Wand, editors, Computing Tomorrow: Future Research Directions in Computer Science, pages 88–109. Cambridge University Press, 1996. OpenAlex ↗ · Scholar ↗
  16. Gregory Grefenstette. Explorations in Automatic Thesaurus Discovery. Kluwer Academic Publishers, 1994. OpenAlex ↗ · Scholar ↗
  17. Thomas L. Griffiths, Mark Steyvers, and Joshua B. Tenenbaum. Topics in semantic representation. Psychological Review, 114(2):211–244, 2007. OpenAlex ↗ · Scholar ↗
  18. J. Lambek. The mathematics of sentence structure. American Mathematics Monthly, 65, 1958. OpenAlex ↗ · Scholar ↗
  19. J. Lambek. Type grammar revisited. Logical Aspects of Computational Linguistics, 1582, 1999. OpenAlex ↗ · Scholar ↗
  20. J. Lambek. Iterated galois connections in arithmetics and linguistics. Galois Connections and Applications, Mathematics and its Applications, 565, 2004. OpenAlex ↗ · Scholar ↗
  21. J. Lambek. From Word to Sentence. Polimetrica, 2008. OpenAlex ↗ · Scholar ↗
  22. J. Lambek. Compact monoidal categories from linguistics to physics. In B. Coecke, editor, New structures for physics, Lecture Notes in Physics, pages 451–469. Springer, 2010. OpenAlex ↗ · Scholar ↗
  23. J. Lambek and C. Casadio, editors. Computational algebraic approaches to natural language. Polimetrica, Milan, 2006. OpenAlex ↗ · Scholar ↗
  24. T. K. Landauer and S. T. Dumais. A solution to Plato's problem: the latent semantic analysis theory of acquisition, induction and representation of knowledge. Psychological Review, 104(2):211–240, 1997. OpenAlex ↗ · Scholar ↗
  25. Michael D. Lee, Brandon Pincombe, and Matthew Welsh. An empirical evaluation of models of text document similarity. In B.G. Bara, L.W. Barsalou, and M. Bucciarelli, editors, Proceedings of the 27th Annual Conference of the Cognitive Science Society, pages 1254–1259, Mahwah, NJ, 2005. Erlbaum. OpenAlex ↗ · Scholar ↗
  26. Dekang Lin. Automatic retrieval and clustering of similar words. In Proceedings of the 36th Annual Meeting of the Association for Computational Linguistics and 17th International Conference on Computational Linguistics, pages 768–774, 1998. our card
  27. K. Lund and C. Burgess. Producing high-dimensional semantic spaces from lexical co-occurrence. Behavior Research Methods, Instruments & Computers, 28:203–208, 1996. OpenAlex ↗ · Scholar ↗
  28. Diana McCarthy, Rob Koeling, Julie Weeds, and John Carroll. Finding predominant senses in untagged text. In Proceedings of the 42nd Annual Meeting of the Association for Computational Linguistics (ACL-04), pages 280–287, Barcelona, Spain, 2004. OpenAlex ↗ · Scholar ↗
  29. Scott McDonald. Environmental Determinants of Lexical Processing Effort. PhD thesis, University of Edinburgh, 2000. OpenAlex ↗ · Scholar ↗
  30. A. Preller. Towards discourse representation via pregroup grammars. JoLLI, 2007. OpenAlex ↗ · Scholar ↗
  31. A. Preller and M. Sadrzadeh. Bell states and negative sentences in the distributed model of meaning. In P. Selinger B. Coecke, P. Panangaden, editor, Electronic Notes in Theoretical Computer Science, Proceedings of the 6th QPL Workshop on Quantum Physics and Logic. University of Oxford, 2010. OpenAlex ↗ · Scholar ↗
  32. M. Sadrzadeh. Pregroup analysis of Persian sentences. In C. Casadio and J. Lambek, editors, Computational algebraic approaches to natural language. Polimetrica, 2006. OpenAlex ↗ · Scholar ↗
  33. M. Sadrzadeh. High level quantum structures in linguistics and multi agent systems. In J. van Rijsbergen P. Bruza, W. Lawless, editor, Proceedings of the AAAI Spring Symposium on Quantum Interaction. Stanford University, 2007. OpenAlex ↗ · Scholar ↗
  34. J. R. Saffran, E. L. Newport, and R. N. Asling. Word segmentation: The role of distributional cues. Journal of Memory and Language, 35:606–621, 1999. OpenAlex ↗ · Scholar ↗
  35. G Salton, A Wang, and C Yang. A vector-space model for information retrieval. Journal of the American Society for Information Science, 18:613–620, 1975. OpenAlex ↗ · Scholar ↗
  36. H. Schuetze. Automatic word sense discrimination. Computational Linguistics, 24(1):97–123, 1998. our card
  37. P. Selinger. Dagger compact closed categories and completely positive maps. Electronic Notes in Theoretical Computer Science, 170:139–163, 2007. OpenAlex ↗ · Scholar ↗
  38. P. Selinger. A survey of graphical languages for monoidal categories. In B. Coecke, editor, New structures for physics, Lecture Notes in Physics, pages 275–337. Springer, 2010. OpenAlex ↗ · Scholar ↗
  39. P. Smolensky and G. Legendre. The Harmonic Mind: From Neural Computation to Optimality-Theoretic Grammar Vol. I: Cognitive Architecture Vol. II: Linguistic and Philosophical Implications. MIT Press, 2005. OpenAlex ↗ · Scholar ↗
  40. D. P. Spence and K. C. Owens. Lexical co-occurrence and association strength. Journal of Psycholinguistic Research, (19):317–330, 1990. OpenAlex ↗ · Scholar ↗
  41. D. Widdows. Orthogonal negation in vector spaces for modelling word-meanings and document retrieval. In 41st Annual Meeting of the Association for Computational Linguistics, Japan, 2003. OpenAlex ↗ · Scholar ↗