Elamur Research

Fast and Robust Part-of-Speech Tagging Using Dynamic Model Selection

Paper · 2012 · Jinho D. Choi and Martha Palmer

Summary

A tagger trained on newspaper prose may also have to read a broadcast conversation or a clinical note. In part-of-speech tagging, the job is to assign each token a grammatical label, such as noun or verb. The spelling of a word can help, as can the words around it. The difficulty is deciding how much to rely on word patterns learned from a particular source when the next sentence could come from somewhere quite different. Choi and Palmer study that problem while keeping an eye on speed. Tagging frequently supplies input to other language-processing tasks, so its cost matters even when the tags themselves are an intermediate result.

The authors train two taggers on the same Wall Street Journal material. One can learn from lexical features associated with words that occur in relatively few training documents. The other keeps lexical features only for words that recur across more documents. The authors call these versions domain-specific and generalized. At test time, the system compares the vocabulary of each sentence with vocabulary collected during training. A sentence above the similarity threshold goes to the domain-specific tagger. The generalized tagger handles the rest. The system makes this choice before assigning any tags, and the selected tagger works its way through the sentence from left to right.

The evaluation covers seven genres, including newswire, web text, broadcast material and medical writing. On the combined test set, dynamic selection achieves 93.21% accuracy over all tokens, compared with 92.97% for the domain-specific tagger and 93.05% for the generalized one. It also leads the Stanford tagger and SVMTool on the combined set. On unknown tokens in that mixture, the selective system reaches 70.54%, although the relative performance varies considerably by genre. For example, Stanford is considerably more accurate on unknown tokens in broadcast news, and the generalized tagger alone is more accurate over all tokens in broadcast conversation.

The system processes 31,914 tokens per second on the combined evaluation material, including the time spent choosing a tagger. Both comparison systems run more slowly in the reported setup. The accuracy and speed results together show what the design achieves on this particular mixture: it gets more tags right than either of its component taggers used throughout, while doing the grammatical tagging only once per sentence. The authors leave open whether the same selection rule would improve taggers that use more elaborate decoding.

Deep dive: Fast and Robust Part-of-Speech Tagging Using Dynamic Model Selection

Choi and Palmer’s part-of-speech tagger uses sentence vocabulary to choose between two versions trained on the same newswire. · about 31 minutes to read

The problem and its context

When the source of the text changes

A part-of-speech tag describes how a token is functioning in a sentence. The same spelling can occur in different grammatical roles, so learning a single label for every word leaves some decisions unresolved. A tagger can use nearby words, properties of the spelling and information about nearby grammatical labels. How well these clues work depends in part on which examples the tagger has already seen. In the paper's account of earlier research, statistical taggers could achieve over 97% accuracy when the material used to train and test them came from the same source. Performance tended to deteriorate as the two sources became less alike.

That observation sets up two distinct questions. The first is whether a tagger can do well when its input resembles the annotated examples it learned from. The second is whether the same approach holds up across sources, especially when those sources appear together in an evaluation. The paper uses heterogeneous for a mixture drawn from different sources. Its interest is in that second question. A well-matched test set is still informative, but an experiment limited to that set would give little indication of what happens when the next sentence has very different vocabulary.

Here, a domain is most easily understood through the source of the training material. The Wall Street Journal supplies every labeled training sentence in the main experiments. The two versions of the authors’ tagger therefore share the same starting point. When the paper calls one version domain-specific, it means that the version can make more use of lexical evidence specific to that training material. The generalized version still learns from newspaper sentences. Its name refers to the authors’ decision to restrict the lexical features it can learn, in the hope that the remaining evidence will transfer more readily.

The distinction matters because a narrowly distributed word pattern can be valuable. If a new sentence resembles the newspaper material, a lexical pattern tied to that material may be just the clue the tagger needs. In a different kind of writing, the same training evidence may be less informative. A single, fixed filter would require the authors to make one choice about this tradeoff for every input. They instead ask whether vocabulary resemblance can guide a fresh choice for each sentence. The paper frames this as a hypothesis about the circumstances in which each version should work well.

The unit of that choice is important. The authors do not require the system to recognize the genre of a document before tagging it. It looks at the words in a sentence and evaluates their resemblance to the training vocabulary. Two sentences from the same source can therefore be sent to different taggers. A sentence from a different source can still go to the domain-specific version if its vocabulary is sufficiently familiar. Genre is how the researchers organize much of the evaluation. Vocabulary overlap is what the system actually observes.

Why decoding speed belongs in the experiment

The authors treat speed as a separate criterion for a practical tagger. When tags are used by another system, tagging adds to the cost of the whole pipeline. The paper gives chunking and parsing as examples of tasks that can take tags as input. Work on very large collections also makes the rate of tagging consequential on its own. An approach that adds substantial work to every sentence can incur that cost even on sentences where its extra machinery contributes little to the final labels.

