Elamur Research

Unsupervised Learning of Field Segmentation Models for Information Extraction

Paper · 2005 · Trond Grenager, Dan Klein and Christopher Manning

Summary

A rental advertisement can contain a price, a neighborhood, and a list of features without explicitly marking where any of those fields begin or end. A bibliographic citation poses a similar problem for authors, titles, and publication details. This paper asks whether a system can learn to divide such records into fields from examples whose words are available but whose field labels are hidden. The potential saving is in linguistic annotation. A new application of information extraction may have many examples to learn from and few that someone has marked up by hand.

The authors use a hidden Markov model, which assigns an unobserved state to each token and learns what each state tends to emit. An unrestricted version can detect patterns in a record while missing the field divisions a reader cares about. The most effective change is to make the current state likely to persist. A field can then account for a stretch of text, and the words in that stretch supply evidence about what the field contains. The paper separately tests a shared source for common words and a special way to emit tokens that often occur at field boundaries.

With 400 unlabeled training records, the persistence constraint raised test token accuracy from 48.8% to 70.0% on rental ads and from 49.7% to 66.3% on citations. Giving the system a set of boundary tokens helped in both domains. The strongest reported unsupervised settings at that training size reached 72.7% for ads and 68.2% for citations. The authors characterize the results with 400 unlabeled records as comparable to supervised learning with 50 labeled records. For citations, they report approximately 66% under that comparison. Unlabeled training included the text of the test records, and the evaluation used gold labels to match anonymous states to field names.

Adding a small amount of labeled data was helpful under some conditions. With 300 unlabeled citations, adding 20 labeled ones raised test token accuracy from 65.2% to 71.3%. The same approach yielded no improvement for ads. The paper’s evidence is strongest for records whose fields already leave a recognizable trace in the text. Even there, the system needs guidance about the kind of structure to learn, and the choice of guidance matters.

Deep dive: Unsupervised Learning of Field Segmentation Models for Information Extraction

Learn how unlabeled citations and rental ads can be divided into fields by favoring persistent labels and recognizable boundaries. · about 34 minutes to read

The problem and its context

Records whose structure is implicit

Someone reading a citation can typically distinguish the name of a work from the name of the place where it appeared. Each is written as part of the same string, yet it serves a different purpose. To put the citation into a database, a system needs to locate each span and assign it to a field. Recognizing a publication year somewhere in the string is only part of the job. The system also needs to decide which neighboring material belongs to the title, the authors, or another bibliographic field.

A rental ad offers a looser version of that problem. A writer might describe a neighborhood and then mention features of the apartment, or give the rent before either kind of description. A collection of ads nonetheless contains recurrent kinds of information. The same kinds of details can appear in different places and occupy spans of different lengths. Recovering a field therefore involves learning something about both the words used to describe it and the stretches of text those words tend to inhabit.

The paper calls this task field segmentation. Its starting assumption is that a record consists of a succession of pertinent fields. The output includes a label for each portion of that succession. For both datasets, the annotated examples distinguish several fields, but a particular record need only contain a subset of them. The recurring unit is a kind of content that can be realized across a variety of records, instead of a position in a form with a fixed number of slots.

The authors distinguish this setup from the original extraction task at the MUC evaluations. In their account, that task involved locating selected pieces of information in a larger body of largely irrelevant text. The desired pieces might be defined by what a particular user needs to retrieve. The words of the document can carry abundant structure without offering any particular reason to single out that information. In a record organized into fields, the same divisions are relevant across numerous examples and serve a purpose in the documents themselves. That gives unlabeled data a plausible role in learning the divisions.

The difference matters to the paper’s motivation. A system built on annotated examples needs those examples for the application at hand. The authors contrast this with tools such as parsers and taggers, which they describe as able to generalize reasonably outside their training domains. A collection of apartment listings and another kind of classified ad can each require different field labels and examples of their use. Where the records are already available, field segmentation offers a way to ask how much of that annotation can be avoided.

Which patterns should the system learn?

The presence of recurring fields leaves a second problem. A record can display patterns at several scales. Neighboring words give evidence about grammatical categories, several words together can describe an apartment feature, and related descriptions can recur across a longer span. These cues occur together. A learning procedure that favors the most readily captured word sequences could organize its states around local grammatical regularities even when its eventual users want apartment fields. Conversely, a system meant to learn part-of-speech tagging would have little use for a state whose meaning is simply that a passage discusses the rent.

This is why unlabeled field segmentation is more specific than discovering whether a dataset has structure. Different latent states can explain the same sequence in different ways. One grouping might separate often used function words from the content words around them. Another might assign the whole region to the kind of information it expresses. Both groupings can give a statistical account of some regularity. Only the latter serves the extraction task, and the annotation that would normally distinguish them is precisely what the experiment sets aside during training.

Supervision gives a learner a direct answer to the question of what units count. The observed labels say where the wanted spans are and which category each span belongs to. In its absence, the authors consider what can be changed about the learning problem. The usual objective in their unsupervised setting is the likelihood of the observed text under the current parameters. They retain that objective. They also discuss initialization, which can aim the search towards a promising starting point. Their main proposal is to impose a restriction that continues to apply as learning progresses. If the system ought to account for fields, its rules for moving from one state to another should give it a persistent preference for field-sized spans.

