Elamur Research

Sparse Information Extraction: Unsupervised Language Models to the Rescue

Paper · 2007 · Doug Downey, Stefan Schoenmackers and Oren Etzioni

Summary

A fact can appear just once in a large collection of webpages. An extraction system might find it, but a ranking based on repeated mentions has little basis for distinguishing it from a mistake found just as often. The paper introduces REALM, which assesses candidates by comparing the language around them with the language around often extracted examples of the same relationship. Its starting point is the output of information extraction, the process of turning statements in text into structured records.

REALM treats the most frequent candidates as provisional examples and uses them to ask two questions about the rest. Do the arguments look like the kinds of entities that belong in their respective roles? And does the wording around the arguments support the proposed relationship? For a headquarters claim, an organization and a city might pass the first check, but the organization could be based somewhere else. The type checker can draw on occurrences of each name separately. The relationship checker looks at occurrences where the names appear together and compares short stretches of wording with those found around the frequent examples. The two checks produce separate rankings, which REALM combines.

The authors evaluate the system on Conquered, Founded, Headquartered, and Merged using web text and candidates from TextRunner. Each test candidate was extracted at most twice for its relation. On the separate task of checking argument types, the hidden-state approach achieved an average area under the precision–recall curve of 0.849, compared with 0.712 for a checker based on literal word sequences. For full extraction assessment, REALM achieved an average area of 0.851. The authors report an average reduction of 39% in the area missing under the curve relative to the strongest previous baseline. REALM also achieved a higher average area than either of its components alone.

The corpus statistics are prepared before the assessor receives a relation. For a new relation, REALM needs a candidate list with enough repetition to choose provisional examples, and it can reuse the same statistics without manually labeled examples for that relation. This design fits open extraction, where the relationships of interest can be numerous and are not necessarily known in advance. The experiments establish a ranking improvement for sparse candidates in the relations studied, with correctness assessed separately from the automatic choice of examples.

Deep dive: Sparse Information Extraction: Unsupervised Language Models to the Rescue

REALM ranks rare facts extracted from web text by checking whether their arguments fit and whether nearby words support the proposed relationship. · about 36 minutes to read

The problem and its context

Finding a candidate and deciding whether to trust it

An extractor takes text and proposes that particular entities stand in a relationship. For the Headquartered relation, the proposed record names an organization in one position and a location in the other. REALM starts after a system has proposed such records. It receives the proposals for a relation and orders them so that true instances tend to appear earlier. The distinction matters because a candidate can be generated correctly in the mechanical sense that it matches a search or pattern, yet still express the wrong claim about the entities involved.

The authors define correctness in terms of the relationship between the entities named by the strings. For a headquarters candidate, the organization has to be based in the named location. An occurrence of both names in a sentence can supply evidence for the claim. The fact that both names occur, even in plausible roles, leaves the claim open. The assessment task concerns the proposed record, while the source sentence supplies evidence the system can use to judge it.

There is also a difference between a candidate and an observation of it. An extraction mechanism can derive the same pair from several sentences. Those observations contribute to the frequency of a single proposed relationship. If the assessor keeps track of that frequency, it can distinguish a pair recovered repeatedly from a pair recovered once. If several distinct candidates each have only one observation, frequency gives them the same standing. The ranking problem is then to find evidence that differentiates them.

The paper motivates this problem with a pattern found in earlier extraction datasets. In the data used by earlier work by Downey and colleagues, 50% of the extractions appeared only once. The authors connect this concentration of infrequent items with Zipf’s law. A corpus can contain substantial repetition for prominent instances while still giving many other candidates little repeated support. The size of the web collection and the amount of evidence for a particular record are distinct quantities.

This distinction becomes especially important when a record contains several arguments. The authors illustrate how a name can be assessed as a member of a class by looking for occurrences near a class indicator. With a relationship such as Headquartered, evidence that one name denotes a company and another denotes a city addresses only part of the problem. The system also needs evidence linking that company to that city in the appropriate way. An organization or city can be well represented in the corpus while the proposed connection between them remains rare. Sparsity can therefore belong to the pair even when it does not belong to each name individually.

What earlier assessment methods could use

The paper describes earlier systems that took advantage of repeated wording. Extraction patterns generated proposals, and the assessor used co-occurrence statistics to gauge how strongly a candidate was associated with words or phrases indicative of the relevant class or relation. In the authors’ city example, a class indicator can make an occurrence of a name informative because the surrounding words present it as a city. With enough evidence, the system can use patterns of recurrence to give some candidates priority over others.

That strategy supplies a natural reason to trust candidates repeated across distinct sentences. Its difficulty is that the relevant observations must exist for the particular candidate being scored. If a rare record is generated once and lacks further appearances with the patterns the assessor counts, its estimated support cannot become more discriminating simply by counting those same events more carefully. The question is whether the one known context can be compared with evidence from other records, and whether occurrences of the names outside the pair can help.

Another strand of earlier work used named-entity taggers to improve precision. The tagger could assign a category such as person, organization, or location, and an extractor could reject proposed arguments inconsistent with its expectations. The authors describe these systems as usually having a relatively small inventory of categories and requiring training examples labeled for those categories. A fixed inventory can cover some broad restrictions, but a relation can call for a narrower distinction. The authors use AuthorOf to illustrate the difference between the kind of entity that can fill the author position and the kind of thing that can fill the written-work position. The relevant background is named-entity recognition.