Running both taggers and combining their predictions would be one way to exploit their different strengths. The authors recognize that such a combination could improve the output. It would also require obtaining both sets of tags before completing the merge. Their alternative is to spend a smaller amount of work up front estimating which tagger is appropriate. If that estimate is cheap and makes useful choices, most of the prediction cost can remain close to that of a single tagging pass. The design therefore connects the robustness question to an engineering question about where to spend computation.

How the approach relates to earlier taggers

The paper describes several predecessors that use contextual information in more elaborate ways. Toutanova and colleagues used a bidirectional dependency network for part-of-speech tagging and reported the strongest results of their time, according to the authors’ account. The work provides the basis for the Stanford tagger in the evaluation. Feature-Rich Part-of-Speech Tagging

Giménez and Màrquez combined tagging in the left-to-right and right-to-left directions. Choi and Palmer draw on their feature design and use a simpler left-to-right process. This gives the new tagger access to some of the same kinds of evidence while making the influence of newly assigned tags directional. The earlier implementation also supplies the other direct comparison in the experiments. SVMTool

Shen and colleagues, in the paper's account, used guided learning for bidirectional sequence classification and obtained what the authors describe as current state-of-the-art results. Their work is discussed as a predecessor, while Stanford and SVMTool are the systems used for direct comparison. The paper also notes that some semisupervised and domain-adaptation studies had obtained better performance with external data. One of the works it cites in that connection is Daumé’s Frustratingly Easy Domain Adaptation.

Choi and Palmer place their experiment alongside that work by varying the treatment of a single training collection. They keep the decoding algorithm simple so they can examine the sentence-level selection rule in that setting. Training two versions gives the rule a meaningful choice, while keeping both versions left-to-right means that switching between them does not switch decoding algorithms. The question is whether changing how the tagger uses lexical evidence can make that simple procedure more reliable across different kinds of English.

The method, step by step

From training documents to a choice at test time

The system first needs two versions of a tagger with different uses for the same training examples. To build them, the authors organize the training sentences by document. A document is the unit used to count how widely a word is distributed. They could have taken each Wall Street Journal file as a document. For their experiments, they group the files by section and treat each section as a document. A lexical form can thus be frequent within one section while having a low document frequency.

The authors normalize the spelling of words before making those counts. They then give the generalized tagger a stricter document-frequency requirement for lexical features. Each version is trained separately. Once both have been trained, a sentence can be routed according to the similarity between its vocabulary and the vocabulary used in training the domain-specific version. A threshold for that decision is estimated by holding out training documents and testing both versions on the held-out sentences.

In actual use, the system can decide where to send a sentence without seeing its correct tags or assigning provisional tags. It collects the simplified word forms, compares them with the stored training set of forms, and selects a tagger. That tagger uses the words in the sentence and the tags already assigned on its left as it moves through the tokens. The other tagger need not make any predictions for that sentence.

Training and applying the sentence-level selector

The steps in order.

Training and applying the sentence-level selectorStep 1: Group training sentences by newspaper section1. Group training sentences by newspaper sectionStep 2: Simplify forms and count their document coverage2. Simplify forms and count their document coverageStep 3: Train each tagger with its lexical cutoff3. Train each tagger with its lexical cutoffStep 4: Estimate the similarity cutoff through cross-validation4. Estimate the similarity cutoff through cross-validationStep 5: Collect simplified forms from the input sentence5. Collect simplified forms from the input sentenceStep 6: Compare sentence vocabulary with the training vocabulary6. Compare sentence vocabulary with the training vocabularyStep 7: Select a tagger and label tokens left to right7. Select a tagger and label tokens left to right

Simplifying word forms

The first operation changes the spelling representation the system works with. A word form here is the written form of a token. The paper calls its numerically normalized representation a simplified word form, or SW. It calls the lower-cased version of that representation a lower-case simplified word form, or LSW. Simplification and lowercasing have separate purposes in the method. Numerical simplification is used in the vocabulary comparison, and lower-cased simplified forms are the ones counted across documents.

The numerical simplification is a sequence of replacements. At each stage, the operation replaces all matches of the current pattern with 0. The resulting string becomes the input to the next stage. The first pattern handles a digit followed by a percent sign, with 1% as the paper's example. The next handles the currency pattern consisting of a dollar sign followed by a digit. Another handles a decimal point followed by a digit at the start of a form, as in .1. These rules consume some punctuation along with the digit when that punctuation is part of the pattern.

A subsequent rule matches digits separated by selected punctuation. The examples are 1,2, 1:2, 1-2, 1/2 and 1.2. The punctuation between the digits is part of the match. The final rule handles remaining runs of digits, illustrated by 1234. In the paper's examples a matched expression becomes 0. The published procedure is specified in terms of these patterns and their order. That order allows the earlier replacements to handle formatted expressions while the last replacement handles digit sequences left over.

