Elamur Research

Integrating a Unification-Based Semantics in a Large Scale Lexicalised Tree Adjoining Grammar for French

Paper · 2008 · Claire Gardent

Summary

The same participant can appear in different places in a sentence without changing its role in the event. In an active sentence, the subject can name the person performing an action. In a corresponding passive, that participant can appear in an agent phrase, while the subject names someone or something else. A grammar that builds meaning from sentence structure must account for both arrangements. Claire Gardent’s paper shows how to give a large tree-adjoining grammar for French this ability without writing a separate account of the meaning of each tree.

The grammar, SemFraG, represents syntactic constructions as small trees associated with lexical items. Each elementary tree can also carry a flat semantic representation, a collection of statements about entities, events, or other parts of the meaning. Variables connect these statements to positions in the tree. When the grammar combines trees, it also unifies the values of variables that must refer to the same thing. In the paper’s opening example of composition, the subject’s name supplies the participant in a running event, while the adverb often applies to the event itself. A single derivation thus works out how the sentence is structured and how its pieces contribute to its semantics.

The engineering contribution lies in where the grammar stores the information needed for that process. Using the XMG grammar-writing formalism, Gardent assigns a shared semantic pattern to a family of trees, specifies how grammatical functions map to semantic arguments for each construction, and gives recurring tree fragments the variables that make those mappings possible. A transitive family can share a pattern for a relation with paired participants, for instance, while active and passive constructions connect their subjects to different positions in that pattern. The lexicon supplies the particular predicate and role names. The grammar supplies the structural connections that allow those entries to compose.

The paper reports that 76 class definitions and 498 class calls suffice for the semantic enrichment described at the scale of approximately 6000 trees. It estimates the integration effort at approximately a week of a linguist’s work. Its evidence consists of a grammar implementation, worked derivations, comparisons between specifications, and counts of the material required to express them. The detailed treatment concerns verbs, and the reported results establish the size and organization of the encoding. The paper gives no corpus-based measure of how frequently the grammar produces a correct interpretation.

Deep dive: Integrating a Unification-Based Semantics in a Large Scale Lexicalised Tree Adjoining Grammar for French

Claire Gardent shows how a French tree-adjoining grammar builds sentence meanings by sharing semantic constraints across thousands of trees. · about 39 minutes to read

The problem and its context

A grammar needs to say what its structures mean

A syntactic analysis can identify the subject of a verb, locate its complements, and represent the attachment of a modifier. A semantic analysis still has work to do. It must determine which participant fills each place in the meaning of the verb and what the modifier applies to. These questions meet whenever a construction changes where an argument appears. A grammar may recognize both an active and a passive clause and still lack a way to connect the subject of each clause to the appropriate participant.

The scope of the task matters. An elementary tree in a lexicalized tree-adjoining grammar represents a local piece of structure associated with a lexical anchor, such as a verb. A grammar with many elementary trees can describe a substantial range of realizations of the same basic argument structure. Those realizations include familiar subject and object positions as well as constructions in which an argument appears as a clitic, is extracted, or is omitted. If the meaning of each tree has to be specified in isolation, the grammar writer faces the same linking question repeatedly, even when several trees share the same answer.

Semantic composition gives the problem a precise form. The grammar starts with what individual expressions contribute. It needs an operation that puts those contributions together as the syntactic derivation proceeds. For a verb, the contribution includes a predicate and places for its participants. For a proper name, it includes information identifying an individual. At the point where the name fills the subject position, the semantic description needs to identify that individual with the appropriate verb argument. If the verb’s tree allows a modifier to attach, the grammar must also make available whatever aspect of the verb’s meaning that modifier needs.

The term compositional concerns that relationship between pieces and whole. In Gardent’s approach, the way the trees combine determines certain identifications among their semantic variables. A derivation for a sentence supplies values and equalities that the individual contributions leave open. The resulting interpretation can also retain unresolved scope information. This makes it possible to specify how constituents contribute to an interpretation while leaving some decisions about the representation open.

Why tree-adjoining grammar posed a distinct problem

The paper situates the work alongside Lexical Functional Grammar, or LFG, and Head-Driven Phrase Structure Grammar, or HPSG. Gardent points to large grammars in those traditions that already incorporated compositional semantics. Available tree-adjoining grammars, by her account, had chiefly been developed for syntax. The difference concerned the linguistic analysis and the software available to put such an analysis into practice.

One theoretical question was which of the structures associated with a tree-adjoining analysis should guide semantic composition. The derived tree is the constituent structure produced by combining the elementary trees. The derivation tree records how those elementary trees were combined. The distinction matters because the record of combining structures and the constituent structure that results tell different stories about the same sentence. An account of composition has to specify how semantic dependencies are recovered from the operations or structures it uses.

The paper describes two routes that had become sufficiently established to build on. In a synchronous tree-adjoining grammar, the grammar specifies syntactic and semantic structures and explicitly coordinates their composition. In feature-based lexicalized tree-adjoining grammar, semantic variables travel on elementary trees in feature structures. The unifications required during the syntactic derivation also establish connections among the contributions to meaning. Gardent takes the feature-based route and builds on the semantic construction proposed by Gardent and Kallmeyer.

A separate obstacle was practical. Having a proposal for semantic composition leaves open how to write a substantial grammar that implements it. A grammar-writing environment must let the linguist specify recurring tree fragments, name the parts of those fragments that will interact, place semantic variables on them, and arrange for the finished trees to carry coherent semantic descriptions. The paper also identifies parser support as part of the practical difficulty that had held back integration. XMG supplied an environment in which the grammar itself could be described and compiled.

Where earlier descriptions could share structure

