Elamur Research

Incremental Graph-Based Semantics and Reasoning for Conversational AI

Paper · 2021 · Angus Addlesee and Arash Eshghi

Summary

By the time someone pauses mid-sentence, a listener may already know who is involved and what is happening. That understanding can help the listener anticipate a continuation or recognise that the speaker has started to correct something. Angus Addlesee and Arash Eshghi ask how dialogue systems could make use of the same interval. They propose a way to build an interpretation during the turn and to draw inferences as the information needed for them arrives. They are especially interested in conversations where a speaker may benefit from help carrying a contribution forward, including conversations with people with dementia.

The approach, called DS–RDF, combines Dynamic Syntax and the Resource Description Framework. Dynamic Syntax treats parsing as a series of updates to a tree of semantic contributions. A tree can indicate that it still needs an entity, for instance, before the speaker has said enough to identify it. RDF provides a way to express the interpretation as a knowledge graph. In the paper’s example about Jane drinking water quickly, the name supplies a person, the verb introduces a drinking event, and the subsequent words specify what she drinks and how. Each stage yields a graph that expresses the meaning available at that point.

The authors define how the pieces of these graphs fit together. In verb application, a designated node in the argument graph connects that argument to the verb’s contribution. In modification, the graph for an adverb can share the event’s identifier with the main clause, so its contribution goes into the description of that event. An unfinished tree can also supply graph structure whose node descriptions are still open. The authors connect this representation to RDFox, where explicit Datalog rules can derive further facts and can be edited to reflect the knowledge relevant to a domain or group of speakers.

The paper presents a preliminary implementation with example parses working with RDFox. The demonstrations show how partial meanings can be represented, combined, and made available to a reasoner. Coverage across utterances, processing time, and the value of the resulting inferences in conversation remain unmeasured. The authors plan to build a wider lexicon from existing resources and evaluate the system with a meaning bank, domain-specific dialogues, and a corpus of speech from people with dementia.

Deep dive: Incremental Graph-Based Semantics and Reasoning for Conversational AI

Dynamic Syntax and RDF give dialogue systems a meaning graph that develops word by word and supports inference while a speaker is still talking. · about 36 minutes to read

The problem and its context

The interval before a speaker finishes

A listener who hears the beginning of a contribution faces a moving interpretation problem. A name may establish who the contribution concerns. A verb can then reveal an action and indicate what information would complete the thought. A pause can occur with any of that information already available. Another participant may use it to respond, ask for clarification, or supply a continuation. The paper draws on research about these events to motivate a language-processing system whose interpretation is already accessible during the turn.

A contribution split between speakers is a particularly clear case. The person who continues it can act on material whose grammatical and semantic development began with somebody else. The beginning of the contribution has done some interpretive work even if it could scarcely stand as a sentence on its own. The authors cite research on compound contributions as evidence for studying language in increments that can become relevant before a turn is over. On Incrementality in Dialogue: Evidence from Compound Contributions

Restarts and corrections place a different demand on that developing interpretation. A speaker may get far enough into a contribution for a listener to understand part of it and then reformulate it. The interpretation that was available during the original attempt and the one available after the reformulation may support different responses. The authors group such events with pauses, interruptions and other features of ordinary interaction. Their account makes the evolving contribution a legitimate object of analysis at each stage, including stages that a transcript of the corrected sentence might hide. Speech and spoken language

The authors describe commercial voice assistants and much of the research they discuss as relying on completed turns. Such an arrangement places interpretation on the far side of an interactional boundary that people often act before reaching. A speaker who wants help completing a thought needs that help while there is still a thought to complete. A component that waits for the turn to end can analyse the resulting contribution, but the opportunity for that kind of participation belongs to an earlier point in the exchange.

Receipt of input in small pieces is only part of what the paper is asking for. A component could collect words one at a time, make them available to another component as text, and defer building any interpretation. At that point the recorded words would still need semantic analysis before another part of the system could use their meaning. Addlesee and Eshghi put the timing requirement on the meaning representation itself. They want the system to be able to ask what the utterance conveys so far repeatedly as the input unfolds.

What the listener supplies

The paper treats interpretation in conversation as a combination of understanding the words and applying knowledge that the speaker can leave implicit. Its discussion of earlier dialogue research emphasizes the influence of rules specific to a topic or setting. An utterance can offer enough evidence for a conclusion to a listener who knows how to connect it to that setting. The same words in a different activity could be taken forward using different knowledge. A conversational system intended for a particular domain therefore needs a place for the rules relevant to that domain. Knowledge representation and reasoning

That knowledge can matter at an intermediate point. The authors cite work on responses to incomplete contributions to motivate reasoning that can support anticipation. As a speaker adds information, a listener may have enough grounds for a conclusion even while some other aspect of the utterance is unsettled. A system built around this possibility needs both an incremental semantic representation and inference that can access that representation while it is changing. The grammar determines what the input has contributed. A rule can then relate what is available to information the speaker has left unstated.