A useful distinction is between normalizing the characters in a form and deciding how to use the resulting form. Numeric normalization can let distinct strings contribute to the same vocabulary entry. Lowercasing additionally lets different capitalizations contribute to the same document-frequency count. The feature inventory still includes separate indicators for capitalization and other spelling properties. This makes it possible for the tagger to draw on a recurring lower-cased pattern and retain evidence about what was written in the particular sentence.

Counting documents and training the taggers

Document frequency is a count of documents containing a form. Repeating a form many times within a section does not expand its coverage beyond that section. A form seen across several sections can meet the stricter lexical criterion even if another form has more total occurrences concentrated in one place. Thus the filter responds to distribution across the training collection. The grouping of the data is integral to this calculation, because dividing the same sentences into different documents can change which forms pass.

The generalized version uses a document-frequency threshold of 2. The comparison is strict, so a lower-case simplified form has to occur in at least 3 training documents for its associated lexical features to be eligible. The domain-specific version uses a threshold of 1 with the same strict comparison. It therefore has access to lexical evidence from forms that are spread across fewer sections than the generalized version requires. It also has a filter of its own. A form confined to a single section does not pass either stated criterion.

The filter is applied to the use of lexical features in training. The authors train on the same annotated material in both cases, and that material is still the basis for learning grammatical decisions when a particular lexical feature is excluded. For the generalized tagger, the intention is that patterns tied to widely distributed forms have more opportunity to influence prediction, alongside the tagger's other cues. The more permissive tagger can learn associations involving forms whose distribution is narrower. Both versions use the same basic tagging procedure.

The classifiers are trained with Liblinear, using support vector classification with L2 regularization and L1 loss. A classifier uses the active features for a token to choose a tag. In this setup, regularization constrains the learned weights, while the loss governs the penalty used in fitting the classifier. The paper gives the type of classifier and the parameter settings. Its exposition concentrates on the lexical restrictions, selection and tagging features instead of deriving the classifier objective.

The authors optimize learning parameters through cross-validation across the training documents. In the paper's notation, the procedure is n-fold, where n is the number of documents in the training collection. In a fold, a document serves as held-out material while the others are used for training. Changing the held-out document gives the authors a way to assess performance across sections under the same document definition used by the lexical filter. The authors describe a grid search on the cost and bias parameters.

(c, e, B) = (0.2, 0.1, 0.4)

This is the setting reported for the generalized tagger. Here c is the cost parameter, e is the termination criterion for training, and B is the bias parameter. The parentheses group the ordered settings, the commas separate entries and the equals sign associates each named setting with its value.

(c, e, B) = (0.1, 0.1, 0.9)

This is the setting for the domain-specific tagger. In the same order, c is cost, e is the termination criterion and B is bias. The commas and parentheses retain that order, and the equals sign gives the values for this tagger. The final configurations thus differ in their lexical filter as well as in some of their fitted training settings.

Comparing a sentence with the training vocabulary

At decoding time, the authors use vocabulary similarity to estimate the value of the domain-specific tagger for a sentence. They collect the simplified forms used to train that version in a set. They also collect the simplified forms present in the input sentence in a set. Because these are sets, a form contributes through its presence. Repeating it in a sentence does not create an additional set entry. The comparison uses the simplified forms, whereas the earlier cutoff for lexical features is based on lower-case simplified forms.

The paper specifies cosine similarity between the two sets. Interpreting the sets as vectors that indicate whether a form is present, the cosine can be expressed directly in terms of the set sizes and their overlap.

cos(T, S) = |T ∩ S| / √(|T| × |S|)

Here T is the set of simplified forms collected for training the domain-specific tagger, and S is the set collected for the input sentence. The expression cos(T, S) denotes their cosine similarity. The intersection symbol ∩ selects the forms that occur in both sets, and the bars | | count the elements of the enclosed set. The multiplication sign × and square-root sign √ define the normalization in the denominator. The slash divides the overlap count by that denominator, and the equals sign gives the resulting similarity.

The denominator accounts for the sizes of the vocabularies as well as the number of shared forms. The resulting score describes the resemblance of the whole sentence vocabulary to the chosen training vocabulary. It is not a score for a proposed tag or a comparison of the taggers’ confidence in their outputs. The system can make the decision before it has attempted to label any token.

cos(T, S) > τ

In this condition, T still denotes the domain-specific training vocabulary, S denotes the sentence vocabulary and cos(T, S) is their cosine similarity. The symbol τ denotes the cutoff, and > means that the score has to exceed it. If the condition holds, the system uses the domain-specific tagger. If the score is at or below the cutoff, it uses the generalized tagger. That choice applies to the entire sentence, including any words whose forms did not contribute to the overlap.

Learning where to switch