Gardent’s account of the alternatives distinguishes general unification-grammar tools from descriptions devised for tree-based grammars. PATR II serves as one comparison. The paper treats it as theory-neutral, a property shared by XMG. For the task at hand, XMG adds ways of referring directly to tree descriptions, naming and identifying their nodes, and expressing alternatives over classes of descriptions. A linguistic class in this setting can contain a whole fragment of a construction, together with information about its meaning.

The paper also discusses earlier work that sought to avoid repeating tree structure. The inheritance proposal in Encoding Lexicalized Tree Adjoining Grammars uses a nonmonotonic hierarchy. In such a hierarchy, more specific information can override an inherited description. Gardent characterizes XMG as monotonic. Combining descriptions adds constraints that have to hold together. A distinction among constructions can instead be expressed by choosing among alternatives and then conjoining the constraints shared by those alternatives.

For the tree-description approaches of Candito and of Xia and colleagues, Gardent identifies two restrictions relevant to her design. As characterized in the paper, tree descriptions in those approaches can be conjoined, and identification across fragments is confined to nodes. A grammar writer might need to state that a variable belonging to the meaning of a verb is the same as a feature value located on an argument node. For that purpose, direct access to the values themselves makes a difference. Knowing the names of the nodes would still leave the author to express the connection between the features or semantic parameters they contain.

The earlier syntactic work most directly relevant to the implementation is Crabbé’s specification of the French verbal trees. That work already grouped trees into families and described the alternatives within them. Gardent could therefore use distinctions already present in the syntax to decide where to put each sort of semantic information. A family describes a basic argument pattern, a diathesis describes an arrangement of grammatical functions, and a realization description specifies how one of those functions appears. Each is a different place to make a decision shared by many trees.

Repetition occurs at several levels

A transitive verb provides the paper’s recurring example. Its elementary trees can describe an active clause, a passive clause, and other constructions. Within an active construction, the subject can itself have several realizations. The recurrence of a predicate’s participant structure across a family is a different matter from the recurrence of a subject-to-argument mapping across subject realizations in a given construction. The grammar must have room for both generalizations.

There is a further kind of recurrence at the level of the node. Wherever a subject realization introduces the node for the subject argument, the value on that node has to be available to the rest of the grammar. The active construction can then require the subject’s value to fill the first participant slot, and the passive can require the value to fill the second. The node descriptions can remain useful across both constructions because the assignment of a participant slot is made elsewhere.

This division explains why adding semantics is more involved than attaching a predicate name to a lexical entry. The lexical entry can say which predicate the verb conveys and which roles are associated with its participants. The tree family can say which argument pattern those entries share. The construction can say which grammatical function supplies each participant. The fragment describing a subject or object can expose the feature needed to make the connection. The contribution of the paper is to show how to express these decisions together in a grammar of the stated size.

The method, step by step

How trees and meanings combine

SemFraG is a feature-based lexicalized tree-adjoining grammar. Lexicalized means that elementary structures are associated with lexical anchors. An elementary tree is one of the pieces available before a full sentence is derived. It can describe the structural environment of an anchor, including places where other constituents are required or where further structure can be inserted. The tree for a verb, for example, can already include a position for its subject.

A feature-based tree-adjoining grammar uses initial trees and auxiliary trees. An initial tree can have terminal leaves and leaves marked for substitution. Substitution places a tree into one of those marked positions. In the paper’s running example, this is how the tree for a name supplies the subject of the tree for a verb. The category and constraints at the place where the trees meet determine whether the operation is possible.

An auxiliary tree has a distinguished leaf called its foot. That leaf has the same syntactic category as the root of the auxiliary tree. The match allows the auxiliary tree to be inserted by adjunction at a compatible node in another tree. The root of the inserted tree meets the part of the original structure above the insertion, and the foot meets the part below. This is the operation used to accommodate the kind of modification illustrated by often.

A feature structure is a collection of named properties and their values. Each node in the feature-based grammar has a top and a bottom feature structure. In substitution, the top features of the substitution site unify with the top features at the root of the incoming tree. In adjunction, the top of the auxiliary root unifies with the top of the host node. The bottom of the auxiliary foot unifies with the bottom of that host node. At the end of the derivation, the top and bottom features are unified at each node of the resulting tree. The separate features give the grammar places to express what must be shared across each operation.

Unification makes two descriptions agree. An open variable can acquire a value when it meets a description that supplies one. If variables occur in several places, unifying them makes those occurrences refer to the same value. Because the grammar uses the same variable in a tree feature and in an elementary semantic contribution, unification at a tree node can determine a semantic argument. The semantic use of the operation depends on where those shared variables were placed when the elementary structures were specified.

Consider the paper’s sentence John often runs. The name contributes an individual and the information that the individual is called John. The verb contributes a running event and an open position for the runner. The runner variable is also carried by the subject substitution node. When the name is substituted, its individual index meets that subject index. The verb’s participant is then the same individual as the one introduced by the name.

The modifier contributes its own open argument. In this derivation, adjunction allows that argument to be identified with the running event. The paper writes the composed representation as follows.

{name(j, john), run(r, j), often(r)}

The braces enclose the flat collection of semantic contributions. The predicate name links the individual index j to the name value john. The predicate run links the running event r to its participant, now also j. The predicate often takes r as its argument. Parentheses contain a predicate’s arguments, and commas either separate arguments inside a predicate or separate the contributions in the collection.

Before composition, the paper shows the runner and the argument of often with distinct indices. In its example, s is the open participant index of the verb and x is the open index of the modifier. The final representation records their identifications with j and r, respectively. This also explains why putting the same index on all parts of the verb tree would be inappropriate. The subject and the event have different uses in the derivation.