The discussion of dementia gives the authors a concrete reason for pursuing these requirements together. Drawing on research about connected speech and discourse, they point to reformulation and restarting, and to occasions when a listener helps someone complete a turn. An intended contribution can still be under development when the listener is in a position to help. If an artificial interlocutor is to participate at such a point, the authors argue that it needs to work with what has been understood so far and with knowledge suited to that interaction.

The same example motivates their interest in control. Knowledge appropriate to an application may need to change as designers learn about the speech and interactions they are working with. The authors want to give those designers access to the conditions behind an inference and a way to change them. They also present transparency as a property that could help the system give an account of its own behaviour. In their proposed division of labour, the interpretation is inspectable as a graph and the reasons for deriving further information can be expressed as rules.

The paper contrasts the accessibility of these internal structures with the difficulty of inspecting and controlling the end-to-end neural approaches it cites. That discussion concerns design. An explicit graph exposes particular entities and relations, so a designer has something concrete to inspect when a conclusion is unexpected. Explicit rules express the conditions the inference engine is meant to use. Together they provide places to investigate what the parser established and how the reasoning layer used it.

Why Dynamic Syntax can change representations

Dynamic Syntax already treated incremental interpretation as part of grammar. As the authors describe it, the point of the grammar is to specify how semantic structure can develop in the order that material is encountered. This use of grammar makes requirements for future input particularly important. A component can begin building an interpretation that needs an entity even though the person or thing that will satisfy the requirement is still unidentified. Earlier Dynamic Syntax research cited in the paper applies this approach to dialogue, including the analysis of self-repair. Syntax and grammar formalisms

The original Dynamic Syntax framework used the Epsilon Calculus, which the authors describe as an extension of first-order logic. Logical expressions supplied node content and were combined as the tree was developed. The authors take the incremental construction procedure to be the more general part of the framework. The interpreter needs representations that can express partial information and operations that can use and extend that information. The choice of what a node carries can change if those operations can be defined for the new representation.

Previous combinations illustrate that flexibility. One line of work used Type Theory with Records. Node content there could be a structured description called a record type, or a function over such descriptions. The authors cite work using type inference to obtain a semantic description even for an incomplete tree. That precedent matters because the interface to RDF needs an answer to the same question. Given a tree whose development has reached only a certain point, what content can the parser already calculate from it?

The paper also describes work in which vectors and tensors express the semantic contributions. In this approach, associated with distributional semantics, Dynamic Syntax still sets the context for incremental combination even though the objects being combined take a very different form. The example supports the authors’ premise that the flow of interpretation can be specified independently of a single choice of semantic objects.

RDF is attractive to the authors for the resources and reasoning tools it can bring within reach of the parser. An ontology can supply a common way to describe classes and relations. A resource can use that description to make its contents intelligible to multiple applications. The paper discusses shared descriptions of web data and linked linguistic resources as examples of this arrangement. A parser emitting RDF can express its output in the same general format as those resources, and a reasoning engine that accepts RDF can use the parser’s graph as a source of facts. Knowledge graphs and ontologies

The resulting design problem is specific. The grammar has a way to build partial trees. RDF has a way to describe things and connect them. The parser needs to turn each useful tree state into graph content, including at points where an argument or a description is still missing. It also needs graph operations for applying a predicate to an argument and integrating contributions such as adverbials. The next step is to say exactly what those operations must do.

The method, step by step

Follow the interpretation through a short sentence

The clearest entry into the method is the progression involving Jane, drinking, water and speed. On hearing “Jane,” the parser can supply a graph about a particular person. The name leaves open what the utterance will say about her. When “drinks” arrives, the interpretation can introduce an event and connect Jane with it. It can carry some structure for the thing being drunk while the description of that thing is still missing. “Water” supplies the missing description. “Quickly” adds information about the manner of the event.

At each stage, the system has enough content to describe some aspect of the contribution. The change after the verb is especially important. An application interested in what Jane is doing can use the fact that the event is a drinking event. An application interested in the thing she drinks must still wait for information that settles the object. The two questions have different answers at the same point in the input, and a graph with an unfilled part can express that difference.

The paper’s diagram highlights the results of the parser at these stages. The underlying Dynamic Syntax actions do the work of building the structure that supports them. The graph describes participants, events and the relations currently established. As grammar actions continue, the resulting semantic content can be evaluated again. RDFox can work with the facts made available through this representation and use its rules when their conditions are satisfied.

From an unfolding utterance to graph-based inference

The steps in order.

