Part of Speech Tagging Using a Network of Linear Separators
Paper · 1998 · Dan Roth and Dmitry Zelenko
Summary
A word can do different grammatical jobs in different sentences. In the paper’s example, The can will rust, can names an object and rust describes what will happen to it. A system that chooses a grammatical label from the spelling alone can miss either role. Part-of-speech tagging assigns these labels to words as they occur in a sentence. The task matters because other language-processing systems can use the resulting labels as input. Dan Roth and Dmitry Zelenko study how to learn a tagger from annotated examples and how to make it work when some of its strongest clues, the tags of nearby words, are themselves predictions.
Their tagger, SNOW, gives each grammatical tag its own classifier. All the classifiers receive the same description of the word in context. Each learns which clues support its particular label. The clues include the identity of the current word, its usual tag, and individual or paired tags of neighbors. A classifier adds up the weights of the clues it receives, and the strongest score among the word’s allowed tags determines the output. During training, the Winnow algorithm changes a classifier’s weights only when that classifier makes a mistake. It multiplies the weights on the active clues to strengthen or weaken their contribution. The classifiers learn from each example as it arrives and then discard the example.
We obtain 94 on the Penn Treebank’s Wall Street Journal section by assigning every word its usual tag.1% test accuracy. SNOW reached 97.13% when it continued to learn at test time using the lexicon’s usual tags as feedback. The version with fixed weights reached 96.5%, and the version that could receive feedback from the correct test labels reached 97.2%. The paper describes the ordinary SNOW result as comparable to Brill’s transformation-based tagger on the same data. The comparison uses a closed vocabulary, with a lexicon built from both the training and test portions.
The largest diagnostic change came from improving the context the tagger could see. With the correct neighboring tags available as initial context, SNOW reached 98.8% test accuracy. The training experiments further distinguish the labels used as input clues from the label the tagger is meant to learn. Training with usual tags for context and correct labels for prediction targets matched the ordinary SNOW result. Using usual tags in both roles brought accuracy close to the lexical baseline. Together, these tests show why the origin of a tag matters in this system. The same kind of label may supply a clue, define a learning target, or provide feedback after a prediction, and the results depend on which of those jobs it does.
Deep dive: Part of Speech Tagging Using a Network of Linear Separators
A Winnow-trained network of linear separators assigns parts of speech, and Penn Treebank tests show how context and feedback affect tagging. · about 36 minutes to read
The problem and its context
A word’s identity gives a starting point
A part-of-speech tag records the grammatical role assigned to a word on a particular occurrence. The unit of prediction is the occurrence, so a tagger can assign different labels to the same written form in different sentences. A lexicon can narrow the possibilities by recording the roles in which the word has been seen. Choosing the appropriate role still requires evidence about the sentence. This distinction between a word’s possible tags and its tag on the current occasion is central to the paper’s design.
In The can will rust, the intended sequence begins with a determiner followed by a noun. The modal will is followed by a verb. Each of those relationships supplies information about the more ambiguous words in the sentence. The written form can can suggest a modal reading on its own, while its position after The supports the noun reading in this sentence. The last word can name a substance or express an action or process. Its position after will supports the verb reading. The example explains the attraction of features that describe grammatical neighbors. A recurring pattern of tags can help on a sentence even when its particular combination of words has never appeared in training.
The difficulty is that the surrounding tags belong to the same inference problem. A classifier examining a word to the left or right does have access to that neighbor’s written form. Its grammatical role is another decision the tagger has to make. During training, human labels can supply a reliable account of the neighborhood. During ordinary tagging, the system needs some way to begin, and its own decisions can affect the evidence available to other decisions. A wrong label can therefore count as a wrong answer for one word and function as a misleading clue for another.
The paper places tagging early in language-processing tasks such as speech recognition, information extraction, and machine translation. Its experiments ask how well the tagger can recover grammatical labels, with the broader applications establishing why those labels are worth predicting. Some applications may need only a category such as noun. Others may depend on the distinction between particular noun tags. The paper returns to this difference when it considers alternative ways of giving credit for a prediction.
How earlier taggers used context
The authors discuss three established families of approaches. Hidden Markov taggers estimate statistical relationships from annotated text. One relationship concerns how likely a word is under a particular tag. Another concerns how likely the next tag is given a history of preceding tags. At test time, the tagger searches among possible tag sequences. It chooses a sentence labeling by maximizing a product of lexical and contextual probabilities over the words. The decision about a given word is therefore part of a decision about the full sequence.
A second family learns ordered correction rules. In Brill’s transformation-based learning, an initial labeling gives the rules something to revise. A rule tests a condition and, when it holds, assigns a new tag. For instance, a condition can refer to the label immediately before the current word. Applying such a rule can change which conditions hold when subsequent rules are evaluated. The order of the learned rules is therefore part of the tagger’s behavior. Evaluating the rules as a collection of independent tests would lose this consequence of their ordering.
To learn those rules, the transformation procedure starts with an initial annotation of the training text. It looks for a transformation that reduces the number of incorrect labels as much as possible at the current stage. After applying that transformation, it searches again on the revised annotation. The resulting list encodes a succession of corrections to the starting labels. The annotated corpus serves both as the source of the correct answers and as a labeled collection whose current proposed answers change during training. The authors emphasize this arrangement because their own system also starts from a lexicon and can revise its predictions, yet learns a different object from the data. SNOW learns weighted sets of clues for tags. It does not learn an ordered list of replacement rules.
The paper also describes earlier multilayer neural taggers, trained by back-propagation. Their inputs often represent the tags of words surrounding the target word. This line of work supplies another precedent for treating nearby tags as inputs to a classifier. In SNOW, the links that determine how much a clue counts run from the input features directly to the target tags. The target units use a local update rule with a specific response to an error. The paper’s design ties these choices to the shape of the learning problem.
Why the space of clues matters
A feature is a measurable property that a classifier can use. In this tagger, many such properties are yes-or-no questions about the text. A possible question identifies a particular written word. Another identifies a grammatical tag at a particular location. Yet another asks whether a pair of neighboring positions has a particular pair of tags. A large collection of such questions is easy to generate. For any given occurrence, only the questions that describe the actual word and its actual input context are active.
The authors distinguish this sparsity of an example from a second kind of sparsity. Even across many examples, an individual grammatical tag may depend strongly on only a small fraction of the available clues. A word occurrence activates a small part of the input space, and a useful classifier for a tag may draw on a small part of the space overall. Both properties matter when deciding how to store classifier weights and how to change them as examples arrive. They motivate a design in which connections can be specific to each tag and learning is confined to the active connections involved in an error.
The paper draws on earlier theoretical work about multiplicative weight updates. The authors point to results about irrelevant attributes, noisy information, and targets that change over time as reasons to investigate these algorithms in language tasks. Those motivations address different issues. Irrelevant attributes are available clues that have little bearing on the desired decision. Noisy attributes are clues whose values may be wrong in an individual example. A changing target raises a question about whether a learner can respond to new observations over time. In the tagging experiments, guessed neighbor labels provide a concrete example of the second issue, and continued updating during testing provides a way to investigate the third. The theoretical motivation and the empirical claims have different scopes.
The number of output labels adds another consideration. The authors describe a tag set of about 50 classes, large for the kind of learning task they discuss. A tagger must make a choice among multiple labels even if each classifier learns a binary distinction. SNOW handles the distinction locally and reconciles the outputs at prediction time. Its lexicon restricts which labels can compete on a given occurrence. The same lexical information also supplies initial guesses for the sentence. Candidate restriction and context initialization solve different parts of the problem, even though both originate in the same resource.
The method, step by step
From a sentence to a prediction
SNOW stands for Sparse Network of Linear Separators. Its input layer represents clues, and its output layer has a target unit for each grammatical tag. A link gives a clue a weight at a particular target unit. The same clue may carry different weights for different tags. At each unit, the weights attached to the active clues are added. That sum measures the unit’s activation for the current example. During training, a threshold determines whether the unit calls the example positive. During tagging, the activations give the eligible units a way to compete.
The unit being trained is a classifier for a single tag. When a training occurrence carries that tag, the occurrence is positive for the unit. To every other unit, it is negative. All the units see the same observed features, so the distinction between a positive and a negative example depends on which unit is reading it. This organization lets the network learn the grammatical tags together from the same stream of examples while keeping the weights and learning decisions local to each tag.
At test time, the lexicon supplies the initial tags needed to compute context features. For the current word, the network computes activations from the current state of the sentence and chooses among the tags listed for that word. It writes its decision back into the sentence. When the tagger moves on, the earlier position can already carry a prediction made by SNOW. In settings that allow adaptation, the weights can also change after a decision. Changing the tag written into the sentence and changing the classifier weights are separate operations.
How SNOW learns and tags a sentence
The steps in order.
What the input features describe
Each example is centered on a particular word occurrence. Some feature templates ask about a single neighbor’s tag. These cover the position immediately before the current word, the one immediately after it, and the corresponding positions one word farther away on both sides. A tag and a position together define a clue. A noun tag immediately before the focus word and a noun tag immediately after it are different clues, even though both mention the same grammatical category.
Other templates ask about pairs of neighboring tags. The paper uses the immediate neighbors on opposite sides, the pair of positions to the left, and the pair to the right. A paired feature is active when both specified tags occur at the specified positions. It lets the score reflect a configuration directly. If two neighboring tags are telling chiefly when they appear together, their conjunction can have a weight of its own. The classifier can still assign separate weights to clues about each position. In this sense, a linear score can use interactions that have already been expressed as individual features. Linearity concerns how the resulting feature weights are combined.
The remaining feature templates describe the focus word itself. One identifies its written form. The other identifies its most probable tag according to the lexicon. These two clues provide different kinds of generalization. The word identity allows the classifier to learn an association specifically for that form. The usual-tag feature can be shared by distinct words with the same lexical preference. The paper takes the contextual and word-identity templates from a subset of the kinds of features used by Brill, and includes the lexicon’s preferred tag as an additional input.
The preferred tag for the focus word should be distinguished from the tags assigned to neighbors. The preferred tag represents what the lexicon says about the current word in general. A neighboring position carries the tag currently available for that particular occurrence. That tag may initially come from the lexicon and may later be replaced by a prediction. A neighbor feature can consequently change while the word-identity and preferred-tag features for the focus word stay fixed. Recomputing context from a revised sentence gives the same trained classifier a different set of active clues.
The paper describes a lexicon as a list of forms with possible tags. It can be compiled from annotated text or represent information available about the vocabulary in advance. The experiments use a compiled lexicon. Its preferred tag provides a default decision, and its list of possibilities restricts the outputs that are eligible for a particular word. Even if a unit outside that list has the strongest activation, it cannot win. This constraint makes a difference to how one should interpret the classifier’s task. The network judges competing candidates within a supplied inventory for each form.
How a target unit scores an example
The paper describes an input as a collection of features. For the tagger, the collection represents the example centered on the word being considered.
s = (z₁, z₂, …, zₘ)
Here, s is the input example. Each z stands for a feature in the representation of that example. The subscripts 1 through m distinguish the entries, with m identifying the last entry and the ellipsis standing for intervening ones. Providing the example activates the corresponding input units.
Each target unit sums the weights of the active input units to which it is linked. Its binary prediction is positive under the following condition.
∑ᵢ∈𝒜 wᵢ > θ
The symbol 𝒜 denotes the set of indices for features that are active and connected to the target unit in question. The index i identifies a member of that set, and wᵢ is the weight of the link from feature i to that unit. The summation symbol ∑ adds the weights across those indices. The relation ∈ says that an index belongs to the set. The threshold is θ, and > requires the sum to exceed it. Local activation is the sum on the left. Winnow uses the comparison with the threshold to decide whether the occurrence counts as positive for this unit.
This is a linear separator in the feature space because the test uses a weighted sum and a threshold. Every active, connected feature contributes its weight once to the sum for its target unit. An inactive feature contributes nothing to that decision. A feature without a link to the unit also contributes nothing. The same example can activate different sets of links at different units because they need not share the same connections. Sparsity therefore describes both which input clues are present and how the inputs connect to the outputs.
The threshold test and the final contest play distinct roles. A tag unit uses the threshold to decide whether it made a binary error for learning purposes. The tagger uses the activation scores to rank the eligible units. The candidate with the largest activation supplies the grammatical label. This competition produces a single choice even though several classifiers can respond strongly to the same example. The scores also have a narrower meaning than probabilities over all the possible tags. They are weighted support for individual candidates under the learned connections.
How Winnow changes a classifier
Winnow receives a binary answer for each target unit. A training occurrence is positive for the unit corresponding to its correct tag and negative for the others. If a unit’s binary prediction is correct, the local algorithm leaves its weights as they are. A local error triggers one of the following operations on the active, connected weights.
wᵢ ← α · wᵢ, for every i ∈ 𝒜
This is promotion. The left-hand wᵢ is the weight after the update and the right-hand wᵢ is its previous value. The arrow ← assigns the new value, and the dot · denotes multiplication. The promotion factor α is greater than 1. The index i ranges over the members of 𝒜, the active features linked to the current target unit. Promotion applies when the unit predicts 0, meaning negative, and receives 1, meaning positive. It increases the contribution of the links implicated in the missed positive decision.
wᵢ ← β · wᵢ, for every i ∈ 𝒜
This is demotion. As in promotion, the arrow assigns a new weight wᵢ by multiplying the previous weight on the right. Here the multiplier is β, which is greater than 0 and less than 1. The operation applies to every feature index i in the active linked set 𝒜. A unit demotes those weights when it predicts 1 and the supplied label for that unit is 0. The active clues then contribute less to this unit on subsequent examples that contain them.
As an illustration of the local learning logic, consider a training example whose correct tag is a verb. If the verb unit falls below the decision threshold, its active weights receive promotion. A noun unit that incorrectly calls the same example positive receives demotion on its active weights. A separate unit that correctly calls the occurrence negative has no update to make. The rules act on each unit’s own binary decision. There is therefore a distinction between an error by a unit and an error by the whole network. The network’s answer depends on which eligible activation wins, whereas a unit’s error depends on its own threshold and its own binary label.
The multiplicative update scales an existing contribution. The size of its change depends on the weight already associated with the feature, as well as on the update factor. Features missing from the example receive no credit or blame for that decision. Their weights stay available for future examples where the clues actually occur. This is the mechanism that links the update rule to the authors’ interest in a large space of largely inactive features.
The sparse network also allows a target unit to lack links to features it has never encountered in relevant examples. The architecture permits it to disconnect features with too little activity. These possibilities are distinct from Winnow’s demotion formula. Demotion changes the strength of an existing active link. A missing link means the feature contributes nothing to that unit at all. The paper gives the architectural relationship and the local learning rule without specifying a detailed connection-pruning schedule for these experiments.
Training once through the examples
An annotated sentence produces an example for each of its words. The ordinary training procedure uses the annotated neighboring tags to compute the contextual clues, and the annotated focus tag determines which unit receives a positive example. The word-identity and preferred-tag clues can be computed alongside that context. The learner presents each example to the respective target units, makes the required updates, and discards the example. It retains the weights that result from processing it. The authors use online in this sense of learning from a stream of examples as they arrive.
This organization contrasts with the repeated corpus-wide search described for transformation learning. SNOW’s training action is a local weight change on the current example. It can use the same local rule after deployment if feedback is available. That possibility does not require the training examples to be kept for another pass. It does require a choice about what can legitimately serve as feedback once the correct label on the current example is unavailable.
The training variants exploit the fact that grammatical tags appear in two different parts of the feature-and-label representation. The tag of the focus word is the answer the learner is being asked to predict. Tags of its neighbors help describe the example. For the variant the paper calls semisupervised, the context features use usual lexical tags, but the prediction target remains the annotated focus tag. For the variant the authors call unsupervised, usual tags also supply the prediction targets. In that setting, the learner can adjust weights in response to disagreement with its lexical answers. The supervision terms describe the sources of the labels used in the learner’s examples. The construction of the lexicon is a separate question.
How the tagger obtains context at test time
In ordinary testing, the correct tags of neighboring words have to be inferred. The baseline initializes the sentence by taking the most common tag for each form from the lexicon. A contextual feature then refers to what is presently written at a neighboring position. Following a prediction, that position receives the winning tag. A word farther along in the sentence can consequently see revised tags on its left, while a word to its right may still have its lexical initial tag. This follows from the paper’s account of writing back each prediction for use by the following words.
The authors also describe using several labeling cycles to reduce the problem of erroneous initial context. The reason for another cycle is that the classifier’s inputs can now reflect decisions from a preceding cycle. A correction to a neighbor can create a clue that was absent on the earlier evaluation, or remove a clue that should never have been active. The procedure is a way to let sentence labels influence one another through the features. The paper does not supply a pass-by-pass account showing how often a particular correction propagates, and the reported accuracy figures should be read at the level of the experimental settings to which they are attached.
Test-time adaptation adds another source of change. In the ordinary adaptive setting, the lexicon’s preferred tag supplies the feedback label after prediction. That feedback can drive a Winnow update even though it may disagree with the correct tag for the occurrence. A different experimental setting allows true feedback on a mistake. A fixed-weight setting suppresses test-time learning. The central distinction is what changes in each case. Writing a predicted tag into the sentence changes the inputs for nearby decisions. Updating a weight changes how the classifier responds when it encounters a feature again, including in another sentence.
Experiments and results
The corpus, vocabulary, and comparison
All experiments use Wall Street Journal material from the Penn Treebank. The training portion contains 600,000 words and the test portion 150,000 words. The lexicon contains 81,227 distinct words, with an average of 2.2 possible tags per word in the lexicon. The first pair of figures counts occurrences in the data splits. The lexicon figure counts different forms, and the average describes the number of tag choices associated with each such form. It does not describe how frequently each word occurs or how often each of its listed tags is appropriate.
The authors conduct the experiments under a closed-vocabulary assumption. They say the experimental lexicon was compiled from the training and test corpora together. The general description of baseline initialization refers to the training lexicon, while the experimental description explicitly gives this joint construction. The latter is important when interpreting the reported comparisons. The train and test splits distinguish the examples used for initial classifier learning from the examples used for evaluation. They do not describe a setting in which every piece of lexical information was restricted to the training split.
The simplest comparator, Baseline, returns the most common lexical tag for the word. Its 94.1% test accuracy shows that the lexical preference is already a strong predictor under this protocol. The same preference plays several roles in SNOW. It supplies the initial tag guesses, appears as a feature for the current word, and can serve as the label used for a test-time weight update. The baseline score gives some context for why the authors tried the last of these. It measures how often the feedback source agrees with the reference overall, though it does not establish how reliable the feedback is on the particular cases where the network disagrees with it.
The comparative study trains and tests a naive Bayes tagger and Brill’s transformation-based tagger on the same data splits as SNOW. The naive Bayes tagger uses the features described for SNOW. Brill’s system uses a larger feature inventory, in keeping with its separate learning and tagging procedure. This gives the comparisons different interpretations. Comparing SNOW with naive Bayes holds the described feature inventory in common. Comparing it with Brill addresses the performance of two complete tagging approaches under the corpus protocol. It does not isolate a difference attributable solely to Winnow or to the transformation procedure.
The main accuracy measure credits a word when its predicted tag agrees with the annotated tag. It gives each occurrence a contribution to the aggregate. For example, repeated occurrences count repeatedly even when they show the same form and tag. The paper also asks how to evaluate cases where the lexicon leaves a genuine choice and cases where an application would accept a broader grammatical category. These analyses keep the meanings of the accuracy figures tied to what is being judged.
Feedback after a decision
The basic adaptation comparison changes what the system can learn from its test examples. The no-adaptation variant, called noadp-SNOW, uses weights learned in training and obtains 96.5% test tagging accuracy. The ordinary SNOW setting continues to update with lexical baseline tags and obtains 97.13%. The adaptive version with true feedback on mistakes, adp-SNOW, obtains 97.2%. In the chart, the star marks the paper’s default setting, which uses feedback available through the lexicon.
Test accuracy of SNOW feedback settings on Penn Treebank WSJ
Both forms of feedback improve the reported accuracy over fixed weights.
The numbers
| System or setting | accuracy % |
|---|---|
| SNOW with fixed weights | 96.5 |
| SNOW with lexical feedback (this paper) | 97.13 |
| SNOW with true feedback on mistakes | 97.2 |
With lexical feedback, the prediction has already been made before its example can change the weights. The consequential comparison is how the learner performs on the test stream as those changes accumulate. In true-feedback mode, a correction can inform the classifier after a mistake. That setting has access to reference information that an ordinary unattended tagger would lack. Its score describes what happened under the experimental feedback policy. It is useful as a check on the value of better corrections in this setup and can be distinguished from the default comparison with the other taggers.
The authors expected ongoing adjustment to help the tagger respond to the data it was currently seeing. The fixed-weight comparison supports that expectation on this corpus. They found little extra benefit from replacing lexical feedback with true corrections. They also discuss a possible use for true feedback when deployment data come from a different source. The experiments reported here show the result on the Wall Street Journal test portion. The discussion about adjusting to a different source is a motivation for studying the policy further.
Correct initial tags as a diagnostic
The context experiment changes what labels are available for the features. In ordinary testing, the sentence begins with baseline tags, which can be wrong. In the diagnostic setting, identified as SNOW+cr, labels from the annotated corpus supply correct initial tags. SNOW obtains 98.8% accuracy in that setting. The corresponding ordinary condition obtains 97.13%. Both figures describe exact tagging accuracy on the Wall Street Journal test data, under different assumptions about the information available as input.
Test accuracy by starting context on Penn Treebank WSJ
Correct initial tags let the contextual classifier recover more of the reference labeling.
The numbers
| System or setting | accuracy % |
|---|---|
| Lexical baseline | 94.1 |
| SNOW with lexical initial tags | 97.13 |
| SNOW with correct initial tags (this paper) | 98.8 |
The comparison gives a way to separate the quality of the learned scoring functions from the quality of the immediate inputs. A learned weight for a neighboring grammatical pattern can help only if that pattern is represented among the active clues. An incorrect initial tag can turn off the right clue and turn on another one. Correct initial labels make it possible to observe the performance of the classifier with substantially better context. Its diagnostic score also gives meaning to the authors’ interest in repeated labeling. For such repetitions to approach the diagnostic condition, the tagger has to supply corrections of its own.
The information supplied in this test comes from the very corpus annotation that ordinary tagging seeks to recover. A neighbor can be correct by construction when a word is examined in this setting. That stronger input changes the interpretation of the accuracy. The result measures performance with a privileged starting annotation and motivates a practical search for better inputs. There is no reported procedure that takes a sentence labeled only by the lexicon and guarantees the same input quality.
How the systems compare
The paper regards ordinary SNOW and the transformation-based tagger as essentially comparable in exact-tag accuracy on the shared split. Ordinary SNOW has the reported score of 97.13%. The comparative table also records 97.15 in the comparison of the competing systems, although the association of that entry with an individual competitor is unclear. The authors explicitly describe naive Bayes as performing well, and they report the 97.2% true-feedback setting for SNOW as ahead of the other taggers in that comparison. The information condition is part of the meaning of that ordering. The true-feedback variant has access to corrections during the test stream.
The paper discusses why the transformation-based system’s richer procedure may still produce a similar aggregate accuracy on this task. Its rule conditions can change as other rules revise the sentence. The authors cite earlier analysis placing the effect of this interdependence at 12% of predictions. They also cite the observation that a transformation-based classifier without that interdependence can be represented as a linear separator. These observations motivate their interpretation of the comparison. The 12% figure comes from the earlier analysis cited by the authors and does not give a breakdown of the predictions in the SNOW experiment.
Naive Bayes supplies a point of comparison for the features themselves. Since it draws on the same described inventory as SNOW, its success shows that those inputs can support a useful tagger with another learning procedure. It does not follow that the different learners make the same errors. The aggregate comparison concerns how many labels agree with the reference across the test set. It leaves open which decisions differ, what kinds of ambiguities each approach handles best, and how their behavior would change with other lexical coverage.
Exact tags, ambiguous words, and broader classes
The authors point out that about 65,000 of the 150,000 test words are unambiguous according to the lexicon. For SNOW’s restricted contest, a word with a single listed tag gives the network no choice to make. Including these occurrences is appropriate for a measure of labeling over all the text. It also means that the overall percentage mixes cases where lexical lookup settles the decision with cases where the context-sensitive classifier has to distinguish alternatives. The ambiguous-word analysis is meant to view the second kind of case more directly. The paper identifies this comparison, but its numerical scores for the ambiguous subset are unclear.
The other alternative measure groups fine-grained tags into broader grammatical classes. Under this scheme, an answer receives credit when the predicted and annotated tags belong to the same class. For example, an application may require identification of a noun without using all the distinctions among noun tags. The authors find that many errors fall within a class, so this broader measure can count some exact-tag misses as correct classifications. Their class-level comparison reports 96.2 and entries of 97.95, with the individual system mapping unclear. Those are class-level accuracy figures and should be kept separate from the exact-tag percentages.
The two alternative measures change different things. Restricting evaluation to ambiguous words changes which occurrences contribute to the score while keeping the original tag distinction. Broadening the classes changes the definition of correctness. An ambiguous word can be easy at the class level when all its plausible tags belong to the same class, and it can be difficult at the exact level for precisely the same reason that the collapsed classes hide that choice. The paper’s evaluation discussion makes clear how much depends on deciding which distinctions matter for the application.
What the ablations show
Learning during the test stream
The adaptation comparison is a direct test of whether keeping Winnow active after training makes a difference for this tagger. The disabled setting provides a reference for what its learned weights can already do in the test sequence. The default setting leaves learning enabled and supplies a lexical answer for updating. The third setting improves the authority of the feedback by making true corrections available on mistakes. The strongest observed distinction in this comparison is between permitting and disabling updates. The default and true-feedback scores are close under the paper’s conditions.
Lexical feedback is a plausible but imperfect reference. If a word’s usual tag is right and the classifier’s answer is wrong, an update based on the usual tag points in a direction supported by the corpus annotation. When the word occurs in a less usual role, the same policy can push in the opposite direction. Its benefit must therefore be judged over the whole stream. The result shows that the policy helped on balance here. It does not identify the individual promotions or demotions that produced the benefit, and the reported accuracy cannot show how often an update helped one later example while hurting another.
The experiment also distinguishes access to feedback from the availability of context features. A weight change alters the treatment of any later example using the relevant feature. A corrected context tag alters the set of features activated for nearby occurrences. Both can matter in the same test run. The comparison with fixed weights therefore supplies evidence for continued learning within the paper’s tagging procedure. A separate comparison is needed to ask what would happen if the starting context itself were more accurate. The paper supplies that comparison with correct initial tags.
The closeness of the feedback settings leaves an important question open about deployment. The sources of feedback differ most on occurrences where the usual tag is the wrong contextual answer. An overall score does not reveal whether the true corrections made a substantial difference in a particular ambiguous category or whether the two procedures succeeded on different words. The authors’ suggestion that corrections could help with a new domain is consistent with the learning rule. A study of transfer would have to show how feedback behaves when the usefulness of lexical habits changes.
The quality of contextual evidence
The correct-context experiment changes the inputs given to the classifier and demonstrates how sensitive accuracy is to that change. A contextual clue about an immediate neighbor is a statement about its assigned tag. If the assignment is wrong, the classifier can receive positive evidence for a pattern that is absent from the annotated sentence. Paired features can also change when either element of the pair changes. An erroneous initial label can thus affect several feature values, potentially at several focus positions.
Consider the paper’s sentence example again. If a neighbor is initialized with a tag that it typically has elsewhere, the pattern available to the current word can be inconsistent with the intended determiner–noun or modal–verb relation. A classifier can have learned a useful association for that relation and still never get to apply it when the relevant feature is inactive. Better initial tags reveal how the existing scorer behaves once more of those conditions are represented correctly. The comparison supplies evidence about the quality of the learned decision given good clues, as well as about the cost of relying on guesses for those clues.
The result also clarifies the appeal of writing predictions into the sentence. A correction can improve what the next decision sees. In the other direction, a mistaken replacement can make a plausible initial context worse. The privileged-input experiment shows that better neighbor tags are valuable, while the observed performance of the ordinary tagger reflects the net effect of the context it actually gets. It does not measure correction propagation separately or isolate the effect of each additional labeling cycle. The paper’s explanation gives the rationale for reusing revised labels, and the diagnostic sets a point of comparison for the quality of the inputs those revisions might supply.
Even with good available context, a label remains a decision among the word’s allowed candidates. Problems can arise when the local clues fail to distinguish them, when the correct pattern has a weak learned weight, or when the classifier favors a competing explanation of the context. These are possible reasons for residual errors under the architecture. The reported figure establishes that some errors remain under correct initialization. The paper does not divide those errors among possible causes.
Which training labels supply the useful supervision
The training comparison distinguishes the source of an example’s features from the source of its desired output. In the ordinary supervised setting, annotated tags supply both the contextual tags and the answer for the focus word. In the semisupervised setting, the ordinary lexical choices supply contextual tags while the focus word still has a human-annotated target. In the setting the paper calls unsupervised, lexical choices supply the targets as well. This progression changes the learner’s opportunity to discover when the usual tag should be overridden.
The semisupervised setting achieves 97.13% test accuracy, the same reported score as the fully supervised version. The authors suggest that using lexical guesses to build training inputs may fit the test conditions more closely. The learner still gets a correct target with which to judge the occurrence. It can thus learn how to respond to a particular pattern of guessed neighbors even when those guesses do not match the annotated context. The shared final score is consistent with this explanation, though the experiment does not establish that a better fit is the cause, or that the two versions get the same occurrences right.
The unsupervised setting obtains 94.3% test accuracy, near the baseline’s 94.1%. Once the focus target is also assigned by the usual lexical choice, the updates reward predicting that choice. An occurrence carrying a less usual tag no longer supplies direct corrective evidence about its true role. The available examples can still induce different decisions because the training procedure learns from contextual features and the classifier weighs competing clues. The result indicates that this use of lexical targets yields little improvement over lexical lookup in the reported setting.
This comparison is especially helpful because simply saying a tagger uses labels conceals which job they are doing. One job is to describe the input. Another is to specify what answer counts as correct for learning. Reliable training answers are valuable here even when some inputs are guessed. The result gives a limited way to relax the annotation requirements for the contexts used by the learner. The lexicon’s construction and the source of the focus labels still determine how much prior annotation the system depends on.
What the evaluation analyses can separate
The ambiguous-word analysis is a control on how much the easiest portions of the test set contribute to the aggregate. On an occurrence with only one eligible tag, the network’s ranking among grammatical alternatives cannot affect the output. On a word with several eligible tags, the choice can reflect the lexical preference, the surrounding evidence, and their learned weights. Reporting performance on the ambiguous subset would help locate the value of the classifier in the cases where the lexicon admits a choice. It measures a different aspect of usefulness than accuracy over every occurrence.
The class analysis diagnoses a different source of error. If a predicted fine tag and the annotated tag belong to the same broad grammatical category, an exact-tag mistake can still preserve information a later application needs. The reported class-level results support the authors’ observation that this happens for many of the mistakes. They propose a further layer of output units, one per class, connected to the fine-grained tags in that class. Updates could then depend on the class decision as well as the exact-tag decision. That proposal follows from the analysis of errors. The paper presents it as work to explore.
The feature inventory appears in several comparisons, but the paper does not remove the word feature, the lexical prior feature, or individual neighbor templates in isolation. The correct-context experiment tests the quality of information filling the templates. The supervision experiment tests how features and learning targets are labeled. The performance of naive Bayes speaks to what another learner can achieve using the same described clues. These comparisons address meaningful parts of the design without giving an independent contribution for each feature family.
Limitations
Limits the authors identify
The authors explicitly restrict this investigation to known words. The lexicon provides both a place to start and the candidate tags that the classifier is allowed to choose. A word with no entry would deprive the tagger of those resources for that occurrence and could also leave a missing initial tag in the context of nearby words. The paper reports no handling for that situation. Its results concern disambiguation under a supplied vocabulary, alongside occurrences whose tags are already decided by their lexical entries.
The authors also identify uncertain neighbor tags as a source of attribute noise. Their choice of inputs depends heavily on the grammatical roles assigned to nearby occurrences. The test with correct initial tags shows the value of better context, while the ordinary procedure has to build its context from guesses and predictions. The paper advances repeated labeling as a way to improve this input. It leaves open how best to decide when a current label should be trusted, when a revision should be accepted, and how much the different passes each contribute.
The attempt at unsupervised learning is explicitly preliminary. The authors find a way to use approximate contextual labels while retaining the benefits of correct prediction targets. Their setting with lexical labels used in both roles performs close to lookup. This result limits what one can claim for the supervision strategy. It does not establish a way to recover the contextual tagging decisions of an annotated corpus from usual lexical labels alone.
The discussion of performance measures adds another stated limit. A test score over an entire corpus gives credit for many words that have only one listed tag. The authors question how well that aggregate measures the classifier’s power to resolve ambiguity. They also note that some applications may care about a broader grammatical class, which makes exact-tag accuracy only one account of performance. Their class-based analysis indicates that within-class mistakes are common enough to merit attention. Their proposed class-aware learner has no reported experimental result in this paper.
Limits of the experimental setup
The joint construction of the lexicon limits what the comparison establishes about tagging freshly encountered text. Lexical information drawn from the test portion can affect which forms are covered and which tags are available for those forms. A candidate that would be missing in a training-only lexicon can participate when the test portion helps supply the inventory. The paper gives aggregate facts about the lexicon and its role. It does not provide a paired comparison with a lexicon derived solely from the training portion, so the effect of the joint construction on the scores remains undetermined.
The feedback results depend on the availability and source of the labels used after prediction. The fixed-weight and lexically adaptive settings can be compared to learn whether lexical updates helped in the reported protocol. The true-feedback version answers a separate question about test-time learning with corrections. It receives information unavailable to an unattended tagger. Similarly, the correct-context experiment measures performance under a stronger information condition than normal prediction. Each diagnostic helps identify a bottleneck, and each must be interpreted with its additional input in view.
The authors discuss how learning online could help a tagger adjust to text from a new domain. The Penn Treebank’s Wall Street Journal section is the source of both sets of reported data. These experiments establish what continued updating did on that corpus, with its lexicon and its distribution of tags. They leave performance on a separate source open. They also leave open whether lexical feedback would be helpful when the new source uses familiar words in substantially different roles.
The significance of close numerical comparisons is limited by the reporting. The paper describes some improvements as significant and treats ordinary SNOW and the transformation-based method as essentially level. It gives point accuracies for the settings. The experimental account supplies no uncertainty intervals or repeat-run estimates with which to judge the reliability of close rankings. Such rankings are especially sensitive to protocol differences when one setting can learn from true feedback during testing and another is evaluated using weights and rules obtained before the test.
The paper makes a procedural case for efficiency. Each training example can be discarded after use, an update can act on the links that are active, and the network need not retain all possible input connections for every tag. Those are properties of the design. The evaluation gives no measured training time, memory usage, or tagging throughput for the compared systems. It establishes that a one-pass learning procedure can reach the reported accuracy with this setup. The magnitude of any speed or memory advantage remains unmeasured.
Finally, the comparison is between taggers with partly different feature inventories and mechanisms for using context. The similar accuracy of SNOW and Brill’s tagger shows that the network can be competitive on this split. It does not establish equivalence between weighted feature voting and a sequence of transformations. A rule can change which conditions hold for other rules, and SNOW can change neighboring inputs by writing a tag back into the sentence. Both are routes for labeling decisions to interact. The paper identifies that interaction as a subject for further study and leaves its broader consequences for language inference open.
What came after
Context-sensitive spelling correction
The paper itself describes a related architecture in the work associated with A Winnow-Based Approach to Context-Sensitive Spelling Correction. It identifies that architecture as similar to SNOW and says that it has an additional layer. The spelling task puts the contextual decision in a different place. In part-of-speech tagging, the observed word is given and the system selects its grammatical label. In context-sensitive spelling correction, the issue is the suitability of a written form in context. In each case, features from the surrounding text can provide evidence for choosing among alternatives.
The dating in the two works’ descriptions makes their relationship more specific than a simple sequence of invention and adoption. Roth and Zelenko already refer to the related spelling work and mention a preliminary version. The spelling article later cites the tagging paper. This makes it a companion application of the learning approach, with the extra layer marking a difference in architecture. The tagging paper does not describe what the extra layer computes or give comparative spelling results. Its account supports the connection through Winnow and the similar organization of classifiers.
The contrast between the candidate decisions is useful for understanding how the tagging design generalizes at the level of representation. A target unit in the tagging paper denotes one grammatical label. The broader architecture only requires the learner to give a candidate some features, receive examples that count for or against it, and compare its activation with alternatives. The spelling work demonstrates the existence of a related Winnow-based design for another contextual ambiguity. The evidence available here does not establish that the two tasks used the same feature templates, feedback policies, or treatment of candidate restrictions.
Named entities as another labeling problem
Design Challenges and Misconceptions in Named Entity Recognition cites the tagging paper while addressing named entity recognition. Its subject places the citation in another task where a system draws on context to label text. A grammatical tag characterizes a word’s role in a sentence. Entity recognition concerns the identification and classification of names in text. The relationship makes the earlier paper relevant to questions about how contextual evidence enters a label decision and how decisions in the same text could interact.
The citation establishes that the later paper took account of the tagging work. Its title identifies the focus on design challenges in entity recognition. The nature of any technical reuse is unspecified. It would therefore be unwarranted to attribute the use of SNOW, Winnow, the lexical feedback procedure, or the repeated tagging cycles to that article on the basis of this connection. A sound reading is narrower. The tagging paper is part of the earlier work cited in a study about the design of another text-labeling system.
The two connections differ in how much can be traced. The spelling work has an architectural relationship described by the tagging authors themselves. The entity-recognition work supplies a citation across labeling tasks, with the particular use of the earlier method unspecified. In the tagging paper, the concrete contribution behind either connection is a way to let many local classifiers learn from the same observations, compete over candidate labels, and consume context whose quality can change during prediction. Its experiments show why that last property matters. The evidence reaching a classifier can be as consequential as the way the classifier learned to weight it.
Cite
Cite as Dan Roth and Dmitry Zelenko. 1998. Part of Speech Tagging Using a Network of Linear Separators. 36th Annual Meeting of the Association for Computational Linguistics and 17th International Conference on Computational Linguistics, Volume 2.
@inproceedings{roth1998part,
title = {{Part of Speech Tagging Using a Network of Linear Separators}},
author = {Dan Roth and Dmitry Zelenko},
booktitle = {36th Annual Meeting of the Association for Computational Linguistics and 17th International Conference on Computational Linguistics, Volume 2},
year = {1998},
doi = {10.3115/980691.980755},
url = {https://doi.org/10.3115/980691.980755}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/roth-1998-part-speech-tagging-network-linear/