What XMG compiles

XMG gives the grammar writer a language for describing many recurring pieces together. Its basic unit is a class. A class can include a syntactic description, a semantic description, and interface constraints that connect the two. The syntactic part, called SYN, describes nodes, their features, and relations among them. The semantic part, called SEM, contains the flat contribution. The INTERFACE part gives names to values that other descriptions need to access and expresses the equalities required when those descriptions are combined.

A syntactic description can be partial. It can require one node to dominate another, meaning that it lies above the other node in the tree, while leaving aspects of the path open. It can also constrain precedence, the order of nodes, without specifying every ordering relation. This allows separate classes to supply different information about the same eventual tree. The compiler can use constraints contributed by several classes to determine the resulting elementary structures.

Classes can be conjoined so that their descriptions hold together. A disjunction represents alternatives. A class can also inherit descriptions from other classes, allowing leaf classes in the specification to share fragments or feature information. The paper distinguishes conjunction from inheritance because they interact differently with node identification. Its own account uses the distinction to explain the grammar’s organization and leaves the formal treatment of the interaction to earlier work on XMG.

The pipeline contains a grammar-writing stage and a sentence-derivation stage. The linguist describes and combines classes. Compilation yields elementary trees with their semantic information. At lexical lookup, the lexical entry supplies values for open predicate and role names. In an actual derivation, substitution and adjunction can then identify the indices of the lexical contributions. The XMG classes describe how to construct the objects that participate in those operations.

From shared grammar descriptions to sentence meaning

The steps in order.

From shared grammar descriptions to sentence meaningStep 1: Group syntactic alternatives into tree families1. Group syntactic alternatives into tree familiesStep 2: Assign each family a semantic schema2. Assign each family a semantic schemaStep 3: Map grammatical functions for each construction3. Map grammatical functions for each constructionStep 4: Label argument nodes and project indices4. Label argument nodes and project indicesStep 5: Compile the enriched elementary trees5. Compile the enriched elementary treesStep 6: Fill predicate and role names during lexical lookup6. Fill predicate and role names during lexical lookupStep 7: Unify indices as the trees combine7. Unify indices as the trees combine

This is a constructed grammar. Its syntactic and semantic descriptions are specified in classes, and its lexical entries complete the relevant schemas. There is no training split or procedure for estimating the linking constraints from sentence data. The existing specification of the French verbal syntax is the starting point for the enrichment. The examples in the paper show which classes and equalities are added to it.

Start with the existing syntactic organization

A tree family groups the structures available to verbs of a common syntactic type. The family used throughout the paper is n0Vn1, the family for transitive verbs with two nominal arguments. The author first shows the alternatives in this family in their syntactic form. Spaced identifiers in the paper are joined below so that each class name is easy to follow.

n0Vn1 → (dian0Vn1Active ∨ dian0Vn1Passive ∨ dian0Vn1dePassive ∨ dian0Vn1ShortPassive ∨ dian0Vn1ImpersonalPassive ∨ dian0Vn1middle ∨ dian0Vn1Reflexive)

The name to the left of → denotes the family being defined. The arrow introduces its description, and ∨ separates the alternatives. Each name beginning with dia denotes a diathesis, an arrangement of the grammatical functions associated with the verb. The names identify the active, passive, de passive, short passive, impersonal passive, middle, and reflexive alternatives. The parentheses group them as one choice. The digits in the names distinguish the nominal positions used in the family notation.

A diathesis is built by putting compatible pieces of structure together. For the active, the paper gives this syntactic description.

dian0Vn1Active → (Subject ∧ ActiveVerbForm ∧ Object)

dian0Vn1Active is the active alternative of the transitive family. Subject and Object supply the descriptions of the corresponding grammatical functions. ActiveVerbForm supplies the verbal structure for the active. The conjunction sign ∧ requires the selected descriptions from all of these classes to hold together, and the arrow gives the definition of the class on the left. The parentheses show the extent of the conjunction.

The grammatical functions themselves can have alternatives. A class such as Subject describes a function across several ways of expressing it. The subject class in the syntactic specification is given as follows.

Subject → (CanonicalSubject ∨ RelativisedSubject ∨ WhSubject ∨ CleftSubject ∨ CliticSubject)

Subject names the class being defined. The terms inside the parentheses describe canonical, relativized, interrogative, cleft, and clitic realizations. Here WhSubject is the class for the interrogative realization. The arrow gives the class definition, and the repeated ∨ makes those descriptions alternatives. A selection from this group contributes the fragment appropriate to the subject of the tree under construction.

This organization separates the choice of a whole construction from choices about its components. Choosing the active diathesis requires subject, verb, and object descriptions. Choosing a subject realization determines which fragment satisfies the subject part of that requirement. The paper illustrates the fragment descriptions for the canonical active subject and object and for the active verb form. The examples simplify the fragments by leaving out their features. They show why the grammar can assemble its reusable pieces before adding the semantic connections.

Inheritance supplies another source of sharing lower in the description. A fragment for a particular realization can inherit constraints or pieces of structure that recur in other realizations. The tree family, diathesis, realization, and inherited fragments consequently express generalizations at different levels. By the time Gardent adds semantic information, there is already a way to reach a set of trees that share an argument frame or a set of fragments that serve the same function.

Give a whole family its semantic pattern

The SEM dimension expresses meaning in a flat format. Predicate contributions can carry labels, arguments, and scope information. Its variables can be unified with those elsewhere in the grammar. The paper distinguishes a semantic formula associated with a particular expression from a schema whose predicate or role names are still open. A schema supplies a pattern of contributions that many lexical entries can instantiate.