From an unfolding utterance to graph-based inferenceStep 1: Receive the next input token1. Receive the next input tokenStep 2: Apply grammar actions licensed by the tree2. Apply grammar actions licensed by the treeStep 3: Record new content and outstanding requirements3. Record new content and outstanding requirementsStep 4: Supply underspecified graphs for undeveloped nodes4. Supply underspecified graphs for undeveloped nodesStep 5: Compose graphs for predicates and arguments5. Compose graphs for predicates and argumentsStep 6: Merge linked contributions at shared nodes6. Merge linked contributions at shared nodesStep 7: Apply applicable rules to graph updates7. Apply applicable rules to graph updates

These are stages in the design. Some contributions call for only part of the machinery. The name can bring in a graph immediately. Function application becomes relevant when the tree provides a functor and its argument. A linked contribution calls for a different combination. The reasoner’s opportunity to derive a fact depends on its rules and the content currently available.

Build semantic structure with actions

A Dynamic Syntax tree shows how a predicate and its arguments combine. A predicate is the part of the interpretation that attributes a property or establishes a relation. An argument is what the property or relation concerns. In the authors’ tree example involving John upsetting Mary, the predicate expresses the upsetting relation and the names provide the participants. A complete analysis must distinguish the participant responsible for the upsetting from the participant affected by it. That difference is part of the semantic structure that the tree is being built to express.

Dynamic Syntax trees branch in pairs. By the framework’s convention, an argument goes on the right and a functor goes on the left. The functor is the contribution that needs an argument to form its result. The parent can express what the functor and argument mean when put together. This arrangement concerns the semantic relationship between the daughters. The time at which a particular part of the tree becomes available depends on the words and on the actions the parser can carry out at that point.

In the framework’s original logical formulation, the nodes are decorated with types and formulas. A type specifies the kind of contribution a node makes. A formula provides the content that can be combined with other content. The type of an entity contribution is written as follows.

Ty(e)

Ty denotes a type annotation. The parentheses contain the type named by the annotation, and e is the type for an entity. A node bearing this annotation is specified as an entity contribution to the surrounding semantic structure.

A related notation lets a tree retain a requirement for an entity contribution while its development is still pending.

?Ty(e)

The initial ? marks an outstanding requirement. Ty introduces the type, and e inside the parentheses specifies the entity type that has to be supplied. The parser can thus record something about the contribution it needs before it has the words that provide it.

A pointer, shown as ♢, identifies the place in the tree currently under development. The diamond is a marker for where actions are directed. An intermediate tree consequently carries information about the interpreter’s current work as well as the meaning it has built. The parser can keep a requirement at one place in the tree while working on a contribution elsewhere.

The units that develop the tree are conditional procedures. Their condition asks whether a particular action is licensed by the current state. Their instructions specify what developments to carry out depending on the condition. The authors distinguish computational actions, which provide language-general ways of building semantic structure, from lexical actions, which are associated with particular input tokens and are language-specific. The framework can associate lexical actions with gestures as well as words.

A name can make linguistic content available through its lexical action. The ability to place or combine that content also depends on the tree structure that is present or can be built. Accordingly, the operations associated with a word and a general operation associated with the state of the tree can both matter to the next interpretation. The paper simplifies the example about John and Mary by leaving the computational actions out of the illustration. Its purpose there is to show how semantic contributions develop into a structure whose parts can compose.

The authors describe these actions as supporting monotonic tree growth. Along the development being followed, a requirement can be met and an open position can gain content. The information specified at an earlier stage can thus be carried forward and further developed. Grammaticality in Dynamic Syntax is defined through the success of this construction in context. A successful analysis uses the available contributions to satisfy the requirements of the developing interpretation.

That conception of grammar permits a partial tree to be meaningful. The tree after a name, for example, can already carry a contribution of the appropriate type for a participant. Whatever is currently unknown about the rest of the utterance can be recorded through outstanding requirements. DS–RDF uses this property by changing how the content of these tree states is expressed. Where an earlier version would calculate a logical or record-based description, this version needs operations that produce an RDF graph.

Make graph identity explicit

In RDF, a piece of information is expressed as a triple. It identifies what the assertion concerns, specifies a property or relation, and supplies the value or the other entity involved. A graph gathers such assertions around the identifiers they have in common. Several triples can therefore be relevant to a single node. A picture of a graph can present some of those assertions as decorations around that node to make the relationships easier to see.

The paper illustrates this convention with Jane. Its node depiction accounts for 3 triples. One supplies the label “Jane.” Another describes the node as an instance of schema:Person. The remaining triple marks the node as the current semantic head. The class annotation says what kind of thing the graph is describing. The head marker says what role the node plays when the graph is used as a semantic contribution in the parse.

The identifier of a node matters when two contributions have to refer to the same thing. The paper uses URIs for this purpose. The word “Jane” is a label associated with the person node, while the URI is what the graph operations use to recognise that node. An operation can therefore use a shared identifier to tell that two positions in the input graphs refer to a single participant or event. This is the mechanism behind both of the paper’s main examples of graph combination.