Pattern learning offered a different way to deal with sparse data. Repeated examples of a relationship could serve as starting points for discovering expressions associated with that relationship. Those expressions could then help assess further candidates. The paper discusses Snowball in this connection. The authors also describe earlier work that bootstrapped a classifier for each relation and used manually tagged examples. In both cases, the relation matters when the system does substantial work on the corpus. It determines which patterns to learn or which classifier to build.

REALM shares the premise that recurring expressions can tell us something about unseen or infrequent instances. It moves the collection of linguistic evidence to a stage where the target relations are still unspecified. At assessment time, examples from a particular relation determine which part of that evidence is relevant. A distinction that earlier approaches could encode in a separately trained classifier or a fixed category becomes a comparison with the observed behavior of the examples supplied for the current task.

Why open extraction changes the setup

In the authors’ account of open extraction, a system may encounter a large number of relationships without receiving a fixed inventory in advance. Preparing labeled examples or learning corpus-wide patterns for each one is a substantial commitment under that setup. The paper treats the extraction and assessment stages as compatible parts of a larger process. An open extractor can identify relationships from text, and an assessor can reuse its stored corpus statistics when asked to rank the candidates associated with one of those relationships. TextRunner comes from the earlier work Open Information Extraction from the Web.

REALM’s input still groups the candidates around a relationship. The earlier extraction process, or the way its output is queried, supplies the grouping. REALM can work without a name or written definition for that relationship because it draws its expectations from recurring examples inside the group. A human-readable name such as Founded explains the group to a reader. What the assessor sees are ordered arguments, repeated records, and whatever linguistic evidence it can retrieve about them.

The authors combine two hypotheses to make this possible. The first associates frequent extraction from distinct sentences with a better chance of correctness. They call this the KnowItAll hypothesis. It gives them a way to select examples automatically from an imperfect candidate list. The second is a version of the distributional hypothesis. Instances of one relationship tend to occur in similar textual environments, so contexts around a rare pair can be informative when judged against contexts around abundant pairs. Applied to arguments individually, the same premise suggests that names filling a similar role can occur in similar environments. This is the connection to distributional semantics.

The hypotheses do different jobs. Frequency decides which records will set the comparison standard. Context decides how to order records for which frequency provides little separation. A frequent mistake can affect the standard, and a correct rare record can appear in unusual wording. The premises allow for these cases because REALM is designed to order uncertain candidates. The aim is for the available evidence to put more true instances near the beginning of that order.

The method, step by step

Prepare the corpus before assessing a relation

REALM uses a shared tokenized corpus. A token is the unit the system treats as one item in a sequence. The preprocessing method, LEX, identifies proper nouns and joins the pieces of a multiword proper noun into a single token. Los Angeles can therefore occupy one position in a word sequence, just as a city with a single-word name can. The hidden-state example in the paper’s figure uses Santa Clara to illustrate the same treatment. This decision about where words and names begin and end is part of tokenization.

The change is important for both components. For type checking, a multiword name can be associated with a single hidden state at an occurrence. Its state distribution can then be compared directly with the distribution for a name of a different written length. For relationship checking, the recognized proper nouns also specify which tokens may serve as arguments. The system can find neighboring arguments by following the sequence of recognized names, even when ordinary words separate them.

The corpus supports two kinds of preparation. One learns a compact representation of how individual tokens are distributed across hidden states. The other counts short word sequences around candidate arguments, with the counts recorded separately according to which other argument is nearby. Both preparations precede the selection of examples for a particular relation. That order is what allows the same stored corpus evidence to support different rankings later. The two preparations are forms of language modeling.

How REALM prepares evidence and ranks candidate extractions

The steps in order.

How REALM prepares evidence and ranks candidate extractionsStep 1: Identify proper nouns and join multiword names1. Identify proper nouns and join multiword namesStep 2: Learn hidden states and count paired contexts2. Learn hidden states and count paired contextsStep 3: Select frequent candidates as provisional examples3. Select frequent candidates as provisional examplesStep 4: Rank remaining candidates by argument type4. Rank remaining candidates by argument typeStep 5: Rank remaining candidates by relationship context5. Rank remaining candidates by relationship contextStep 6: Combine ranks and place frequent examples first6. Combine ranks and place frequent examples first

Select examples from the candidate list

Suppose the extraction mechanism has produced records for a relation. The paper writes the collection of records as follows.

Eᵣ = { (a₁, b₁), …, (aₘ, bₘ) }

Here R is the relation, shown as the subscript ᵣ in the formula, and Eᵣ is its collection of candidate records. Each parenthesized entry is an ordered pair. The a strings fill the first argument position and the b strings fill the second. The subscripts run from 1, the first recorded extraction, to m, the number of recorded extractions, and the ellipsis stands for the intervening entries. The braces enclose the collection. The paper uses set-like notation while explicitly allowing duplicate records derived from different sentences. The repeated observations are needed to establish frequency.

REALM counts the occurrences of each distinct candidate and selects the most frequent as seeds. A seed is an example the system will use to judge other examples. The seeds are provisional. REALM obtains them using extraction frequency, so the selection can include mistaken records. The authors describe the scoring components as tolerant of some such noise. In the reported experiments, the number of seeds selected for each relation was 10.

The notation for the remaining candidates makes the division explicit.

Uᵣ = Eᵣ − Sᵣ