For the transitive case, the pattern is a binary relation with an event and its participant roles. The paper represents it with an event predicate and separate statements for the roles.

l₁: P(E), l₁: Theta₁(E, X), l₁: Theta₂(E, Y)

l₁ is the label shared by the contributions, and each colon associates a contribution with that label. P is an open predicate name, and E is the event index. Theta₁ and Theta₂ are open names for the participant roles. Their arguments are the event and, respectively, the participant indices X and Y. Parentheses enclose the arguments of an individual predicate, and commas separate either those arguments or the labelled contributions. In this schema, the capitalized identifiers are unification variables. The lexicon provides the particular values for P, Theta₁, and Theta₂.

Calling the schema binary concerns the participation of X and Y. The event E is what the predicate and participant relations have in common. This arrangement permits the same structure to carry different lexical predicates and different role names. The grammar can express that a construction shares a pattern across many verbs while leaving the lexical part of each verb’s contribution to its entry.

The paper also illustrates what the flat notation can say about scope. It gives the following example for every.

l₀: ∀(X, h₁, h₂), h₁ ≥ L₁, h₂ ≥ L₂

l₀ labels the quantifier contribution, with the colon marking the association. ∀ denotes universal quantification, and X is the individual variable. h₁ and h₂ are scope handles, places in the representation through which scope relations are expressed. L₁ and L₂ are labels for contributions required to fall under the respective handles. The sign ≥ expresses scope over a label, whether the relation is direct or goes through intervening material. Parentheses enclose the quantifier arguments, and commas separate arguments or constraints. The paper identifies the material labelled by L₂ as the scopal argument associated with h₂.

The scope example and the verb schema leave different details open. Scope constraints restrict the way contributions can fall under the quantifier. In the verb schema, lexical lookup supplies predicate and role names. Both fit into a flat representation. The quantifier example illustrates what the formalism can express, while the implementation walkthrough develops the linking and labelling of verbal trees.

The family definition can now acquire the schema once, outside the choice among diatheses.

n0Vn1 → (binaryRel ∧ (dian0Vn1Active ∨ dian0Vn1Passive ∨ dian0Vn1dePassive ∨ dian0Vn1ShortPassive ∨ dian0Vn1ImpersonalPassive ∨ dian0Vn1middle ∨ dian0Vn1Reflexive))

n0Vn1 names the transitive family, and → introduces its definition. binaryRel is the class supplying the binary semantic schema. Each dia class denotes the corresponding construction from the syntactic definition. The inner parentheses group the alternatives joined by ∨. The outer conjunction ∧ requires the schema together with any selected alternative. Each tree produced from the family therefore receives the schema, with the lexical entry still responsible for the choice of predicate and roles.

Map grammatical functions to the schema

A family-wide schema leaves the correspondence between its participants and the tree’s grammatical functions open. The active and passive can share the event and role pattern, but they have different ways of realizing it. The paper deals with that variation by assigning linking constraints to diatheses. A linking constraint says that the variable in a named syntactic position must share its value with a named semantic argument.

The interface makes this possible by giving a name to a variable used in syntax or semantics. Suppose the SYN description contains a feature F whose value is X, and the SEM description contains a parameter Y. The paper illustrates shared values in an interface with the following notation.

IDX = ₁X, ARG = ₁Y

IDX is the interface name for the syntactic index, and ARG is the interface name for the semantic argument. X and Y are the variables from the syntactic and semantic descriptions. The repeated subscript tag ₁ marks a shared value, so the assignments identify those variables. The equality signs assign values to the interface names, and the comma separates the assignments. This makes the same value accessible through the two names.

For argument linking, the interface constraints follow a regular pattern.

index_F = V, arg_i = V

F stands for a grammatical function such as subject or object. index_F names the index associated with the node for that function. The subscript i designates a semantic argument position, and arg_i names the index for that position in the schema. V is the common unification variable. The two equality signs require each named value to be V, and the comma separates the requirements. The index on the syntactic side and its semantic counterpart consequently share a value.

The constraint for binding the subject to the first argument is a particular instance.

index_subject = V, arg₁ = V

index_subject names the index on the subject argument node, and arg₁ names the first argument of the semantic schema. V is the shared variable. The equalities and the comma work as in the general constraint. The paper calls the class that imposes this requirement SubjArg1. The index in the subject fragment and the argument variable in the schema can start in separate descriptions because the interface brings them together.

For the active construction, the author adds a pair of linking classes to the earlier syntactic definition.

dian0Vn1Active → (SubjArg1 ∧ ObjArg2 ∧ Subject ∧ ActiveVerbForm ∧ Object)

SubjArg1 identifies the subject index with the first semantic argument. ObjArg2 identifies the object index with the second. Subject, ActiveVerbForm, and Object are the syntactic components from the earlier definition. dian0Vn1Active names the construction, → introduces its description, and ∧ requires all the components and linking constraints inside the parentheses.

The passive example changes the construction’s syntactic components and its linking choices together.

dian0Vn1Passive → (SubjArg2 ∧ CagentArg1 ∧ Subject ∧ PassiveVerbForm ∧ Cagent)

dian0Vn1Passive names the passive alternative being defined. SubjArg2 identifies the subject index with the second semantic argument. CagentArg1 identifies the index of the agent complement with the first. Subject describes the subject function, PassiveVerbForm supplies the passive verb structure, and Cagent supplies the agent complement. The arrow, conjunction signs, and parentheses give the definition and require all these descriptions to hold together.