Each RDF graph used as a semantic contribution has a designated head. It corresponds to the type of the Dynamic Syntax node whose content the graph expresses. The paper refers to that point using the following notation.

G.head

G stands for the graph. The dot selects its designated component, and head names the node chosen for this purpose. The paper uses H in the graph illustrations to indicate a head. In the graph introduced for Jane, the designated node is the person referred to by the name.

The authors expressly use head in a semantic sense. Its job is to identify the node that matters to the operation the grammar is about to perform. This is especially useful when an argument graph already contains more information than the function needs to establish the connection. The operation can connect to the head and preserve the descriptive material that comes with the argument. The argument can therefore be handled as a whole graph with a known point at which to join other content.

The tree and graph make different aspects of interpretation available. A tree records the combination of typed contributions and the work still to be done in the parse. The graph shows the content those contributions supply, including which assertions concern the same entity. The RDF engine can work with graph facts. The grammar continues to use the tree, its requirements and its pointer to determine how subsequent input can be incorporated.

Apply the verb to the argument graph

Consider the paper’s example of Jane running. The subject contribution describes Jane. The intransitive verb contributes a running event and needs a subject to supply its participant. Dynamic Syntax can express that dependency with a functor that takes the subject as an argument. In DS–RDF, the object given to the functor is Jane’s graph, and the result is a graph that includes the verb’s contribution and Jane’s description.

The paper grounds this step in beta reduction, the ordinary operation of supplying a value to a function and evaluating its body with that value. In the original tree formalism, application combines meanings held at daughter nodes and determines the content and type at the parent. The graph version needs an account of what application does internally to the RDF content. It has to express the way the supplied graph is used when the verb’s body is evaluated.

For DS–RDF, the authors describe verbs, nouns and adjectives using functions over graphs. A function’s body supplies graph structure. The graph provided as the argument contributes its own structure. To combine them at the intended place, the body can use the head of the argument graph as a participant node. Application then joins the structures at that identifier. In the running example, the participant position in the verb’s body refers to the very node that is the head of the graph for Jane.

The point of the operation is easiest to see by considering what each source of information contributes. The verb supplies the event and its relation to a participant. The argument supplies the description of the participant. The two contributions meet at the designated person node. The relation from the event can now reach the same node that has Jane’s description, giving the output the connected structure required by the interpretation.

The result demonstrates why keeping graph identities explicit is worth the extra designation. If the graph for Jane and the participant reference from the verb were treated as independently identified entities, the description and event relation would end up concerning different nodes. The authors’ operation identifies those occurrences. The event itself has its own identity. It represents the running, while the shared participant node represents who is running.

This example concerns a verb with a single argument. It gives the reader a way to inspect the operation before dealing with the open object position in the drinking example. The general point is that a complete argument graph can be supplied as a semantic value. Its head lets a function pick the appropriate entity for a relation, while the application still has access to the graphs that furnish the surrounding descriptions.

Attach a modifier through a linked tree

The paper’s other main composition operation concerns constructions that use a linked tree in Dynamic Syntax. Such a construction temporarily directs processing to a separate tree. Its interpretation must share a term with the node in the original tree where the link was made. The framework uses this device for constructions such as relative clauses, adverbials and some elliptical contributions. Ellipsis is relevant here because a contribution can depend on material supplied elsewhere in the interaction.

A word such as “fast” in the example about Jane running supplies a way to describe an event already represented by the main clause. The grammar can develop the adverbial contribution in a linked tree and require its root content to share the event with the clause. Evaluating that linked tree gives the parser graph content about the event. The next operation integrates that graph with the content at the point where the link began.

With the earlier logical representations, the corresponding combination is conjunction. In Type Theory with Records, the paper identifies the analogous operation as meet. DS–RDF specifies a graph merge in which a URI shared between the input graphs identifies a node they have in common. The operation is asymmetric. Its direction affects which argument supplies the decorations of the resulting shared node. Using letters for the two input graphs, the operation can be written as follows.

L ∧ R

L is the graph on the left, and R is the graph on the right. The symbol ∧ denotes the merge. Nodes that have the same URI for the shared term coincide in the result. The decorations of the resulting shared node come from R, the right-hand operand. The URI establishes identity and the argument order establishes the source of the shared node’s decorations.

In the example, the shared node stands for the running event. The clause contributes an interpretation in which Jane participates in that event. The linked adverbial contributes a description of its manner. When the graphs are merged, there is a single event to which that information applies. A reader can trace the manner description to the same event that is related to Jane. The grammatical requirement to share a term gives the operation a particular event to use.

This use of node identification has a different grammatical source from the identification in verb application. A functor uses the head of a supplied argument to connect an entity to a relation. A linked tree develops under a requirement to share a term with a specified place in another tree. The merge then combines the meanings at that shared term. Both constructions benefit from a graph representation with explicit identities, while the grammar supplies the reason those identities are shared.