Uᵣ denotes the non-seed candidates for relation R. Eᵣ is the candidate collection for that relation and Sᵣ is the collection of selected seeds. The minus sign means removing the selected seed candidates from the group that will be reranked. The occurrences of those seeds remain relevant as evidence. The output puts the seeds at the top in frequency order, followed by the reranked non-seeds.

Selection by frequency makes the system usable without examples marked correct by hand. It also preserves the earlier redundancy intuition where it is most useful. A pair that turns up often can serve as an anchor for comparison. A pair that turns up rarely is judged using evidence beyond the number of times the extractor returned it. The membership of the seed group can change with the relation, even though the underlying corpus preparation is shared.

Why direct comparison of whole pair contexts is difficult

The distributional idea suggests comparing the word sequences around a known example with those around a candidate. An ordinary word-sequence probability can be written like this.

P(w₁, …, wₙ)

P denotes probability, and w₁ through wₙ are the consecutive tokens in a window of length n. The ellipsis covers the token positions between the first and last. A sequence of that length is an n-gram.

For a direct comparison that keeps both arguments in view, the authors consider the distribution of windows in which a particular seed pair fills designated slots.

P(w₁, …, wₙ | wᵢ = s₁, wⱼ = s₂)

P is again a probability distribution over the window from w₁ through wₙ. The vertical bar introduces conditions. i and j identify positions within that window. The conditions fix the token wᵢ to the first argument s₁ of a seed and wⱼ to the second argument s₂. The subscripts on s identify the argument positions in the seed record.

For a candidate, the analogous distribution is as follows.

P(w₁, …, wₙ | wᵢ = e₁, wⱼ = e₂)

The window, probability symbol, and positions mean the same things as in the seed distribution. e₁ and e₂ are the first and second arguments of the candidate extraction. The bar means that the distribution concerns the contexts observed with those argument values present in the indicated positions. The distributional hypothesis suggests that the distributions for seeds and correct candidates should resemble one another.

A practical difficulty comes from the distance between the arguments. In the authors’ experiments, when relation arguments occurred together in a sentence, 75% of those occurrences had at least three words between the arguments. A window that must include both names often has to be long. With longer windows, many more distinct token sequences are possible, and a pair with little observed text cannot support a detailed estimate of how those sequences are distributed. The authors describe the number of parameters for the direct approach as proportional to vocabulary size raised to the power n.

REALM narrows the two comparisons in different ways. For the type question, it pools evidence about each argument across occurrences of that name, including appearances where the other member of the pair is absent. For the relationship question, it retains information about which other argument is present, while counting windows locally around a focus argument. The type checker trades knowledge of the pair for broader evidence about its members. The relation checker keeps the pair condition without requiring the complete span between the arguments as a single counted sequence.

Learn hidden states for argument type

HMM-T, the type checker, uses a hidden Markov model. In this setup, the observable items are tokens, and the system represents each token occurrence as generated by an underlying state. The states are hidden because the corpus gives the words without those state assignments. The system learns probabilities for transitions between states and for generating tokens from states. The states have numeric identifiers. The paper’s argument depends on how tokens distribute across those states, so those identifiers need no human-readable type names.

The position of a word matters because its state is generated with reference to preceding states. A word that occurs in similar environments to another word can acquire a similar distribution over states even when the observed neighbors differ. That is the mechanism by which the type checker can transfer evidence from a frequent name to a sparse one. The sparse name may have little direct overlap with the exact wording around seeds, but the words surrounding it can participate in recurring patterns learned from elsewhere in the corpus.

The paper gives the following factorization, with its original left-hand notation.

P(w | t) = ∏ᵢ P(wᵢ | tᵢ) P(tᵢ | tᵢ₋₁, …, tᵢ₋ₖ)

w is the token sequence and t is the corresponding sequence of hidden states. At position i, wᵢ is the observed token and tᵢ is the hidden state. P(wᵢ | tᵢ) gives the probability that the current state produces that token. P(tᵢ | tᵢ₋₁, …, tᵢ₋ₖ) gives the probability of the current state given the preceding k states. The subscript expressions identify the preceding positions, and the ellipsis covers the intervening states. The vertical bars indicate conditioning. The product sign combines these factors across token positions. The right side includes transition probabilities for the states themselves, so it describes a joint generative factorization. The left side is printed in conditional notation.

The paper treats each sentence as independently generated. In the authors’ implementation, T = 20 sets the number of possible states and k = 3 sets the length of the preceding state history. The graphical example uses k = 2 to show the links between positions. That drawing illustrates the dependency structure. The reported implementation uses the longer history specified in the text.

The authors explain the computational choice through the dependence of training cost on the state space and history length.

Training cost ∝ corpus size × Tᵏ⁺¹

Training cost means time required to learn the parameters, and corpus size is the amount of input text used for learning. The proportionality sign expresses the scaling relationship given in the paper. The multiplication sign links the corpus factor to the state-space factor. T is the number of possible states, k is the number of previous states in the transition history, and the + 1 in the exponent accounts for including the current state with that history. The small state inventory and bounded history make the computation tractable in the authors’ setup.

The proper-noun preprocessing has a direct effect here. A token for Santa Clara is generated by a single state at a given occurrence, so the procedure for obtaining a state distribution for that name is the same one used for a shorter name. People, organizations, and locations enter the computation as names with distributions learned from their textual environments. The assessor then uses the selected seeds to decide which distributions characterize the positions in its current relation.