The difference is easiest to see by following the first argument. In the active, its value comes from the subject position. In the passive shown here, it comes from the agent complement. The second argument comes from the active object or from the passive subject. Whatever role names the lexicon supplies for these arguments continue to belong to the same slots in the schema. The diathesis determines where the grammar obtains their values.

Put the named variables on the right nodes

The linking constraints require the appropriate variables to be exposed by the class descriptions. On the semantic side, the schema makes its argument positions accessible by name. On the syntactic side, a reusable class places an index feature on the argument node and exposes its value to the interface. The grammar can thus refer to the subject index without needing the same tree configuration for every possible subject.

XMG makes a distinction between a node’s identity and the value of its features. Node names are local to a class by default. A class can export a name to descendants, and an import declaration can restrict or rename the exported names that are available. Along one inheritance branch, referencing an exported name can identify the node in the descendant class with the node in the class that supplied it. This lets a description say more about a known node.

In multiple inheritance, separate branches may export the same name. The paper’s example uses an explicit equation to bring the two nodes together.

C₁.X = C₂.X

C₁ and C₂ stand for the two classes that export the name X. Each dot qualifies X by the class it comes from. The equality sign identifies the two node variables. The qualification makes it possible to choose precisely which occurrences of a name are meant when the same spelling is available from several places.

For argument labelling, the grammar defines a semantic class for each grammatical function of interest. In the subject case, the class supplies a node with an index feature and a corresponding interface name. The paper presents its two dimensions together.

[syn]: xSubject[index = I]   [interface]: [index_subject = I]

[syn] introduces the syntactic part, and [interface] introduces the interface part. xSubject denotes the exported node provided by the subject labelling class. In the square brackets on that node, index is the feature and I is its value. index_subject is the interface name for that value. The equalities place the same variable I in both descriptions. The colons distinguish the names of the dimensions from their contents.

The syntactic fragments for argument realizations export the actual argument node under the common name xArg. The subject class is then extended to combine the semantic class with any of the subject realizations and to identify their nodes.

Subject → (SubjectSem ∧ xArg = xSubject ∧ (CanonicalSubject ∨ RelativisedSubject ∨ WhSubject ∨ CleftSubject ∨ CliticSubject))

Subject names the enriched class, and → gives its definition. SubjectSem is the reusable labelling class. xArg is the exported argument node from the selected fragment, and xSubject is the index-bearing node in SubjectSem. The = identifies those nodes. The parenthesized terms joined by ∨ are the same subject alternatives as before. The outer parentheses and ∧ require a chosen realization, the labelling class, and the node identification together.

For a canonical subject, the index goes on the argument node supplied by the canonical fragment. For a clitic subject, the same mechanism reaches the argument node supplied by the clitic fragment. Each fragment determines what its own argument node is. The enclosing class ensures that this node receives an index whose value can be addressed as index_subject. This makes the same construction-level link usable across the subject alternatives.

There are two related identifications here. The equation involving xArg and xSubject makes two node descriptions describe one node. The linking constraint for index_subject and the appropriate arg name makes two semantic indices share a value. The former puts the feature on the intended piece of syntax. The latter tells the predicate’s semantic schema what the feature stands for. Keeping the operations distinct also explains why a facility for identifying nodes alone would give the grammar writer only part of what the implementation uses.

Carry indices through projections and control

Semantic composition sometimes requires an index introduced inside a tree to be visible at a higher node. The anchor projection principle says that information from the anchor should reach its maximal projection, the highest node of the relevant phrase headed by that anchor. For a verb, the paper illustrates the requirement by showing how the verbal index becomes available at the root through the verbal spine. The spine is the chain of nodes leading upward from the anchor through its projections.

Foot projection addresses an auxiliary tree. In the case considered here, the foot represents what the tree modifies. The principle propagates information from that foot to the root of the auxiliary tree. Gardent specifies that the principle applies to feet serving as modifiees. The paper states the principles in terms of labels and illustrates their implementation using indices, while acknowledging that a full account must deal with labels as well.

The implementation uses classes describing a skeleton for the projection. The skeleton contains the relations and feature sharing needed to carry the index upward. The grammar writer adds it to the relevant syntactic description and identifies the anchor of the skeleton with the existing anchor, or identifies its corresponding node with the foot for foot projection. The combined description must compile to a tree. This requirement makes the nodes above the identified anchor or foot in the projection skeleton unify with the corresponding nodes in the syntactic description.

The active verb form gives a concrete case. The class for its verbal spine imports a projection class and equates the two descriptions of the anchor. The compiled structure makes the verb’s index available up to the root. The paper notes that the indices shown in the result must allow for the possibility of adjunction. Since adjunction can intervene at a node, the distribution of top and bottom features matters to how the index is passed on. The point of the skeleton is to share the description of projection across trees whose verbal structure meets those requirements.

A control verb presents a different kind of relationship. Control determines how an understood argument of one clause gets its reference from another expression. In the paper’s example, the subject of the control verb can supply the understood subject of an infinitival complement. A semantic index at the controller node must therefore share its value with the controlled index associated with the sentential argument node.

The interface can state that relationship through named feature values. A definition for a control verb imports the appropriate constraint for subject or object control. The linking class identifies the controller’s index with the controlled index exposed by the sentential argument. The relationship is expressible even though the nodes bearing those features lie in different parts of the tree. This use of global names is distinct from putting an index on an argument node. It uses the named values to connect information the grammar has already made accessible.

Why the placement of shared constraints matters

The basic pattern of factorization in the paper is a conjunction with a group of alternatives. In an expanded description, a shared condition appears in every alternative. In a factored description, the common condition is conjoined with the group as a whole. The paper illustrates the expanded form with the following pattern.