That preference expresses a useful fact about the form of the output without assigning labels to particular records. Someone needs to know that the task calls for sustained stretches with a common role. They can make use of that knowledge without listing all the vocabulary that signals a neighborhood or showing the system where every title ends. The question becomes how much guidance about form is sufficient to make the relevant divisions learnable.

Where the paper places earlier work

The supervised citation work described by the authors had already compared ways to train hidden Markov systems for bibliographic records. McCallum and colleagues identified citations as a plausible target for unsupervised learning, while their experiments in that work used supervision. The paper also describes supervised approaches to two other kinds of structured records. Maximum Entropy Markov Models were used to divide frequently asked question lists into their component fields. Conditional Random Fields were applied to research-paper headers. These tasks shared the need to assign a structure to a sequence, with labeled examples directing the assignment.

Some prior work included unsupervised segmentation as part of a task with other goals. Pasula and colleagues treated bibliographic records while addressing uncertainty about which references identify the same work. In the authors’ account, that system performed some segmentation but did not explicitly learn a general field segmenter for citations. It also incorporated detailed knowledge about conventions such as how names are written and abbreviated. The question in the present paper is how far one can get with guidance that is more general than a catalogue of such conventions.

A closer parallel comes from an account of discourse in news articles about similar events. The recurring units there are topics discussed across articles. The authors describe learned topic structure as useful for ordering information and for extractive text summarization, which selects material from the original document. They point to a resemblance in the resulting hidden-state structure and a difference in how it is induced. Their own emphasis is on what changing the allowed parameterization does to the structure that ordinary likelihood-based training discovers. Catching the Drift

The paper also places its work alongside research on finding subtopics in longer documents. It describes the goal of Blei and Moreno’s approach as similar to Hearst’s TextTiling, while noting that Blei and Moreno use an augmented hidden Markov approach closer in technique to the work here. The problem addressed in this paper is narrower in the kinds of records it examines and more direct in the way it tests the effect of structural restrictions. The output is a field label sequence for a citation or an ad, and the experiments can compare those sequences with people’s annotations of the same records.

The method, step by step

Begin with the tokens and leave the fields hidden

The system receives each record as a sequence of tokens. In a citation, a token could be a word in a title or a punctuation mark next to a publication detail. A token’s position is known, and its field is hidden during unsupervised training. A state is the system’s internal category for that position. If successive tokens receive the same field state, they make up a run within that field. A change of field state marks a division between runs.

All comparisons share a tokenization procedure in the style of the Penn Treebank. Normalization collapses instances of numbers, dates, phone numbers, URLs, and email addresses to dedicated tokens. The rest of the tokens are lower-cased. The learner can therefore use the presence of a normalized date or other recurring type without having to learn separately from every observed spelling or value in that category. Punctuation remains available, which matters both to a baseline and to the later experiment with boundary tokens.

The authors give the ordinary unsupervised HMM as many hidden states as there are human field labels. The system starts with the capacity to represent the intended inventory at that granularity. It still has to learn what the states do, and their internal identities carry no names such as title or neighborhood. The boundary extension later gives each field two internal roles. Its output can still be read in terms of the same field inventory because both roles represent the same field at different positions within a span.

From unlabeled records to scored field predictions

The steps in order.

From unlabeled records to scored field predictionsStep 1: Tokenize and normalize each record1. Tokenize and normalize each recordStep 2: Allocate anonymous states for the fields2. Allocate anonymous states for the fieldsStep 3: Initialize word probabilities with slight random variation3. Initialize word probabilities with slight random variationStep 4: Choose the rules for moving between states4. Choose the rules for moving between statesStep 5: Infer hidden assignments and update trainable probabilities5. Infer hidden assignments and update trainable probabilitiesStep 6: Decode the most probable state sequence6. Decode the most probable state sequenceStep 7: Map induced fields to annotation labels for scoring7. Map induced fields to annotation labels for scoring

Separate staying in a field from generating its words

The HMM has a set of states, S, and a vocabulary of observable tokens, W. Its generative description separates two decisions. A transition selects the state at the next position using the current state. An emission generates the observed token using the state at that position. Given a sequence of observed tokens, the learner works backward from the observable sequence to possible state sequences.

P(sₜ | sₜ₋₁)

Here P denotes a probability, t is a token position, sₜ is the state at that position, and sₜ₋₁ is the state at the preceding position. The vertical bar means that the probability on its left is conditional on the state to its right. A first-order transition uses the immediately preceding state. It has no separate rule for a longer history of field assignments.

P(w | s)

In this expression, P is again a probability, w is an observed token drawn from the vocabulary W, and s is a state in S. The vertical bar indicates that the token probability depends on the current state. If a state comes to represent a field, the distribution can make some tokens characteristic of it while allowing others to occur in several fields. This is the ordinary field-specific distribution that the paper later augments with a common source of tokens.

The separation gives the system two kinds of evidence during decoding. A token can be individually plausible under several states. Its neighbors and the transitions needed to assign those states can favor a particular reading of the whole stretch. A state switch may make one word easier to explain, while keeping the state may explain the sequence better when switches carry a cost. The authors change that balance by altering the space of possible transition distributions.