Compare candidates with the seed types

For each argument slot, HMM-T pools the distributions for the seed arguments occupying that slot. An organization name in the first position of a Headquartered seed contributes to the reference for the first position. A city in the second position contributes to the reference for the second. This separation matters because the right sort of name in the wrong place can still yield a type error. The benchmark gives credit only when both positions are filled by appropriate arguments.

The system then finds the state distribution for each candidate argument and measures how far it is from the seed reference for its position. The authors say the distribution for a token can be obtained from the learned probabilities using Bayes’ rule. Their distance is KL divergence, a measure that compares one probability distribution with another. The direction of the comparison in their formula is from the seed reference distribution to the candidate distribution.

f(e) = ∑ᵢ KL((∑_{w′ ∈ Sᵣᵢ} P(t | w′)) / |Sᵣᵢ|, P(t | eᵢ))

e is the candidate record and f(e) is its type discrepancy score. The outer sum runs over the argument positions i of that record. Sᵣᵢ is the collection of arguments in position i among the seeds for relation R. The inner sum runs over each argument string w′ in that collection, as indicated by the membership symbol ∈. P(t | w′) is the distribution over hidden-state values t for that string. The slash denotes division by |Sᵣᵢ|, the size of the seed argument collection, yielding the average seed distribution for the position. eᵢ is the candidate’s argument in the same position, and P(t | eᵢ) is its state distribution. KL applies the divergence to those two distributions, with the comma separating the reference from the candidate. Here t ranges over possible values of a single state, whereas in the sequence factorization it denotes the vector of states.

Adding the divergences yields a score for the complete record. HMM-T ranks the non-seeds from the smallest score upward. A small aggregate discrepancy means that the candidate arguments resemble the relevant seed arguments in the learned state space. The procedure can use whatever type distinction is expressed by the seed examples and captured by those states. It gives a rank based on resemblance and does not assign an explicit semantic category to each argument.

The paper explains this transfer with Pickerington and Chicago. An occurrence of Pickerington next to Ohio and an occurrence of Chicago next to Illinois give different literal contexts. A method that requires matching word sequences cannot use that particular pair of occurrences as a match. In the hidden-state representation, Ohio and Illinois can behave similarly because their own uses across the corpus are similar. Their state distributions can therefore help the type checker recognize a resemblance between the environments of the city names. The sparse city can benefit from regularities learned about words appearing around it.

The mechanism can also save retrieval work. A direct context comparison needs access to potentially many word sequences for seeds and candidates. With HMM-T, the comparison is carried out using distributions over a shared set of states. The cost of learning that representation is paid during preparation. At assessment time, the comparison uses the compact distributions instead of reconstructing each name’s full collection of textual contexts.

Keep the other argument in view when checking the relationship

REL-GRAMS, the relationship checker, asks what local wording is associated with a pair when its arguments appear together. It can distinguish evidence for a headquarters claim from evidence that two names simply have suitable types. Knowing that Intel is an organization and Seattle a city would make them plausible slot fillers for Headquartered. It would still leave open the question of where Intel is based. The paper contrasts that example with the ability to recognize Santa Clara as a city, which is a type decision and calls for a coarser distinction.

The relationship checker focuses on pairs of consecutive arguments. In this usage, the arguments are the proper nouns identified during preprocessing. Two arguments are consecutive when one is the next such argument encountered to the left or right of the other in the sentence. Their names may be separated by ordinary words. A context window near one of the arguments can therefore be short even when the other lies beyond that window. What makes the count relational is the condition on the other name, which is preserved when the window is recorded.

The paper expresses this with a conditional distribution.

P(w₁, …, wₙ | wᵢ = e₁, e₁ ↔ e₂)

P denotes the distribution of windows of n consecutive tokens, written as w₁ through wₙ. The bar introduces the conditions. i is a position within the window, and wᵢ = e₁ fixes the token at that position to the focus argument e₁. e₂ is the other argument. The double arrow means that e₂ is the next recognized argument to the left or right of e₁. It describes a corpus event and does not assert any semantic relationship. The window can place e₁ at different positions, and the conditioning event can hold even when the window itself does not reach e₂.

The benefit of this representation is easiest to see by separating the two things REL-GRAMS records. One is a short piece of wording. The other is the identity of the neighboring argument. If the same wording appears around a focus name in several different pairings, it can contribute to different pair-specific entries. If two names occur with a long stretch of ordinary words between them, a short window near one of them can still contribute evidence for their pairing. The representation retains some of the connection supplied by the sentence without having to estimate the distribution of complete spans.

The restriction to neighboring arguments also limits the number of pairs to be indexed. Within a sentence, a recognized argument has immediate neighbors in the sequence of recognized arguments. It need not be paired with every other name in the sentence. According to the authors, the corpus’s sentence count sets a linear upper bound on how many unique pairs this method records. That argument concerns the structure of the counts. The quality of the evidence for an individual pair still depends on which contexts were observed.

Build vectors from contexts and compare them with the seeds

REL-GRAMS represents pair contexts as count vectors. First, it defines the inventory of short sequences observed around argument pairs in the corpus.

C = { c₁, c₂, …, c_{|C|} }

C is the inventory of distinct contexts. Each c is a short token window, and its subscript is its position in the inventory. |C| is the number of contexts in the inventory, so it also gives the last index. The braces enclose the collection and the ellipsis stands for entries between those shown.