(a ∧ b) ∨ (a ∧ c) ∨ (a ∧ d)

a is the common constraint or class, while b, c, and d stand for alternative descriptions. The conjunction sign ∧ requires the common description and the particular alternative in each pair. The disjunction sign ∨ allows a choice among those pairs. Each set of parentheses groups the requirements in its branch.

The common condition can instead be placed beside the entire disjunction.

a ∧ (b ∨ c ∨ d)

a again stands for the shared description, and b, c, and d stand for the alternatives. The parentheses group the choices linked by ∨, while ∧ requires a together with a choice from that group. The expression places the shared description in one position while preserving its application to each alternative.

The paper exploits this form at different levels. A binary relation schema is shared across diatheses in a transitive family. An argument labelling description is shared across realizations of a grammatical function. A diathesis can in turn impose the same linking constraints regardless of which of those realizations supplies the index. The exact tree and lexical predicate can vary while the conditions they have in common remain in one place in the specification.

That organization also marks a distinction between sharing at compilation and sharing in a derivation. Compilation brings together class descriptions so the elementary trees contain the relevant indices, semantic contributions, and constraints. Lexical lookup instantiates the lexical parts of the schema. The derivation supplies the argument values contributed by the particular constituents that actually combine. Together they explain how the grass-roots example of a name filling a verb’s open participant position can use the same mechanism as a grammar with many construction types.

Experiments and results

What the paper evaluates

The main result is the implementation of a semantic component in SemFraG. The grammar has around 6,000 elementary trees and covers some 35 basic verbal subcategorisation frames. A subcategorisation frame describes the kinds of arguments a verb takes. The tree families use the frames to organize the grammatical contexts available to verbs, including changes in how their arguments are distributed and realized.

The paper names active and passive constructions, middles, neuters, reflexivisation, impersonals, and impersonal passives among the redistributions covered where a frame allows them. It also names cliticisation, extraction, omission, and changes in argument order among the realizations. The grammatical inventory extends to adjectival, nominal, and prepositional predication, light verb constructions, and nouns and adjectives that take arguments. The grammar gives basic descriptions for adverbs, determiners, and prepositions. These statements describe the inventory of a core fragment of French. The detailed semantic examples in the paper focus on the grammar’s verbal trees.

The study has no dataset split. Its evidence comes from the stated coverage of the grammar, the changes to the XMG specification, and examples that follow the consequences of those changes. The syntactic classes before enrichment provide a direct point of comparison for seeing what had to be added. The paper also compares what different grammar-writing formalisms can express. It reports no separate system run under the same conditions and no benchmark for ranking alternatives by parsing accuracy.

The measures consequently concern the description itself. A class definition introduces a reusable description. A class call invokes a description where the grammar needs it. Counts for definitions and calls answer different questions about the work involved. A grammar writer may need relatively few different constraints, yet still have to place those constraints at many distinct points in the specification. The size of the output inventory is a third quantity. Compilation can apply an invocation made high in a class description to many elementary trees.

How much specification the enrichment takes

Gardent reports 76 class definitions and 498 class calls for adding the semantic information described at the scale of approximately 6000 trees. The information in that count comprises semantic schemas, semantic indices, and the descriptions that project indices. These are measures of authored grammar material and of the tree inventory to which it applies. An invocation can reach an entire family or a set of alternatives inside a class. The tree count consequently tells a different story from either count of authored material.

The paper also gives more focused counts. The association of several thousand verbal trees with semantic schemas is expressed in 176 statements. The statement count concerns the association of trees with schemas, such as placing the binary relation description in the transitive family definition. It gives a measure of the written material needed for that operation within the implementation. Since the paper gives no count for spelling out the same associations in an expanded specification, it provides no measured reduction against such a version.

For argument linking, the paper reports 37 linking constraint definitions and 255 linking constraint calls. The stated scope includes verbal trees and adjectival and nominal predicative trees. A subject-to-first-argument definition is the sort of reusable constraint counted here. An invocation of it in an active diathesis is the sort of placement that contributes to the calls. The paper reports these figures for the linking task within the implementation, where the role of global names is clearest.

The chart compares counts of definitions at the two scopes Gardent reports. The starred entry is the full semantic encoding. The narrower count concerns linking constraints, so the chart shows the change in reported count with the scope of the description. A lower count indicates fewer definitions within that scope.

Class definitions in the SemFraG semantic specification, by scope

Argument linking uses fewer definitions than the full semantic encoding.

Class definitions in the SemFraG semantic specification, by scopeArgument linking in SemFraG: 37Argument linking in SemFraG37Full SemFraG semantic encoding (this paper): 76Full SemFraG semantic encoding (thispaper)76
The numbers
System or settingclass definitions
Argument linking in SemFraG37
Full SemFraG semantic encoding (this paper)76

The linking call count and the schema-association statement count are also useful when read in their own terms. The paper identifies the type of grammar material counted in each case. A linking call connects an already defined relation between named values to a particular construction. A schema-association statement supplies information at the level where the schema is shared. The two counts concern different actions in the grammar, so their interpretation depends on those actions.

What the examples demonstrate alongside the counts

The transitive family example shows that a semantic pattern can be stated once for a collection of diatheses. From the point of view of the compiler, the conjunction with binaryRel is part of the definition no matter which of the listed alternatives is selected. The example gives a reason to expect the written description to stay compact as more realizations are available. The reported number of schema-association statements gives the corresponding size measure for this part of the grammar.