Infer assignments, update probabilities, and decode

Training uses expectation-maximization, abbreviated EM. With unlabeled records, there are no directly observed counts of how frequently a particular field emitted a word or followed another field. The expectation step instead calculates expected counts under the current probabilities. A token can contribute to several states in proportion to how plausible those assignments are, with the surrounding sequence taken into account. The Forward–Backward algorithm computes these expectations efficiently using information from both sides of a position.

The maximization step uses the expected counts to update the parameters that are allowed to change. The next expectation step uses the updated probabilities to reconsider the hidden assignments. At the beginning, the emission distributions are nearly uniform. A small amount of random variation breaks symmetry so that different states have an opportunity to specialize. Transition initialization depends on the experiment. In an unrestricted run, the learner can update the transitions. In the main constrained runs, the experiment fixes their form and values, so the words account for the distinction among fields while persistence remains in place.

The authors iterate EM to convergence. That is a stopping condition for the search from a given start. Different starting variations can lead to different solutions because EM makes local improvements in likelihood. This is relevant both to the experimental averages over repeated runs and to the distinction between a lucky initialization and a restriction that applies throughout training.

The ordinary emission distributions use add-λ smoothing unless a particular experiment specifies otherwise. Before normalizing the counts into probabilities, this procedure adds a small count to each emission alternative. It gives support to entries for which the observed or expected count alone may be small or absent. The paper uses λ = 0.001 in supervised settings and λ = 0.2 in unsupervised ones. The same Greek letter is later reused for a boundary transition parameter, with a separate meaning.

Once parameters have been learned, the authors use the Viterbi algorithm to decode the test sequence. Viterbi chooses a best complete sequence of hidden states under the learned probabilities. This differs from taking the most probable state at each position independently. The complete sequence must account for the transitions as well as the emissions. So a word whose strongest isolated association lies elsewhere can still receive the state supported by the surrounding run.

Make persistence part of every transition

The unrestricted learner can use states for whichever regularities improve its account of the words. The simplest restriction gives every state the same advantage when it stays in place. The transition can be read as a mixture of a decision to retain the current state and a uniform choice among all states. That uniform choice can select the current state as well as any other. The transition matrix has a common elevated value on the diagonal and a common smaller value everywhere else.

P(sₜ | sₜ₋₁) = {
  σ + (1 − σ)/|S|   if sₜ = sₜ₋₁
  (1 − σ)/|S|       otherwise
}

Here P is the transition probability, t indexes positions, sₜ is the destination state, and sₜ₋₁ is the preceding state. The vertical bar inside P denotes conditioning, while the bars around S denote the number of states in the set. The parameter σ is global. It is the probability allocated to explicitly retaining the current state, and 1 − σ is the probability allocated to the uniform choice. The equality checks whether source and destination coincide. A same-state step receives probability from both parts of the mixture, while a different-state step receives only its share of the uniform part.

The paper describes the persistence setting in terms of an expected field length.

1/(1 − σ)

In this expression, σ is the retention parameter and 1 − σ is the chance of entering the uniform-choice part at a step. The reciprocal expresses the mean interval for leaving the explicit retention mechanism. In the written transition rule, a uniform choice can select the current state again, so that interpretation of the length setting should be distinguished from the length of a decoded run of identical states. The paper uses the length expression to describe how changing σ changes the scale favored by the experiment.

For the main diagonal-transition settings, the authors use σ = 0.9 for ads and σ = 0.5 for citations. The same parameter applies to all fields within a setting. This favors contiguous spans without encoding a preference for, say, author before title or rent before neighborhood. The likelihood can still favor different assignments for those spans through their emission distributions. An individual span is also free to end where the words supply enough evidence for a switch. The rule expresses a preference for continuity across the sequence, without imposing a fixed span length.

Give common words a shared source

Even with persistent states, a state can specialize in material that has little to do with any particular field. The authors inspect highly probable emissions and find function words and punctuation among the characteristic tokens of states. In one illustrated solution, these tokens dominate a state’s emissions. The same types of words can be useful for explaining the frequency of the observed text while giving weak guidance on whether a stretch describes a neighborhood, a price, or something else.

The proposed extension introduces a shared word distribution. Before generating a token, the system chooses between this common distribution and the current field’s own distribution. Common words can then have substantial probability across fields without having to be separately explained as characteristic words in each one. The field-specific distribution can continue to emit those words. The change is that the learner has another, shared way to account for their occurrences.

Pʰ(w | s) = α Pᶜ(w) + (1 − α) P(w | s)

Here Pʰ is the complete emission probability after combining the sources. The token is w and the state is s. Pᶜ is the common distribution, with no state argument because every field shares it. P is the field-specific distribution and the vertical bar means it is conditioned on s. The global parameter α is the probability of selecting the common source. The complement 1 − α is the probability of using the field-specific source. Addition combines the contributions to the probability of observing the same token through either route.

The paper calls this a hierarchical mixture emission. Its practical purpose differs from deleting stopwords outright. A token generated from the shared source remains in the sequence and receives a field assignment through its context. Its shared probability contributes equally across fields, so that part of its probability has no power to distinguish them. The authors tune the weight on the development data, find that several values work similarly, and use α = 0.5 in the subsequent experiments.