The cutoff is derived from observations made during cross-validation. In each fold, the authors run both taggers on the held-out sentences. Those sentences already have reference tags, so the researchers can see when the domain-specific tagger performs better. For those cases, they collect the cosine similarities. The resulting distribution describes the similarity scores observed where using the domain-specific version proved advantageous in cross-validation.

The paper's plot counts how frequently cosine similarities occur among those selected cases. The authors take the similarity at the first 5% area of that distribution. In their experiments the resulting cutoff is 0.025. That percentage concerns the lower part of a distribution conditioned on the domain-specific tagger winning. It is distinct from the rate at which the generalized version is eventually selected on a test set. The two rates have different denominators and answer different questions.

This calibration connects the cutoff to the outcome that interests the authors. A similarity score by itself says only how much the vocabularies overlap after normalization. Using held-out tagging outcomes lets the authors identify a range of scores in which the specialist has actually helped. The rule turns that information into a decision using a single number. The cross-validation procedure can afford to run both taggers because it happens before deployment. At test time, the selected version alone supplies the tags.

Assigning tags in a single pass

After selection, the tagger starts at the left end of the sentence. It assigns a tag to the current token and continues to the right. Previously assigned tags can be used as features when the tagger reaches a later token. In this respect, an earlier decision affects the information available to a later decision. The procedure can still inspect the spellings of words to the right because the input sentence is already available. The constraint concerns the order in which tags are predicted.

The feature inventory uses several kinds of evidence. Some features represent the simplified forms of words in the local window. Others represent combinations of lower-cased simplified forms. A positional feature keeps track of where a form occurs relative to the current token. A combination feature lets the classifier respond to several forms together, including combinations with a gap between their positions. This allows it to distinguish a pattern of neighboring words from the same words occurring independently.

The notation in the paper's feature inventory can be made explicit by looking at representative templates for the different inputs.

fᵢ±{0,1,2,3}

The symbol f denotes a simplified word form, and i is the index of the word currently being tagged. The subscript attaches a position to the form. The sign ± makes offsets available on either side of the current word, and the braces group the offsets listed by the authors. The entry 0 means the current word, while 1, 2 and 3 denote distances measured in tokens. The commas separate the listed distances. The template thus draws on the current spelling representation and those of nearby words.

(mᵢ₋₁, mᵢ₊₁)

Here m denotes a lower-case simplified word form, and i still identifies the current token. The minus and plus signs in the subscripts indicate movement to the left and right of that token. The 1 in each subscript specifies the adjacent position on that side. The parentheses and comma group the two values as a single feature. This example pairs the words immediately beside the current token. The paper also lists combinations that include the current token, pairs drawn from one side and triples that can either be contiguous or skip positions.

pᵢ₋{3,2,1}

The p represents an assigned part-of-speech tag and i denotes the current position. The minus sign places the feature to the left of that position. The braces collect the offsets, and the commas separate the distances 3, 2 and 1. The tags at these positions are already available during left-to-right decoding. The inventory includes both individual previous tags and features that group tag information with other cues.

For words whose tags have yet to be decided, the tagger can draw on what the paper calls an ambiguity class. The authors build these classes from counts of tags associated with a word form in training. They retain a tag as a member of the class only if its frequency for that form exceeds a cutoff. They use 0.7 in both versions, so membership requires a tag to account for over 70% of uses of that form. The class conveys the association learned for the word in training. It is not the tag that has been assigned to the current occurrence.

aᵢ₊{0,1,2,3}

The a denotes the ambiguity class associated with a form, and i is the position of the token being tagged. The plus sign places an offset at or to the right of that position. The braces contain the offsets, separated by commas. The 0 selects the current word, and 1, 2 and 3 select words at those distances to its right. These classes allow the prediction to use information about likely grammatical categories ahead while the pass is still moving left to right.

(pᵢ₋₁, aᵢ₊₁)

In this combination, p is a predicted tag, a is an ambiguity class and i is the current token's position. The minus sign with 1 selects the token immediately before it. The plus sign with 1 selects the token immediately after it. Parentheses and the comma make the two pieces a joint feature. The paper includes other combinations of prior predictions and classes at or around the current word. This mixture is how a directional tagger can use contextual grammatical evidence from both sides without first predicting tags to its right.

The remaining feature families describe the spelling of the current word. There are prefixes and suffixes drawn from character sequences, as well as binary indicators. The binary indicators cover capitalization, including capitals within a word, and the presence of characters such as a period, a number or a hyphen. These cues describe aspects of the particular token even when the tagger lacks a useful association for its entire word form.

cₙ₋₁:

The symbol c denotes a sequence of characters in the current word, and n denotes the final character position. The minus sign and 1 identify the position just before the final character. The colon with no following endpoint indicates a sequence from that position through the end. This particular suffix template therefore takes the last two characters. The inventory includes other suffix lengths and prefixes, for which the open side of the notation is the beginning of the word.

