Scalable Semantic Parsing with Partial Ontologies
Paper · 2015 · Eunsol Choi, Tom Kwiatkowski and Luke Zettlemoyer
Summary
A description can tell us where a town is even when a database has no way to record that it used to be a municipality. A system that requires every part of the description to fit the database may lose the location along with the rest. This paper studies semantic parsing, the task of turning text into a structured representation of its meaning, when the target is Freebase. The authors address two gaps. Freebase may lack a category or relation needed to express part of a phrase. It may also have the right category or relation and be missing the particular fact. The distinction matters if the aim is to understand descriptions in ordinary text or use them to add facts.
The authors start with the structure of the phrase, then look for Freebase concepts that fit. If a modifier, relation, or entity lacks a suitable match, the finished analysis can retain it as an open concept. This keeps an unsupported part of the description visible while allowing supported parts to become database facts. The parser learns from Wikipedia category names paired with their members and from a smaller hand-annotated collection. The large collection supplies evidence about which words and database concepts tend to go together. The annotations teach the parser how to use that evidence when choosing a complete analysis.
The experiments use Wikipedia category names and descriptions that appear beside named entities in newswire. The authors evaluate the meaning assigned to each noun phrase and, separately, the facts extracted when the entities being described are given. On the Wikipedia test set, the parser reaches 28.4% exact-match accuracy for phrase meanings, compared with 21.8% for a supervised extraction baseline. On the newswire apposition test set, the corresponding results are 4.7% and 0.0%. For fact extraction, the authors distinguish facts the phrase expresses from facts that are true of the entity but go beyond the wording. When both count as acceptable, the parser reaches precision scores of 72.6 on Wikipedia and 61.4 on newswire, compared with baseline scores of 58.7 and 13.9.
The contrast between the tasks explains what partial grounding buys. A parser can recover a useful fact from a phrase even when it fails to get the whole meaning right. Removing the open concepts reduces exact-match performance on the Wikipedia development set, and the error analysis identifies several remaining sources of failure, including overly broad database concepts and errors in the initial parse. According to the authors’ estimate, running the method over Wikipedia’s collection of categories could produce as many as 12 million new facts for Freebase with a precision of 72%. The test results measure the quality of sampled outputs. The larger figure estimates the potential yield of applying the approach at scale.
Deep dive: Scalable Semantic Parsing with Partial Ontologies
Scalable Semantic Parsing with Partial Ontologies shows how to map noun phrases to Freebase and retain meanings its schema cannot express. · about 35 minutes to read
The problem and its context
What can be missing from a knowledge base
A knowledge base records assertions about entities, such as a person, a place, or a musical work. Its ontology specifies the categories and relations available for making those assertions. A category might identify something as a city. A relation might connect a person with a profession or a place with a larger region. This distinction between the schema and the assertions stored under it gives rise to two different problems in knowledge graphs and ontologies.
A schema gap arises when an expression has no suitable counterpart among the available categories and relations. Some of the paper's examples involve descriptions with words such as relaxed and quake-hit. A nearby Freebase type may capture what the described thing is while leaving out what the modifier says about it. Even adding more instances of existing Freebase relations would leave such a gap if none of those relations could express the missing content.
A fact gap arises when the ontology supports an assertion but the database lacks it for a given entity. A birthplace relation can exist without a birthplace entry for a particular person. The paper cites a study reporting that over 70% of people in Freebase had no birthplace recorded and that 99% had no recorded ethnicity. A noun phrase can therefore express a fact that Freebase is capable of storing and that a search of its existing assertions would fail to retrieve.
The gaps can coexist in the same phrase. A description can combine a geographical relation with a modifier outside the schema, while the geographical fact itself is absent for some of the places described. For a semantic parser, there are distinct decisions about whether a piece of meaning can be expressed and whether the database already supplies evidence for a particular assertion. An extraction system has a reason to preserve that distinction. The absence of a fact is precisely what makes a grounded extraction a candidate for adding information.
Why noun phrases are a demanding test
The paper takes noun phrases as its unit of analysis. A category title can describe many entities that share certain properties. An apposition, where a descriptive phrase appears alongside a name, can supply several attributes of the named entity. A description of a gymnast can convey a kind of sport, an association with a country, and a qualification about the person's earlier status. The pieces may differ in how readily they can be expressed in Freebase.
Nouns can introduce relations without a verb that states how their arguments are connected. The country word in a description of football clubs, for example, names a geographical association, but the phrase can leave its exact nature implicit. A compound can also denote a category whose meaning would change if its component nouns were treated as independent properties. The authors report that 65% of the noun phrases in their manual study contained implicit relations. They place this problem alongside earlier work on omitted arguments of nominal predicates and the syntax of noun compounds. Beyond NomBank
The paper also distinguishes its use of referring expressions from earlier work on descriptions in a visual setting. In both cases a description singles out an entity or a set of entities. Here the question is whether that description can be represented with predicates from a broad knowledge base, together with open predicates where necessary. A category's membership helps connect the words to things they describe, while the phrase itself determines which characteristics the analysis should express. Learning Distributions over Logical Forms for Referring Expression Generation
What earlier approaches assumed
Earlier Freebase work had made progress in mapping questions to executable logical forms. In that setting, the availability of a route to the correct answer is part of how a benchmark can be constructed. The authors note that WebQuestions retained only 7% of the questions initially collected after filtering for answerability. That kind of benchmark makes it possible to evaluate a parse by running a query and comparing the answers. It also makes the test population different from an ordinary collection of descriptions, where there need be no complete query that Freebase can execute. Semantic Parsing on Freebase from Question-Answer Pairs · Semantic Parsing via Paraphrasing
The paper describes other Freebase question answering approaches that search among stored facts without building a compositional representation of the question. The authors' concern is that even an effective search depends on the required fact already being present. In their own setup, composing a description and checking which entities the database returns are different operations. A phrase can have a defensible analysis even if a query based on it returns very little.
The parser's immediate predecessor already separated linguistic analysis from ontology matching. It built an initial logical form that followed the structure of the text, then adapted that form to the target ontology. This separation allows substantially different expressions to converge on the same database relation. The present paper reuses that architecture and extends the later stage so that it can retain an explicit trace of meanings that lack a satisfactory match. The choice about where to stop grounding becomes part of the analysis. Scaling Semantic Parsers with On-the-Fly Ontology Matching
The authors also discuss earlier attempts to work with incomplete schemas. One approach assigned each brief search query to just one relation in Freebase. Other work built partial Freebase analyses for information extraction using a fixed inventory of binary relations. The parser in this paper searches the wider Freebase schema and aims to account for several parts of the same description. The related work section also describes an approach that uses Freebase entities with open predicates through matrix factorization. Choi and colleagues want the supported parts of their output to contain Freebase predicates as well as entity identifiers. Weakly Supervised Training of Semantic Parsers
In relation extraction, a common starting point was a verb or another expression connecting a pair of named entities. The paper situates supervised and distantly supervised extraction in that tradition. A noun phrase can convey an entity's type with no second name, or express several relations alongside a type. The authors also discuss ReNoun, which used noun phrase structure for open extraction and found that 97% of the Freebase attributes it considered were commonly expressed in noun phrases. The present study asks which pieces of a noun phrase can be represented directly in a particular database, while keeping the rest available in the semantic analysis. Distant Supervision for Relation Extraction without Labeled Data
The method, step by step
From a description to a candidate fact
Consider the paper's example of former municipalities in Brandenburg. The parser first has to work out that the phrase describes municipalities, that former modifies them, and that the location phrase applies to them. Those decisions define the structure of an analysis before any decision about Freebase. The parser can then look for a Freebase entity for Brandenburg and a Freebase relation for geographical containment. The paper gives the other parts of the phrase open predicates. In the resulting analysis, the location assertion remains available for extraction even though the database vocabulary cannot express the description in full.
The method treats a logical form as a structured description of the entities that would satisfy it. Each component can assert a property of the described thing, or connect that thing with another entity. A unary predicate expresses a property of one argument, such as being a city. A binary predicate relates two arguments, such as a place and the region that contains it. A literal is an individual assertion in the logical form. For attribute extraction, the system keeps literals expressible wholly in Freebase terms. It applies each of those literals to each supplied entity that the phrase describes.
From a noun phrase to Freebase attributes
The steps in order.
The last step belongs to extraction. In referring expression resolution, the parser receives the phrase and returns its logical form. This distinction affects the evidence the parser can use. During extraction it can take account of information about the described entity, such as whether Freebase identifies it as a person. During resolution the described entities are the objects of the description and are unavailable as clues. The parser can still link a name that appears inside the phrase, such as Brandenburg, because that name is part of the input.
Compose a logical form before consulting the schema
The first stage uses Combinatory Categorial Grammar, abbreviated CCG. In this use of CCG, words and phrases carry syntactic categories together with pieces of meaning. A category specifies how an expression can combine with neighboring expressions. A semantic expression specifies what is contributed when they combine. A modifier can take a noun's description and add a condition to it. A phrase beginning with a preposition can first take a place name as its argument and then add a relation to the noun it modifies.
In the Brandenburg example, the modifier former can be represented by the following expression.
λf.λx.(f(x) ∧ former(x))
The symbol λ introduces an argument for a function. Here f is the description being modified and x is the individual to which that description applies. The dot separates each argument from the expression that follows it. The notation f(x) applies the description to x, and former(x) represents the modifier's contribution at this stage. The sign ∧ requires both conditions to hold. With municipalities supplied for f, the result describes an x that meets both the noun's and the modifier's conditions.
The preposition receives a representation that allows a place name to combine with it before the resulting expression modifies the noun.
λf.λx.λy.(f(y) ∧ in(y, x))
Here λ again introduces arguments, and the dots separate them from the expression they govern. The variable f stands for the existing description, x for the place supplied to the preposition, and y for the thing the phrase describes. The notation f(y) applies the description to y, and in(y, x) associates y with the place x. The sign ∧ joins the description and the locative condition. Once the parser has supplied the place and the modified noun, their meanings contribute to the same description.
The result of this CCG derivation takes the following form.
l₀ = λx.(former(x) ∧ municipalities(x) ∧ in(x, Brandenburg))
The symbol l₀ is the underspecified logical form, and the equals sign gives its contents. The variable x, introduced by λ, ranges over things the phrase could describe. The predicates former and municipalities apply to x. The predicate in connects x to the constant Brandenburg, with the comma separating the relation's arguments. The dot separates the bound variable from the conditions, which are joined by ∧. The word-like constants and predicates still owe their meanings to the linguistic derivation. The ontology matching stage decides their database interpretation.
This ordering gives the parser a place to make a syntactic decision about what modifies what without committing to a particular Freebase predicate. It also exposes a point where an incorrect decision can carry forward. If an initial parse puts a modifier on the wrong noun, the next stage is trying to ground the wrong configuration. The architecture allows some forms of restructuring, but it proceeds from a selected initial analysis.
The parser assigns a linear score to each candidate and makes its first selection as follows.
l* = arg max over l ∈ CCG(x) of (θₚ · φₚ(l))
Here x is the input phrase and CCG(x) is the set of candidate forms built for it by the grammar. The symbol l denotes a candidate and ∈ means it belongs to that set. The feature vector φₚ(l) describes the candidate's parse, and θₚ contains the corresponding learned weights. The subscript p identifies the parsing stage. The dot · is the dot product, which adds the products of corresponding weights and feature values. The operation arg max returns the candidate giving the highest score. The equals sign assigns that candidate to l*, with the star indicating the selected form. In this scoring expression x refers to the text, while in the Brandenburg logical form it is a variable bound inside the description.
Match structure and vocabulary to Freebase
The ontology matching stage can change both the arrangement of an expression and the constants it uses. Structural matching can contract or expand part of the initial expression so it fits a concept with the appropriate argument structure. The authors reuse these operations from the earlier ontology-matching parser. Constant matching chooses a database interpretation for a predicate or entity, or introduces an open placeholder. The separation matters because a phrase and the database need not divide the same meaning into the same pieces.
The paper's example of symphonic poems by Jean Sibelius shows a case where the entire description can be grounded. The initial analysis represents the words about the kind of work and the expression of authorship in its own vocabulary. The finished form uses a composition form and a composer relation.
y = λx.(composition.form(x, Symphonicpoems) ∧ composer(JeanSibelius, x))
Here y is the finished logical form, and the equals sign associates it with the expression on the right. The notation λx. introduces x, the described work. The predicate composition.form relates x to the Freebase value Symphonicpoems. The predicate composer relates the entity JeanSibelius to x in the argument order shown in the paper. The commas separate arguments, and ∧ requires the work to satisfy both literals. When a category supplies works such as The Bard or Finlandia, the extractor can use the literals to make assertions about each work.
A direct match can replace a word-like predicate with a relation serving the same role. In the Brandenburg derivation, in can map to location.containedby, and the place name is matched to a Freebase entity. Another operation builds a property by linking to an entity when the database lacks a native type for the word. The paper illustrates that operation with actor.
actor(x) → person.profession(x, Actor)
Here x is the individual being described, and actor(x) is the property expressed in the first-stage vocabulary. The arrow marks a permitted ontology transformation. On the right, person.profession is the Freebase relation, Actor is a Freebase entity used as its second argument, and the comma separates that argument from the person x. The resulting assertion has the function of a type description in the phrase, even though it is expressed through a binary relation in Freebase. The system can find the entity through Freebase search and consider relations that link to it.
Open matches cover the cases in which a suitable database counterpart is absent. OpenType can retain a property, such as what former contributes to the municipality description. OpenRel can preserve a relational connection when the target of the relation can be linked but the relation itself lacks a satisfactory Freebase match. In the municipality example, the parser finds an entity for the concept of a municipality while leaving the link to it open. OpenEntity allows an analysis to retain an entity mention when there is no good Freebase entity match. These operators keep track of which parts of an expression remain outside the target ontology.
The final Brandenburg form in the paper can be written as follows.
l₄ = λx.(OpenType(x) ∧ OpenRel(x, Municipality) ∧ location.containedby(x, Brandenburg))
The symbol l₄ denotes the last form in the illustrated sequence, and the equals sign gives that form. The expression λx. introduces the described entity x before the dot. OpenType occupies the place of the unmatched modifier. OpenRel links x to the Freebase entity Municipality through an unspecified relation. location.containedby is the grounded relation whose arguments are x and the Freebase entity Brandenburg. Commas separate the arguments, and ∧ joins the conditions. For extraction, the place connection qualifies as a Freebase literal. The open type and open relation remain parts of the description.
In the example involving defunct Korean football clubs, the open property represents the meaning of defunct. A separate open relation connects the club to Korea, and the football club type is grounded. This configuration illustrates why grounding an entity and grounding its relation are distinct decisions. The country can be identifiable even when the wording and available schema give insufficient grounds for selecting a corresponding binary predicate.
Rank the ontology matches
For the selected CCG form, the parser searches the possible transformations and chooses the highest-scoring result.
y* = arg max over r ∈ ONT(l*, K) of (θₒₙₜ · φₒₙₜ(r))
Here K is the target knowledge base and l* is the selected underspecified form. The notation ONT(l*, K) denotes the set of ontology transformations considered for that form and knowledge base. The comma separates those inputs, and r ∈ ONT(l*, K) says that r is a candidate transformation drawn from that set. The feature vector φₒₙₜ(r) gives evidence about the transformation. The weights θₒₙₜ belong to the ontology stage, as indicated by the subscript ont. The dot product · gives the score by summing weighted feature values. The operation arg max selects the transformation giving the highest score, and y* denotes the resulting final analysis. The equals sign expresses that selection.
The order of the two scoring decisions is consequential. The ontology matcher takes the top CCG analysis, so an attractive Freebase interpretation of a lower-ranked CCG form cannot improve the output through joint reranking. The authors use beam search in each stage, keeping a restricted set of candidates as the analyses are built. The Freebase search interface supplies up to 10 named entity candidates, 300 binary predicate candidates, and 500 unary predicate candidates per phrase being matched. These limits are part of the experimental search procedure. Considering the broader ontology gives the system more scope than a classifier trained for a fixed inventory, while the search still depends on which candidates survive retrieval and pruning.
The experiments use the Jan. 26, 2014 Freebase dump. With binary predicates that take numeric values pruned, the resulting knowledge base has 9351 binary predicates, 2754 unary predicates, and 1.2 billion assertions. The candidate inventories give the later stage many possible matches for the same expression. The scoring features provide different kinds of evidence for deciding whether any of them should replace an underspecified predicate.
Learn lexical associations from category membership
A category name supplies a description, and its member pages supply examples of the entities described. Suppose a category brings together wars involving the Grand Duchy of Lithuania. The associated Freebase entities may frequently have a military conflict type or participate in a relation recording combatants. Across many categories, the researchers can count which subphrases occur with which Freebase attributes and relations. These counts come from the assertions available for the entities already paired with the category.
The relation counts and the attribute counts serve related purposes. An attribute with a specific value can provide evidence that a word or phrase frequently maps to that particular property. Seeing entities participate in a relation supplies evidence about the relation itself, even though the category may express it only indirectly. The paper's figure includes both kinds of evidence for the war example. Multiple entities can contribute evidence for the same pairing.
A raw count would give advantages to very common database concepts. The authors explain that Wars occurs with the event type more frequently than it occurs with the military conflict type in these counts. An association measure can prefer military conflict if the pairing is stronger relative to the prevalence of the concepts. The paper uses a variant of pointwise mutual information in which the joint count is squared.
PMI²(a, b) = log(count(a ∧ b)² / (count(a) × count(b)))
Here a is a word or subphrase and b is a Freebase attribute or relation. The expression count(a ∧ b) is their observed joint count, with ∧ denoting their occurrence together in the category evidence. The superscript ² squares that count. The terms count(a) and count(b) are the separate counts, and × multiplies them. The slash divides the squared joint count by that product. The operation log takes the logarithm of the resulting ratio, and PMI²(a, b) names the resulting association feature. The equals sign defines it. Squaring the joint count gives repeated evidence more influence in a measure whose ordinary form can favor rare co-occurrences.
The category pairs are useful precisely because they are plentiful and cheap to obtain compared with annotated logical forms. They are indirect supervision. A war can have properties unrelated to the wording of its category, and a relevant property can be absent from its Freebase entry. Counts across the collection can still favor plausible interpretations. During scoring, the relevant lexical association values are summed over the matches proposed in a derivation and contribute as a feature. The manually labeled examples determine the weight that this aggregate evidence receives.
Use type evidence without requiring complete typing
Relation arguments also have expected types. A relation for military combatants may expect a combatant in its object position. The paper points out that many countries that took part in wars lack this type in Freebase. A hard condition could therefore discard a plausible analysis because of an incomplete entity entry. The authors collect type overlap statistics so that associations observed in the database can contribute to the score. An object of the combatant relation often has the type for a country, which supplies evidence relevant to cases where the officially expected type is absent.
The type features also compare parts of the logical form with one another. In the example of the British home city of the Queen, a relation connects the Queen to a place, another relation puts the place in the United Kingdom, and a type predicate identifies the place as a city. The same variable appears across these literals. Types assigned to that variable are related through the Freebase hierarchy. A city can meet a more general expectation that the variable be a location. This provides evidence in favor of the predicates forming a coherent description.
For a relation with a named argument, a feature records agreement between the argument's available type and the relation's expectation. In the Queen example, Freebase typing of the named individual as a person supports her use in the person position of the home relation. Relations that share a variable are tested for whether their expected types are disjoint or one subsumes the other. If they are disjoint, the scoring can use observed associations between their higher-level types. Unary types such as city participate in these checks as predicates on the shared variable.
The system also uses co-occurrence of Freebase domains, such as football and sports, as a compatibility signal. For attribute extraction, it can compare a type the described entity already has with the type of thing the logical form describes. The paper uses the broad types person, location, and organization for this feature. A phrase might have multiple plausible analyses in isolation, with the supplied entity favoring one of them. The feature is omitted for referring expression resolution because the identity of the described entity is unavailable in that task.
Further features record the lexical items selected during CCG parsing and whether capitalized words are linked to named entities. The ontology stage uses exact string agreement, agreement after stemming, and edit distance weighted by length. It also takes the logarithm of the Freebase search score for a phrase and candidate entity. Features record whether a linking predicate was introduced, how frequent a Freebase attribute is across the category entities, and whether the same Freebase concept repeats. Each kind of open placeholder can affect the score, so leaving a component open carries learned consequences of its own.
Fit the two scoring stages to annotated examples
The authors use the Wikipedia development collection to teach each decision with explicit supervision. An annotation includes the noun phrase and its described entities, the intended final logical form, the intermediate CCG form, and the mapping from parts of the phrase to Freebase constants or open concepts. This identifies a target for the initial parse and a target for the choice of ontology transformation. The paper describes fitting the two parameter vectors separately with structured max-margin perceptrons. The features describe whole structured candidates, allowing weights to favor combinations of decisions that agree with the annotations.
The initial weights favor analyses with compatible types. Type mismatches begin with a weight of -2, and features for incompatible topic domains and repetition begin at -10. The remaining feature weights start at 1. These are initial values in the reported experiment. The training procedure uses the annotated analyses to adjust which signals the parser trusts. For example, a close name match can be counterbalanced by evidence that the candidate relation is in an implausible domain.
The division between data sources also explains how the system can predict relations absent from the annotated collection. The small collection teaches the scoring procedure how to use association, string, type, and other signals. The large set of category memberships supplies lexical evidence for many Freebase concepts. A candidate can receive support through those signals without the annotators having included that particular relation in a labeled derivation. The authors make the new datasets available through their websites.
Experiments and results
The two collections and what Freebase covers
The Wikipedia collection pairs category names with the entity pages assigned to them. The paper counts 365,504 categories, 2,813,631 entities, and 7,292,326 entity-category pairs in the full collection. A pair is a membership association. The same entity can belong to several categories, and a single category can describe many entities. The authors draw 500 categories for development and 500 for testing, restricting selection to category names of 3-10 words that describe fewer than 100 entities. The test categories are unseen in the labeled training procedure. The aggregate lexical statistics are collected over the category collection as a whole.
The newswire collection contains appositive descriptions obtained using the Stanford dependency parser on the newswire portion of KBP 2009. Dependency parsing identifies grammatical relations among words and supplies a way of finding a description placed beside a name. For this collection, the description has 3 to 10 words, begins with an article, and is paired with a named entity present in Freebase. The authors count 66,924 appositions in the full dataset and randomly choose 300 for testing. They run the parser trained on Wikipedia development data on those examples. There is no apposition training set in the reported experiment.
The newswire examples can depend on wording elsewhere in a sentence or story. A phrase that locates a city relative to the capital leaves the capital's identity to be resolved from context. A description using the company can likewise depend on an earlier mention. The extraction procedure can also mistake adjacent material for an apposition. These issues affect what meaning can be assigned from the isolated phrase and whether the phrase and named entity form a valid pair in the first place.
The annotated Wikipedia development set provides a way to distinguish schema coverage from fact coverage. Across the 500 development categories, the annotations assign an average of 2.58 Freebase attributes and 0.39 concepts outside Freebase per category name. The authors find that 27.2% of those phrases include a concept absent from the schema. The figure concerns whether the ontology has the necessary expressive vocabulary, regardless of which entities already have the corresponding attributes.
The annotations also allow more than one defensible interpretation. A hotel category may be describable through a direct type or through a relation giving a building's function. A phrase about people from Bordeaux can express a birthplace or a place where they have lived. The authors gather an average of 1.8 logical forms per noun phrase in the annotated data. Those analyses use 97 distinct binary relations and 247 distinct unary attributes. The alternatives can reflect different database encodings of a similar description or genuine uncertainty about which relationship the wording conveys.
The 72.8% of development phrases that can be expressed entirely in Freebase allow a separate check through query execution. Among the resulting queries, 56% return no entities. The queries that return something have an average overlap of 15% with the Wikipedia entity sets. The authors also check individual annotated attributes against the entities in the categories and find that Freebase contains only 33.6% of them. A conjunction can return few entities when one of its literals is missing for many category members, even if other literals are available. The attribute check shows how much information is absent at the level at which the extractor proposes additions.
What the evaluation counts
In referring expression resolution, the output is compared with a human interpretation of the phrase. The exact-match score records whether the complete logical form is judged correct. The development evaluation also reports precision, recall, and F1 on individual literals. Precision concerns how much of the predicted material is in the annotation, recall concerns how much of the annotated material is recovered, and F1 combines them. A phrase can receive credit for a correct component under partial matching even if a missed modifier or a wrong relation prevents an exact match.
Freebase query results are used in the coverage study. For resolution, the authors score the analysis itself. This choice prevents a missing assertion from automatically turning a semantically correct interpretation into an error. It also allows the evaluation to assess open literals, which are part of the meaning representation but cannot be executed as Freebase conditions.
For entity attribute extraction, the system is given the entities alongside the phrase. On the development set, the authors compare proposed facts with the union of Freebase attributes across the annotated forms. A missing annotation can count against a plausible output. Test outputs receive manual judgments that distinguish a fact expressed by the phrase, a benign fact that is true but not expressed, and a false fact. A descriptive phrase about the capital of a country can license a capital relation directly. Classifying the entity as a location may be true and judged benign even when that type adds little to the interpretation of the wording.
Strict precision, denoted by P in the results, credits only facts judged to be expressed by the phrase. Adjusted precision, denoted by P*, also credits benign extractions. The paper gives both because an understated but true assertion has different consequences for database enrichment and for faithfulness to the text. It also gives the mean number of facts taken from each noun phrase. The test sets lack exhaustive annotations for all extractable facts, so the authors report no test recall. The development scores use five-fold cross-validation, and the final evaluation runs the trained system on the held-out test data and scores its predictions manually.
The comparison systems
The supervised information extraction baseline trains separate support vector machine classifiers for unary and binary relations. Each prediction is anchored in the phrase. Nouns and adjectives can anchor unary attributes. Named entities anchor binary relations. The classifiers use nearby word sequences and part-of-speech tags as context. The best predictions are combined into a logical form. The baseline can therefore predict useful individual properties without building those properties through a CCG derivation. Its prediction inventory comes from the annotated Wikipedia categories.
KCAZ13 is the paper's reimplementation of the earlier ontology-matching parser for Freebase question answering. In this comparison it has neither the lexical PMI features nor the open-schema matching operators. It provides a reference point for what happens when the inherited architecture is used without the principal additions. The authors also test single-component removals and a condition with gold named entity links. Gold links supply the reference identity for mentions that need entity linking, allowing the study to locate some of the loss attributable to that stage.
Recovering the whole description
On the Wikipedia development set, the proposed parser scores 15.9 for exact match against the annotated logical forms. The independent extraction baseline scores 6.8, and KCAZ13 scores 1.4. On partial matching, the proposed parser has literal precision of 39.3, recall of 33.5, and F1 of 35.1. The extraction baseline has precision of 37.0, recall of 23.3, and F1 of 28.6. Its ability to identify correct literals contributes more to its partial score than its capacity to assemble whole descriptions. KCAZ13 has partial-match F1 of 7.0 in that development comparison.
The manual test evaluation gives exact-match accuracy of 28.4% for the proposed parser and 21.8% for the baseline on Wikipedia categories. On appositions, the proposed parser reaches 4.7%, and the baseline reaches 0.0%. These are results under the same test scoring procedure for each dataset. The apposition comparison also places both systems in a setting different from their Wikipedia training data.
Referring expression resolution on the Wikipedia test set by exact-match accuracy
The partial ontology parser recovers more complete category meanings than the extraction baseline.
The numbers
| System or setting | accuracy % |
|---|---|
| IE Baseline | 21.8 |
| Our Approach (this paper) | 28.4 |
The paper attributes part of the difference between development and test scores to the way they are measured. The development annotations try to enumerate acceptable analyses in advance. Human test judges can credit a defensible candidate that comes up during review. The category examples with several encodings and several plausible meanings show why the flexibility of the judge can affect the outcome. The development and test numbers each make sense with their own comparison procedure.
Extracting individual attributes
In cross-validation on the Wikipedia development set, the baseline's entity attribute extraction precision is 37.3, recall is 26.5, and F1 is 30.6. Its average output is 1.6 facts per phrase. When the proposed parser uses its highest-ranked analysis, it has precision of 44.2, recall of 32.8, and F1 of 37.7, with 1.9 facts per phrase. These scores concern Freebase attributes. The resolution metrics, by comparison, assess the logical form that contains both grounded and open parts.
In the manual Wikipedia test evaluation, the proposed parser has strict extraction precision of 61.2 and adjusted precision of 72.6. The baseline has strict precision of 56.7 and adjusted precision of 58.7. The proposed parser returns 2.0 facts per phrase, and the baseline returns 1.6. Thus the improvement in strict precision on this dataset accompanies a higher average output. The adjusted score additionally credits the portion of the output judged true even though the phrase does not state it.
On the apposition test set, strict precision is 33.2 for the proposed parser and 4.9 for the baseline. Adjusted precision is 61.4 and 13.9, respectively. The proposed parser returns 0.9 facts per phrase, compared with 1.3 from the baseline. The two newswire measures reflect distinct outcomes. Adjusted precision represents the parser's rate of producing true facts among its predictions, while strict precision asks how frequently the phrase supplies the asserted fact. The lower average output also limits what can be concluded about coverage.
Entity attribute extraction on the apposition test set by adjusted precision
The partial ontology parser produces a higher share of true attributes when benign predictions receive credit.
The numbers
| System or setting | adjusted precision % |
|---|---|
| IE Baseline | 13.9 |
| Our Approach (this paper) | 61.4 |
The low rate of complete analyses on newswire can coexist with the higher adjusted precision of the facts chosen for output. A phrase may have a plausible grounded part and other components the parser attaches incorrectly or leaves unsupported. That phrase fails exact match, but a true grounded literal can still count in extraction. Neither score alone gives the fraction of all worthwhile newswire facts recovered.
The paper estimates the potential addition to Freebase at up to 12 million new facts at 72% precision when the approach is applied across the Wikipedia categories. The low rate of existing Freebase coverage in the annotated attributes motivates the scale of the estimate. The extraction evaluation supplies evidence about expected quality. The estimate concerns a potential collection of additions, while the manually judged test predictions establish the reported precision on the test sample.
What the ablations show
Open matches, lexical evidence, and type compatibility
On the Wikipedia development set, removing any of the tested components reduces exact-match performance against the annotated forms. The different effects on partial matching help locate what each component contributes. An intervention can change which qualifiers get represented, which relation is chosen, or how several choices fit together, and those changes need not affect partial precision and recall in the same way.
Component removals on the Wikipedia development set by exact match
The full parser gives the highest exact-match score among the settings in which entity links are predicted.
The numbers
| System or setting | exact match % |
|---|---|
| NoTyping | 9.6 |
| NoPMI | 11.0 |
| NoOpenSchema | 13.7 |
| Our Approach (this paper) | 15.9 |
Without the open operators, NoOpenSchema reaches exact match of 13.7 and partial-match F1 of 31.1, compared with 15.9 and 35.1 for the full parser. Its literal precision of 35.8 and recall of 30.0 are both below the corresponding full-system values of 39.3 and 33.5. The result supports allowing a modifier, relation, or entity to remain outside Freebase when appropriate. It measures the effect of removing the operators together. The comparison cannot identify which placeholder contributes most or isolate how many incorrect Freebase facts each placeholder prevented.
NoPMI reaches exact match of 11.0 and partial-match F1 of 21.6. It has literal precision of 23.7 and recall of 20.8. The comparison supports using association evidence gathered from category memberships when selecting literals. The parser still has access to other signals, including string and type information, so the change shows what the lexical statistics add within that feature set. In the war example, the lexical evidence can distinguish a often observed general event type from a narrower category that better fits the word.
NoTyping scores 9.6 for exact match and 31.8 for partial-match F1. Its literal precision of 37.6 is close to the full parser's 39.3, while its recall is 29.3 against 33.5 for the full parser. The effect is especially visible in the exact-match comparison. Compatibility among arguments and predicates can help an analysis come together even when individual literal choices remain plausible without typing. The features also make some mistakes of their own. The qualitative analysis identifies cases where the pressure to find compatible types favors splitting a compound that ought to be interpreted together.
The gold named entity condition reaches exact match of 20.8 on the Wikipedia development set, with partial-match precision of 46.6, recall of 40.5, and F1 of 42.3. These scores measure performance with an additional source of correct information. Resolving names helps, but many interpretations still fail even after that help is supplied. The authors use the comparison to motivate examining ontology matches and the initial logical form as further causes of error.
Widening the set of candidate facts
For the Wikipedia development extraction task, the authors also test which grounded attributes appear across several of the highest-ranked logical forms. This comparison changes how many analyses are used to collect facts. A lower-ranked interpretation can contain a reference attribute that the top choice missed, along with other assertions that make the expanded output less precise.
The highest-ranked form yields development precision of 44.2, recall of 32.8, and F1 of 37.7. Using the top 2 forms gives precision of 36.9, recall of 38.0, and F1 of 37.5. The average output rises from 1.9 to 2.6 facts per phrase. At the top 10 forms, precision is 15.9 and recall is 52.0, with F1 of 24.3 and an average of 8.5 facts per phrase. The larger candidate set contains more of the annotated facts. Its declining precision shows the cost of taking lower-ranked analyses as an undifferentiated source of assertions. This is a development result against the reference attributes, under the same matching rules as the highest-ranked form.
Inspecting failures and unfamiliar relations
The authors examine 100 errors from the Wikipedia test set. They attribute 10% to entity linking and about 30% to choosing a meaning broader or narrower than intended. Mapping novel to book gives a concrete example of the latter. The database concept is relevant but loses the distinction conveyed by the phrase. This sort of mismatch can survive ordinary type checking because both concepts are plausible in the same domain.
About 10% of the Wikipedia errors involve domain ambiguity, such as interpreting a stage actor through a Freebase predicate for film actors. Another 10% involve misleading string similarity. The paper gives the example of inferring Hungarian nationality from a description of Hungarian expatriates. Word overlap helps the parser find candidates, but the intended relation cannot always be recovered from that overlap. The distinctions at stake are narrower than a decision about whether the candidate belongs to the right broad subject area.
Incorrect underspecified logical forms account for 15% of the sampled Wikipedia failures. About 10% come from the typing features encouraging the parser to split compound nouns into separate attributes. On the apposition dataset, the authors attribute 65% of the errors to parsing, counting both apposition detection and CCG analysis. For newswire, an error can therefore arise before Freebase matching begins. The authors identify better analysis of attachment in appositive noun phrases as a direction for improvement.
The extraction analysis also looks at how the parser handles relations outside the annotated development vocabulary. Among the distinct relations in correctly predicted triples, over 40% are absent from the development set. The unit here is a unique relation appearing in a correct prediction, rather than a share of all predicted facts. The result demonstrates that the parser can use some relations it was never taught through an annotated development example. Candidate retrieval and features that transfer across relations make that possible. The comparison does not give equivalent precision figures for seen and unseen relations.
Limitations
Limits identified by the authors
The authors acknowledge that the development annotations are incomplete even though they try to record multiple legitimate forms. Alternative Freebase encodings and ambiguous noun phrases make exhaustive enumeration difficult. The development evaluation can penalize a defensible prediction, while the test judges can assess it in context. That flexibility on test comes with a different limitation. Judging the system's output leaves no exhaustive inventory of all the facts each phrase could support, so the test evaluation cannot report recall.
The authors also describe difficulties specific to appositions. The source collection contains errors from automatic apposition detection, and some of the descriptions require resolving references outside the phrase. The initial CCG parser was developed on Wikipedia categories, while newswire phrases can have more difficult attachment decisions. The authors report that their procedure misses many of the true facts available from this material. The absence of full test recall means the scale of those misses remains unmeasured.
The conclusion calls for better parsers and better control of the extraction precision and recall tradeoff. It further suggests gathering material that exhibits compositional phenomena, including negation and disjunction. The reported experiments concern the noun phrase constructions found in the two datasets. The proposed follow-up would test how the approach responds when the meaning depends on operators beyond the conjunctions illustrated in the paper.
Limits visible in the experimental setup
An open predicate is a way to preserve an unresolved part of the meaning. It gives the parser somewhere to put a property that it cannot express in Freebase, but it does not furnish Freebase with a definition of that property. A downstream user can see that former contributes a condition, while the corresponding open type supplies no date or executable test for when the status ended. The method's success at partial grounding therefore supports structured retention of unsupported information. Full execution of the representation against the target database is a separate capability.
The decision to pass only the top CCG form to ontology matching limits recovery from early choices. The reported gains apply to an architecture in which structural and lexical decisions in the ontology stage start from that fixed candidate. The ablations do not compare that procedure with allowing Freebase evidence to change the choice of CCG form. The apposition error analysis makes this dependency relevant because a substantial portion of the failures occurs in parsing.
The experiments use a specific Freebase dump after pruning binary predicates that take numeric values. They do not show the same behavior for descriptions that require those predicates, or for a different target ontology with different entity coverage and type conventions. More generally, the labeled Wikipedia splits measure performance on short category names subject to the study's membership restriction. The apposition split extends the test to newswire descriptions selected by a particular grammatical pattern. The two results support a comparison across these sources and selection rules. They leave performance on unrestricted sentences and other text collections open.
The split between aggregate statistics and annotated training also matters when interpreting generalization. The Wikipedia test categories are unseen as labeled analyses, and the lexical counts come from the complete category collection. The setting measures transfer of the learned scoring procedure to unseen annotations with collection-wide association evidence available. The newswire test offers a different comparison because its appositions are scored with a parser trained on Wikipedia data. The resulting figures combine differences in distribution, construction, and noise, so they do not quantify each source of difficulty independently.
Finally, adjusted precision has a narrower interpretation than faithfulness to the description. A true location type can improve the adjusted score even when the phrase was chiefly expressing a more specific relation. For an application that needs textual support for each new assertion, strict precision is closer to the relevant decision. Where an application values any true attribute, the adjusted measure provides complementary evidence. Neither test metric establishes the total number of correct new facts added to Freebase. The reported collection-wide yield remains an estimate.
What came after
The citing works place the paper alongside research on the mapping from syntax to meaning, question decomposition, and knowledge base completion. Their titles identify a distinct problem in each case. The citations establish a connection to the partial ontology paper, while the specific extent of method reuse remains unspecified.
One citing work studies how to transform dependency structures into logical forms for semantic parsing. Its subject is close to the first stage of Choi and colleagues' method, where the linguistic structure determines the initial arrangement of predicates and arguments. The point of contact is the path from structure in a phrase to a representation of what it says. Choi and colleagues take that representation into a further ontology-matching stage. The citation alone leaves open whether the dependency-based work adopts their open operators or the training procedure that scores those operators. Transforming Dependency Structures to Logical Forms for Semantic Parsing
Another citing work introduces a benchmark for question understanding through decomposition. A question expressed in parts and a noun phrase represented as a conjunction both make internal structure available for inspection. The objects of evaluation differ in a concrete way. The partial ontology study checks the predicates and arguments in noun phrase analyses, with Freebase determining which components can become database facts. The later benchmark's title identifies question understanding as its subject, and the citation does not establish that its decompositions are Freebase logical forms or that they use open placeholders. Break It Down: A Question Understanding Benchmark
The knowledge base completion paper addresses missing facts through subgraph feature extraction. That subject connects to the factual incompleteness exposed in the category experiments. Choi and colleagues obtain proposed facts by interpreting descriptions of known entities. Subgraph feature extraction concerns evidence available in graph structure for the completion task. Both subjects make missing assertions important, through different sources of evidence. The citation does not establish a transfer of the noun phrase parser, its lexical statistics, or its way of handling vocabulary outside the schema. Efficient and Expressive Knowledge Base Completion Using Subgraph Feature Extraction
Cite
Cite as Eunsol Choi, Tom Kwiatkowski and Luke Zettlemoyer. 2015. Scalable Semantic Parsing with Partial Ontologies. Proceedings of the 53rd Annual Meeting of the Association for Computational Linguistics and the 7th International Joint Conference on Natural Language Processing (Volume 1: Long Papers).
@inproceedings{choi2015scalable,
title = {{Scalable Semantic Parsing with Partial Ontologies}},
author = {Eunsol Choi, Tom Kwiatkowski and Luke Zettlemoyer},
booktitle = {Proceedings of the 53rd Annual Meeting of the Association for Computational Linguistics and the 7th International Joint Conference on Natural Language Processing (Volume 1: Long Papers)},
year = {2015},
doi = {10.3115/v1/p15-1127},
url = {https://doi.org/10.3115/v1/p15-1127}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/choi-2015-scalable-semantic-parsing-partial-ontologies/