There are two ways of obtaining the common distribution in the experiments. One fixes it using a general-purpose stopword list. That supplies outside knowledge about which words ought to have a shared explanation. The other estimates it during EM, so the same training records supply evidence for both the common and the field-specific distributions. The learned variant can assign sensible words to the shared component, and the quantitative comparisons test whether doing so improves field assignments.

Let a token indicate the possible end of a field

A second extension responds to cases where the general field sequence seems plausible but the boundary falls a few tokens away from the annotation. Punctuation and line breaks can give a reader clues about the division. The authors add a state for the possible final token of each field. This preserves the field identity while giving the final position a way to emit a different kind of token.

For a field denoted by s, the ordinary state is s⁻ and the final state is s⁺. All final states use the same boundary emission distribution. A punctuation mark can thus play a possible closing role in many fields. Ordinary states retain the emissions of the preceding system, with or without the common-word component depending on the setting. The shared boundary distribution is treated differently from the ordinary emissions. The authors do not apply the same smoothing to it. They compare supplying the permissible boundary tokens with learning the distribution during EM.

P(s′ | s⁻) = {
  (1 − μ)(λ + (1 − λ)/|S⁻|)   if s′ = s⁻
  μ(λ + (1 − λ)/|S⁻|)         if s′ = s⁺
  (1 − λ)/|S⁻|                if s′ ∈ S⁻ ∖ {s⁻}
  0                            otherwise
}

In this formula, P is the probability of a move, s⁻ is the source ordinary state of field s, and s′ is the destination. The bar inside P means that the move is conditional on the source. S⁻ is the set of all ordinary states, so |S⁻| gives its size. The symbol ∈ denotes membership, and ∖ with braces excludes the current ordinary state from that set. The associated final state of the source field is s⁺. The retention parameter λ gives weight to staying within the current field, while the uniform part of the rule can also select the current field. The parameter μ is the probability of choosing its final state conditional on retaining the field. Its complement 1 − μ keeps the ordinary role. The last case assigns probability zero to all other destinations.

One path moves straight from an ordinary state to an ordinary state of a different field. Thus a field can end even when there is no separate token with a boundary role. If the next token does take the final role, the following move is governed by another transition rule.

P(s′ | s⁺) = {
  σ + (1 − σ)/|S⁻|   if s′ = s⁻
  (1 − σ)/|S⁻|       if s′ ∈ S⁻ ∖ {s⁻}
  0                   otherwise
}

Here P is the transition probability given the final state s⁺ of the current field. The destination is s′, s⁻ is the ordinary state for that same field, and S⁻ is again the set of ordinary states. The bars in |S⁻| give the set size. Membership and exclusion in the second case identify the ordinary states of other fields. The parameter σ gives the additional probability of returning to the current field, while 1 − σ is distributed over the ordinary states. The zero case rules out a transition to a final state. A return to the current ordinary state allows a potential boundary token to occur inside a field without forcing a change of field label.

For ads, the selected boundary setting uses σ = 0.5 and λ = 0.995. For citations, it uses σ = 0.3 and λ = 0.9. The authors tie the remaining parameter to λ in both domains.

μ = 1 − λ

In this setting, μ is the conditional probability of moving to the current field’s final state when the field is retained. The symbol λ is the retention parameter of the ordinary-state transition, and the right side is its complement. This relation avoids searching for an independent μ for each domain. It is a setting chosen during development, and it has no connection to the λ used for smoothing emissions.

Add known counts when labels are available

The semisupervised experiment uses labeled and unlabeled records together. For an unlabeled record, the expectation step still distributes credit over possible state assignments. For a labeled record, the field assignment is observed and can contribute its counts directly. The maximization step adds the observed counts to the expected counts when updating the quantities learned from both sources. This lets a small amount of annotation associate states with actual field identities while letting unlabeled records contribute additional evidence about the words.

The transitions are handled separately in this experiment. The authors estimate them by maximum likelihood using only the labeled records and then keep them fixed. As a result, the annotated examples determine which field orders the transition probabilities favor, whereas the unlabeled examples can influence the estimated emission probabilities. The semisupervised experiment changes the source of transition information as well as supplying labeled word occurrences. Its results therefore measure the effect of this complete procedure.

Experiments and results

Two kinds of record and two sources of labels

The citation corpus contains 500 manually annotated bibliographic entries drawn from the reference sections of different computer science papers. Its inventory has 13 fields, including authors, titles, dates, and journal information. The average citation contains 35 tokens spanning 5.5 fields. The authors retain the corpus’s natural order in constructing a training partition of 300 documents, a development partition of 100 documents, and a test partition of 100 documents. The citation data come from the collection described by McCallum and colleagues, for which the paper gives a distribution location.

The rental corpus contains 8,767 Craigslist ads for apartments in the San Francisco Bay Area, collected in June 2004. The paper gives a distribution location for this corpus as well. Its manual annotation covers 302 ads and distinguishes 12 fields, including rent, neighborhood, size, and features. The average ad has 119 tokens in 8.7 fields. The labeled partitions contain 102 training documents, 100 development documents, and 100 test documents. The remaining 8465 documents form a separate pool of unlabeled training material.