The vector for a pair uses the same inventory of coordinates as every other pair.

v₍ₑⱼ,ₑₖ₎[i] = count of cᵢ with (eⱼ, eₖ)

v is the context count vector, indexed by the ordered pair (eⱼ, eₖ). The symbols eⱼ and eₖ denote the two argument strings, with j and k serving here as argument indices. The bracketed i selects a vector coordinate, and cᵢ is the context at that position in C. The right side counts occurrences of that context with the indicated pair under the neighboring-argument rule. A coordinate contributes only when that context has occurred with the pair. This k is an argument index, distinct from the history length in HMM-T.

This arrangement puts different pairs on comparable footing. Their names differ, but their context counts occupy coordinates defined over common wording. The authors compare the vectors with document vectors from information retrieval. A document can be represented by counts of its terms, and here a pair is represented by counts of its contexts. The analogy motivates applying a retrieval score to rank pairs by their resemblance to a common reference.

That reference is formed by summing the context vectors of the selected seeds. A particular context can receive support from multiple seed pairs or from repeated observations of a seed. The sum gives the relation checker a single reference to compare with each non-seed. The comparison concerns wording actually observed around the examples. The system can operate without an explicit description of the relation because the seed vector supplies the evidence for how it tends to appear in text.

REL-GRAMS orders the candidates by decreasing BM25 score against the seed vector. The paper describes BM25 as a variant of TF-IDF, the family of weighting schemes that use the frequency of features in a representation and their prevalence across a collection. Here the features are contexts associated with pairs. The paper names the retrieval measure and gives the comparison procedure without specifying a separate BM25 equation. It traces the measure to Okapi at TREC-3.

Combine the rankings

HMM-T and REL-GRAMS receive the same seeds and assess the same remaining candidates. Each returns an order. The underlying scores have different meanings and directions. HMM-T uses a smaller divergence to indicate a better type match. REL-GRAMS uses a larger retrieval score to indicate a better match to the seed contexts. REALM combines their rank positions, which lets it use both outputs without putting the raw scores on a common scale.

q(e) = rₜ(e) × rᵣ(e)

q(e) is the rank product for candidate e. rₜ(e) is the position assigned by the type checker, and rᵣ(e) is the position assigned by the relationship checker. The multiplication sign combines the positions. REALM sorts the non-seeds in increasing order of the product. The product is an ordering rule and carries no probability interpretation.

The two inputs can disagree for understandable reasons. A pair may have convincing argument types and little wording shared with the seeds. A pair can also appear near familiar language while an argument looks atypical for its supposed role. Combining the rankings lets each source of evidence affect the result. Because the combination uses positions, a small difference in original score and a large one can both become a change of the same rank size. The paper evaluates the resulting order directly in the extraction task.

The final ranking begins with the seeds sorted by frequency. The non-seeds follow in the rank-product order. For a subsequent relation, the candidate list and seed references change, while the learned state distributions and pair-context counts can be reused. The corpus preparation, the choice of relation examples, and the ranking of sparse candidates are thus distinct operations with different inputs.

Experiments and results

Web corpus, candidates, and test sets

The authors began with a crawl of nine million webpages. They selected sentences containing relations between proper nouns, resulting in about three million sentences. They used the proper-noun processing described in the method, and they handled infrequent tokens both before and after tokenization. A token occurring fewer than five times was replaced with an unknown-word marker. There were two such markers, one for capitalized items and one for uncapitalized items. After preparation, the corpus contained about sixty-five million token occurrences and 214,787 distinct tokens.

This collection plays a different role from the labeled evaluation. Its sentences supply the word and argument contexts used to estimate the shared statistics. The test records are pairs retrieved from an extraction index. The manual judgments used in the experiments determine which records count as successes when the rankings are evaluated. They are separate from the frequency-selected examples that REALM uses to produce those rankings.

The authors chose four relations: Conquered, Founded, Headquartered, and Merged. They sought relations that commonly take proper nouns as arguments and for which the extractor produced many sparse candidates. TextRunner stores extracted relationships as triples with a predicate between a pair of objects. For each relation, the authors queried that index once for predicates containing an indicative phrase. Examples include “founded by” for Founded and “headquartered in” for Headquartered. The returned records supplied the candidate group for that relation.

The 10 most frequent extractions in each group became seeds. Among the remaining candidates, an argument pair had been extracted at most twice for the relation being evaluated. The sparse test sets contained 361 extractions in total. The test therefore asks how well a system can order candidates whose extraction counts distinguish them only weakly. An argument or a pair may have other occurrences in the corpus that the assessment components can use. The sparsity condition applies to extraction for the given relation.

What the evaluation rewards

The principal measure is area under the precision–recall curve. At a given point in a ranking, precision is the share of the retrieved candidates that are correct. Recall is the share of the correct candidates in the test group that have been reached. If correct candidates appear near the top, the ranking can reach more of them while maintaining higher precision. The area summarizes this behavior as the cutoff moves down the ranking. A higher area indicates a better order under that evaluation.

There are different correctness judgments for the two experiments. In the type experiment, a candidate is correct when both arguments suit their respective roles. The judgment disregards whether the specific relationship holds between them. In full assessment, a record is correct only when the relationship itself holds. A record can consequently be a positive example for the first experiment and a negative example for the second. This distinction is essential for interpreting a score attached to HMM-T, because its rank can be evaluated against either set of judgments.