The active and passive examples show that sharing the schema leaves room to express different mappings to it. In the active definition, the first argument and the subject are linked. In the passive definition shown, the first argument and the agent complement are linked. Both invoke a subject description. The pair therefore illustrates how the same syntactic function class can participate in distinct interpretation rules. A count of classes alone could leave open whether the compactness came at the cost of this distinction. The worked definitions show how it is preserved.

The subject-labelling example establishes another property of the specification. Each subject alternative can export an argument node under a common name even if the internal tree fragment is different. The addition of SubjectSem makes the index available through the same interface name after a choice among alternatives. The verb’s linking class can rely on that name. The paper illustrates the outcome in the class definitions, where there is a direct connection between the exported node, its feature value, and the applicable semantic argument.

The example with John often runs illustrates the relevant composition operations. A substitution supplies an individual to the runner position. An adjunction allows the modifier to take the running event as its argument. These are visible effects of unifying the features on the pieces being combined. The example demonstrates what the output looks like and how particular variables in it receive their values. It is a worked example of the mechanism, with no sample size or aggregate score attached.

The effort claim

The paper estimates that integrating the semantics took roughly a week of a linguist’s work. This figure describes the implementation effort reported for the grammar and setup at hand. The syntax was already organized into families and reusable fragments. Gardent presents the limited number of class additions and invocations as the reason the enrichment could be completed in that time.

The paper also argues that the same organization helps with maintenance, debugging, and extension. A writer changing how a semantic schema is associated with a family can find the association in the family definition. A writer tracing the mapping for a passive subject can examine the linking classes used by that diathesis. The examples substantiate where these decisions live. Maintenance time, defect rates, and extension costs are not measured, so the reported work estimate is the only duration claim.

Taken together, the numerical evidence concerns the relationship between a substantial output inventory and the written description used to enrich it. The examples supply the link between those counts and the linguistic analysis. They show the kinds of constraints expressed at each level and what happens when selected trees combine. The results give a concrete sense of the work involved in adding semantics to this grammar and leave performance on running French text undetermined.

What the ablations show

The paper reports no ablations; its analyses instead use before-and-after class definitions, paired construction examples, and comparisons of what grammar-writing formalisms can express.

What changes when a shared description is added

The clearest before-and-after example is the transitive family. The initial description enumerates diatheses. The enriched description keeps those choices and places the binary relation schema outside the disjunction. That change lets a reader identify exactly where the semantic information enters. The grammar writer makes one family-level assertion, and any tree derived through the family must satisfy it along with the selected syntactic constraints.

The paper also illustrates the expanded and factored forms of a common condition. The comparison is logical. The repeated conjunct in the expanded expression applies to each branch, and the factored expression imposes the same requirement on the entire choice. This explains how a whole semantic schema can be reused without hand-copying it into every branch. There is no reported compilation of an expanded grammar from which to compare time, memory, or failure rates.

A second before-and-after example moves down to the subject class. The syntactic version selects a realization. The enriched version makes that selection and identifies its argument node with the one introduced by the labelling class. The same index-bearing description can then serve across the choices. This comparison isolates another use of class disjunction. The shared information here is a node label and its interface name. At family level the repeated information was an entire semantic pattern.

What the active and passive examples isolate

The active and passive definitions show which decisions depend on diathesis. The predicate and role schema is chosen for the tree family. The link between grammatical functions and argument positions is chosen in each diathesis. The subject’s index is made available through the same name in both constructions, and the two diatheses can bind that name to different semantic arguments.

This is an analysis of the placement of linguistic information. If a class for the subject itself decided which semantic role the subject receives, the active and passive examples would require that decision to vary with the construction. By placing the decision in the diathesis, Gardent gives the construction access to all the relevant grammatical functions at the point where it assigns argument positions. The subject class only has to expose the appropriate variable. The examples make visible which specification can be shared and which must vary.

The controller example shows a different kind of reuse. Here named values make it possible to state an equality between a controller’s index and an index provided by a sentential argument. The control verb imports the appropriate link. This explains a use for the interface beyond mapping a subject or object to an ordinary verb argument. The index can be named where the relevant node is described, and a class elsewhere can express the dependency without reproducing its tree fragment.

What the comparisons with other formalisms establish

The comparison with PATR II and the LKB concerns the range of descriptions over which disjunction can operate. Gardent describes their disjunction as operating over atomic feature values. XMG can put alternatives over whole classes inside a conjunction with shared information. That is the operation used in the family and subject examples. The paper connects this expressivity to the size of the written encoding through the schema-association count. It supplies no matched measurements of the same grammar expressed in those formalisms.

The discussion of other approaches to tree descriptions concerns what can be identified across fragments. Node identification is essential for attaching the subject labelling class to an argument node and for attaching a projection skeleton to the anchor or foot. Identifying a feature value with a semantic parameter is a further operation. XMG’s named interface values allow that relationship to be written directly. The control constraint makes the difference concrete, since the values to be identified occur in different parts of the tree.

The paper’s discussion of monotonicity offers a comparison at the design level. In XMG, the conjunction of compatible descriptions accumulates requirements. The earlier inheritance hierarchy discussed in the paper permits nonmonotonic overrides. Gardent’s grammar puts common material in shared descriptions and expresses variation by choosing a diathesis or realization and specifying its particular constraints. The paper shows that this style can express its examples and reports the size of the full encoding. It leaves the relative engineering costs of different styles open.

Limitations

Limits the author states

The main walkthrough is deliberately restricted to verbal trees. SemFraG includes other kinds of constructions, and the linking counts explicitly encompass work on adjectival and nominal predicative trees. The verbal examples nonetheless do most of the explanatory work. They demonstrate the connection among family schemas, diathesis-specific linking, and the labelling of argument positions. The paper gives no equally detailed account of each of the other construction types listed in the grammar’s coverage.