The split plays different roles depending on the training condition. In a supervised run, examples are sampled from the labeled training partition and evaluated on the full test partition. For unsupervised training, the authors begin with the test documents with their labels hidden, then take records from the annotated training partition with their labels hidden, and then draw on material from the separate unlabeled pool if available. Any unlabeled training set larger than the test set therefore includes every test document as text. Development labels are used to choose settings, and the authors reserve the test labels for the final evaluation.

The input protocol matters to the comparison. The unsupervised system can learn from the particular collection it is subsequently asked to label. The supervised system learns from annotated records distinct from its test inputs. The experiment addresses learning the fields of a collection whose text can already be inspected. It also lets readers compare how much labeled material is used, provided the difference in access to text is kept in view.

What the accuracy score measures

After decoding, the paper compares the predicted field at each token position with the field annotated by a person. Token accuracy is the percentage of positions whose field assignment agrees. In supervised runs the identities of the fields are already known. In the fully unsupervised runs, the paper uses the gold annotations at scoring time to greedily associate the induced states with the gold field labels they most often correspond to. This aligns the system’s internal categories with the annotation inventory. The score measures the alignment of the resulting assignments with that inventory.

The authors hold the number of induced field categories equal to the number in the annotation. This controls an advantage that would arise if a learner produced many extra states and the scoring procedure could attach labels to fragments of the true categories. For the boundary extension, a final state is a position-specific role within an existing field. It does not supply an additional field label to the output.

A broad field supplies more opportunities for a correct token assignment than a short one. A slightly misplaced boundary may leave much of a long span correctly labeled. Token accuracy is useful for assessing how much of the text is assigned to the intended fields, and the authors note that it gives relatively little weight to some boundary errors. The reported values do not measure how frequently a complete field value or a complete database record is recovered exactly.

The baselines and the largest change

The simplest baseline assigns the most frequent field to every token. It scores 46.4% on the ad test set and 27.9% on the citation test set. The difference between these baseline scores shows that a single dominant field can account for a larger share of token assignments in ads. In particular, an ad system in the vicinity of that baseline has explained very little of the distinction among the other fields.

Another baseline first splits records into spans using punctuation and then clusters the spans. Its Naïve Bayes mixture uses EM to estimate a distribution of words for each group. The group assigned to a span gives that span its field prediction. The procedure gets 62.4% on the ad test set and 46.5% on the citation test set. Its hard segmentation gives the clustering algorithm candidate spans up front. The HMM can instead weigh word and transition evidence together when choosing its divisions.

The supervised baseline is a first-order HMM whose parameters are estimated by maximum likelihood from labeled examples. With 100 training records, its test token accuracy is 74.4% for ads and 72.5% for citations. With 300 labeled training citations, it reaches 80.4% on the citation test set. The paper also reports that the earlier McCallum citation work achieved as high as 92.9% using more complex techniques and a very large BibTeX training resource. The authors cite that figure to put the citation task in context. Their immediate comparison uses the simpler supervised implementation alongside the unsupervised one.

Rental ads test token accuracy across baselines and transition settings

The fixed diagonal transitions give the strongest unlabeled result in this comparison.

Rental ads test token accuracy across baselines and transition settingsMost frequent field: 46.4Most frequent field46.4Punctuation segmentation and clustering: 62.4Punctuation segmentation and clustering62.4Unrestricted HMM, 400 unlabeled ads: 48.8Unrestricted HMM, 400 unlabeled ads48.8Diagonal HMM, 400 unlabeled ads (this paper): 70.0Diagonal HMM, 400 unlabeled ads (thispaper)70.0Supervised HMM, 100 labeled ads: 74.4Supervised HMM, 100 labeled ads74.4
The numbers
System or settingaccuracy %
Most frequent field46.4
Punctuation segmentation and clustering62.4
Unrestricted HMM, 400 unlabeled ads48.8
Diagonal HMM, 400 unlabeled ads (this paper)70.0
Supervised HMM, 100 labeled ads74.4

Bibliographic citation test token accuracy across baselines and transition settings

Diagonal transitions move unlabeled learning closer to the supervised baseline.

Bibliographic citation test token accuracy across baselines and transition settingsMost frequent field: 27.9Most frequent field27.9Punctuation segmentation and clustering: 46.5Punctuation segmentation and clustering46.5Unrestricted HMM, 400 unlabeled citations: 49.7Unrestricted HMM, 400 unlabeledcitations49.7Diagonal HMM, 400 unlabeled citations (this paper): 66.3Diagonal HMM, 400 unlabeled citations(this paper)66.3Supervised HMM, 100 labeled citations: 72.5Supervised HMM, 100 labeled citations72.5
The numbers
System or settingaccuracy %
Most frequent field27.9
Punctuation segmentation and clustering46.5
Unrestricted HMM, 400 unlabeled citations49.7
Diagonal HMM, 400 unlabeled citations (this paper)66.3
Supervised HMM, 100 labeled citations72.5

The unrestricted results make clear why the authors focus on the transition rule. With 400 unlabeled training records in each domain, the unrestricted HMM is only modestly above the most frequent field for ads. It also falls below the punctuation baseline there. In citations it exceeds the punctuation baseline, but remains far below the supervised result with 100 labeled citations. By contrast, the diagonal version exceeds both unlabeled baselines in both domains. At the same unlabeled training size it reaches 70.0% on ads and 66.3% on citations, with test token accuracy averaged over repeated runs.