The asymmetry is a separate detail from the attachment of the adverb. The attachment follows from the shared event identifier. The asymmetric rule specifies where the decorations of the collapsed node come from once that identity is established. This gives the formalism a convention for handling two descriptions that meet at a node. The running example illustrates the intended manner attachment with a shared event.

Calculate meaning from an incomplete tree

After an input token, some parts of the Dynamic Syntax tree may have developed enough to combine, with other parts still represented by requirements. The authors call the content they wish to calculate from such a state its maximal semantics. The term refers to the semantic content available from the tree at that stage. A graph expressing it may have open descriptions where the grammar anticipates further material.

The authors propose giving undeveloped nodes underspecified RDF graphs of the appropriate type. By leaving out annotations on nodes in those graphs, the parser can represent an entity or position whose details have yet to be supplied. The type and the position explain what sort of information can develop there. The omission expresses the fact that the current state offers limited grounds for describing it.

The intermediate stage after the drinking verb illustrates what this buys. The contribution can establish an event and a participant even while the object description is still open. The interpreted prefix therefore has a structure in which an object can later be specified. When the speaker supplies “water,” lexical information can give content to that part of the interpretation. The manner contribution then has an existing event to describe.

This is a reason for using semantic underspecification as part of the interface to the reasoner. Explicit graph facts can already be available from the developed parts of the tree. When an annotation is still missing, a rule that relies on that annotation has to wait for its condition to be satisfied. A rule that relies only on established content can already be relevant. The balance between those cases changes as the utterance develops.

An underspecified RDF graph is also useful for understanding how the same parsing process can continue after the output graph has been inspected. The parser keeps its grammatical requirements. A separate component can inspect the semantic content available at that point. New words can still trigger actions on the tree and give a later evaluation additional content. Emitting the intermediate semantics is part of an ongoing parse.

Test whether a description can be developed further

The authors identify subsumption as another operation needed for the interface. The question is whether a representation can grow into another through a monotonic extension. In the paper’s direction of comparison, a description A subsumes a description B if A can be further specified to reach B. The less developed description can therefore stand in this relation to a richer one.

The authors relate this to the subtype operation in Type Theory with Records, which is read in the opposite direction. The notation for that corresponding comparison is as follows.

B ⊑ A

B denotes the richer description and A the description it further specifies. ⊑ is the subtype relation. The expression reads as “B is a subtype of A.” Read in the subsumption direction discussed in the paper, A is the description that subsumes B.

The RDF proposal is to compare graph structure with a suitable node-level test. For the structural part, the relevant graph is treated as a subgraph of the graph it can develop into. For the node part, corresponding nodes must support the appropriate relationship between their descriptions. Both parts matter when a relation is already present and an endpoint gains annotations. The relation can continue to hold in the richer representation, and the comparison of endpoint descriptions can recognise the new annotations as further specification.

The paper cites earlier uses of subsumption in generation and grammar induction. In generation, the relation can help check whether a partial meaning under construction can lead to the meaning to be expressed. In grammar induction, it can help relate less developed semantic states to fuller ones as part of analysing the contribution made by linguistic material. The RDF interface needs an equivalent operation to support such comparisons over graphs.

This operation has a different purpose from merge. Merge constructs a graph from contributions whose relation has been specified by the grammar. Subsumption compares representations in terms of possible development. One calculation answers what graph the contributions yield. The other addresses whether one description can be extended to another while preserving what has already been specified.

Derive implicit information from the graph

RDFox supplies the reasoning layer. The authors describe implementing this layer to use explicit graph information as the basis for logical inference. Its rules are expressed in Datalog. A rule can set out the facts that must hold for a conclusion to be derived. When a new piece of information becomes available from the parser, conditions that were previously unmet can become satisfied and the relevant conclusions can be made available.

This arrangement separates what the grammar contributes from what the domain knowledge contributes. For example, an utterance can specify an event and its participant. A rule can make some further assertion available when the requisite relations and descriptions are present. The derivation then depends on both the explicit graph and the rule. Its content can go beyond the semantic contributions supplied directly by the words without obscuring which of those contributions the inference required.

The paper appeals to prior work on incremental Datalog updates. The idea is to maintain the consequences of the rules in response to changes in known facts. An update can be handled using the part of the reasoning affected by that change, avoiding a fresh reasoning pass over the entire graph on every word. This property makes RDFox a candidate for the intended workflow, in which the parser can keep supplying new graph information while somebody is speaking.

Datalog rules also give a designer a place to put knowledge about a domain or about the speech a particular application needs to handle. Adding or editing a rule changes the conditions under which its conclusion can become available. The meaning expressed by the parser provides the facts to which those conditions apply. When a result needs investigating, the graph and the rule express different parts of the explanation. The graph helps account for what the system took the speaker to have conveyed. The rule helps account for the additional conclusion.