Gardent omits the labelling principles required for quantification because of space. The example with every shows how the semantic dimension can express scope constraints. It leaves the reader without a full treatment of how quantifier labels and handles are introduced and connected throughout SemFraG. The paper also simplifies the labelling discussion by emphasizing indices, while stating that labels are needed for a complete account. These are limits on what the article demonstrates about the encoding, including where it shows a capability of the formalism.

Some of the technical machinery receives only an intuitive account. The author leaves the distinction between inheritance and conjunction in node identification to other work. XMG’s use of colours to control tree construction is mentioned, with the mechanism left unexplained. The illustrated syntactic fragments leave out features, and the discussion of the projection skeletons notes the need to accommodate adjunction. The examples make the intended sharing visible. Reconstructing all details of compilation calls for a fuller formal specification than the paper gives.

There is also a linguistic restriction on where the foot projection principle applies. The discussion confines it to foot nodes that represent the element being modified. Applying the same principle indiscriminately to any foot node would go beyond the stated analysis. More generally, the grammar is presented as covering a core fragment of French. Its coverage claims concern the frames and constructions it describes.

Limits of the evidence

The reported tree count measures an inventory. It does not measure the share of sentences in a corpus that the grammar can analyze. One family can produce a large set of trees because it combines diatheses with different realizations of grammatical functions. A large inventory therefore establishes the scale of the specification problem. Assessing coverage on text would require evidence about the sentences encountered and whether they receive the required analyses, which the paper does not report.

A related question concerns semantic accuracy. The worked derivation gives a plausible output for John often runs, and the active and passive definitions show intended argument mappings. The study supplies no independently annotated sample against which semantic outputs are judged. The counts do not establish how often the correct interpretation is available, how frequently multiple analyses are produced, or how a correct interpretation would be selected from among them. Those remain open empirical questions about using the grammar.

The paper’s compactness argument combines an actual encoding with comparisons of expressive features. The numbers establish how many definitions, calls, and statements the author reports for this version. A matched alternative encoding would be needed to measure the difference in authored material against another formalism or against a version with less sharing. The logical examples explain how duplicate statements can be avoided. They do not supply measurements of a control grammar or of how the alternatives behave during compilation and parsing.

The effort estimate should be understood in the setting the paper describes. The French verbal syntax was already available as a factored specification. Its tree families and classes gave Gardent places to put new constraints. The reported week concerns the integration described in that setting. The paper gives no repeated implementation attempts, parallel estimates for a different grammar, or independent timing comparison. The estimate provides evidence about this development effort, with transfer to another grammar left uncertain.

The same distinction applies to ease of maintenance. A shared family constraint gives a common location for a change that should apply to its alternatives. A named interface gives a direct place to read an argument mapping. These design properties support Gardent’s argument that maintenance and debugging should be easier. The paper does not track maintenance work over time or document comparative error rates. The evidence shows the organization that could make those tasks easier, with the size of the effect unmeasured.

Finally, descriptive compactness and the cost of using the compiled grammar are separate questions. A compact specification can generate many trees, and the reported size of that inventory is part of the paper’s contribution. The study does not measure the time or space needed to compile those trees, or the runtime cost of the semantic unifications in parsing. The strongest conclusions concern how to express the grammar and where its semantic information resides.

What came after

There are no later citing works to discuss here. Gardent’s conclusion gives directions for follow-up, especially for sharing descriptions across grammars and varying the semantic analysis while retaining parts of the syntax. These are proposed uses of the formalism. The implementation and counts in the paper concern the SemFraG encoding.

One direction is to factor descriptions across languages. The paper refers to Delphin for HPSG and Pargram for LFG in discussing this possibility. The relevant idea is to give related grammars a way to express what they share while allowing their alternatives to remain distinct. In SemFraG, that organization is used within one grammar, where a family or grammatical function has recurring material across its constructions. Extending the approach across languages would depend on finding descriptions that can serve several grammars and specifying the language-specific choices alongside them. The paper offers the French implementation as a reason to pursue that question.

The other direction is to compare semantic treatments of tree-adjoining grammar. Gardent mentions the glue semantics of Frank and van Genabith and an earlier proposal using a lambda-based semantics. The flat, unification-based treatment developed here makes a further option. XMG’s separation of tree descriptions, semantic contributions, and the interface between them gives the proposal a concrete basis. A comparison could inspect which syntactic descriptions the accounts are able to share and which choices require different interfaces or different semantic annotations. The paper leaves that comparison as future work.

These directions grow out of the paper’s treatment of the French transitive family. The syntactic alternatives, the schema shared by those alternatives, and the way their arguments are connected can each be located in the description. That organization makes it possible to ask what survives a change in language or semantic analysis. Gardent’s contribution is the worked case in which those relationships are explicit enough to follow from a family definition down to the variables unified in a sentence.

Cite

Cite as Claire Gardent. 2008. Integrating a Unification-Based Semantics in a Large Scale Lexicalised Tree Adjoining Grammar for French. Proceedings of the 22nd International Conference on Computational Linguistics (Coling 2008).

The paper itself, not this page. BibTeX from the library's record of the work.

@inproceedings{claire2008integrating,
  title = {{Integrating a Unification-Based Semantics in a Large Scale Lexicalised Tree Adjoining Grammar for French}},
  author = {Claire Gardent},
  booktitle = {Proceedings of the 22nd International Conference on Computational Linguistics (Coling 2008)},
  year = {2008},
  doi = {10.3115/1599081.1599113},
  url = {https://doi.org/10.3115/1599081.1599113}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/gardent-2008-integrating-unification-based-semantics-large/