The same classes of features and the same pass through the sentence apply whichever tagger is selected. What changes is the learned classifier, including which lexical information was available to it in training. The vocabulary step handles the decision about the sentence as a whole. The token step handles local grammatical decisions within it. The two steps use related information about word forms, but the vocabulary score supplies no tag by itself.

Experiments and results

Training and evaluation material

The experiments use sections 2-21 of the Wall Street Journal in OntoNotes v4.0 for training. The training collection contains 30,060 sentences and 731,677 tokens. These counts describe the material from which both versions learn. Each version uses its own lexical eligibility rule, with the same underlying sentences and annotations. Changing the training genre was not part of this experiment.

The OntoNotes evaluation material includes MSNBC broadcast conversation, abbreviated BC, and CNN broadcast news, abbreviated BN. The other OntoNotes sources are Sinorama news magazine, MZ, Wall Street Journal newswire, NW, and GALE web text, WB. For medical writing, the authors add Mipacq clinical notes, CN, and Medpedia articles, MD. These last two evaluation sets give the taggers distinct samples of medical text.

The mix totals 13,852 sentences and 239,192 tokens. Its unknown-token subset contains 21,448 tokens. The number of such tokens varies substantially by source. The newswire set, the evaluation material closest in source to the training data, contains 983 unknown tokens out of 39,590 tokens. The clinical notes contain 6,077 unknown tokens among 35,721 tokens. The authors report both all-token and unknown-token accuracy so that performance on forms already familiar from training does not dominate every comparison.

The two external baselines are the Stanford tagger and SVMTool. The authors train both on the same data they use for their own taggers and use configurations chosen for the baselines’ best reported performance. They also test their own taggers as fixed alternatives. D is the domain-specific version, G is the generalized version, and S is the system that chooses between them. This establishes two comparisons. The first is between using a fixed tagger and making a per-sentence choice within the proposed approach. The second compares the selective system with other implementations.

Accuracy across all tokens

All-token accuracy is the percentage of tokens assigned their reference grammatical tag. The pooled result measures this over the mixture of all genres. Since the unit is the token, the combined result takes into account how many tokens each source contributes. A genre-by-genre reading instead reveals which sources favor which systems.

All-token tagging accuracy on the combined seven-genre test set

Sentence-level selection leads both fixed variants and both external baselines.

All-token tagging accuracy on the combined seven-genre test setSVMTool: 92.32SVMTool92.32Stanford: 92.50Stanford92.50Domain-specific tagger: 92.97Domain-specific tagger92.97Generalized tagger: 93.05Generalized tagger93.05Dynamic selection (this paper): 93.21Dynamic selection (this paper)93.21
The numbers
System or settingaccuracy %
SVMTool92.32
Stanford92.50
Domain-specific tagger92.97
Generalized tagger93.05
Dynamic selection (this paper)93.21

On the pooled test material, S has the highest all-token accuracy. It improves on both fixed variants, so the gain is visible even when the comparison stays within the authors’ own taggers. G is the higher-scoring fixed version on the mixture. For S to improve on it, the sentences routed to D have to contribute enough correct decisions to outweigh any harm from choices that favor the wrong version. The pooled accuracy shows the net outcome, while the genre results help locate the tradeoffs.

The newswire result gives the clearest case of all the systems performing well close to the training source. S reaches 97.46% all-token accuracy on NW. D achieves 97.45%, G reaches 97.11%, Stanford reaches 97.42%, and SVMTool reaches 97.31%. Newswire is the genre where S leads every reported alternative on all tokens. The fixed specialist's result is already close to that of selection, and the generalized tagger is selected for a relatively small share of newswire sentences.

Broadcast conversation shows a different pattern. G scores 92.65% over all BC tokens, compared with 91.81% for D. S reaches 92.26%, between the two. Stanford obtains 87.71% and SVMTool obtains 87.82%. The best fixed version on this source is the generalized one. Selection retains a substantial advantage over both external taggers on the reported conversation data while falling short of that fixed generalized result.

On clinical notes, G reaches 88.24% all-token accuracy, S reaches 88.18%, and D reaches 87.36%. Stanford has the highest reported result there at 88.49%, while SVMTool reaches 87.86%. For Medpedia, G again leads the fixed specialist, with 91.46% for G and 90.74% for D. S reaches 91.34%, above the 90.86% reported for Stanford and the 90.54% for SVMTool. The two medical genres both favor G over D, but they differ in how the external baselines rank against the authors’ systems.

On broadcast news, Stanford scores 95.50% over all tokens. D reaches 95.27%, while S and SVMTool both score 95.13%. G reaches 94.82%. In the magazine data, D has the highest reported result at 93.91%, with S at 93.88% and G at 93.24%. SVMTool and Stanford reach 92.94% and 92.80%, respectively. On web text, Stanford leads at 94.01%, followed by SVMTool at 93.99%, D at 93.93%, S at 93.90%, and G at 93.51%.