Training size and the best unlabeled settings

The paper plots learning curves for the supervised baseline and the diagonal HMM. The authors’ headline comparison is between performance obtainable with 400 unlabeled records and with 50 labeled records. For citations, they describe roughly 66% test token accuracy from either the diagonal HMM trained on 400 unlabeled citations or supervised training on 50 annotated citations. This is a comparison at specific points on the curves. With the larger supervised citation training sets, the reported supervised results are higher.

More ad text continues to help the diagonal learner, although the authors describe the increase as leveling out. The diagonal system reaches 72.4% test token accuracy when trained on 8000 unlabeled ads. The extra citation data experiment has a different outcome. The authors add 5000 unlabeled citations gathered from papers found online and see no accuracy gain. They suggest that differences between the collections’ sources and collection times explain the result. The experiment reports what happened with that collection, without isolating either of those differences as the cause.

The best results at the common size of 400 unlabeled records come from configurations using supplied information about boundaries. For ads, the strongest result combines the given common-word distribution with the given boundary distribution and reaches 72.7% test token accuracy. For citations, the supplied boundary distribution on its own reaches 68.2%. The other components have mixed effects. Keeping the common-word and boundary experiments separate in the comparisons makes it possible to see which changes contribute to each domain’s result.

Rental ads test token accuracy with vocabulary and boundary refinements

Combining supplied common-word and boundary distributions gives the highest ad accuracy at this training size.

Rental ads test token accuracy with vocabulary and boundary refinementsDiagonal transitions: 70.0Diagonal transitions70.0Learned common-word distribution: 70.1Learned common-word distribution70.1Given common-word distribution: 70.9Given common-word distribution70.9Learned boundary distribution: 70.4Learned boundary distribution70.4Given boundary distribution: 71.9Given boundary distribution71.9Learned common-word and boundary distributions: 71.0Learned common-word and boundarydistributions71.0Given common-word and boundary distributions (this paper): 72.7Given common-word and boundarydistributions (this paper)72.7
The numbers
System or settingaccuracy %
Diagonal transitions70.0
Learned common-word distribution70.1
Given common-word distribution70.9
Learned boundary distribution70.4
Given boundary distribution71.9
Learned common-word and boundary distributions71.0
Given common-word and boundary distributions (this paper)72.7

The main comparison averages the stochastic unsupervised results over 50 runs. The paper specifies that the refinements in its results comparison are separate settings unless a setting explicitly combines components. A boundary-only result starts from the diagonal system, just as a common-word-only result does. The combined rows report joint choices and should be read as their own experiments. This matters because some additions help only when their distributions are supplied rather than estimated.

When labeled citations help

The semisupervised citation curves average results over 50 runs and vary the number of labeled documents. Adding 5 annotated citations yields no reported improvement. With 300 unannotated citations, adding 20 annotated citations raises test token accuracy from 65.2% to 71.3%. The authors run the semisupervised procedure on classified ads as well and report no improvement. They do not give a corresponding ad gain to quantify.

The settings establish that the presence of a few labels alone does not guarantee better results under this training rule. With citations, enough labeled examples can provide useful fixed transitions and observed counts. With ads, supplying transition information in the same fashion does not produce the same outcome. That difference becomes especially informative when read alongside the diagnostic views of the target transitions.

What the ablations show

Learning the right scale accounts for the largest gains

The main controlled change compares the unrestricted HMM with the one that keeps a diagonal transition rule. Both use the same field inventory size and unlabeled training size within each domain. For ad test tokens, accuracy changes from 48.8% to 70.0%. For citation test tokens, it changes from 49.7% to 66.3%. These changes support the paper’s account of the unsupervised problem. The words already contain recoverable cues to the field assignments, and the learner uses those cues much more effectively when its transitions favor sustained runs.

The transition plots offer another view of the comparison. The paper estimates target transitions from gold field sequences, so a prominent diagonal means that neighboring tokens often retain a field label. The unrestricted ad HMM recovers some of the diagonal emphasis, although it does not reproduce the target pattern. The unrestricted citation HMM places very little probability on same-state moves in the illustrated case. The authors interpret that solution as capturing shorter-scale regularities. The plots support the scale explanation for typical runs. They do not identify every linguistic pattern encoded by the unrestricted states.

The part-of-speech transition example helps explain why a structural preference can direct learning. Adjacent tokens labeled with grammatical categories have a different reason to change labels than adjacent tokens in a bibliographic field. A title can include words from multiple grammatical categories while still having the same field label throughout. A persistence constraint can make that span easier for the system to represent as a unit. The experiment does not measure the system’s part-of-speech accuracy. The comparison illustrates the different kinds of transitions that might receive support from the same underlying text.

The authors vary the persistence parameter in a diagnostic for ads. The runs use 500 training documents and score on the development set, with results averaged over 50 runs. Performance remains satisfactory for a range of settings, and the authors report a similar shape for citations. This is evidence for the importance of the persistence bias without requiring one narrowly optimal setting. They also report that reestimating the persistence parameter during EM, even allowing it to vary by field, does not improve the results. A parameter that improves the fit to unlabeled words need not improve agreement with the intended field labels.