On the grammar side, the authors name DyLan, the existing Dynamic Syntax parser implementation, as the place where the interface can be integrated. On the reasoning side, they report working example parses with RDFox. The procedure as described uses grammar actions, graph-valued lexical material, operations on that material, and editable inference rules. Building a wide-coverage lexicon from existing resources is the stated next step for supplying more of the lexical material needed by the parser.

The discussion of linguistic resources gives that step a context. The authors describe WikibaseLexeme as aiming to align with lemon, which relates lexical information to ontologies and to the connection between syntax and meaning. They point to existing linked data and to anticipated linguistic material associated with Wikifunctions as resources a shared representation could make accessible. Their plan also includes changing the output structure to align with WikibaseLexeme. Common use of RDF makes the connection possible at the level of data format, while alignment would address the structures being exchanged. Wikidata

Experiments and results

The demonstration material

The evidence consists of worked sentences and the authors’ report that example parses run with RDFox. There is no corpus split, scored baseline, or benchmark metric. Each demonstration instead lets the reader examine a particular operation or follow how an interpretation is constructed. This places the reported result at the level of what the parser and graph interface can represent on the chosen inputs.

The sentence involving John and Mary shows a Dynamic Syntax tree being developed. Its role in the paper is to make the grammar’s treatment of a predicate and its arguments visible before the focus turns to RDF. The reader can see how the semantic contributions of the people and the verb belong to a single structure. The omission of computational actions simplifies the sequence. It leaves the example suitable for examining the organisation of the tree, with some of the parser’s work kept out of the illustration.

The drinking example follows the semantic output in RDF. At the first word the graph can express a person description. At the verb it can give information about the action before the object is specified. The word “water” adds that specification. The final adverb enriches the event description. The demonstration’s main result is the availability of an interpretable graph at each word boundary in this example. The graph for the finished sentence is one result in the series.

The graph that contains the verb and leaves the object open is especially informative. It shows the difference between the input already locating a role in the interpretation and the input supplying what fills the role. In this case there is a basis for representing a drinking event and for expecting a contribution that describes what is drunk. The parser can expose the first part of that content while preserving the distinction between an open object description and the one it gets from “water.”

The examples about running concentrate on smaller calculations. Verb application shows the identification of the participant node when an argument is supplied. The modified clause shows the use of a shared event to bring in manner information. Each has a concrete result the reader can inspect. In the first, the relation from the event leads to the person described by the subject. In the second, the graph content about speed describes the same running event that the main clause supplies.

The node count in verb application

The paper gives an explicit count for the running example. The composed graph has 2 nodes. It also mentions the count of 3 that would come from treating the argument head and its occurrence in the function body as separate. The quantity being compared is the number of nodes in this particular graph calculation. The paper uses it to explain the effect of identifying the shared participant.

Graph node count in the worked Jane-runs example

The application joins the participant occurrences at a shared node.

Graph node count in the worked Jane-runs exampleCounting participant occurrences as separate nodes: 3Counting participant occurrences asseparate nodes3DS–RDF after identifying the participant (this paper): 2DS–RDF after identifying the participant(this paper)2
The numbers
System or settinggraph nodes
Counting participant occurrences as separate nodes3
DS–RDF after identifying the participant (this paper)2

The comparison concerns the structure of the example, with the separate count serving as the alternative the authors explain in the text. It is not the output of a baseline parser. The lower count fits the intended interpretation because the two participant occurrences identify Jane. The criterion is successful identification of the participant in this example, so the count has no general implication that better semantic graphs contain fewer nodes.

The count of 3 triples illustrated at Jane’s node in the drinking example measures something different. It concerns the assertions used to depict the label, class and head status of a person node. The running calculation concerns how many distinct nodes survive application. Multiple assertions can continue to concern an identified node. It is the identity of that node that establishes how the participant information connects to the event.

The example with the adverb “fast” demonstrates another benefit of using identity explicitly. A graph that contains an event can receive additional content about that event from a linked contribution. The paper illustrates the shared term’s collapse during the merge. The observed outcome in the worked structure is a description of the running taking place in a particular manner, with the relation between the running and Jane preserved.

The scope of the implementation result

The paper reports both a reasoning layer built with RDFox and example parses working with the engine. The diagrams make the intended semantic structures available for inspection. The implementation report indicates that the graph representation can be used with the chosen inference component on examples. The paper leaves parser accuracy, inference accuracy and end-to-end processing time unmeasured. There are also no results from varying the coverage of the lexicon or the size of the rule set.

The Groningen Meaning Bank appears as a prospective evaluation resource. A meaning bank gives the parser a broader collection of semantic analyses against which its outputs can be examined. The authors identify work on the lexicon as a step toward such evaluation. Their proposed tests with domain-specific dialogue and with speech from people with dementia would extend the setting beyond the short illustrative sentences and connect the work to the conversational circumstances that motivated it. The paper reports these as future evaluations and gives no results for any split of those data. Evaluation and benchmarks