Taken together, the individual results give a more specific meaning to robustness in this experiment. The pooled winner can be close to the strongest option in several genres without ranking first in each. Conversely, a fixed variant can lead in a particular source while losing on the combined material. The reported gains from selection concern that combined test and the particular mix of sentences it contains.

Accuracy on unknown tokens

The unknown-token evaluation isolates tokens that are unfamiliar from the training vocabulary. Accuracy on this subset is still the percentage assigned the correct tag. The paper reports these results for S, Stanford and SVMTool. The fixed D and G variants do not have separate unknown-token entries in the reported comparison.

Unknown-token tagging accuracy on the combined seven-genre test set

Dynamic selection has the highest reported accuracy on the pooled unknown-token subset.

Unknown-token tagging accuracy on the combined seven-genre test setSVMTool: 47.65SVMTool47.65Stanford: 64.32Stanford64.32Dynamic selection (this paper): 70.54Dynamic selection (this paper)70.54
The numbers
System or settingaccuracy %
SVMTool47.65
Stanford64.32
Dynamic selection (this paper)70.54

Broadcast conversation is the clearest source of separation in the reported genre-level unknown-token results. S gets 60.97% on the BC subset. Stanford is at 19.24% and SVMTool at 19.08%. The results point in the same direction as the all-token comparison on broadcast conversation, where both external systems also trail S. The unknown-token figures show how differently the systems can behave on one part of that test set.

Broadcast news reverses the ranking between S and Stanford. On unknown BN tokens, Stanford reaches 87.31%, SVMTool reaches 78.35%, and S reaches 77.73%. Choi and Palmer suggest that Stanford's bidirectional tagging procedure may contribute to its advantage there. They do not vary decoding direction in a controlled BN experiment, so the result establishes the ranking, while the reason remains a hypothesis.

Other sources show smaller differences or changes in ranking. On newswire unknowns, Stanford and S both achieve 88.40%, compared with 86.88% for SVMTool. On unknown web tokens, Stanford reaches 78.15%, SVMTool 76.47%, and S 76.27%. For unknown words in clinical notes, the respective results for Stanford, S and SVMTool are 71.20%, 68.69%, and 66.51%. On the Medpedia unknown-token subset, S scores 67.30%, Stanford 64.82%, and SVMTool 62.94%. The magazine subset also favors S, at 75.97%, compared with Stanford's 66.28% and SVMTool's 65.23%.

For the mixture, the paper reports statistical significance for S's advantage in the all-token and unknown-token experiments using McNemar's test, with p below .0001. Here p is the reported probability used to assess the discrepancy in paired outcomes under the test's null hypothesis. Because systems tag the same evaluation items, the pairing lets the test use cases where one system was correct and the other was incorrect. The significance statement concerns the combined comparisons described by the authors. It leaves the individual genre rankings as reported, including the strong Stanford result on BN unknowns.

Tagging speed on the combined corpus

The timing experiment uses the same mixture of evaluation material. The machine is an Intel Xeon running at 2.57GHz. The selective tagger and Stanford are implemented in Java. The authors use Stanford's interfaces to make the timing comparison between those two systems under their setup. SVMTool is implemented in Perl, a difference the paper flags in interpreting the timing.

Tagging throughput on the combined seven-genre test set

Dynamic selection processes the mixture fastest, with selection time included.

Tagging throughput on the combined seven-genre test setStanford: 421Stanford421SVMTool: 1,163SVMTool1,163Dynamic selection (this paper): 31,914Dynamic selection (this paper)31,914
The numbers
System or settingtokens per second
Stanford421
SVMTool1,163
Dynamic selection (this paper)31,914

The selective system processes 31,914 tokens per second, described in the paper as about 32K tokens per second or 0.03 milliseconds per token. The measured rate includes both choosing the tagger and assigning grammatical tags. Stanford processes 421 tokens per second and SVMTool 1,163 in the reported runs. The timing therefore shows strong throughput for the complete selective configuration on that machine. Because no separate rate is given for D or G, the figures cannot tell how much time the selection step adds to the tagger itself.

What the ablations show

Selection compared with keeping one tagger

The most direct controlled comparison is between D, G and S on all tokens. The fixed runs answer what would happen if every test sentence were sent to the same version. S has access to those versions and applies the similarity rule before tagging. The core algorithm in both versions remains a left-to-right pass. This comparison isolates the practical effect of allowing the choice among the trained versions more closely than the comparison with Stanford or SVMTool does.