The authors also express improvements in terms of missing area under the precision–recall curve. A percentage reduction in missing area describes how much of the baseline’s remaining error, by this definition, was removed. It is a different quantity from the area achieved and from the fraction of individual records labeled correct. In the full assessment table, the authors separately give the share of correct test records for each relation. Their label “Avg. Prec.” refers to that share. The baseline and system columns give areas under the curve.

Argument type versus literal context matching

The type-checking experiment compares HMM-T with N-GRAMS. N-GRAMS uses literal context vectors, comparing candidates with seeds through the same retrieval approach used in REL-GRAMS. It represents the distributions for the arguments independently, as HMM-T does. The comparison asks whether a hidden-state representation helps when the evidence is about the kind of argument that belongs in a particular position.

Argument type checking on the sparse web test sets by average precision–recall area

The hidden-state type checker achieves a higher average area than literal context matching.

Argument type checking on the sparse web test sets by average precision–recall areaN-GRAMS: 0.712N-GRAMS0.712HMM-T (this paper): 0.849HMM-T (this paper)0.849
The numbers
System or settingArea under the precision–recall curve
N-GRAMS0.712
HMM-T (this paper)0.849

HMM-T achieved a higher area for each relation. For Conquered, the type-checking areas were 0.917 for HMM-T and 0.767 for N-GRAMS. For Founded they were 0.827 and 0.636. Headquartered yielded 0.734 and 0.589, while Merged yielded 0.920 and 0.854. These results evaluate the types of the arguments in the sparse test records. They do not tell us how frequently the corresponding claims were true.

The paper reports a 46% average reduction in missing area for HMM-T in this comparison. Each per-relation difference was statistically significant at p < 0.01 under the authors’ two-sample t-test. They used a previously described procedure to estimate the variability of precision–recall area. The differences in absolute area also show that the usefulness of either type checker depends on the relation. Headquartered had the lowest type-checking area for both procedures, while Merged had the highest for both.

Ranking complete extraction claims

The main experiment evaluates whether REALM can improve the ranking of the sparse candidates generated by TextRunner. The TextRunner baseline orders candidates by decreasing extraction frequency. The authors say that on this task the order is essentially equivalent to the order produced by earlier assessment approaches based on the Urns framework and pointwise mutual information. The comparison therefore tests what happens when corpus context is brought to bear on a list whose usual priority comes largely from repeated extraction.

The other prior approach is PL, a pattern learner modeled on Snowball. It uses an algorithm and parameter settings that had been manually tuned for Headquartered in earlier work. By including it, the authors compare REALM with a method that can gather relation-specific contextual evidence. They also test PL with HMM-T added, giving the pattern learner the same kind of separate type evidence available to REALM. Finally, they evaluate HMM-T and REL-GRAMS alone so that the combined ranking can be assessed against its own components.

Full extraction assessment on the sparse web test sets by average precision–recall area

REALM has the highest reported average area among the baseline, component, and combined rankings.

Full extraction assessment on the sparse web test sets by average precision–recall areaTextRunner frequency ordering: 0.733TextRunner frequency ordering0.733Pattern learning: 0.785Pattern learning0.785Pattern learning with HMM-T: 0.808Pattern learning with HMM-T0.808HMM-T alone: 0.787HMM-T alone0.787REL-GRAMS alone: 0.822REL-GRAMS alone0.822REALM (this paper): 0.851REALM (this paper)0.851
The numbers
System or settingArea under the precision–recall curve
TextRunner frequency ordering0.733
Pattern learning0.785
Pattern learning with HMM-T0.808
HMM-T alone0.787
REL-GRAMS alone0.822
REALM (this paper)0.851

The average area of 0.851 for REALM is the full-assessment result. The authors report that REALM ranks the test records better than the frequency baseline and the pattern learner for every relation. They give an average reduction of 39% in missing area relative to the strongest prior baseline. For the frequency comparison, the authors find statistically significant differences on all the relations. For the pattern-learning comparison, they report significance for all except Conquered, using p < 0.01 in the two-sample tests.

The paper gives REALM full-assessment areas of 0.781 on Founded, 0.810 on Headquartered, and 0.908 on Merged. The Conquered result is 0.907. These scores describe rankings of non-seed records under the stricter judgment that the relation must hold. The test groups themselves contained different shares of true records. The reported shares were 0.698 for Conquered, 0.578 for Founded, 0.400 for Headquartered, and 0.742 for Merged. Those values help describe the sets on which the curves were measured. A high area on a relation with a larger share of true records and an area on a relation with a smaller share should each be read alongside the other methods evaluated on the same records.

The two experiments answer different questions about evidence. The type results show that the hidden states can improve judgments about slot fillers when compared with literal contexts. The full results show how far the same type evidence goes when a correct pair must express a specific relationship, and how the ranking changes when the relation score joins it. In the latter experiment, seeds provide the reference, while the reported performance concerns the sparse candidates the system must assess after seed selection.

What the ablations show

Separating type evidence from relationship evidence

The full experiment includes a comparison of the assembled system with each component on its own. The type-only order uses resemblance between candidate arguments and the corresponding seed arguments. The relation-only order uses resemblance between paired contexts and the pooled seed contexts. Their average areas on the full task were 0.787 for HMM-T and 0.822 for REL-GRAMS. The combined rank reached 0.851. Because the candidates and correctness judgments are shared, the comparison shows that the rank product does more on average than selecting either source of evidence alone.

