Open-domain Factoid Question Answering via Knowledge Graph Search
Paper · 2016 · Ahmad Aghaebrahimian and Filip Jurčíček
Summary
A question about Dublin’s time zone asks for a familiar kind of fact, but to retrieve it from a database, a system has to make two decisions. It must identify the place the speaker means and find the relation that leads from that place to a time zone. Several places can share the name Dublin, and even words such as “time” can match entries in a large database. Ahmad Aghaebrahimian and Filip Jurčíček study this problem in open-domain question answering. They focus on questions for which a single subject and a single relation suffice to retrieve the answer, which can itself contain several items.
Their approach learns to rank relations from labeled questions and looks up possible subjects at test time in Freebase, a knowledge graph. The lookup searches for names that occur as spans of the question. Each matching span can yield several graph identifiers. To decide which interpretation to use, the system follows proposed relations from candidate subjects and checks the types of the resulting answers against the types those relations declare. It also uses a spelling heuristic to distinguish records that share a name, favoring a record whose readable identifier more closely resembles that name. These checks use information stored in Freebase, so the system can find candidate subjects without a separately maintained entity lexicon.
The authors express selection as a constrained optimization problem. A classifier supplies the probabilities, and graph metadata supplies the conditions used to screen candidates. The selection step can return at most one subject. The authors use integer linear programming to make room for more involved constraints in future work, while observing that direct search would suffice for the rules they test. The experiments vary the relation classifier and keep the entity constraints fixed, so the progression in the results shows what improved relation prediction can do within the same graph-search procedure.
On the official SimpleQuestions test split, the best configuration reaches 65.19% path-level accuracy. This measure requires agreement with the reference on both the subject and the relation. The earlier memory-network system trained on SimpleQuestions reaches 61.6%. With the authors’ graph constraints, logistic regression reaches 61.20%, a multilayer classifier reaches 63.89%, and the single-channel convolutional variant reaches 65.16%. The best row uses a convolutional classifier with an additional part-of-speech channel. The system consults full Freebase when finding candidates, but the reported comparison excludes entities outside FB5M. The results therefore establish performance under that entity restriction, alongside a procedure capable of looking up records in the larger graph.
Deep dive: Open-domain Factoid Question Answering via Knowledge Graph Search
This paper shows how to answer factual questions by ranking possible relations and checking which entities and answers fit them in Freebase. · about 39 minutes to read
The problem and its context
A short path can be hard to identify
In the task the authors call simple factoid question answering, the input is a question in ordinary language and the factual source is a set of assertions. An assertion connects a source entity to a target by a directed, labeled relation. If the interpretation of a question identifies both the source and the relation, the graph can provide the target. For the Dublin question, the source is the particular place called Dublin, the relation concerns time zones, and the target is whatever the graph records at the end of that relation. The paper calls the relation a property. It uses entity for the objects that occupy the subject and answer positions.
This gives “simple” a precise scope. The requested fact is reachable by following a single property from one subject. There can be several answers if the graph records several targets for that property. The number of targets does not change how many relations the system must identify. The subject can also belong to any of the many domains represented in the source. A place and a person call for different factual properties, but a question about either can have the same form as a graph lookup.
Identifying the lookup is where the difficulty lies. The phrase that signals the requested property can itself contain words that are also entity names. In the paper’s example, Freebase can recognize “time,” “zone,” and the whole phrase “time zone.” Finding those strings is evidence that the source has records with matching names. Deciding that Dublin is the subject calls for evidence about which record bears the requested relation. A system that equated every recognized name with a plausible subject would start the answering process with substantial ambiguity even in a short question.
Once a subject span has been located, a second kind of uncertainty survives. The string “Dublin” occurs as a name for several places. The authors contrast the city in Ireland with a place in Ohio, and they also discuss the possibility of a book being indexed under the same name. The problem is therefore both to locate the expression that supplies the subject and to give it the identity intended by the question. Here, entity recognition includes both operations. The approach uses the graph itself for the work that might otherwise begin with a separate named-entity recognition stage.
Freebase gives the authors a reason to address both problems directly. Their description puts its entity count at about 58 million and its property count above 14 thousand. A large inventory makes it possible to retrieve facts about many topics. It also gives familiar words more opportunities to match unrelated records, and it gives popular names more opportunities to be shared. That means the value of broad coverage depends partly on the procedure for choosing among the records that coverage supplies.
Why the authors focus on simple questions
The paper motivates this task by citing an analysis of WebQuestions. That collection contains 5810 questions assembled using the Google suggest API. According to the analysis the authors cite, 86% of its questions can be answered by identifying one entity. The paper uses this observation to make the case for studying short factual lookups as a task in their own right. A system can address a recognizable class of user requests even when it supports only a limited form of graph query.
The observation about WebQuestions concerns how many entities are needed. The definition used for the paper’s own task also specifies the relation: one property must lead from the subject to the answer. These are related criteria, and the distinction matters. Evidence that one entity is sufficient in the cited collection motivates the focus on simple queries. The authors use SimpleQuestions for the experiments that apply the more specific subject-and-property formulation.
This formulation also makes the target of an experiment concrete. An evaluator can ask whether the system chose the right starting point and the right edge. The choices concern different uses of the words in a question. Identifying a starting point requires working out what the question is about. Identifying the edge requires working out what the speaker wants to know about it. A common pattern of words can point to a property across many subjects, while the possible identities of a name depend on what the factual source contains. The authors organize their method around that difference.
Where earlier systems got their entity mappings
The paper’s account of earlier work starts with question-answering systems for particular domains. It associates many of those systems with a static lexicon that maps an expression in the question to a formal identifier or representation. The approach can work when the domain has a manageable stock of entities and names. Expanding it to cover a much broader set of subjects requires expanding and maintaining the mapping too. The concern is especially direct for a factual source that already contains far more records than those earlier inventories.
In this discussion, semantic parsing means assigning a formal interpretation to a natural-language request. The paper places work on learning synchronous grammars and learning sentence-to-logical-form mappings among the earlier domain-oriented efforts. Its argument does not depend on comparing their grammar formalisms. It concerns a dependency that recurs across systems: a formal query can refer to an entity only if the procedure for identifying that entity makes it available.
The authors describe two broad uses of graphs in prior question answering. Work framed as information retrieval searches over structured factual material. Work framed as semantic parsing constructs a formal interpretation that can be used with the graph. The paper includes the work on Freebase question–answer pairs, paraphrasing, and ontology matching in its discussion of the latter approach. These efforts supply context for the choice to base answering on a graph. Semantic Parsing on Freebase, Semantic Parsing via Paraphrasing, Scaling Semantic Parsers with On-the-Fly Ontology Matching
The specific concern is that some graph-based systems still begin with a pre-defined lexicon for recognizing entities. They can consult a large factual source to validate a proposed logical form, while the initial mapping of names to entities still reflects a smaller inventory. A graph may contain a relevant fact that this arrangement never reaches because the mention fails to map to its source entity. The authors move that mapping into test-time graph lookup. In their design, the graph supplies the records that might be meant as well as the facts needed to assess those records.
For the closest benchmark precedent, the paper turns to Bordes and colleagues’ memory-network approach on SimpleQuestions. The earlier experiments used Freebase subsets called FB2M and FB5M, with 2 and 5 million entities, respectively. Aghaebrahimian and Jurčíček cite a reported 0.5 % performance decrease in the earlier work when moving from FB2M to FB5M. They use that observation to motivate taking the growth of the candidate universe seriously. The comparison also gives them a shared test task and a shared criterion for judging the predicted graph path. Large-Scale Simple Question Answering with Memory Networks
Why put constraints after prediction
The other strand of earlier work concerns inference over classifier scores. The authors adopt the Constrained Conditional Model framework associated with Roth and Yih. It allows a system to express conditions on a decision and combine those conditions with a statistical preference. The paper points to applications in language processing, including semantic role labeling, and to an earlier question-answering approach for Geoquery. It distinguishes its own setting by the breadth of the questions and the scale of the factual source. Syntactic Parsing and Inference in Semantic Role Labeling
The relevant division of work becomes clear if the two kinds of evidence are considered separately. Words in the question give the classifier reason to prefer a property about time zones. Freebase can then say what type of object it expects that property to lead to and what types a particular returned object actually has. Those facts about records and schema are available directly when a candidate is considered. The authors’ approach needs the classifier to learn patterns in question wording, while the graph conditions can be evaluated for the particular records involved in each incoming question.
The resulting optimization problem is specific to the question. Its possible subjects come from lookup of that question’s spans, and its possible properties come from classifying that question’s wording. This is the basis for the paper’s scalability argument. There is no need to fit an entity predictor with a separate learned output for every graph record. The optimization still depends on how many candidates the lookups produce and how much work is required to assess them. The method makes those dependencies local to the query.
The method, step by step
A question enters the system as a sequence of words. The property classifier estimates what kind of fact the speaker wants, and the entity detector finds text in the question that Freebase can associate with records. The system brings those two sets of possibilities together by asking what each proposed relation leads to from each proposed subject. The answers and their metadata supply evidence for choosing a path. A separate name comparison helps where several records share the same surface form.
How a question becomes a Freebase lookup
The steps in order.
What is stored in Freebase
An assertion has three roles: the entity at the beginning, the property naming the connection, and the entity at the end. The direction matters because the target is the answer reached from a candidate subject. In the Dublin example, the intended operation begins at a location and uses the time-zone property. Inspecting that operation means looking up the object or objects it reaches. This is also why the type check described later consults the destination rather than just the proposed subject.
The paper distinguishes a machine identifier, or MID, from a separate id field. A MID identifies the record, and its characters need have no apparent relationship to the entity’s name. The id field can be readable. It may contain a version of the name, sometimes with a qualification that distinguishes it from another record. These differences become useful when several candidates have an identical name. The MID keeps them distinct during retrieval, while the readable field can provide evidence for choosing among them.
Two other fields represent surface forms. The name is what the authors use to look up spans of a question. An alias supplies an alternative expression associated with a record. In the similarity check, the authors turn to aliases when the id field provides no readable information beyond the MID. The role of an alias in that comparison is distinct from the initial lookup, which the paper explains using the name field. This distinction matters because a field used after candidate generation can only help with records that have already entered the search.
Freebase also records memberships in types. An entity can have several such memberships. A record called Dublin can be registered as a general topic and under a more specific category. Its types give the system a way to ask what sort of object it has found. A property has a different metadata field, its expected type, which describes the kind of target one should find after following it. The authors say that properties may have an expected type or lack one. Where a property declares an expected type, the corresponding value can be compared with the set of types on a returned answer.
These fields support evidence of different kinds. The name gives a reason to consider a record because some part of the wording matches it. The identifier establishes which record the system would query. The relation and answer type give a reason to accept that record in combination with a particular property. A similarity comparison then uses a naming convention to prefer among ambiguous records. Each piece of evidence is available at question time, and none requires the training data to contain the particular entity that is being considered.
Turning training questions into property examples
The training data pair questions with assertions from the graph. The subject and answer are given as MIDs, and the assertion names the property that connects them. The authors give each property encountered in the training data an index. The learning problem is then text classification: from the words of a question, predict the indexed property supplied by its assertion. Questions about different subjects can contribute examples to the same class if they request the same kind of fact.
The subject and answer identifiers establish the graph interpretation associated with the question. For the classifier as described, the target to be learned is the property label. This explains how the approach can use supervision while avoiding a separately prepared mapping from name spans to entity identifiers. The training assertion teaches the classifier what relation the question expresses. At test time, the graph supplies the links from recognized names to records.
The experiment description says that the authors remove non-alphanumeric characters and split the text on spaces. They use an input width of 20 tokens. They describe applying pruning to questions above that length and add the marker <.> as padding for shorter questions. The resulting input has a fixed format for the classifier. The paper describes these transformations at the level needed to understand the representation, with less detail about the disposition of individual questions affected by pruning.
Each token is represented by a vector. A simple alternative would give each distinct word its own coordinate and mark the appropriate coordinate for that word. With that encoding, the coordinates themselves supply no indication that different words might carry similar evidence. The authors use word embeddings so that the classifier can use vector patterns shared across words. For the task at hand, the practical reason is that different word choices can indicate the same property, even when the trained classifier has seen them in different questions. The paper situates this use of vectors in work it cites on learned representations for natural language processing. Natural Language Processing (almost) from Scratch
The paper reports using the Word2Vec toolkit to replace tokens with vectors in the data. In its description of convolutional architectures, it also discusses learning embeddings from random uniform initialization and initializing from pretrained Word2vec vectors. These are choices about what information the word representations carry at the start of training. The classification target remains the property from the training question’s assertion. The experiments describe the alternatives and give the embedding width used for the selected validation configuration, while the final accuracy table compares whole classifier variants.
Assigning probabilities to properties
The first property classifier is logistic regression. It represents the question numerically, assigns each property its own weight vector, and uses the match between that vector and the question representation to score the property. A normalization step converts those scores into probabilities across the property classes. The paper gives the distribution as follows, with the denominator indexed by the alternative properties.
P(p ∣ q) = exp(ωₚᵀ φ(q)) / ∑ᵢ exp(ωₚᵢᵀ φ(q))
Here q is the input question, p is the property whose probability is being evaluated, and P(p ∣ q) means the probability of that property conditional on the question. The vertical bar indicates that conditioning. The function φ maps q to its feature vector. The symbol ωₚ is the learned weight vector for property p, and ᵀ transposes the vector so that its product with φ(q) is a scalar score. The function exp exponentiates that score. The slash divides this property’s exponentiated score by the total in the denominator. The sum sign ∑ adds over the index i, with pᵢ denoting the property indexed by i and ωₚᵢ its weight vector.
The numerator measures how strongly the weights for a particular property respond to this question’s representation. The denominator puts that response in relation to all the class scores from the same question. The ranking can then be read as a set of competing interpretations of the requested relation. In the Dublin example, a property for time zones should receive support from the wording even before the system has chosen among the Dublin records.
The property classifier produces an N-best list. Here N is the number of properties retained, and the reported test procedure uses the 100 highest-ranked properties for each question. The retained probability values are passed onward to constrained selection. A correct property with a lower rank still has a route to the final prediction if it is in this list. A property outside the list has no candidate pair on which the later checks can operate.
The list also sets the workload for the next stage. Each retained relation can potentially be paired with each retrieved subject. A larger list offers more possible interpretations and more graph lookups with which to test them. The experiment evaluates the chosen list size. Its report of property accuracy does not supply a separate measurement of how often the reference property appears anywhere on the list.
Using richer classifiers for the same decision
The authors compare logistic regression with a multilayer classifier and with convolutional classifiers. All of these variants provide property predictions for the graph-search procedure. The multilayer variant introduces two hidden layers, each with 1024 neurons. A hidden layer constructs intermediate features before the classifier assigns scores to the property labels. The added computation gives the predictor a way to combine the vector features of a question before scoring its possible relations.
The convolutional design introduces a more explicit use of neighboring tokens. A window passes over successive positions in the question. At each position, it looks at the vectors within its window and produces responses for the patterns it has learned to recognize. The authors use window sizes 1, 2, and 3. This lets a response depend on an individual word or on a short sequence. In the Dublin example, a learned response to “time zone” can provide evidence different from a response to either word in isolation. The authors describe their architecture as an adaptation of earlier work on convolutional sentence classification. Convolutional Networks for Sentence Classification
Responses from the windows still vary with position, so a pooling step combines them. Max pooling retains the strongest response of a given kind across the positions inspected. Average pooling summarizes the responses by their average. The paper presents max pooling in its description of the network and reports trying average pooling as well. The pooled representation is passed to classification layers that produce a distribution over properties. The authors tried 1, 2, and 3 fully connected softmax layers. A softmax uses normalization across the output choices, as in the probability expression for the simpler classifier.
The experiment description refers to 1024 neurons in connection with the convolutional and softmax layers as well as giving that width for the hidden layers of the multilayer classifier. The convolutional variants in the results have either a single input channel or an additional channel using grammatical tags for the tokens. These tags represent information such as whether a word is being treated as a noun or a verb. The additional representation affects how the property classifier reads the question. Entity names are still obtained by looking up spans in Freebase, and the conditions used to choose among them retain the same roles. The extra channel uses part-of-speech tagging.
The paper’s architectural comparisons answer a particular question about this design: how much the complete system can gain when the component responsible for finding likely properties becomes more capable. They do so by replacing that component while leaving the graph checks in place. The layer and initialization alternatives explain what the authors explored in constructing the classifiers. Their final comparisons are at the level of the resulting systems.
Getting candidate subjects from question spans
The subject lookup begins by moving a window over the question, allowing the window to vary in length and position. Each resulting contiguous span can be submitted as a possible name. The authors use Freebase through Meta-Web Query Language, or MQL, and describe querying a live, full version of the graph through its API. The query asks for the MIDs corresponding to the span under consideration. A span is valid for this stage if Freebase returns at least one MID.
The word valid at this point has a specific meaning: the graph has a match. A match for “zone” can satisfy that condition even when the question is clearly about Dublin. Likewise, a single valid span can supply several MIDs because the same string serves as the name of several records. The lookup must preserve identity at the record level for subsequent queries. The name “Dublin” by itself would be too ambiguous to function as a unique subject in a graph assertion.
The authors describe two policies for retaining recognized spans. The full approach keeps recognized spans at all lengths. If the graph can find “time,” “zone,” and “time zone,” those lookups can all contribute candidates. The greedy approach keeps the longest valid span in this example. The shorter spans contained in it drop out, while a distinct span elsewhere in the question can still be considered. Both policies begin with the idea of checking what strings the graph recognizes.
The decision changes what the type and similarity checks can see. Full retention offers access to a short mention even if it is embedded inside a longer recognized name. It can also retain multiple incidental expressions drawn from the wording of a property. Longest-match retention removes some of those overlaps before the system has to consider relation–subject pairs. In the configuration selected on validation, the authors use the greedy policy.
Span detection and record disambiguation can also succeed or fail independently. Consider a candidate list that contains “Dublin,” with several MIDs attached to it. The span stage has given the system access to likely interpretations of the subject phrase, but the subject is still unresolved. Conversely, if the intended mention is missing after lookup or span selection, a well-designed disambiguation rule has no correct MID available to select. The paper’s architecture makes these two stages visible.
Combining properties and subjects
With a list of properties and a list of entities, the system forms candidate pairs. Each pair asks whether a particular property, applied to a particular subject, could be the interpretation of the question. The combinations are generated as a Cartesian product, which means that each member of the property list can be paired with each member of the entity list. The system queries the combinations to obtain the corresponding answers from Freebase. Those results allow it to test the types of the targets.
The paper expresses selection with an argmax. The form below makes the question-specific sets and the roles of the property and entity explicit. It preserves the paper’s distinction between the vector of scores and the indicators chosen under constraints.
best_entity(q) = arg maxₑ { αᵀ s(p, e) ∣ (p, e) ∈ P_q × E_q }
The function best_entity(q) names the subject selected for question q. The e below arg max is the candidate entity being chosen, and arg max returns a choice that attains the largest allowed score. The symbol p denotes a candidate property. The ordered pair (p, e) contains the property and subject, and ∈ says that it must belong to the combination set P_q × E_q. Here P_q contains the retained properties for q, E_q contains its valid candidate entities, and × forms the Cartesian product. The vertical bar introduces the condition on the candidates. The vector s(p, e) represents the scores involved in the choice, described by the authors in terms of property probabilities. The vector α contains the indicator variables optimized subject to the constraints, and ᵀ turns the multiplication by the score vector into an inner product.
In this formulation the property score gives a reason to favor an interpretation, and the indicators represent choices that must respect the conditions. The paper writes the objective in terms of the best entity even though the candidates being considered are property–entity combinations. That structure reflects the task: the graph-based stage is doing entity recognition, but an entity is assessed in connection with a possible relation. The reference used for overall evaluation contains both choices.
The objective is a compact account of how to combine scores with constraints. The paper does not lay out the entire coefficient matrix or give a rule for every case the graph might return. Its description of the individual constraints is therefore important for interpreting what the optimization does. Those constraints involve evidence from the answer, evidence from entity names, and a restriction on how many subjects can be selected.
Checking the kind of answer a path reaches
The first condition checks a prediction through its result. The system takes a property and a candidate subject, follows the property in Freebase, and inspects the target. If the property declares an expected type and the target has that type among its memberships, the pair passes the stated type check. Other types on the answer can coexist with the expected one. The test is for presence in the set of available types.
This can help locate the subject among all the spans that passed name lookup. A span for an incidental word may yield a genuine entity, yet pairing that entity with a proposed property can fail to lead to a target of the designated type. The lookup answers whether the entity exists under that name. The traversal and type check answer whether that entity can participate in the proposed graph interpretation in the required way. In the Dublin question, that second piece of evidence comes from following a time-zone relation and inspecting what it reaches.
The check has a specific evidential scope. It establishes compatibility with the expected result type for a proposed path. A wrongly interpreted question can still produce a graph path with a compatible type, especially if several candidates are instances of the appropriate kind. This is why the name comparison still has a role. The authors also note that some properties carry no expected type. Their description is clearest for the case in which a declared expected type and a typed target are both available. It gives less detail about what happens to candidate pairs when those fields are missing or when a relation yields multiple targets.
Using names to choose among records
The similarity condition is designed for cases in which the graph has already recognized an ambiguous span. Different records can share the value of name while carrying different values in the readable id field. The system compares the spelling of the name and the spelling of the identifier using an edit-distance-based similarity ratio. In general terms, this uses the edits needed to turn one string into the other as evidence of how closely they resemble each other. The paper describes selecting a maximal similarity and illustrates its effect with Dublin.
The examples include MID /m/02cft for the Dublin entry favored by the rule and /m/013jm1 for the example in Ohio. Both records have “Dublin” as their name. The readable identifier for the former contains the unqualified name, while the identifier for the latter adds Ohio. Because the first identifier more closely resembles the shared name, it wins this lexical comparison. The type constraint and the similarity constraint use separate observations: evidence about a destination’s category and evidence about how the source record is named.
A readable identifier is useful for this purpose only insofar as it carries usable text. The authors describe cases where the id contains the same value as the MID. Their fallback uses aliases in that situation. An alias can preserve a surface expression where an opaque string supplies no useful comparison. The paper identifies this fallback at the level of fields, leaving open some implementation details about how several aliases are compared and how equally similar records are handled.
The lexical rule favors a certain type of graph naming convention. An unqualified identifier can look like the strongest match for an unqualified question mention, and the Dublin example demonstrates exactly that. A qualified place can also be the intended subject of an unqualified mention. The heuristic addresses that uncertainty with a preference derived from the graph’s names. What it provides is a rule for selecting among plausible records when spelling alone leaves a shared name unresolved.
Producing a single subject decision
The final constraint permits zero or one selected subject per question. That counting rule applies to the starting entity. A selected path can still lead to a set of answers, as the paper’s definition of simple questions allows. The rule keeps candidate ambiguity separate from answer multiplicity. For example, several targets reached from one selected subject would be part of the answer, whereas several alternative subject records would be competing interpretations of the question.
The authors use the Gurobi integer linear programming solver for the constrained decision. The indicators take discrete values, and the optimization seeks a high-scoring choice consistent with the conditions. The paper observes that the search space in its experiments can also be handled by simpler search. It chooses the solver to accommodate future constraints with more demanding interactions. Its reported system uses that machinery to make a local choice over the candidates already generated for each question.
Experiments and results
Training data, validation, and the reported test
SimpleQuestions contains 108,442 factoid questions, as counted in the paper. Each example associates a question with the graph assertion that supplies its subject, property, and answer. For training, those assertions provide the labels for property prediction. At test time, the system takes the held-out questions, the trained classifier, and Freebase from February 2016. Graph access supplies candidate entities and the metadata used to check their predicted paths.
The authors describe a random-split procedure using 70% of the examples for training, 10% for validation, and 20% for testing. They say that this procedure was repeated three times. For comparison with the dataset authors, they publish the results on the official SimpleQuestions test separation. Thus the numbers in the reported comparison describe performance on the official split. The paper does not give the individual random-split scores from which a reader could assess variation across those runs.
The chosen configuration uses greedy entity detection and embeddings with 128 dimensions. The authors report finding that setting through validation and carrying it into the reported test evaluation. During testing, the classifier supplies 100 property candidates for each question. These configuration choices matter because the accuracy reflects the complete procedure: what is present in the shortlist, what survives entity lookup, and what the graph checks allow the system to select.
The authors use SimpleQuestions as the question dataset for training their systems. Their most direct baseline is the result from Bordes and colleagues under that same training-data condition. The paper also discusses an earlier result with additional training material from WebQuestions and a paraphrase dataset. It uses that larger-data result to contextualize its multilayer classifier. The comparison with the SimpleQuestions-only baseline gives the closest match on labeled question data. The graph-access procedures still differ between the systems.
The two reported accuracy measures
The overall metric is path-level accuracy. The reference path specifies a subject entity and a property. The system scores a hit when those two fields both agree with the reference. Predicting a time-zone relation for the wrong Dublin fails the path check. Selecting the intended Dublin with the wrong relation also fails. The combination is what the system needs in order to follow the reference path.
This metric is stricter about interpretation than a comparison based on the displayed answer alone. Two paths could conceivably have the same target, and the benchmark would still require the specified subject and property. Conversely, the measure uses the selected identifiers as its decision criterion. It gives no separate account of how well the system would verbalize a result or present multiple returned answers. Those are outside the outcome being scored.
The table also reports property accuracy for the authors’ classifiers. That measure concerns which relation the question is classified as requesting. The baseline row lacks a property-accuracy value, so the comparison at this level is among the authors’ configurations. Property accuracy and full-path accuracy use different checks, and the paper supplies no per-question cross-tabulation showing how the successes under the two measures overlap.
Property prediction on the official split
Property classifier accuracy on the official SimpleQuestions test split
The convolutional classifiers give the highest property accuracies among the reported settings.
The numbers
| System or setting | property accuracy % |
|---|---|
| Logistic regression | 69.80 |
| Multilayer neural classifier | 74.08 |
| Single-channel convolutional classifier | 78.02 |
| Two-channel convolutional classifier (this paper) | 78.82 |
The test figures show 69.80% property accuracy with logistic regression and 74.08% with the multilayer classifier. The single-channel convolutional variant records 78.02%, and the two-channel variant records 78.82%. This is the component for which the architectures differ directly. They turn the same kind of supervision into different predictions about which Freebase property is expressed by the words of a question.
The ordering in the chart is consistent with the authors’ motivation for introducing richer processing of the input. The multilayer variant can combine features before classification, and the convolutional design explicitly considers neighboring words. The results are for those complete classifier configurations. They do not give a separate test result for each convolution window, embedding initialization, or pooling strategy. The component measure shows which reported classifiers make the most accurate property predictions on this split.
Property accuracy also places the overall result in context. A higher property accuracy can improve the evidence passed to entity selection. The final choice still requires the correct subject to be present and to survive the constraints. The shortlist adds a separate possibility: the graph stage may have access to the correct property even on a question where the classifier’s leading prediction is wrong. The reported aggregate figures show the outcomes of classification and final selection, while leaving the frequency of that particular recovery unspecified.
Path accuracy on the official split
Path-level accuracy on the official SimpleQuestions test split
The strongest convolutional setting leads the comparison with the SimpleQuestions-trained baseline.
The numbers
| System or setting | path-level accuracy % |
|---|---|
| Bordes et al. memory network | 61.6 |
| Graph search with logistic regression | 61.20 |
| Graph search with a multilayer classifier | 63.89 |
| Graph search with single-channel convolution | 65.16 |
| Graph search with two-channel convolution (this paper) | 65.19 |
The logistic-regression system reaches 61.20% path accuracy, close to the 61.6% reported for the memory-network baseline trained on SimpleQuestions. The multilayer classifier brings the constrained system to 63.89%, and the convolutional classifiers reach 65.16% and 65.19%. Both convolutional variants exceed the SimpleQuestions-only baseline in the published comparison. Their near-identical path figures are also relevant to the authors’ account of the effect of adding grammatical tags.
The paper cites 63.9% when describing the earlier best result in its introduction. In its results discussion, it places the 63.89% multilayer result alongside the stronger earlier training condition, which used additional question and paraphrase data. These are the figures and precision used in the paper. The primary table comparison remains the 61.6% baseline labeled as trained on SimpleQuestions. The two comparisons address different questions about the available supervision.
The table supports an improvement associated with the authors’ strongest reported configurations under the stated test conditions. Their simplest classifier falls below the baseline on the overall metric, even with access to the same graph checks as their stronger variants. This is one reason the authors emphasize improving property detection. In this series, changing the classifier is enough to move the constrained system from around the earlier SimpleQuestions-only result to above it.
The graph searched and the entities admitted
The paper’s results table labels the authors’ configurations as using full Freebase. That is the source the system queries. The results narrative adds a condition on the comparison: the authors remove entities outside FB5M to make the outcomes comparable with the earlier system. The search source and the admissible entity set for the published accuracy are therefore defined at different points in the procedure.
At lookup time, the architecture can consult the broad name inventory in the full graph. The reported result applies after the restriction on eligible entities has been imposed. This matters for questions with shared names, since allowing additional records into the final choice can change which interpretation wins. It also matters for evaluating the claimed benefit of wider coverage: the table has no separate accuracy result for questions whose intended subjects fall beyond the restricted set.
The authors report 99% coverage in the discussion of this setting. They do not define its denominator and calculation in enough detail to read it as a specific measure such as recall of the correct MID after every step of entity detection. It is a coverage figure attached to the reported restricted comparison. The path accuracy is separately defined and directly interpretable as agreement with the reference subject and property.
What the speed figure measures
The paper describes a search space per question on the order of 100 to 500 thousand entities and reports that Gurobi carried out entity detection for 20 questions per second in the stated setup. The observation concerns the solver’s work in the entity-selection procedure. It gives a scale for the optimization the authors deployed. The paper supplies no distribution of candidate counts that would show how frequently the lower and upper parts of that range occur.
A full request also entails property prediction, lookup of spans, retrieval for candidate pairs, and access to answer metadata. The published speed figure does not break down those operations or provide their combined latency. It is evidence that the authors could perform the constrained decision at the reported throughput in their experiment. It leaves the cost of obtaining and preparing the graph candidates less fully characterized.
What the ablations show
Changing the classifier under the same entity rules
The most informative controlled comparison is between the property predictors. The authors train the classifiers for the same role, plug each into the constrained system, and keep the entity rules fixed. As property prediction improves from logistic regression to the multilayer and convolutional variants, overall path accuracy improves in the same order. The larger gain in the complete task appears across the classifier families. The two convolutional configurations produce very close path results.
The authors attribute the improvement within their series to property detection. This attribution concerns what changed across their own systems: the source of the property scores. It does not measure the independent benefit of type checking or name similarity. The results show how a better classifier can improve the joint decision with those mechanisms present. They leave open how the same classifiers would fare with other ways of retrieving and disambiguating subjects.
The pair of metrics helps distinguish improvement at the classifier from improvement at the output. An accurate relation score is helpful only in conjunction with an appropriate subject candidate. The same relation can be usable with several records that share a name, or the right subject may be unavailable because of lookup or span selection. Since the final metric requires both choices, the results for the relation alone cannot identify how many remaining errors occur at each stage. The paper gives aggregate evidence for the internal progression, with less detail about the individual paths that were corrected.
The extra grammatical channel
The comparison between the convolutional variants provides the closest look at the added channel. The paper describes feeding a representation of part-of-speech tags into the extra channel. Property accuracy is higher in the two-channel variant, while the complete-path figure is close to the result for the single-channel variant. The paper describes the improvement as lacking significance and supplies no statistical test, uncertainty interval, or repeated-run results to establish the basis of that characterization.
The distinction between stages explains why this comparison is relevant. Tag information is introduced where the system predicts the relation. Even if it makes the requested property easier to recognize, some questions can still be decided by the graph checks or limited by the subjects that name lookup supplies. The published figures are compatible with several explanations of the small final separation. The paper does not show which questions changed decisions or trace the tag channel’s effect through the property shortlist.
The comparison also qualifies a claim made in the paper’s broad description of the system. The entity lookup and the single-channel classifier can operate without a separate linguistic analysis stage. The system that gives the highest score in the final table includes part-of-speech information. Both observations are relevant: the architecture has a competitive configuration based on words and graph lookup, and the best reported setting adds a grammatical representation at the property stage.
Retaining only the longest recognized spans
The paper describes full and greedy span retention and says the greedy approach was used in its best validation setting. This is an analysis of which initial candidate policy worked in the authors’ configuration search. Choosing the greedy policy reduces overlaps such as keeping both the word “zone” and the longer expression “time zone.” For the task the authors set, such overlaps can supply spurious subject proposals.
A smaller set can also miss something. If a valid short subject expression is contained in a longer string that matches another record, greedy retention can remove the short one before its property is tested. Full retention keeps both for the graph constraints to assess. The validation choice favors greedy retention overall in the selected setting, but the paper does not give the paired validation scores, how many extra candidates full retention produced, or examples of changes from one policy to the other. The observed preference gives a configuration choice without identifying a mechanism for every affected question.
The choice of embedding width is also made on validation. The authors report the selected width together with the choice of greedy detection. They do not provide a grid showing the accuracy of other widths under both span policies. The reported best setting is consequently a result for the combination used downstream.
Other architecture trials and the rules that stay in place
The authors mention trying several classifier depths, pooling operations, and word-vector initializations. Those trials establish that the final classifiers emerged from a comparison of possible configurations. The numerical results are reported at the level of the selected classifiers, so there is no isolated accuracy estimate for each decision. Maximum pooling, for example, has a well-defined role in gathering a strong response from anywhere in the question, but the paper gives no paired test scores that would quantify its contribution relative to average pooling.
The authors also report that the regularization they tried on the weight vectors had no effect on the final results. Regularization changes how weights are fitted, with the aim of controlling the fitted solution. The observation is confined to the trials described. Without settings and paired measurements for those trials, it is difficult to tell how far the outcome depends on the particular configuration or the measure examined.
The experiment does not remove the type constraint and similarity constraint separately, and it reports no matched comparison of Gurobi with direct search. The Dublin example explains why a readable-identifier comparison can choose one record over another. The type-check procedure explains how a proposed path can be ruled out based on its target. These accounts specify how the rules act, while the empirical comparison establishes the performance of systems that use them together. The amount of accuracy attributable to either rule in isolation remains open.
Limitations
Boundaries stated by the authors
The paper defines its task as selecting one subject and one property. An answer can have several items, but all are reached through the same relation from the same subject. The evidence therefore concerns a form of question answering with limited query structure. A question requiring a chain of relations, a comparison between distinct subjects, or an operation over several paths would call for choices beyond the evaluated output. The broad domain comes from the range of records in Freebase.
The authors also say that ordinary search can handle the selection problem with their current constraints. Their choice of integer linear programming is meant to leave room for richer conditions in later work. The experiments establish the use of a solver with the stated rules and candidate search. They do not establish an accuracy or throughput advantage over simple search with the same candidates and rules. The value of the solver for more involved conditions is an architectural motivation.
A further author-stated condition is the removal of entities outside FB5M in the benchmark comparison. The paper expresses the hope that full-graph access will make it possible to answer questions whose facts lie outside smaller subsets, and it specifically mentions FB2M in that discussion. The reported test does not include an unrestricted full-graph variant that measures this prospect directly. It shows a system consulting full Freebase and scoring paths under a restricted entity universe.
The authors acknowledge that some properties lack an expected type. This is important even within the intended one-property task. The constraint relies on information associated with the relation and its retrieved answer. When some of that information is unavailable, the existence of a fact and the availability of evidence for the type check can come apart. The paper identifies the metadata condition, with the handling of such cases left less fully specified.
Coverage depends on wording and the graph
A restriction visible in the setup is that subject lookup begins with contiguous spans and Freebase names. For a graph record to enter the candidate set, the lookup needs a span it can associate with a MID. An intended subject described through words that never match an available name can be absent even if Freebase contains the fact the user wants. The similarity rule comes later and can only work on records already returned. Alias use in that rule supplies lexical evidence for selection. It does not on its own establish how many mentions with alternative wording can enter the search.
The property side has a parallel boundary. The classifier assigns labels corresponding to properties indexed in its training data. A graph may have many other properties, but the training procedure described does not give the classifier a way to introduce a previously unseen label into its output distribution. The shortlist then narrows what is presented to the graph stage for each question. The paper gives no results by property frequency or by position on that list, so the effect of either boundary is difficult to measure from the final scores.
Preprocessing sets additional conditions on the input. The classifier uses space-based token separation, removes non-alphanumeric material, and handles length relative to 20 tokens. The authors do not count how many examples are affected by pruning or break out results for names whose punctuation might matter. The published accuracy concerns the questions as processed by their system. It offers limited evidence about performance on longer formulations or forms whose identifying details are changed by normalization.
The checks are easier to describe than to reproduce exactly
The stated type rule is straightforward where a candidate path reaches a target with a declared membership that can be checked against the property’s expected type. Beyond that case, several details remain consequential. An eligible property may have no expected type, a lookup may return no target, or multiple targets may have different type metadata. The paper allows set-valued answers at the task level, yet its description of the constraint does not fully specify how it combines evidence across targets. A reader can identify the intended compatibility test while still needing implementation choices for those cases.
The edit-distance heuristic has similar gaps. The paper explains its preference for the closer name–identifier match and the fallback to aliases. It gives less detail about how the strings are normalized, exactly how the similarity ratio is formed, how several aliases are aggregated, or how ties are broken. Those choices can change the winning candidate when several records have similar names. The example establishes the intended direction of the preference more clearly than all the mechanics needed to reproduce it.
The objective identifies the indicators and property scores, and the prose gives the constraint categories. The description alternates between the language of penalizing incompatible outcomes and the language of Boolean conditions on permissible choices. A penalty can lower a score, while a condition can remove the choice entirely. The paper leaves some operational details of this distinction unresolved. Its optimization description is sufficient to explain the division between learned scores and graph-based checks, with less information for reproducing every decision from the equations alone.
The heuristic also reflects a limit of the evidence it uses. A readable identifier resembles a name partly because of how the graph labels its records. That resemblance can favor the familiar unqualified entity when a name is shared. A user who means a qualified entity may still use the bare name, and a compatible answer type can occur for both records. The setup gives the system a principled way to compare some stored fields, while the paper does not measure performance by kind or degree of referential ambiguity.
The measurements leave causes of error unresolved
Path-level accuracy measures a precise outcome on SimpleQuestions. It does not reveal whether the right subject was absent, the correct property fell outside the shortlist, a check removed a good pair, or the scoring favored a different surviving pair. The separate property-accuracy figures help locate improvement in one part of the architecture. A fuller error account would require data about candidate coverage, constraint decisions, and final choices for the same individual questions. The paper gives no such breakdown.
The coverage figure does not resolve that issue because its operational meaning is left unspecified. Nor does the cardinality restriction explain the system’s behavior under uncertainty. It permits returning no subject, but the paper does not report how often that happened, what triggered it in practice, or how those cases relate to wrong selections. The optimum under a constraint system and confidence that the optimum represents the user’s intention are separate quantities.
The evaluation also provides little information about variation. The main table supplies point estimates on the official test split, without confidence intervals or per-run scores. A reader can compare the reported accuracies directly and see the ordering of the configurations. It is harder to judge how stable the close convolutional results would be across different runs or data separations. The paper’s account of the added channel is therefore more informative about this particular configuration than about the general value of grammatical features.
The scope of the scalability claim
Question-specific retrieval avoids having to train a subject classifier with the entire graph as its fixed set of labels. It also means the amount of work depends on the question and its matches. A short question with an unambiguous name and a question containing several common graph names can produce quite different candidate sets. The property shortlist further affects how many combinations must be considered. Those factors govern the cost of local selection even when the optimization is formulated independently for each request.
The solver throughput is an operational observation about the reported implementation. End-to-end scalability would also depend on how quickly the graph answers the span and pair queries, how candidate counts change when more entities are admissible, and how expensive the metadata checks become. The paper gives no full-graph accuracy comparison with the restriction removed and no runtime analysis spanning different graph sizes. Its evidence establishes a way to consult a large source without building a fixed external entity inventory, alongside accuracy measurements for the restricted comparison.
What came after
Linguistically-Based Deep Unstructured Question Answering (2018) cites this paper. Its title places the later study in unstructured question answering, whereas the experiment discussed here uses explicit Freebase assertions as the source of answers. The citation establishes a connection between the papers. What the later study carried over from the earlier method, whether property ranking, graph-based entity search, or constrained selection, remains unspecified.
The original paper itself identifies the extension it was preparing for: constraints that express more complicated requirements on the choice of subject and property. Its reported comparisons keep those requirements fixed and change the classifier, while its selection procedure is designed to accommodate further rules. Whether richer constraints improve disambiguation, and how the system performs when all full-graph entities stay eligible, remain open beyond the reported experiments.
Cite
Cite as Ahmad Aghaebrahimian and Filip Jurčíček. 2016. Open-domain Factoid Question Answering via Knowledge Graph Search. Proceedings of the Workshop on Human-Computer Question Answering.
@inproceedings{aghaebrahimian2016open,
title = {{Open-domain Factoid Question Answering via Knowledge Graph Search}},
author = {Ahmad Aghaebrahimian and Filip Jurčíček},
booktitle = {Proceedings of the Workshop on Human-Computer Question Answering},
year = {2016},
doi = {10.18653/v1/w16-0104},
url = {https://doi.org/10.18653/v1/w16-0104}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/aghaebrahimian-2016-open-domain-factoid-question-answering/