Common words can form a sensible group without improving extraction

The common-word experiment tests the effect of giving ubiquitous tokens a shared explanation. On ads, the supplied stopword distribution raises test token accuracy from 70.0% to 70.9% with 400 unlabeled training documents. Learning that distribution gives 70.1%, which the paper does not treat as a significant improvement. The qualitative inspection is more encouraging for the learned distribution. It can collect recognizable common words, and the illustrated field distributions still contain characteristic content. This makes it possible to see an internal change in what the states represent even when the score moves little.

The citation result makes the distinction sharper. With 400 unlabeled training citations, the diagonal system gets 66.3% test token accuracy. The given common-word distribution leads to 62.1%, and the learned shared distribution leads to 39.1%. Both are below the diagonal setting, with the learned version falling much further. Thus a broadly plausible account of ubiquitous words is insufficient to establish that the shared distribution improves segmentation. The authors’ word inspection shows that such a component can be intelligible in ads. The accuracy test shows that its value depends on which corpus and training condition is used.

These results also separate the architectural change from the source of the probabilities. Giving the HMM a common source creates a way to share evidence across fields. Fixing that source from a list limits what the new component can explain during training. Learning it gives EM freedom to assign shared probability wherever that helps account for the text. The comparisons show different outcomes for those two variants. They do not determine which particular word assignments account for the damage in citations.

Boundary cues help when the experiment tells the learner what to look for

The boundary extension yields a similar contrast between learning the distribution and supplying its support. For ads with 400 unlabeled training documents, learning the boundary emissions produces 70.4% test token accuracy. The paper characterizes the change from the diagonal setting as insignificant. Specifying allowed boundary tokens reaches 71.9%, which the authors report as a significant improvement. On citations at the same training size, learning the boundary distribution gives 64.3%, below the diagonal result. Supplying the boundary tokens raises citation test token accuracy from 66.3% to 68.2%, also described as significant.

The procedure therefore supports a narrower claim than simply adding special final states helps. Its most consistent gains come from matching those states to a supplied class of symbols that can plausibly end fields. The structure gives the system a role for boundary evidence, and the token specification helps keep that role tied to the intended cue. Learning the distribution at the same time as the field structure can yield a poorer result. That comparison still leaves open exactly how many annotated boundaries were corrected, because the evaluation counts correct tokens across entire fields.

Combining the common-word and boundary components is reported for ads. The configuration with both distributions learned gives 71.0% test token accuracy at the common unlabeled training size. With both distributions supplied, it gives 72.7%. This is the best reported ad configuration with 400 unlabeled training examples. The paper gives no combined result on citations. Accordingly, the separate citation comparisons establish a gain for its supplied boundary distribution, while the benefit of combining that distribution with a shared word component remains unmeasured.

Why the semi-supervised result differs across domains

The semisupervised comparison changes which information determines the transitions. The labeled citations provide observed examples of field order, and their counts also participate in estimating the emissions. The authors attribute the citation improvement to a regular transition structure. This is consistent with the nature of bibliographic records described in the paper and with the gain when enough labeled citations enter the procedure. The ad sequences are described as less regular. The authors reason that transitions estimated from a small labeled set are consequently less useful there.

The experiment supports that explanation indirectly. It compares the combined training procedure with other amounts of supervision, and both transition estimation and observed emission counts can change. There is no separate comparison that holds the emissions fixed to isolate the contribution of the labeled transitions. The direct result is that this use of small labeled samples can help citations sharply at the reported setting and yields no improvement in ads. The account of regular field order explains why the same design might behave differently for the two tasks.

Limitations

Limits the authors identify

The scope starts with records whose fields are already salient. The authors are skeptical that the same approach could fully address extraction tasks in which a user’s goal defines which isolated facts are relevant. Their method exploits a regularity of the documents themselves. In their tests, the records can be read as successions of fields throughout. A task that selects only certain passages from a broad text has a different relationship between the structure of the input and the desired output.

The evaluation gives substantial weight to long fields and a relatively small penalty to misplaced boundaries. The authors acknowledge that this per-token score differs from how many extraction systems are evaluated. A field can receive a high share of correct token assignments while its extracted value still includes punctuation or neighboring material that an application would need to remove. The reported boundary gains are gains under this token metric. The paper does not report an exact boundary score or the rate of perfectly recovered field values.

The authors also identify a complication in evaluating anonymous states. Greedy matching can inflate an unsupervised score as the number of available states increases. They control that source of variation by fixing the number of field categories to the annotated inventory. This keeps the tested settings comparable on that dimension. It leaves open how an application would determine its inventory from raw records if nobody had specified how many kinds of field to expect.

The paper does not extensively investigate alternative tokenization, normalization, or smoothing. Those procedures are used consistently across the comparisons, which helps isolate the contribution of the tested modifications. Their effect as independent design choices is largely unmeasured here. Likewise, the paper uses EM as its search procedure while recognizing that other approaches to fitting hidden states are possible. The poor unrestricted results concern this training setup and its search, and provide no comparison with those alternatives.