The type-only result is informative because the evaluation in this experiment requires more than an acceptable entity in each position. Type compatibility helps put reasonable candidates above ones with obvious slot errors. It can therefore improve the ordering when measured against actual claims, even though the type checker was designed to compare arguments separately. Its scope is still limited by the information it sees. Every proposed headquarters location paired with the same organization can receive favorable type evidence if the locations resemble the city seeds. The circumstances in which the company and each city are mentioned together can give those proposals different standing.

The relation-only result shows the value of conditioning on the pair. The checker can use distinctive wording around names even if the names themselves are rare. Its average area is higher than the type-only average for the full judgment. This is consistent with the relation component asking a question that is closely aligned with the final criterion. The criterion concerns the connection between entities, while a type score asks whether the connection is plausible given the roles.

REALM’s average advantage over both components supports using both signals. It leaves room for differences across relations and for individual candidates whose ordering moves in the wrong direction. The components share their corpus, their identification of proper nouns, and their seed choices. The comparison demonstrates that the resulting scores carry useful complementary evidence in this setup. It does not establish how much overlap they have, or whether candidate-by-candidate disagreements would favor a different combination.

Changing how type similarity is measured

The authors tested whether HMM-T’s type-checking advantage depended on the retrieval score in its literal-context competitor. N-GRAMS ordinarily uses BM25 to compare candidates with seeds. When the authors replaced that measure with cosine distance, the gap between HMM-T and N-GRAMS narrowed. The paper still reports 23% lower average error for HMM-T in this comparison. Here error again means the area missing under the type-checking precision–recall curve.

The narrower gap shows that the baseline’s scoring rule affects the apparent size of the representation advantage. The remaining gap is evidence that the result extends beyond that particular BM25 comparison. The test changes the similarity measure for N-GRAMS. It does not isolate individual decisions in HMM-T, such as the number of hidden states or the treatment of multiword names. Those decisions remain bundled in the hidden-state approach tested against both versions of the baseline.

For relational context vectors, the authors also report comparing BM25 with standard cosine distance and with smoothed KL divergence. BM25 performed better on their data. The paper supplies no numerical areas for those alternative relation scores. This comparison and the cosine comparison for the type baseline concern different representations. N-GRAMS measures contexts for arguments independently. REL-GRAMS records separate context counts for each pairing. A result about a distance or weighting method in one evaluation therefore does not determine its performance in the other.

Adding type information to a pattern learner

The PL and PL-plus-HMM-T results ask whether the type checker can help a different source of relationship evidence. The author’s pattern-learning comparison gives the hybrid an average full-assessment area of 0.808, compared with 0.785 for PL alone. The rise is consistent with type compatibility doing useful work alongside learned patterns. The hybrid still has a lower reported average than REALM, which combines HMM-T with REL-GRAMS.

This comparison narrows the interpretation of the full result. If the only helpful change were the addition of a type checker to a relation assessor, the pattern-learning hybrid would have been a closer substitute for the full REALM design on the same data. The reported averages show that the identity of the relation component matters in the tested combinations. The experiment does not establish that REL-GRAMS would outperform every pattern learner. It compares the implementations and settings the authors evaluated.

The authors also varied the pattern learner’s parameter settings. They found the results sensitive to the choices, with many settings performing significantly worse and no tested settings performing significantly better. This supports the use of the reported configuration as a serious comparison for these experiments. It leaves open what could happen under a different pattern-learning design, different relation-specific tuning, or a different corpus. The earlier manual tuning for Headquartered is relevant because the same parameter choice is being judged over several relations.

Evidence about retrieval work

The paper reports that HMM-T reduced the amount of data retrieved for type checking by 10-50x in the authors’ experiments, compared with a context-based procedure. This is an efficiency observation about the data needed to score candidates after preparation. It is consistent with the compactness of comparing distributions over hidden states rather than retrieving extensive sets of observed contexts.

The measurement concerns retrieval volume. The time required to learn the hidden states and the work needed to prepare the pair-context index concern other parts of the system. The distinction explains how the method can be more efficient at scoring while still having a meaningful upfront corpus cost. It also gives a concrete basis for the authors’ claim about reuse. Once the representation exists, a new type comparison can draw on it without retrieving all the textual environments of the names it compares.

Limitations

Limits identified by the authors

The authors explicitly treat the automatically selected seeds as noisy. A high extraction count is evidence for trust, and the method uses it as a practical guide to selecting examples. A recurring mistake can therefore enter the seed group. It can influence the average state distributions used as type references and the summed context vector used for REL-GRAMS. Since the final order places seeds first, a seed error also affects the displayed ranking directly. The sparse-candidate tests evaluate the ranking after this choice. They do not report the effect of independently varying the amount of incorrect material in the seed set.

The paper also identifies a limit to the type representation. The compact state space can be sufficient for a distinction such as recognizing that a name behaves like a city name, while being too coarse to decide which city stands in a specific relationship with a particular company. HMM-T’s use of the arguments individually deliberately gives it access to more text. That same choice limits the conclusions it can draw about any individual pairing. The relationship component addresses the pairing through separate contextual evidence.

Another stated simplification is that the hidden-state treatment regards sentences as independent. REL-GRAMS also builds its evidence from local windows around arguments with neighboring-argument occurrences. The authors propose evaluating document-level techniques such as topic modeling to use context outside these windows. This is a direction they raise for assessment beyond the local evidence studied in the paper. A claim can be made clearer by information elsewhere in a document, and the proposed extension would ask whether the extra context helps the ranking.