D versus G first establishes that the choice can matter. G does better on broadcast conversation, clinical notes and Medpedia. D does better on broadcast news, the magazine set, newswire and web text. The conversation and medical comparisons are in line with the authors’ expectation that stronger lexical filtering would help on some sources unlike the Wall Street Journal. The full set of comparisons also shows that being drawn from a different source does not automatically favor G. The kinds of evidence a tagger can use vary with the actual sentences in that source.

S's pooled gain shows that a vocabulary rule can exploit some of this variation. The fixed systems use the same tagger for the mixture regardless of what each sentence contains. S gives D some sentences for which its added lexical evidence can be useful and gives G others where its restriction can help. The overall accuracy supports the usefulness of the choices in aggregate. It does not show how many individual choices match whichever tagger would have made fewer errors on that sentence, because the authors do not report that comparison.

The individual genre outcomes sharpen the point. On newswire, S does slightly better than D, even though D is already the stronger fixed tagger there. Within that source, the occasional use of G is compatible with a small improvement in all-token accuracy. In the other genres, the highest result among D and G is above S. A decision rule selected for mixed material can thus help the mixture while leaving performance short of the best fixed setting within a known genre.

D and G are distinct trained configurations. The experiment changes both the lexical cutoff and, through separate optimization, the final Liblinear settings. Their difference is therefore evidence about the two complete strategies. To isolate the contribution of the document-frequency cutoff alone would require a comparison with the classifier settings held fixed. The paper gives the cutoff a plausible role and reports the accuracy of the resulting versions, but the fixed-version comparisons do not apportion the gain between those choices.

How often the generalized tagger is selected

The selection frequencies add a behavioral measure alongside accuracy. On the full mixture, S sends 41.74% of sentences to G. On newswire the rate is 9.51%, compared with 68.80% on clinical notes. Those figures are consistent with the way the system was designed. The newspaper sentences generally have enough similarity to favor D, while many clinical sentences fall on the generalized side of the threshold.

The rest of the genres demonstrate that the selector does not assign a uniform decision to a genre. G handles 50.63% of the broadcast conversation sentences and 40.22% of the Medpedia sentences. The respective shares in broadcast news and web text are 36.67% and 36.02%. For the magazine set, G is chosen for 21.43%. In every genre, both taggers receive sentences. These are shares of choices made by the system, independent of whether those choices were correct in hindsight.

Medpedia illustrates why frequency of use and relative accuracy are different measurements. G is more accurate over the complete Medpedia test set than D, yet the selector assigns a larger share of its sentences to D. The fixed accuracy comparison weights tokens and judges the final labels. The routing statistic counts sentence-level decisions. Those figures alone cannot establish whether the sentences sent to D differ in length, difficulty or benefit from specialization. They establish how often each version was used and how the complete systems scored.

News magazine presents the converse kind of variation. D is the stronger fixed tagger there, and selection often uses it. S still gives part of the data to G and ends up below D's all-token accuracy on the genre. The pattern indicates that selecting a plausible default for many sentences is compatible with losing some accuracy within that genre. The paper has no per-sentence breakdown of errors that would establish which particular selections contributed to the difference.

What the other analyses can establish

The threshold analysis shows how the system picks the operating point used in the experiments. The authors examine the held-out similarities when D beats G and use the lower tail of those observations to set the cutoff. A comparison of several cutoffs on the final test mixture would address whether the result is sensitive to this choice. The paper reports the distribution used to set the threshold and the outcome at the chosen setting, so the calibration can be understood even though the stability of the result under cutoff changes is unmeasured.

The authors also mention experimenting with broader ambiguity classes. Lower thresholds would admit more tags as possibilities for a given form. They report that retaining only the more frequent tags was more useful in their experiments and settle on 0.7 for each version. No corresponding accuracy table breaks down that comparison. It provides a reason for the selected feature setting, with limited evidence about the size of its effect or whether it varies by genre. The inventory as a whole is evaluated through the taggers that use it. There are no separate results for removing the affixes, previous tags or lexical combinations.

The unknown-token results measure an outcome on a diagnostically useful subset, but they do not repeat the main D, G and S comparison within that subset. S's pooled advantage there establishes how the selected system compares to Stanford and SVMTool on unfamiliar tokens. It leaves open whether a fixed G or D would have scored higher on some or all of those tokens. Unknown words in a sentence also receive the same choice as its familiar words. The presence of an unknown token does not independently send that token to G.

The speed comparison has a similar boundary. The authors time the complete selective system, so the throughput includes the cost of its vocabulary comparison. They do not report a controlled timing that holds the classifier and feature extraction fixed and disables selection. The results establish that their full tagger runs quickly relative to the baselines measured there. They leave the selector's incremental cost and the individual contributions of the implementation choices unresolved.

Limitations

Limits the authors identify

The authors describe the left-to-right algorithm as a deliberately simple starting point. They intend the sentence-level selection procedure to be applicable to more sophisticated taggers, including ones that use bidirectional tagging. The paper evaluates selection only in the simple tagging setup. The proposed transfer remains a research direction. The Stanford result on unknown broadcast-news tokens gives the authors a concrete setting in which bidirectional decisions might help, although the experiments do not determine that cause.