The authors emphasize that much higher citation accuracy is attainable with additional resources. Their purpose in comparing to simple supervision is to measure what the unsupervised method can accomplish when labels are scarce. They mention domains such as lost-pet or used-bicycle listings as cases where obtaining a supervised system could be impractical. Those are examples of the motivation. The tested evidence comes from apartment-rental ads and bibliographic citations.

Limits that follow from the setup

Unsupervised fitting uses the test inputs themselves without their labels. That is a reasonable setup for organizing a fixed collection whose documents are already in hand. The reported scores establish performance under that setup. They do not establish the same scores for a frozen system applied to a new batch of records. A separate-inductive evaluation would have to reserve test text as well as test labels from training. Because the paper also changes the amount of training text across conditions, the learning curves are best read with the input-access protocol in view.

The state-to-label matching uses the gold test annotations to decide which internal categories count as which field. It answers a useful research question about whether the induced divisions align with the target categories. In deployment without gold labels, somebody or some additional procedure would still need to connect a discovered state to a named database field. Knowing the number of target categories and recovering enough structure to name them are distinct requirements. The paper measures the quality of the recovered structure after the naming correspondence has been supplied at evaluation.

The settings also rely on some human knowledge even when the training records have no labels. The diagonal rule assumes contiguous fields and is tuned on development data. The extensions with the best results use supplied word or boundary information. Those inputs are far less granular than marking fields in every training document, but the comparison does not measure how well a system with no domain inspection would pick the same settings. The learned variants are informative here because their scores show the cost that can accompany delegating those decisions to likelihood training.

Several sources of variation remain tied together. The domains differ in their lengths, the number and distribution of their fields, and their writing conventions. The experiments demonstrate the consequences of that combination for citations and rental ads. They do not isolate which property explains every difference in performance. For example, regular field order is a reasonable explanation for the different semisupervised outcomes, and the transition plots show that the fitted structures differ. The domains were not constructed to vary only in their field order.

The extra unlabeled citation collection raises a related limit on claims about scale. Its lack of improvement is compatible with a mismatch between collections, as the authors suggest. The experiment does not establish whether collecting more citations that closely follow the original corpus conventions would improve accuracy. The larger ad run shows that extra data can help within the tested ad collection. Together, the results support treating the source of additional records as part of the training condition.

Finally, variation across random runs and variation across collections address separate questions. Repeating stochastic training helps show that reported scores are not simply the outcome of a particular initialization. The test sets still represent particular samples of particular domains. Evidence across these two tasks makes a case for testing structural knowledge in other field-based problems. It gives no direct estimate of accuracy or annotation savings for a new type of record.

What came after

The later citations connect the paper to work on learning structured assignments with limited supervision. The titles describe different ways of framing that problem. They establish the subjects of the later papers and their connection through citation. They leave the details of any direct reuse of the diagonal transitions, common-word mixture, or boundary states unspecified.

Prototype-Driven Learning for Sequence Models (2006) places prototypes at the center of sequence learning. The point of comparison is where guidance enters the problem. Grenager and colleagues express guidance through the form of transitions and through shared emissions. A prototype-centered formulation directs attention to guidance expressed through representative instances. Both formulations address how to make assignments in a sequence intelligible when complete labels are scarce. The citation does not by itself establish a shared training or decoding procedure.

Guiding Semi-Supervision with Constraint-Driven Learning (2007) takes up constraints in a semisupervised setting. The field-segmentation paper offers two concrete points of comparison. Its diagonal rule constrains which transitions are available during unlabeled learning, and its semisupervised citation experiment fixes transitions derived from labeled records while learning from unlabeled records as well. The later title puts the relationship between constraints and semi-supervision at the center of the problem. The record of the citation leaves open how its constraints are represented and whether they operate on the same part of the learning procedure.

Learning Semantic Correspondences with Less Supervision (2009) addresses semantic correspondence under reduced supervision. This extends the comparison from finding field spans to learning correspondences. The link to the original question is that the observed material has meaningful internal organization, while the training examples give only limited direct evidence of the desired assignments. In the field-segmentation experiments, contiguity and boundary cues supply some of that evidence. The citation establishes a relationship between the papers without specifying which parts of the earlier approach the correspondence work adopts.

Across these later connections, the original experiments give a concrete example of why the form of weak guidance matters. In the tested records, persistence delivers the clearest gain, supplied boundary cues improve on it, and additional labeled information helps under a particular citation setup. Those results identify the conditions under which the paper made progress and give the later questions about prototypes, constraints, and reduced supervision a specific point of comparison.

Cite

Cite as Trond Grenager, Dan Klein and Christopher Manning. 2005. Unsupervised Learning of Field Segmentation Models for Information Extraction. Proceedings of the 43rd Annual Meeting of the Association for Computational Linguistics (ACL'05).

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

@inproceedings{grenager2005unsupervised,
  title = {{Unsupervised Learning of Field Segmentation Models for Information Extraction}},
  author = {Trond Grenager, Dan Klein and Christopher Manning},
  booktitle = {Proceedings of the 43rd Annual Meeting of the Association for Computational Linguistics (ACL'05)},
  year = {2005},
  doi = {10.3115/1219840.1219886},
  url = {https://doi.org/10.3115/1219840.1219886}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/grenager-2005-unsupervised-learning-field-segmentation-models/