The results support a claim about semantic availability at identifiable points in the example utterance. They also show the intended outcome of two local graph operations, with the node count making one of those outcomes explicit. The report about RDFox extends the evidence to the feasibility of connecting example parses to an incremental reasoner. Whether the graphs or their consequences become available soon enough to improve participation in a conversation is an empirical question about the integrated system.

What the ablations show

The paper has no ablation study; its analyses trace changes across word boundaries and isolate verb application and modifier attachment in worked examples.

What each worked case isolates

The trace of the drinking sentence varies the amount of input available to the parser. After the name, the graph can describe a person. After the verb, it represents something about that person’s action while leaving part of the action description open. Later contributions develop the representation further. The value of tracing these stages is that a reader can see what the interpretation has already committed to and where more input is required. This is evidence about one development through a sentence, with successive states of the same analysis providing the comparison.

The verb application example holds the linguistic construction simple enough for the participant connection to be inspected directly. It shows the argument head and the function body meeting at a single identity. The component being illustrated is the convention that allows the body to refer to the head of the supplied graph. The intended outcome is that the event relation concerns the described person. The cited alternative count expresses the consequence of picturing the occurrences separately and has no associated parser run.

The example involving the adverb exposes a different point of dependency. The useful outcome depends on the linked tree sharing the particular event that the adverb describes. Once the shared term is established, the merge joins the descriptions at that event. This clarifies the contribution of the sharing requirement to attachment. The paper gives no set of competing attachment analyses on which to assess how the correct shared term would be chosen.

There is also an explanatory comparison among representational formalisms. An original Dynamic Syntax tree can calculate logical content by function application. Earlier work used record types and their own way of combining information. The paper invokes ordinary conjunction and the meet operation when it introduces graph merge. These comparisons identify corresponding roles for the operations. They supply a rationale for the RDF definitions and leave relative coverage and performance open.

What the inference discussion adds

The reasoning layer is treated separately from the operations that supply the explicit graph. The parser has to establish the facts present at a point in an utterance. A rule can then make inferential use of a subset of those facts. If a required fact becomes available only after another word, that change affects when the rule can contribute. This explains how the design could support incremental inference even when the conclusion is absent from the semantic contributions of individual words.

An experimental comparison of reasoning strategies could hold the incoming graph states fixed and examine how two approaches respond to the same updates. The paper instead points to earlier work on incremental Datalog processing and reports examples integrated with RDFox. Its evidence supports the proposed location and role of reasoning in the architecture. It leaves the processing cost of maintaining consequences in these parses, and the consequences of changing the rules, outside the reported analyses.

Likewise, the examples separate questions that a broader evaluation would have to connect. Verb application is concerned with linking a participant to a predicate. Modifier attachment is concerned with carrying a description to an identified event. Partial interpretation is concerned with the graph already justified at a word boundary. An experiment that removed one of these mechanisms would need an outcome sensitive to its purpose. The examples give an account of those purposes and show the individual operations on the selected inputs.

Limitations

Limits identified by the authors

The authors describe the work as preliminary and the implementation as ongoing. The examples mark the extent of the implementation evidence they report. They plan to release DS–RDF as open source as development proceeds. At the stage described in the paper, the contribution is a set of operations for an interface, worked illustrations of those operations, and example parses that work with the reasoning engine.

Lexical coverage is a stated development task. A lexical entry in Dynamic Syntax affects what an input token can contribute and what actions it triggers in the tree. Extending coverage therefore means acquiring entries that supply both useful content and the operations needed to incorporate it. The authors want to bootstrap a wide-coverage lexicon using existing resources. The paper presents that as work ahead of broader evaluation. The examples establish what can happen when the required entries are available for the chosen sentences.

The alignment with WikibaseLexeme is also prospective. The authors intend to adapt the parser’s output structure to that resource so that integration with future Wikifunctions becomes possible. This plan distinguishes compatibility at the level of a shared data framework from compatibility in how the graph is structured. Agreement on the format gives both sides a way to express data. To use a particular resource, the output also needs to represent the relevant information in the way the resource expects.

The planned empirical work addresses several different settings. The Groningen Meaning Bank would broaden the range of utterances and analyses available for assessment. Domain-specific dialogue would bring the inference architecture into contact with the sort of local knowledge that motivates its rules. The corpus being collected with people with dementia would bring attention to speech in one of the groups the authors discuss. All are described as future work. The report establishes the motivation for collecting evidence in these settings and gives no estimate of performance there.

Limits of the evidence

The clearest empirical gap concerns the connection between the examples and the conversational events in the introduction. Each worked sentence can be analysed as a straightforward development. A restart may instead leave information whose status changes once the speaker has started again. A self-correction may also affect conclusions already derived from the material being corrected. The graphs in the paper show developing content for the ordinary cases. The coordination between a repair in the parser and the status of earlier facts and deductions in the reasoner is left open in the demonstrated pipeline.