They also propose a probabilistic account of the information combined by REALM. The implemented combination multiplies rank positions. Its output can prioritize a candidate, but a rank position or rank product has no stated interpretation as the probability that the candidate is true. The experiments measure the quality of the ordering. A decision about which records to accept would additionally need a way to choose a cutoff or interpret the confidence attached to an individual record.

Limits of the evaluation setup

A careful reading of the data identifies a restriction on the scope of the evidence. The corpus was selected from webpages for sentences containing relations between proper nouns. The evaluated relations were chosen partly because they often take proper nouns and supplied many sparse examples. The candidate lists were generated by TextRunner queries with indicative predicate phrases. The reported results therefore describe a particular family of candidate sets, shaped by the corpus selection and the mechanism that proposes records. A different extractor could supply a different mix of errors, recurrent examples, and usable names.

The paper says the approach can extend beyond pairs, while the worked method and experiments center on binary relations. An extension would have to decide how to use contextual evidence across more argument positions and how to determine which accompanying names matter. The experiments give direct evidence about ordered pairs. They do not measure the behavior of a higher-arity version.

The sparse test records still belong to relations with enough repeated candidates to select the seeds. A relation without usable frequent examples would offer a weaker basis for the specific kind of assessment REALM performs. The type checker needs a reference for each role, and the relationship checker needs pair contexts to sum into a seed vector. From the setup one can see what these components would lose as the examples become scarce or misleading. The paper does not establish how well the rankings hold up while the number, purity, or frequency of seeds changes.

There are corresponding limits on what it means for a name or pair to be represented. The preprocessing replaces tokens below the corpus frequency cutoff with unknown-word markers. Those markers preserve the capitalization distinction used by the authors but reduce specificity for items assigned the same marker. For REL-GRAMS, a mention can contribute to the intended pair counts only under the neighboring-argument rule. If another recognized proper noun intervenes, that rule changes which pairing is recorded. These choices support tractable representations and also determine which potentially relevant distinctions the assessor can use.

The relation scorer measures resemblance to pooled seed contexts. This can favor expressions well represented by the frequent pairs. A true statement expressed in an uncommon way has less reason to match the pooled evidence, while recurring wording can be compatible with several interpretations. REALM can improve a ranking without resolving all such ambiguities. The tests give precision–recall areas for the resulting orders, and they do not classify remaining errors by unusual wording, intervening names, or the amount of supporting context available.

The type comparison also needs to be read at the level at which it was tested. The authors’ slots are defined through examples of the relation. HMM-T scores how closely an argument’s state distribution resembles that reference. The paper’s claim that the approach can be applied to arbitrary types concerns the absence of a preset inventory. How well a particular type can be recognized depends on which distinctions the learned states encode and which examples establish the slot. The real-world variety of possible types exceeds the cases evaluated here.

Limits of the scalability claim

The authors’ argument for scalability is about separating shared preparation from relation-specific assessment. The hidden-state training and paired-context counting can be carried out once for the corpus. The earlier pattern-learning and classifier approaches described in the paper do substantial processing after the relation is chosen. REALM avoids repeating that kind of corpus preparation for every target relation. Its relation-specific work still includes selecting seeds, obtaining the relevant representations, building reference distributions and vectors, and ordering the candidates.

The retrieval-volume comparison supports an efficiency advantage for one part of the method. The experiments do not report a sequence of end-to-end timing measurements as the number of target relations rises. The paper thus provides an architectural reason to expect reuse to matter and a measured data-retrieval advantage for the type checker. The total cost of serving many relations also depends on how many candidate lists are supplied, how large they are, and how much relevant evidence needs to be accessed for each.

Finally, all the experiments begin with candidates already proposed by the extractor. REALM can raise the priority of a correct sparse candidate in that pool. A fact that never becomes a candidate is outside the ranking task. The evaluation establishes how the ordering changes within the tested pool and leaves open the coverage of an end-to-end extraction process over the facts that could be found in the corpus.

What came after

There are no documented later studies to trace here. The paper itself ends by identifying two directions for further research. Its proposal for a probabilistic treatment would address how to combine type evidence and pair-context evidence in a score with a more direct interpretation than a rank product. Its proposal for document-level context would test whether evidence beyond nearby words can clarify the status of a sparse candidate.

These directions concern different parts of the assessment. The first changes how existing evidence is combined. The second changes the evidence available to the assessor. The results in this paper concern the implemented combination of hidden-state type checking and local relational contexts, with both forms of corpus evidence prepared in advance and applied to candidates drawn from TextRunner.

Cite

Cite as Doug Downey, Stefan Schoenmackers and Oren Etzioni. 2007. Sparse Information Extraction: Unsupervised Language Models to the Rescue. Proceedings of the 45th Annual Meeting of the Association of Computational Linguistics.

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

@inproceedings{downey2007sparse,
  title = {{Sparse Information Extraction: Unsupervised Language Models to the Rescue}},
  author = {Doug Downey, Stefan Schoenmackers and Oren Etzioni},
  booktitle = {Proceedings of the 45th Annual Meeting of the Association of Computational Linguistics},
  year = {2007},
  doi = {10.21236/ada534427},
  url = {https://doi.org/10.21236/ada534427}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/downey-2007-sparse-information-extraction-unsupervised-language/