QUINT: Interpretable Question Answering over Knowledge Bases
Paper · 2017 · Abdalghani Abujabal, Rishiraj Saha Roy, Mohamed Yahya et al.
Summary
A factual answer can look plausible even when it answers a different question from the one the reader intended. Ask where Martin Luther was raised, and QUINT returns Eisleben. The explanation shows that QUINT chose the Freebase entry for the theologian and treated being raised somewhere as being born there. A lower-ranked interpretation treats the same wording as a question about where he lived and returns Saxony-Anhalt. The paper presents QUINT as a working demonstration of how a system can expose these choices during question answering.
QUINT learns reusable templates from questions paired with their known answers. For a training example, it looks for connections between the entities mentioned in the question and an answer in Freebase. It turns those connections into a provisional query and aligns parts of the question with parts of that query. The resulting template retains the structure of the question, the structure of the query, and the links between them. When a new question has a matching structure, QUINT fills the query with entries for its particular entities, relationships, and any applicable answer types. It ranks the resulting queries and retrieves answers from Freebase, a knowledge graph.
The interface offers two levels of explanation. A brief view shows how phrases were interpreted, so a reader can spot a person or relationship that differs from what they meant. A detailed view shows the grammatical analysis, the matched template, examples that contributed to the template, and the query that retrieved the answer. Readers can also inspect answers from lower-ranked queries. When QUINT cannot interpret a phrase or find a matching template, it can ask for a reformulation.
The demonstration uses examples to show what this access buys a reader. A question about Germany’s former currency produces the euro at the top, while a lower-ranked query uses the relationship for currencies formerly in use. A question about the colleges Michelle Obama attended illustrates a different issue. Adding an answer-type condition narrows the returned institutions to the intended category. These cases show how to distinguish failures of interpretation, query construction, and ranking. The paper gives a walkthrough of those behaviors and names the training configurations available in the interface. It reports neither aggregate benchmark scores nor a study of whether readers diagnose errors more successfully with the explanations.
Deep dive: QUINT: Interpretable Question Answering over Knowledge Bases
QUINT answers questions over Freebase and shows how it turns each question into a query, so readers can inspect where an answer came from. · about 33 minutes to read
The problem and its context
A short answer can hide a long chain of decisions
The task starts with a question in ordinary language and ends with a specific answer or set of answers retrieved from a structured collection of facts. A graph represents things such as people, places, and institutions as nodes. Relationships connect nodes, and type information can identify the categories to which a node belongs. A query asks for entries that satisfy a pattern of connections and conditions. The question arrives without that pattern spelled out. Translating the question into a formal expression that can be executed is the job of semantic parsing.
A user may know what a question means without knowing how the same information is recorded in a graph. Ordinary phrases and database relationships have different jobs. The phrase a person chooses can encompass several related ideas, whereas the query has to name a specific relationship. A proper name may be shared by multiple entries, each with its own connections. A category such as college may also have to be expressed using a type whose name differs from the user’s words. By the time the database receives the query, those decisions have already been made.
The Martin Luther example gives a compact view of the issue. The name invites a decision about which person is meant. The wording about being raised invites a separate decision about what connection to a place would answer the question. Resolving the person correctly leaves the relationship open. Conversely, a query can use the desired relationship with the wrong person. An answer consisting of a place name can look equally tidy in either case. The user sees the outcome of all the choices at once and has little basis for identifying the decisive one until the system displays how it interpreted the question.
The authors present this as a practical concern because errors can originate at several points. A collection of facts can be incomplete. The resources that connect phrases to graph entries can lack expressions the user happens to choose. A system can choose the wrong entity for a name or rank a plausible query above a more suitable one. These issues have different consequences for a user attempting to recover an answer. A clearer name may help when the wrong person was selected. Explicit wording about residence may help when the chosen relationship concerns birth. A missing fact in the graph presents a different problem, even if the query expresses exactly what the user asked.
The paper uses the term explanation for access to the derivation. The person reading it can check whether the steps agree with their intent. A technically proficient reader can use the same record to identify a stage worth investigating, such as the alignment between the sentence and the template or the grounding of a phrase in Freebase. Both uses depend on preserving intermediate decisions so that the answer is traceable. This is the paper’s practical meaning of interpretability.
Earlier approaches as the authors describe them
The paper places QUINT alongside systems that produce formal queries, including systems that run SPARQL over knowledge bases such as Freebase and YAGO. A formal query lets the database do the work of finding matches. The authors focus on what happens before execution. If the query is available, a technically skilled reader may be able to read the relationships it contains. To understand why the system used those particular relationships, the reader still needs to know which parts of the question contributed them. A query and a map from the question to the query offer different information. The paper situates its account of the task alongside early work on question–answer supervision, including Semantic Parsing on Freebase from Question-Answer Pairs.
The authors describe earlier template-based approaches as relying on manually specified patterns or rules. A template records some recurring structure, so it can generate a query for expressions that fit it. A fixed inventory depends on the people writing it anticipating the kinds of questions users will ask. An unusual formulation can fall outside that inventory even when the graph contains suitable facts. QUINT obtains its patterns from examples of questions and answers. This moves the work of identifying recurring structures into training and makes the examples that produced a pattern available for inspection.
The paper also describes approaches that represent questions and graph material in a shared numerical space. They can use that representation to find relevant entities or subgraphs. The difficulty the authors identify concerns explanations at the level of individual phrases and graph items. When there is no explicit semantic expression produced on the way to an answer, there is less structure to show a reader who wants to check what happened to a particular phrase. The authors’ discussion concerns the granularity of the explanation available from those approaches.
A further group of systems generates several plausible queries for a question. This makes it possible to consider alternatives before choosing an answer, but an inventory of queries by itself supplies little information about which words led to their individual parts. The paper characterizes earlier candidate-generation approaches as lacking the fine-grained correspondences QUINT is designed to preserve. One of the approaches it discusses is Semantic Parsing via Staged Query Graph Generation.
QUINT combines candidate generation with an explicit connection between grammatical and query structure. Its templates can assign a span the role of an entity, a relationship, or a type, and can record where that span acts in the query. This representation supports reuse during answering and inspection afterwards. The demonstration paper’s contribution is to put those operations in an interface where readers can see them working together. Its concern is how a system can make its interpretation visible while still doing the underlying work of answering a question.
The method, step by step
Learning a pattern from a question and its answer
QUINT has an offline training phase and a phase for answering new questions. The training inputs include ordinary questions and the sets of graph entries that count as their correct answers. During answering, the system has the new question and must produce its own candidates. This difference gives the known answer a particular role during training. It serves as an endpoint in the graph from which QUINT can work backward toward an explanation of the question.
Take the training example about where Obama received his education. The associated answers are ColumbiaUniversity, HarvardUniversity, and PunahouSchool. The paper walks through the construction using ColumbiaUniversity. QUINT starts by identifying the person named in the question. With a graph entry for Barack Obama and the known answer entry for Columbia, it can examine the connections that bring those entries together. This supplies a starting point for a query about educational institutions.
The graph alone would supply a connection without telling the system which words expressed it. The sentence alone would tell it something about grammatical structure without specifying the Freebase relationship. QUINT brings these descriptions together. On the sentence side, it works with a dependency parse, which represents grammatical relationships between words or units in the question. On the query side, it works with a graph pattern. It then finds an alignment that identifies which parts of the grammatical structure supply particular query items. The representation of the sentence comes from dependency parsing.
Once the alignment is in place, concrete values can be removed to create a reusable pattern. A name becomes a position that can take another entity. An aligned relationship becomes a position that later wording can use to introduce a suitable predicate. The syntactic connections and the positions they occupy in the query template survive this generalization. The same pattern can then help generate a query for a question about a different topic if the new wording has the requisite structure.
How QUINT learns, applies, and explains query templates
The steps in order.
Finding entities and constructing a provisional query
The paper denotes the collection of training utterances and a question drawn from it as follows.
u ∈ U
The symbol u stands for an individual utterance. The capital U is the collection of training utterances. The membership sign ∈ says that the utterance belongs to that collection. Each training utterance has a corresponding set of correct answers, called gold answers because they are supplied as the target for training.
For any such question, the system can use an answer entity from the associated set.
a ∈ Aᵤ
The symbol a is an individual answer entity. The capital A with subscript ᵤ denotes the gold answer set for question u. The membership sign again indicates that the answer entity belongs to the specified set. ColumbiaUniversity is the particular value of a used to illustrate the procedure for the Obama question.
QUINT first uses AIDA to detect references to entities and identify corresponding Freebase entries. Detection establishes which words mention an entity. Disambiguation chooses an entry when a mention can plausibly refer to more than one. In the training example, this step gives the graph search an entry for Barack Obama. The operation exemplifies the distinction between recognizing a stretch of text as a name and identifying its referent in a knowledge base after named entity recognition.
For each gold answer, QUINT seeks the smallest subgraph containing that answer and all the question entities it detected. A subgraph is a piece of the larger network. Here it supplies a route from the entities already named in the question to the entity it is supposed to retrieve. The answer constrains the search because the provisional structure must reach it. If several relationships or routes could be involved, the procedure starts from the idea that a compact connection is a reasonable candidate for the question’s meaning. The authors describe this construction as heuristic.
Next QUINT adds the type nodes connected to the answer. In the displayed example, the candidate graph for Columbia includes Organization and EducationalInstitution. At this point those categories are available for alignment with the question. Their availability and their eventual inclusion in a template are separate decisions. Augmentation brings the type information into consideration. The later alignment determines which of the proposed items the wording supports.
QUINT then turns the graph fragment into what the paper calls a backbone query, denoted q̂. This symbol refers to the provisional query derived from the graph fragment. The selected answer node becomes a variable. A variable marks a position whose value can be filled by matching the query against the graph. This change is what lets the query seek suitable institutions rather than specifying ColumbiaUniversity in advance. The example began with Columbia as evidence about query structure, and that evidence can now support a query whose answer position is open.
The construction also replaces any Freebase compound value type nodes, called CVT nodes in the paper, with distinct variables. The purpose of these nodes in Freebase is to represent relations with several participants or values. They provide an intermediate point that can connect adjacent parts of a graph pattern. A variable at that point allows the query to find a suitable intermediate value during execution. The answer variable and the intermediate variables serve separate purposes. The answer variable identifies the result the user requests. An intermediate variable holds together pieces of the pattern needed to reach that result.
In the Obama example, the backbone displays an education connection from Barack Obama through an intermediate variable and an institution connection toward the answer. It also displays type information attached to the answer position. This makes the construction more than a pairing between the name Obama and the name of a university. It describes a pattern of relations whose query can find entities occupying the same position that Columbia occupied during construction. Some details of that provisional pattern may still be discarded before the template enters the repository.
Aligning words with what the query does
QUINT needs resources that propose how words can be expressed using the vocabulary of the knowledge base. It uses a weighted predicate lexicon, Lₚ, and a weighted type lexicon, L꜀. In these names, L denotes a lexicon, P refers to predicates, and C refers to the category or type entries. A predicate is a named relationship the query can use. A type is a category that can constrain an entity in the query. A weighted lexicon supplies candidate connections between wording and graph vocabulary along with weights that can guide selection. Entity linking is handled separately through the recognition and disambiguation procedure.
These resources help QUINT decide where language and graph structure meet. A predicate typically occupies an edge in the query pattern. An entity or type can occupy a node position. The text expressing one of these items can include more than one word. For instance, the detailed walkthrough groups the auxiliary and main verb in the phrase about being raised. That group aligns with a predicate slot. The person’s name aligns with an entity slot. The grouping matters because the syntactic units available to the query need not be single words or contiguous pieces chosen in isolation.
The paper denotes the chosen alignment by m. It is a set of correspondences between components on the dependency side and components on the query side. QUINT obtains it by solving a constrained optimization problem with integer linear programming. In this setting, optimization chooses an alignment from the admissible possibilities. The constraints govern which choices can coexist, and the solver selects the preferred alignment according to the optimization formulation. The demonstration paper identifies the formulation and solver approach without giving their individual constraints or an objective equation.
The solver’s output indicates which tokens give rise to graph items in the backbone. QUINT prunes the structures using that result. Dependency nodes outside the alignment are removed from the question structure. Query nodes and edges outside the alignment are removed from the backbone. In the Obama construction, EducationalInstitution is one of the proposed nodes that gets dropped. Its connection to the answer in Freebase made it available for consideration. Its absence from the retained pattern shows that graph adjacency alone does not settle what the question expresses.
This pruning step helps explain why QUINT can learn from an answer even though that answer has many descriptive facts around it. The construction starts with a connected fragment and supplements it with type information. The alignment then restricts what it carries forward. In the resulting representation, the presence of a slot means there is a correspondence to preserve. In an explanation, those retained correspondences give the reader specific claims to check against the wording.
The distinction is also useful when a word has apparently disappeared from the interpretation. A dependency parse describes the input question, and the matching template selects what matters to the query it generates. Showing the parse and the template makes it possible to ask whether a qualifier was available in the sentence and whether the query pattern gave it any role. The method thus supplies a way to distinguish a discrepancy in the grammatical analysis from a loss in the mapping to the query, when the displayed derivation contains enough information to locate that discrepancy.
Generalizing the aligned structures
After pruning, QUINT removes concrete values from the retained utterance and query structures. The paper denotes the resulting pair as follows.
(uₜ, qₜ)
Here uₜ is the utterance template, a reusable dependency pattern. The symbol qₜ is the corresponding query template, a reusable SPARQL pattern. The subscript ₜ marks both as templates. The parentheses and comma group the two members of the pair. Their alignment gives positions on the utterance side corresponding positions on the query side.
The utterance template records a structure that can recur with new words. In the illustration, W marks a word placeholder. The query template records positions for graph items, with labels for entities, predicates, and types. Shared indices show how the placeholders on each side correspond. A query slot can be associated with a group of word positions. The detailed example uses this convention to make visible how the verb and its auxiliary can participate in filling one predicate position.
On the utterance side, abstraction makes matching depend on more than whether the same topic words recur. The education example and the question about where Riddell Helmets are manufactured appear as contributors to the pattern applied to Martin Luther. The subjects and relationships vary across the instances. Their relevance to the later interpretation comes from the shared grammatical structure and its correspondence to a query pattern. This gives a reader a concrete way to understand what the template has generalized.
QUINT stores the pairs in a repository denoted T. The procedure repeats across training instances. The authors expect recurring structures to keep the template inventory much smaller than the training collection. They express the relationship with cardinality notation.
|T| ≪ |U|
The vertical bars around a collection indicate its size. T is the repository of templates, and U is the set of training utterances. The sign ≪ expresses that the template repository is much smaller than the utterance collection. The inequality is the paper’s description of the effect of structural repetition. The demonstration does not give repository sizes for the available training configurations.
The resulting inventory preserves the structures QUINT can subsequently recognize and the query forms those structures can produce. It also supports the interface’s provenance view. This view shows examples associated with the selected template. A reader can see how a particular pattern has been used before and compare the new question with those instances. The provenance is about the origin of the template. The database matches behind a new answer come from executing the query for that new question.
Applying templates and ordering the resulting queries
The paper uses u′ for a new question. The prime marks an utterance being answered after training. QUINT parses the utterance and compares the grammatical structure with the utterance templates stored in T. When a pattern matches, the paired query template supplies a candidate structure to fill. The shared alignments determine where text from the new question contributes a graph item. The available lexical mappings supply candidates for the predicate or type slots, and the entity machinery supplies entries for mentioned entities.
A template match settles only part of the interpretation. It can identify the predicate position and the wording that belongs there, while leaving open which of several Freebase relationships is the best choice for that wording. In the Martin Luther example, the same general verbal material supports candidates that use a birthplace relationship or a residence relationship. At the structural level, either can fit the role assigned by the template. At the level of the user’s intent, the distinction changes the answer.
The training phase also fits a query-ranking function. The paper describes a learning-to-rank setup with a random forest classifier that learns a preference between queries for a given utterance. A random forest combines decisions from a collection of decision trees. A decision tree uses a succession of tests to make a prediction. In QUINT’s setup, the learned preference helps order candidate queries that have already been constructed. A candidate must exist before the ranker can put it ahead of another one.
Freebase supplies the answers by executing the instantiated SPARQL query. The answer takes the value or values found at the designated answer position. The paper uses ?ANS for that target and ?VAR for intermediate join positions. In SPARQL notation the question mark indicates a variable, and the rest of the label identifies its role in the illustration. A join makes adjacent conditions share a value, so separate pieces of a graph pattern can contribute to the same match. Those shared positions make a chain of relations executable as one query.
The highest-ranked candidate provides the main answer displayed to the user. The interface can also show the answers for a chosen number of the highest-ranked queries. The paper uses k for that number in its description of the top candidates. Each retained candidate has a place in the ranking and can have its own answer set. When applicable, the interface accompanies an answer with a picture, a Wikipedia reference, or a short description from Freebase. These materials help a reader recognize the entity. The query derivation explains why it appears in that particular tab.
Showing the derivation at two levels
The brief explanation gives readers a way to compare their own understanding with QUINT’s choices. They can see that the person’s name resolved to a particular Freebase entry or that an expression about being raised led to a birthplace predicate. This view uses the results of the alignment and grounding stages to answer a practical question. Did QUINT attach the intended meaning to the words that mattered?
The detailed explanation starts with the dependency analysis of the input. It then shows the matched utterance and query templates together. A reader can follow their shared indices from word positions to graph positions and can open the provenance view to see training examples. The detailed display ends with the executed query and an alignment table showing the actual Freebase items chosen. This sequence lets a technically proficient reader follow the same transition the system made from the new sentence to an executable graph pattern.
The two views also offer different levels of detail about the same result. A reader checking whether Martin Luther was the intended person may need only the brief view. Someone investigating how the query obtained a predicate can inspect which positions went into the aligned phrase, how the template represented them, and which predicate filled the slot. Selecting a lower-ranked tab connects the alternative answer to its own derivation. The displayed difference between answers can then be traced to a difference in the query.
The paper describes two points at which the interface can ask for a reformulation. A particular phrase may lack an interpretable link to a graph item, or the system may fail to find a template for the input structure. These outcomes correspond to different parts of the procedure. The first can lead the interface to identify the phrase that caused the problem. The second produces a request to reformulate the question as a whole. The authors present these prompts as an initial form of interaction that can help the user make another attempt.
Experiments and results
What the demonstration evaluates
The paper presents a live system and works through examples of its behavior. The available offline training configurations come from the training portions of WebQuestions and Free917. Each configuration includes its own learned templates and query-ranking function. The user can choose between them and can also choose whether to include an answer-type constraint, how many ranked queries to display, and the number of decision trees used in ranking. These are settings exposed by the interface. The paper gives no test split sizes, benchmark scores, or results comparing the configurations.
The earlier approaches discussed in the paper establish the context for the design. They are not run as numerical baselines in the demonstration. There is no reported accuracy, precision, recall, or F1 comparison. The observations are at the level of individual questions and their answers, including whether an intended interpretation appears farther down the list, whether a type condition changes the result, and whether a user gets a request to rephrase. The result for a question may be one entity or several. In each case the paper describes the query decision that led to it.
The worked examples show capabilities of the interface that an answer score would leave implicit. A reader can open an alternative and see which predicate makes it an alternative, rather than merely see an additional entity name. A reader can examine whether a question’s type term was carried into the query. A failure message can distinguish the absence of a usable phrase mapping from the absence of a compatible template. These are demonstrable outputs of the system. The walkthrough does not count how often each one occurs across a collection of test questions.
A birthplace query and a residence query
The paper’s main example begins with a question about where Martin Luther was raised. QUINT identifies the theologian and uses placeOfBirth in the highest-ranked query. The answer is Eisleben. The next query the paper discusses uses placesLived and returns Saxony-Anhalt. The displayed ranking measures the ranker’s ordering for that question. A higher position indicates which interpretation the system prefers. Judging which answer fits depends on the meaning the person intended.
Query ranks in the Martin Luther demonstration on Freebase
QUINT ranks the birthplace query ahead of the residence query.
The numbers
| System or setting | Query rank |
|---|---|
| QUINT birthplace query, Eisleben (this paper) | 1 |
| QUINT residence query, Saxony-Anhalt | 2 |
Both choices use the same person in the example. The predicate change accounts for the difference between the birthplace and residence results. The explanation also indicates that the person’s name had other possible referents, including a German diplomat with the same name and Martin Luther King. Those possibilities illustrate a separate point of ambiguity. The comparison between the displayed ranks concerns the relationship, with the theologian held as the referent in the two interpretations discussed.
The authors describe reformulations that address the two choices independently. Naming Martin Luther King more explicitly leads to Atlanta when QUINT uses the birthplace interpretation. Wording the question about the theologian explicitly in terms of where he lived leads to Saxony-Anhalt. These examples show that changing what the question makes explicit can affect the identity or the relationship QUINT selects. They also show why it is useful to inspect the links in the first answer before deciding how to revise the question.
The detailed view of the original wording identifies what was used to fill the two roles. The dependency display shows the verb, its auxiliary, and the name. The matched pattern gives the verb phrase the predicate role and the name the entity role. The query and alignment table then identify the actual Freebase items. The provenance screen shows that questions about Obama’s education and the manufacture of Riddell Helmets helped produce a usable structural pattern. The demonstration thus connects a ranked answer to the exact slots and values that brought it about.
Recovering an intended interpretation from lower ranks
The question about Germany’s former currency has a more explicit qualifier than the Martin Luther question. The top answer is Euro. The authors explain that the alignment in the matching template misses the meaning carried by former, and the selected query uses currencyUsed. The query for the intended historical relationship uses currencyFormerlyUsed. It can be found among the top-5 queries shown for the question and returns DeutscheMark, GermanRentenmark, and GermanPapiermark.
Here the cutoff refers to the position of an alternative among the queries available for inspection. The paper does not specify the alternative’s exact position within that group. The displayed failure is at the top of the ranking, while the desired predicate is present in the candidate list. A user who sees only the principal answer gets the euro. A user who inspects more queries has a way to find the historical interpretation and verify the predicate associated with its results.
The authors’ diagnosis links the error to both what the top query expresses and how the candidates are ordered. The top derivation shows why that candidate has the wrong temporal scope. The alternative shows that QUINT can produce a query with the requested historical relationship for the same input. The single question therefore illustrates why answer retrieval from the top candidate and coverage of a suitable interpretation in the displayed list are distinct outcomes.
Changing the type condition and recognizing unsuccessful inputs
The question about which college Michelle Obama attended supplies the result of changing a query setting. The expression college is mapped to the Freebase type University. With that condition included, the desired result is HarvardLawSchool and PrincetonUniversity. The paper contrasts the specificity of this wording with a broader question about where she studied, which could also admit a high school. It does not enumerate the unfiltered answer set for the college question.
This example shows the interaction between the wording and a query restriction. The user asks for an institution of a certain kind, and the system can carry that category into the executable expression. The answer continues to depend on the education-related connections and also has to satisfy the type condition. The demonstration gives the names returned for the type-constrained case rather than a numerical estimate of the effect of answer typing across either training collection.
Other examples concern failures that occur earlier in the procedure. QUINT cannot interpret euro-union in a question about member countries, because that expression is missing from the resources it uses to link wording to graph items. The system identifies the problematic phrase in its response. In a separate case, it interprets the word English in a question about language classification as England. The reader can see the wrong entity in the brief explanation. The authors suggest spelling out English language as a possible repair.
A question about Germany’s capital during the forties produces a failure to find a matching template. The interface asks for a reformulation, with no specific phrase singled out as in the euro-union case. Together the examples document different observable results from the live system. One input leads to a targeted phrase prompt, another produces an answer under a mistaken entity link, and another fails at template matching. The paper illustrates the distinctions with cases instead of measuring their frequency.
What the ablations show
The paper reports no systematic ablation study. It offers a comparison with and without an answer-type condition, inspection of alternative ranked queries for the same input, and case analyses that locate failures at different stages.
Answer typing changes what qualifies as a result
The Michelle Obama example is the closest comparison to switching a component off and on. The user’s question includes a category. QUINT can map the category to University and can include that type in the query. The authors report that the desired set appears when the condition is added. For this question, the comparison establishes a concrete effect of carrying the type interpretation into execution. Knowing the type mapping matters because it can change which entities qualify.
The condition applies at the answer position. The education relationship can produce candidates connected with Michelle Obama, while the type requirement restricts which of those candidates satisfy the whole query. The intended restriction originates in a word in the question. This lets a reader account for the change in the retrieved set by pointing to a specific constraint and the span it represents. It also demonstrates why the interface exposes the setting. A user can inspect the contribution of a type that is available to the query.
The reported observation is local to the worked question. The paper supplies the desired set for the enabled condition and says the constraint is needed to obtain it. It gives no complete list for the disabled condition and no counts of other questions helped or harmed. Across a larger collection, the effect would depend on whether a type expression was identified, whether the chosen graph type captures it, and whether the graph records the relevant categories for the answers. The demonstration directly shows one successful use of the restriction.
Query inspection separates candidate availability from selection
The Martin Luther example holds the original wording fixed and examines the results of different ranked interpretations. The birthplace and residence alternatives both give identifiable answers, and their derivations reveal why the results differ. Looking at the relation label makes the comparison more informative than receiving a second answer without explanation. A reader who meant residence can identify the suitable interpretation by its relation and distinguish it from the one selected first.
The historical currency example shows a more definite ranking mistake. The question contains a temporal qualifier, and the query using the historical currency relation occurs in the displayed group. The top query uses the other relation. Inspection therefore shows that, for this question, making a suitable candidate available was insufficient to return a correct top answer. It also provides evidence about what the top derivation missed. The temporal qualifier had no effective role in the alignment that produced that result.
The scope of this comparison is important. The paper shows the existing candidates and their order. It gives no counterfactual ranker, score decomposition, or measurement of how an alternative ranking method would perform. The evidence supports a diagnosis of the visible outcome. It shows where the desired interpretation is in relation to the selected one and how the two queries differ. It does not identify the individual tree decisions that gave one candidate priority.
The reformulations in the Martin Luther walkthrough intervene on the input rather than the ranker. An expanded name changes the evidence for an entity link. Wording the relationship more explicitly changes the evidence for a predicate. Each edit is motivated by what the explanation revealed. The cases demonstrate that a derivation can guide a focused reformulation, followed by an observable change in the result. There is no corresponding evaluation of how frequently readers would find an effective edit unaided.
Case analysis locates failures at different stages
The examples involving euro-union and English both involve interpreting text as graph vocabulary. They expose different outcomes. The former is a case where a usable mapping is missing and the system can point to a phrase it failed to interpret. The latter is a completed mapping whose result conflicts with the intended entity. The interface can display England and let the user identify the mismatch. A message about a missing mapping and a derivation with a wrong mapping support different diagnoses.
The question about Germany’s capital in the forties exposes template coverage. Its relation to the lexicon case is easiest to see by following the answering procedure. A compatible syntactic pattern provides the query form and the roles for phrases. A lexicon helps fill the roles after the relevant structure is available. In the capital example, QUINT reports that it could not find a pattern for the question. In the euro-union example, it identifies text it cannot interpret. The authors use the cases to give a reader access to the stage at which progress stopped.
The prototype’s detailed provenance view provides another kind of analysis. The worked instance connects the selected structural pattern to training examples from different subjects. This makes it possible to see the kinds of grammatical arrangements that can share a template. It offers an explanation of an individual match, while the paper gives no comparison with a smaller or larger repository and no measurements of how alternative sources of training examples affect coverage.
Across these cases, the evidence is strongest when a question, the resulting query, and the relevant intermediate choice are all visible. One can identify that a type constraint changed the accepted entities, that a predicate changed the relation queried, or that a name resolved to a different graph entry. Those are observations about the mechanism in particular runs. The paper’s analyses establish that QUINT can expose them to a reader and that the exposed choice can account for the outcome shown.
Limitations
Limits the authors identify
The authors explain that language, knowledge-base contents, and pipeline decisions can all limit answer quality. Natural wording can leave more than one interpretation open. The graph may lack information needed to answer an otherwise clear query. Lexicons have gaps. Entity disambiguation and query ranking can make the wrong choice. The interface is meant to make some of these issues more accessible to readers, including occasions when a suitable alternative is present or a phrase is expressly identified as unresolved.
One limit follows directly from dependence on the template inventory. Training can only produce patterns the procedure constructs from the available examples. The authors describe cases where a question’s syntax falls outside the learned inventory. The capital question is their example. The interface can report that no template fits and invite a new formulation. An instruction to reformulate indicates what happened in the system. It supplies no evidence about whether the knowledge base contains the facts that would answer the original wording.
A second limit comes from the resources used to link text to graph vocabulary. Wordings vary, and the paper describes the lexicons as intrinsically incomplete. Even a question that otherwise has a usable structure can fail when a significant phrase has no suitable entry. Entity linking can fail more quietly by producing a match that is valid as a Freebase identifier but represents a different thing from what the user intended. The English example shows why successful execution gives a reader a reason to check whether the entity choice was sound.
The authors also describe limitations in query construction and selection. A template alignment can leave out a qualifier. The ranking can place an unsuitable query first even when a better interpretation is available farther down. An answer-type condition can matter because the relation itself admits results broader than the question asks for. These are all ways a formally executable query can express only part of an ordinary-language request.
The authors frame broader interactive question answering as future work. QUINT can ask for a reformulation when the procedure reaches certain identifiable failures, and the examples give readers ways to revise the question based on an explanation. The paper also suggests that reformulations could inform improvements to resources such as lexicons. It gives no demonstration of automatically learning a correction from such a reply or of conducting a dialogue that resolves several ambiguities across turns.
Limits of the evidence in the demonstration
The paper calls QUINT a strong system and shows it operating on Freebase. Its quantitative performance cannot be established from the walkthrough. The training portions of WebQuestions and Free917 are identified as sources of two available configurations. The authors do not report held-out scores, a quantitative head-to-head comparison, or counts for the failures they illustrate. The case studies support claims about what QUINT can derive and display under the conditions shown. They leave the frequency of those outcomes open.
The claims about reader confidence and debugging also have a particular scope. The authors motivate the explanation interface by describing how readers could confirm an interpretation, find a mismatch, or locate a failure. The interface visibly supplies the material required to do some of that work. The paper gives no study comparing people with and without access to the explanation, no measure of how often readers make successful corrections, and no measure of whether confidence rises when it should. An inspectable derivation is the demonstrated result. Behavioral effects remain unmeasured.
The derivation also answers certain questions more directly than others. It can identify the phrase that supplied a predicate, the template that carried the phrase into the query, and the graph entry chosen for a name. The detailed display as described does not expose the individual random forest decisions behind a candidate’s position. It shows which interpretation won and how the winning query was assembled. A question about why the ranker preferred it over a close alternative would require information beyond the structures illustrated in the paper.
There is a related distinction between checking the system’s interpretation and checking the truth or completeness of the underlying facts. A reader can confirm that the query asked for the intended relationship and referred to the intended person. The returned set still depends on what Freebase records. If a suitable result is absent, the displayed query may help a reader locate the discrepancy, but the walkthrough provides no way to establish that every relevant fact is present. The answer descriptions and pictures can help identify the returned entities. They do not independently validate the graph assertions used to retrieve them.
The training construction raises another limit that follows from the method. A known answer gives the graph search an endpoint, and a small connecting subgraph gives the system a plausible way to reach it. There can be different meanings or graph patterns compatible with a given training answer. The alignment and lexical resources supply additional evidence about the wording. The paper gives no test of how frequently the resulting backbone agrees with a separately verified interpretation of the training question. It also omits the detailed optimization and ranking specifications needed to reproduce those decisions from the demonstration article alone.
Template provenance gives evidence of structural reuse. In the worked example, seeing the education and manufacturing questions helps explain where the matched pattern came from. The user’s new question can still have a distinct meaning within that pattern. Shared syntax licenses an attempt to instantiate a query form, and the actual wording and available graph items determine the resulting interpretation. The paper presents provenance as part of a derivation the reader can inspect. It gives no measure of whether a template learned from one group of subjects transfers reliably to another.
The displayed graph and lexical resources are those used with Freebase. The authors describe the procedure in general terms using a knowledge base, and they mention YAGO in their account of the broader task. The demonstrated details include Freebase entity identifiers, Freebase types, and the use of intermediate variables for its CVT structures. A transfer to another graph would involve its own available relationships and categories, along with the means of connecting words to them. The paper reports no such transfer.
Finally, the examples distinguish several routes to a wrong or unsatisfactory answer without demonstrating that all failures are equally diagnosable. A wrong entity can be apparent when its label is shown. A missing relationship may be harder to attribute when a query returns little and the graph’s coverage is unknown. A template mismatch can be flagged directly, while a plausible query that omits a subtle qualifier requires someone to notice what the derivation left out. The interface supplies evidence for a diagnosis. What that evidence resolves depends on the question, the available candidates, and the reader’s understanding of the intended answer.
What came after
A later survey cites QUINT in the context of explainable natural language processing. The connection places the demonstration within a broader discussion of how language systems can make their outputs inspectable. QUINT provides a concrete example of explanation based on intermediate representations. Its interface lets a reader follow a grammatical analysis into a query pattern and from that pattern into the graph entries used for retrieval. A Survey of the State of Explainable AI for Natural Language Processing
The connection established here is a survey citation. It does not establish that the survey implemented the template-learning procedure, adopted the interface, or tested whether its explanations help readers. The aspect of QUINT that bears on the survey’s subject is visible in the demonstration itself. The system presents the answer together with decisions that can be checked separately, such as the person selected for a name and the database relationship selected for a verb phrase.
That level of access defines what the demonstration contributes to the later topic. The brief view lets a person check whether the system understood significant words in the intended way. The detailed view provides the template and the executed query for a reader who needs to investigate the mapping. The same representations used to construct the query give the reader a record of how the answer was obtained. In the paper’s examples, that record is detailed enough to distinguish a birth question from a residence question, a current currency from a former one, and a broad educational history from a request for a particular kind of institution.
Cite
Cite as Abdalghani Abujabal, Rishiraj Saha Roy, Mohamed Yahya and Gerhard Weikum. 2017. QUINT: Interpretable Question Answering over Knowledge Bases. Proceedings of the 2017 Conference on Empirical Methods in Natural Language Processing: System Demonstrations.
@inproceedings{abujabal2017quint,
title = {{QUINT: Interpretable Question Answering over Knowledge Bases}},
author = {Abdalghani Abujabal, Rishiraj Saha Roy, Mohamed Yahya and Gerhard Weikum},
booktitle = {Proceedings of the 2017 Conference on Empirical Methods in Natural Language Processing: System Demonstrations},
year = {2017},
doi = {10.18653/v1/d17-2011},
url = {https://doi.org/10.18653/v1/d17-2011}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/abujabal-2017-quint-interpretable-question-answering-over/