This matters because a representation can be internally coherent at the time when it is produced and later cease to be the interpretation on which a response should rely. An earlier graph might reflect what the person appeared to say before making a correction. If deductions had already used that graph, the system would need to determine which deductions were still supported. The paper motivates incremental processing partly through these situations. It demonstrates the growth and combination of graph content, with no corresponding trace of how the integrated components handle the consequences of repair.

There is a similar gap for utterances assembled across speakers. A partial semantic contribution supplies a possible basis for understanding a continuation. A dialogue system would also need to identify when the continuation belongs with that contribution, what its speaker is doing by supplying it, and whether the timing warrants a response. The paper’s linked tree mechanism is relevant to some elliptical phenomena. Its examples stop short of tracking the application of the resulting graphs through a multi-speaker exchange.

Ambiguity is another question raised by the setup. In the adverbial example, the running event is available as a clear shared term. More than one event could be available in a fuller contribution. A system would then need grounds for the particular identity it assigns to the shared term. The graph merge specifies the consequences of a sharing decision once that decision has been made. The paper gives no measurements of the parser’s ability to make it across ambiguous inputs or of what happens when subsequent input favours a different attachment.

The treatment of subsumption specifies a structural idea and calls for appropriate subsumption operations at corresponding nodes. A complete comparison procedure would need to make the node-level criteria explicit for the kinds of graph descriptions the implementation uses. Those criteria would determine how a partially developed description can count as compatible with a richer one. The paper establishes the direction and purpose of the comparison. Its examples leave the practical behaviour of that comparison in generation and grammar induction untested.

Incrementality itself describes the granularity and order of processing. The graph output is meant to be available after successive words, and the engine is intended to keep consequences current as facts change. Real-time performance in use also depends on how long these operations take with the relevant grammar, graph and rule set. The paper gives no elapsed times for its own examples and no end-to-end measurements connecting graph availability to the timing of a conversational action.

Finally, the ability to edit a rule addresses a question of control. It makes the conditions for an inference available for inspection and modification. Establishing the appropriateness of the inferences would require evidence about the rules, the utterances to which they are applied, and the place of their conclusions in a response. A rule that derives useful information about a partial turn gives a system a resource for deciding what to do. Tests of interaction would have to establish when using that resource helps, particularly in the group of conversations that the authors use to motivate the work.

What came after

Tracking goals across speakers

The later work on multi-party goal tracking cites DS–RDF and takes goals in a conversation with several participants as its subject. This shifts the unit of interpretation. In the earlier paper, the worked examples ask what entities, events and relations a particular utterance has made available. Goal tracking asks what the contributions to a conversation reveal about an objective being pursued. The multiparty setting makes the relationship between a contribution and its speaker relevant to that interpretation. A new turn can supply information about a goal across an exchange rather than about the object of a particular verb. Multi-party goal tracking

The connection is the need to carry forward an account whose content can develop with the conversation. In DS–RDF the growth is shown at word boundaries and expressed through changes to a semantic graph. In goal tracking, the subject of the evolving account is what participants want to accomplish. The citation and topic establish that relationship at the level of the research question. They leave the use of Dynamic Syntax, RDF composition or Datalog inference unspecified.

Taking interruption as the subject of study

“You Have Interrupted Me Again” cites the paper and foregrounds an interactional event that Addlesee and Eshghi used to motivate incremental interpretation. Interruption calls attention to the precise point reached in an unfinished contribution. That point matters because the material available to the listener depends on how far the speaker had proceeded. The earlier paper asks how interpretation could already be present in a machine at such a moment. It illustrates the idea by exposing a partial meaning along with the possibility of further semantic development. You Have Interrupted Me Again

The later title places the experience of being interrupted in the foreground. The earlier proposal addresses an enabling condition for action during a turn, namely that some meaning should be accessible before the speaker has finished. Interruption also raises a question about when acting on that available meaning is appropriate. The citation connects the studies through that timing problem. The specific role, if any, of the earlier parser or its inference rules in the later work remains unspecified.

Cite

Cite as Angus Addlesee and Arash Eshghi. 2021. Incremental Graph-Based Semantics and Reasoning for Conversational AI. Proceedings of the Reasoning and Interaction Conference (ReInAct 2021).

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

@inproceedings{addlesee2021incremental,
  title = {{Incremental Graph-Based Semantics and Reasoning for Conversational AI}},
  author = {Angus Addlesee and Arash Eshghi},
  booktitle = {Proceedings of the Reasoning and Interaction Conference (ReInAct 2021)},
  year = {2021},
  url = {https://aclanthology.org/2021.reinact-1.1/}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/addlesee-2021-incremental-graph-based-semantics-reasoning/