The conclusion also calls for more diverse training and evaluation data. The genre coverage is broad relative to the single training source, but the experiment leaves the training collection fixed. As a result, the paper does not establish how the method would behave if its training data were already a mixture of sources. It likewise does not show whether the same cutoff procedure would select effectively for other choices of training domain or document boundaries.

The authors qualify the timing comparison with SVMTool because it is written in a different programming language. The Java pairing with Stanford reduces that particular difference, and the authors use Stanford's interfaces for the comparison. Other implementation and algorithm differences remain part of the measured system speed. In particular, a benchmark of complete taggers cannot assign the speed difference to the routing rule.

Limits visible in the design

The generalized version is learned from newswire alone. The premise is that words recurring across its sections give more portable cues than words with a narrower range within the newspaper. Recurrence across Wall Street Journal sections is a practical proxy for transferability, and the cross-genre comparisons test that proxy indirectly. A word could be spread across the training sections while still being distinctive to newspaper language. A form with limited spread in the newspaper could also be helpful elsewhere. The frequency rule chooses between those possibilities using the distribution it can observe.

Calibration has a related constraint. The cutoff is learned in cross-validation across documents from the training source. The evaluation asks it to work for sentences from other sources as well. A low score on a held-out newspaper document and a low score on a clinical note can lead to the same decision, even though the sources of the low overlap may differ. The pooled evaluation shows that the calibration works well enough to produce a gain on this mixture. It gives no direct measure of how well the rule would transfer to another corpus or another distribution of genres.

The similarity score itself is intentionally narrow. It compares sets of forms and so is insensitive to their order within a sentence. Multiple occurrences of a form have the same effect as one occurrence in the set. The tagger still uses order and context after the choice is made, but these do not distinguish two inputs that produce the same vocabulary set. The selection rule can therefore treat substantially different sequences alike. It can also give one decision to a sentence that combines familiar and unfamiliar material, because it has no separate decision for each token.

The threshold is chosen from cases favorable to D. The paper does not report a full tradeoff across sentence groups where G wins, D wins or they tie as the cutoff changes. It also does not report an upper benchmark that assigns each sentence retrospectively to whichever version tagged it better. Such a result would help estimate how much improvement is available from better selection with these two versions already trained. The comparison with fixed variants establishes the value of the actual rule on the mixture, but it leaves that headroom unknown.

Likewise, the paper discusses merging the outputs of both taggers as a possible strategy without implementing it as an experimental comparison. The tested selector incurs the tagging cost of a single version per sentence. The results show the accuracy and speed reached with that choice. They cannot establish whether a combination of predictions would yield a different accuracy tradeoff after paying to run both versions.

Finally, the measured accuracy concerns part-of-speech labels. Parsing and chunking motivate the emphasis on throughput, but no downstream evaluation connects the higher pooled tagging accuracy to improved performance in those tasks. The paper also reports throughput on a specified machine and evaluation mixture. Its speed figures describe that benchmark, including selection time, while leaving startup costs, throughput on other hardware and performance with a different mix of sentence types unmeasured.

What came after

Two later works cite Choi and Palmer in the area of feedback for language learners. The titles identify their application settings, but the citation relationship alone does not identify a reuse of the paper's sentence-level selector, its lexical filtering procedure or its trained tagger.

Generating Feedback for English Foreign Language Exercises (2018) concerns the generation of feedback for English foreign-language exercises. Its citation places the tagging paper in the context of feedback generation. The available account does not establish whether the work used the selective tagger in producing that feedback or cited it as background for linguistic processing.

Using Interaction Log Data to Evaluate and Improve Feedback Accuracy in an Intelligent Language Tutoring System (2026) concerns the use of interaction logs to assess and improve feedback accuracy in a tutoring system. It cites Choi and Palmer from an application centered on feedback evaluation and improvement. The citation establishes that connection, while the role of dynamic tagger selection in the tutoring system is unspecified.

Cite

Cite as Jinho D. Choi and Martha Palmer. 2012. Fast and Robust Part-of-Speech Tagging Using Dynamic Model Selection. Proceedings of the 50th Annual Meeting of the Association for Computational Linguistics (Volume 2: Short Papers).

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

@inproceedings{choi2012fast,
  title = {{Fast and Robust Part-of-Speech Tagging Using Dynamic Model Selection}},
  author = {Jinho D. Choi and Martha Palmer},
  booktitle = {Proceedings of the 50th Annual Meeting of the Association for Computational Linguistics (Volume 2: Short Papers)},
  year = {2012},
  url = {https://aclanthology.org/P12-2071/}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/choi-2012-fast-robust-part-speech-tagging/