Large tagset labeling using Feed Forward Neural Networks. Case study on Romanian Language
Paper · 2013 · Tiberiu Boros, Radu Ion and Dan Tufis
Summary
A Romanian word can need a grammatical label that specifies its category, gender, number, case, and definiteness. A reader can often settle these questions from the sentence. A system trained to assign complete labels faces a statistical problem. It may have seen plenty of examples of a particular gender or case while having very few examples of the exact label it needs. The paper tackles this problem in part-of-speech tagging.
The authors represent each full label as a collection of attributes with their own positions in a vector. When a word could take several labels, its input vector describes the evidence for each attribute across those possibilities. A feed-forward neural network reads a window of 5 words. To the left, it sees labels the tagger has already assigned. At the current word and to its right, it sees evidence about possible labels. The network scores the attributes of the current word, and a separate decision rule chooses the closest complete label from a list of candidates. A wordform lexicon supplies candidates for known forms, while suffix evidence helps with unfamiliar ones.
On the Romanian 1984 corpus, the system achieved a mean tagging accuracy of 98.41% in the authors’ final validation procedure. An earlier maximum-entropy result on the same corpus was 98.45%, and a Tiered Tagging result reported in that comparison was 97.50%. The authors flag a difference in how the data may have been split for the maximum-entropy experiment, so the figures establish a comparable level of performance without settling a precise ranking. The authors’ chosen configuration, with 130 hidden units, processed 3399 words per second on the reserved portion of the corpus in their timing experiment.
Tiered Tagging deals with the large inventory by first predicting a reduced label and then recovering the omitted grammatical information. The new approach retains that information in the encoding and lets training determine how it should influence the decision. The paper also examines the connections learned by the network. Among the findings are a preference for assigning a noun label after an article and associations between feminine gender at the target word and feminine evidence nearby. These are examples of local grammatical patterns the system can learn from annotated text. Romanian provides the empirical test of the approach. The authors present testing on other inflectional languages as future work.
Deep dive: Large tagset labeling using Feed Forward Neural Networks. Case study on Romanian Language
How a feed-forward neural tagger handles Romanian’s large grammatical tagset by encoding shared attributes and choosing among valid word labels. · about 33 minutes to read
The problem and its context
What a complete tag tells you
A part of speech tells you the grammatical category of a word in context. A morphosyntactic description, or MSD, can go considerably further. It can distinguish nouns by type and record properties such as gender and number. For a word category with its own set of grammatical distinctions, the description can record the values relevant to that category. The label is the entire description assigned to a word as it occurs in a sentence. The spelling is the wordform, which may admit several descriptions. The tagger must decide which of those readings fits the occurrence. These distinctions belong to morphology.
The paper illustrates the format with a common noun whose description includes feminine gender, singular number, nominative or accusative case, and indefinite form. Each piece answers a different question. Knowing that the word is a noun leaves its gender and number to be determined. Knowing its gender leaves the remaining features open. When the evaluation asks for the full description, a system that gets the category right can still make a tagging error through its choice of a finer attribute. This is the task the authors set themselves, and it explains why the size of the label inventory matters even when a language has a familiar set of broad grammatical categories.
The paper gives several estimates to convey the scale of the problem. It describes inventories of more than 3000 descriptions for Czech, more than 2000 for Slovene, and more than 1100 for Romanian. It then specifies a particular Romanian inventory under the MULTEXT-East lexical specifications. That inventory has 614 descriptions for wordforms and 10 punctuation tags. The paper attributes the smaller inventory to the treatment of regular syncretism in case and gender. Syncretism occurs when grammatical distinctions share a form, and a specification can take that regularity into account in defining which distinctions its tags record. The figure of 614 refers to the wordform descriptions used for the paper’s encoding. The broader figure for Romanian describes the scale of the problem before that particular inventory is introduced.
A large tagset changes the amount of usable evidence available per label. Consider the description of the common noun. Occurrences of feminine nouns with other values for number or case provide examples of feminine gender. Their full labels differ, so a system that relies on observations of each complete label separately has to learn from a smaller set of matching examples. Similar scarcity affects the contextual evidence. A neighboring tag may contain exactly the information that matters, yet the whole neighboring description may occur infrequently. The paper identifies this sparsity as a source of weak performance on unfamiliar text and as a difficulty even when training and evaluation are in the same domain.
Why the existing approaches mattered
The authors put their work in a field that already had several ways to infer a grammatical label from text. They cite hidden Markov approaches, maximum-entropy classifiers, Bayesian networks, neural tagging, and conditional random fields. The introduction contrasts the extensive inventories of inflectional languages with the smaller inventories for which many standard tagging approaches were designed. Its concern is that the amount of annotated evidence needed to estimate distinctions grows as the inventory becomes richer. Earlier work in this setting includes Brants’s TnT tagger and Ratnaparkhi’s maximum-entropy tagger.
The paper also has a practical reason to care about these distinctions. It presents tagging as a step used by other language-processing tasks and eventually describes its own tagger as part of an application for text-to-speech. A system in that position has to run on new text as it arrives. A richer description is valuable only insofar as the application can obtain it with adequate reliability and speed. The paper therefore treats runtime as part of the design problem for the tagger it builds. It places tagging alongside work in speech and spoken language.
Tiered Tagging is the main point of comparison because it addresses the sparse evidence directly. It converts the full descriptions to a smaller set of tags by removing features that can be recovered. The initial tagging step works with these reduced labels. A subsequent step restores the information needed for the complete MSD. A reduced tag collects occurrences whose full descriptions would otherwise be counted separately. The same choice creates a second task, since the system needs a way to determine what to set for the features that were taken out. The authors associate this design with linguistic knowledge about which distinctions can be dropped and how to restore them.
The new tagger is aimed at that same scarcity, but it keeps the grammatical content accessible throughout the main prediction. The authors’ proposed unit of sharing is an attribute value such as feminine gender, rather than a reduced label that leaves gender to a subsequent recovery step. Occurrences that differ in other properties can influence how the system learns to recognize feminine gender, and evidence for number can be useful in its own right. A full description is still necessary at the end. The question is where to represent the common ground between descriptions and where to decide which complete description applies.
What the authors changed in neural tagging
The paper explains the difference from earlier neural tagging with a simplified example. Imagine an inventory of 100 tags and an input that spans the previous word, the current word, and the next word. With a position for each complete tag at each word, the illustrative input has 300 entries and the output has 100. The previous tag supplies evidence on the left. The current word and next word each contribute evidence about their possible tags. The predicted tag is the one with the highest output value. In the earlier approaches discussed by the paper, suffix analysis supplies likely tags when a word is outside the vocabulary.
That example isolates the representational choice. A label for a feminine singular noun and a label for another feminine noun would each occupy their own position. A relation between their grammatical contents would have to be picked up indirectly. In the new representation, each description activates a set of positions. The dimensions for noun and feminine gender are available across all descriptions that contain those values. Other dimensions allow descriptions that share those properties to remain distinguishable. The network can receive an explicit indication of a shared feature even when the context provides only ambiguous evidence about the full description.
The change leaves an important problem to solve. An inventory of full descriptions specifies combinations of values. A bundle of scores for individual values can support an incompatible combination or a combination that is unavailable for the word at hand. The paper responds by consulting a candidate list when it turns the scores into a tag. This helps explain the division of labor across the system. The network learns which attributes the context supports. The candidate list supplies complete descriptions that can be used in the final comparison.
The method, step by step
From a positional tag to a vector
An MSD in the lexical specification is a string whose characters have grammatical meanings. The opening character names the part of speech. The characters that follow encode values in the order defined for that category. A placeholder is used where a feature is inapplicable to the language or to the combination of values. Reading such a tag therefore involves interpreting each character according to its role. A string can be compact and straightforward to store while still requiring that interpretation before it reveals which attributes it shares with other descriptions.
The authors make those shared attributes explicit. They sort the 16 parts of speech in the Romanian inventory and reserve a position for each. A complete description activates the position for its grammatical category. They also sort the 94 lexical attribute values collected across the categories, leaving the wildcard out of that list. Each of these values receives its own position in a second part of the representation. The authors concatenate the two parts to obtain a 110-position binary vector. A position is set to 1 when the description includes its category or value, and absent features leave their positions inactive.
A complete description of a common noun thus activates a category position for noun and the positions appropriate to its description, including those for the noun type and its other attributes. A second noun description can agree in several positions and differ in the ones where its grammatical description differs. This makes resemblance visible to the network at the level of its inputs and training targets. It also gives the final decision rule a way to assess resemblance between a network output and a real description using corresponding positions.
The encoding sets the meaning of a position before any training. The network learns how much the evidence at that position should influence an output, and how it should interact with other inputs. A human specifying the tagset still has to identify the categories and their attributes. The authors’ claim about linguistic effort concerns the step from a lexical specification to a tagger. The representation avoids the need to design a separate reduction of the tagset and a procedure for recovering the omitted values.
From candidate descriptions to a grammatical tag
The steps in order.
Representing what a word could be
A binary vector can describe a word with an assigned tag. At the current word, where the tag is still undecided, the input must convey a different kind of information. The form may have appeared with several descriptions in training. The relevant evidence for a given attribute is the frequency with which it occurs across those observations. The paper expresses that as a conditional estimate.
P(a ∣ w) = C(w, a) / C(w)
Here w is a wordform and a is an attribute value with a dedicated position in the encoding. P(a ∣ w) is the estimated probability of seeing that value given the form. C(w, a) counts occurrences of w whose description includes a, and C(w) counts occurrences of the form. The slash denotes division. The estimate takes the share of observations of the wordform that include the attribute.
This gives a position a meaning that depends on the status of its word. For a word already assigned an MSD, the positions record the features of that choice. For a word waiting to be tagged, a position summarizes the evidence for the corresponding value. If readings of the same form agree on gender but vary in another property, the estimate can preserve their agreement on gender while representing uncertainty about the other property. A distribution over full descriptions can express such agreement implicitly. Here it is available directly in the input for the relevant value.
Since each complete tag contains several attributes, the entries in this vector are separate estimates about properties of the word. They can express support for several features at once. They also convey less information about which features co-occur than the original list of complete readings would. When the same form can take different descriptions, greater support for a value in one position and greater support for a value in another position need not come from the same observations. The candidate list becomes important precisely because it recovers the complete combinations to consider at the point of decision.
The authors use suffix evidence when word-specific counts are unavailable for an unknown word. During training they build a list associating suffixes with descriptions. At runtime they use a variation of the suffix analysis proposed in the TnT work to approximate the vector of possible attribute values for an unfamiliar form. This lets unfamiliar words enter the same representation and the same local calculation as familiar ones. The output decision also needs candidates for those words. For that purpose the authors gather all the descriptions associated with applicable suffixes into a union. The estimated attribute vector supplies graded input evidence, and the union supplies complete descriptions the tagger can choose.
Building the window
A training example corresponds to a single target word in an annotated utterance. The output target is the binary representation of its reference MSD. The input comes from the five-word span with that occurrence at its center. The paper adds four dummy tokens to each utterance, with two at either end. The padding gives the system a place to obtain boundary context even for a target at the beginning or end. The same window layout can then be used across the utterance.
The two words to the left contribute vectors for assigned descriptions. The current word and the two words to its right contribute vectors for possible descriptions. In training, the annotations supply the assigned descriptions for the preceding positions. At runtime they are decisions the tagger has already made. Positions on the right contain evidence about the words that will be encountered next. Their eventual labels are still open at that point. Placing the vectors side by side in a fixed order tells the network which grammatical evidence comes from which position.
The distinction between an assigned tag and a possible one is central to the way context works. A location immediately to the left can give an unequivocal input indicating that the tagger selected an article. The location immediately to the right can convey evidence for several descriptions, including a noun in a particular case. These are different types of information even though they occupy equivalent attribute positions within their respective vectors. A network can learn distinct responses to the same attribute to the left and to the right. The fixed ordering preserves the distinction.
Taking evidence from later words is consistent with reading the utterance from left to right. The system has their forms and can look up or estimate their possible descriptions before it resolves them. As the window advances, a word that supplied an uncertain reading as the target becomes a source of an assigned tag. The procedure can therefore exploit limited evidence from both directions while making decisions in a single order. Its direct view of the text stays local. At the same time, a decision in an earlier window can shape the next decision through the assigned tags it leaves behind.
Turning the input into attribute scores
The paper uses a fully connected feed-forward network with 3 layers, comprising the input, a hidden layer, and the output. The concatenated context goes into 550 input units, which the paper describes as 5 x 110. There are 110 output units, corresponding to the encoding of the target description. The hidden units receive weighted inputs from the preceding layer. The output units in turn receive weighted contributions from the hidden layer. The hidden width is adjustable and becomes the main architectural variable in the experiments.
The activation used by the authors is the sigmoid.
f(t) = 1 / (1 + e⁻ᵗ)
Here t is the weighted sum of outputs from the preceding layer for the receiving unit. f(t) is that unit’s activation, and e is the base of the natural exponential. The superscript −t negates the weighted sum in the exponent. The expression transforms the sum into a value between zero and one, with a larger weighted sum producing a higher activation.
The output is a vector of attribute scores. A high value for the noun position indicates that the network supports that category. Other positions can express support for values that occur in noun descriptions. Each position is supervised through the corresponding part of the annotated target. This arrangement lets examples with different complete tags supply training evidence for the same output value. The hidden layer gives the system a place to learn combinations, such as how a nearby category and the current word’s possible properties jointly bear on the desired reading.
The authors chose the feed-forward architecture for simplicity and ease of training. They discuss recurrent networks as a possible fit for tagging and describe them as more difficult to train. In their own system, the window provides nearby information and the tagging procedure carries completed choices forward. Those choices are outside the network’s evaluation of a single window. Within that evaluation, the scores are computed by passing activity from input through the hidden layer to output. Across evaluations, the changing input supplies the consequences of earlier choices.
Training presents these contextual inputs and their annotated targets repeatedly. The experiments vary how many iterations are used and how many units are available in the hidden layer. The weights start from random initializations in the accuracy studies, so the same architecture can be evaluated across more than one starting point. A setting can be compared on training accuracy, on performance on reserved data, and on runtime, with the dimensions of its grammatical encoding held fixed.
Choosing a legal description for the form
The paper’s authors observe that the network can support attributes beyond the descriptions associated with a form in the training corpus. That flexibility is valuable for unfamiliar forms. It can also yield values that are invalid for the form being tagged. The authors address this by bringing in an inflectional wordform lexicon, which associates forms with their allowed descriptions. In the case of a word outside the vocabulary, the set assembled from suffixes serves this role. The selection rule compares the network output with the binary encoding of each available description.
p̂ = argminₚ∈ₚₒₛₛ ∑ᵢ₌₁ⁿ |oᵢ − bᵢ(p)|
Here p̂ is the description chosen for the current word, p is a candidate description, and the subscript ₚ∈ₚₒₛₛ means that the search runs over candidates in the set poss of possible descriptions for that word. argmin selects a candidate for which the summed distance is smallest. i indexes the encoding positions from 1 to n, and n is the encoding length, which is 110 in the Romanian setup. oᵢ is the network’s output at position i, and bᵢ(p) is the binary value there for candidate p. The vertical bars denote the absolute value of the difference, and ∑ adds those differences over the encoding.
The distance uses evidence both for features a candidate contains and for features it leaves out. A strong output for an attribute fits a candidate that includes it. It counts against a candidate that lacks it. A low output has the opposite effect. Candidates with shared features incur the same distance contribution at those positions, so the decision between them depends on the positions in which their encodings differ. The choice follows the combined fit across the vector.
The candidate restriction is also where the lexicon can support a form whose full description was absent from its training observations. The network can learn to prefer individual attributes from examples elsewhere in the corpus. If the lexicon permits a description containing those attributes for the form, the description can enter the final comparison. For an unfamiliar word, the analogous opportunity depends on the suffix list. A candidate has to be available through the appropriate resource before evidence from the context can select it.
After the choice, the system replaces the target word’s uncertain representation with the binary vector for the assigned MSD. The next target can then receive that choice in the left context. The utterance is processed through repeated applications of the same procedure. As a result, accuracy reflects the behavior of the whole pipeline, from provisional lexical evidence through network scoring and candidate selection to reuse of the selected tag. The full description is the result at each word and also part of the input to subsequent decisions.
Experiments and results
The corpus and the evaluation questions
The authors use a Romanian corpus of 1984 annotated with morphosyntactic descriptions. It contains 118,025 words. They reserve roughly 1/10 of the corpus, amounting to 11,960 words, for cross-validation during development. The paper calls this material a test set in parts of the development discussion and uses it repeatedly to compare settings. Its role there is to guide decisions about the architecture and training duration. The final accuracy experiment separates this tuning material from the words it scores as test data.
An additional inflectional lexicon, with approximately 1 million hand-validated entries, is available to the tagger. The lexicon and reference annotations perform different jobs. An annotation records which reading applies to a word in its sentence. The lexicon provides descriptions that can apply to a form and thereby constrains the candidate choice. The reported accuracy therefore belongs to a system that uses the lexicon as well as the annotated data and suffix information. The size of the lexicon says how many entries the paper reports for that resource. The training corpus size counts words in the annotated text.
Tagging accuracy measures agreement with the reference MSD at the evaluated words. The default baseline described by the authors returns the most probable tag and scores 93.29% accuracy on the development cross-validation set. A majority choice is a natural reference for the ambiguity problem because many forms in a corpus can favor a particular label. The baseline figure is reported for development. The headline 98.41% result comes from the final validation procedure, which gives the tuning portion a different role. The paper provides these figures in their respective settings.
The development work asks several related questions. One is how much it costs to evaluate a wider network at runtime. Another is whether a wider hidden layer produces higher accuracy after a fixed period of training. The authors also examine whether the width that produces the best observed checkpoint is the same one that performs well over many iterations. These questions matter separately for a system whose architecture and training duration can both be changed. An improvement visible at a particular checkpoint may be hard to rely on if it depends on timing the end of training narrowly.
What the speed experiment measures
The timing experiment spans widths from 50 to 310 hidden units, increasing the width by 20 units between configurations. There are 14 networks in this series. The authors train them partially, for one iteration on 1000 sentences. The idea is to establish how the width changes the cost of processing a word without fully training every size. Each configuration tags the same 11,960-word reserved portion of 1984. The paper averages the timing over 3 runs per configuration to reduce the effect of fluctuations in system load.
Tagging throughput by hidden width on the reserved 1984 corpus portion
Throughput falls as the hidden layer widens, with the authors’ chosen configuration between the extremes.
The numbers
| System or setting | words/sec |
|---|---|
| 50 hidden units | 7816 |
| 70 hidden units | 6334 |
| 90 hidden units | 5100 |
| 110 hidden units | 4300 |
| 130 hidden units (this paper) | 3399 |
| 150 hidden units | 2367 |
| 210 hidden units | 1685 |
| 310 hidden units | 967 |
At the ends of the timing sweep, the reported execution times are 1530 ms with 50 hidden units and 12,364 ms with 310 hidden units. The 130-unit network takes 3518 ms on that workload. The throughput figures track the same pattern and make the cost of widening visible in the more practical unit of words tagged per second. The rows come from the authors’ timing setup and refer to the whole tagging pass on those words. The authors also report that larger networks take longer to train, a cost that affected how far they extended their fully trained comparisons.
The fastest setting in this experiment is the smallest one. The chosen setting reflects a separate consideration about how well the network tags words. The timing procedure gives each width only partial training, so these throughput figures are paired with accuracy results from different runs designed to assess learning. The study uses the timed sweep to estimate the price of a larger architecture and the training studies to see what that price buys. This accounts for the decision to mark the deployed 130-unit setting in the chart even though other settings are faster there.
What hidden width changes after fixed training
The authors train networks at a series of widths for 30 iterations, using 5 random weight initializations per width. The accuracy comparison runs from 50 to 210 hidden units. The paper records both accuracy on the training material and accuracy on the development cross-validation set. The training figures describe how well the tagger reproduces the examples from which it learns. The cross-validation figures describe agreement with the reference labels on reserved material under that development procedure.
Development cross-validation accuracy by hidden width on 1984 after 30 iterations
The largest width in this accuracy sweep has the highest held-out score, and several smaller widths cluster nearby.
The numbers
| System or setting | accuracy % |
|---|---|
| 50 hidden units | 97.95 |
| 70 hidden units | 98.02 |
| 90 hidden units | 98.03 |
| 110 hidden units | 98.05 |
| 130 hidden units | 98.12 |
| 150 hidden units | 98.09 |
| 170 hidden units | 98.07 |
| 190 hidden units | 98.10 |
| 210 hidden units (this paper) | 98.21 |
Training accuracy is 99.18% for the 50-unit network and 99.35% for the 130-unit configuration in this experiment. It reaches 99.41% for 170 hidden units, and the result at 210 units is 99.40%. The peak training score in the table thus belongs to a different width from the peak cross-validation score. The cross-validation values also vary within the sweep, with some larger networks scoring below smaller ones. The last width in the comparison yields the best cross-validation score under this fixed training schedule. The authors say that it did not appear to overfit in this run series. They ended the comparison there because training took substantially longer.
The result at 210 units establishes a good score at the specified training duration. Choosing the architecture for daily use required considering performance over a longer training course and the throughput of the finished tagger. The 130-unit configuration can be compared with the others in both respects. The timing sweep gives 3399 words/sec at 130 units and 1685 words/sec at 210 units. The latter setting’s cross-validation result has to be interpreted alongside that operational cost and alongside the subsequent experiments, which ask a different question about performance over training.
What happens across iterations
The longer development experiment runs training for 100 iterations and checks cross-validation accuracy at every iteration. The authors report average and maximum scores across the training course. For the 130-unit configuration, the reported average is 98.14% and the maximum is 98.44%. The 110-unit configuration has an average of 98.08% and a maximum of 98.45%. With 90 units, the reported average is 98.07% and the maximum is 98.39%. Those figures exhibit the distinction that matters for the authors’ choice. A width can attain a higher maximum at an observed checkpoint while another width gives better accuracy on average over the observed course.
In the authors’ reading of this experiment, the 130-unit network gives the most favorable average on the development data. The 90- and 110-unit configurations also look promising. Among other results in the table, the 150-unit setting has average accuracy of 98.01% and the 170-unit setting has 97.94%. Larger settings also cost more time per word in the speed sweep. The preferred configuration is therefore the product of the authors’ desired balance of speed and accuracy, informed by performance over the course of training.
The paper plots the training and held-out curves for the 130-unit configuration as an example of what happens during that course. The authors observe that continuing to train can sometimes improve the held-out accuracy after it has dropped. A single decrease can be followed by a better checkpoint. After inspecting performance over the iterations, the authors settle on 40 iterations for their final accuracy experiment. The reported scores over 100 iterations are part of the evidence for that choice. They describe an experiment in which the system’s behavior is inspected along the way.
Final accuracy and earlier Romanian results
For the final estimate, the authors fix the hidden layer at 130 units and measure accuracy after 40 iterations. They describe the evaluation as 10-fold validation with 30 random initializations. The first 1/10 of the corpus, which had been used to tune the settings, is kept out of the final test data and is available for training. The headline value, 98.41% mean accuracy, is an average over 270 measurements. This estimate therefore reflects training with the selected architecture and stopping point, with variation across random starting weights and the validation procedure.
The strongest numerical comparison in the paper comes from earlier tagging results on the same corpus. Ceaușu reports 98.45% accuracy for a maximum-entropy approach and compares it with a Tiered Tagging result of 97.50%. The paper places its own 98.41% beside those values. All three concern full tagging accuracy on 1984, as reported in their respective evaluations. The current authors point out that the earlier maximum-entropy account does not explain how its 1/10 portion was chosen. The comparison gives a sense of the level of performance the new representation can achieve, with uncertainty about the equivalence of the training and test splits.
Reported full-tag accuracy on 1984 under the respective validation procedures
The feed-forward tagger reaches a similar reported accuracy to the maximum-entropy approach on the same corpus.
The numbers
| System or setting | accuracy % |
|---|---|
| Tiered Tagging | 97.50 |
| Maximum-entropy tagging | 98.45 |
| Feed-forward attribute tagger (this paper) | 98.41 |
One example examined by the authors illustrates the role of the evaluation reference. They discuss a Romanian expression for razor blades in which the final word describes shaving. The reference treated that word as a noun. The authors identify it as a supine verb with the form of a past participle, following a preposition after the noun for blades. In this case, their linguistic judgment supports the tagger’s disagreement with the annotation. The paper presents the example to show that some discrepancies can arise from the reference labels. It gives no revised numerical result based on correcting them.
What the ablations show
Changes in capacity and training
The paper does not report a component ablation of the grammatical encoding, lexicon, suffix procedure, or context window. Its controlled comparisons vary hidden width and training duration, and its other analyses inspect learned connections and an error in the reference annotation. Those comparisons supply evidence about how the system behaves. They leave the separate contributions of its representational and lexical choices to be established.
The timing sweep offers the clearest controlled comparison. The input representation, output representation, and evaluation text are fixed, while the hidden layer varies in size. Every fully connected hidden layer receives the same kinds of contextual inputs and sends signals to the same attribute outputs. Adding hidden units increases the number of contributions computed in a pass. The measured throughput follows that change consistently across the tested widths. Because the timing networks only receive partial training, the figures are particularly useful for understanding the cost associated with width in the authors’ implementation. They do not depend on waiting for every candidate width to reach its best tagging accuracy.
The fixed-duration accuracy sweep holds the number of iterations at 30, so it reveals what the tested widths achieve under that particular training schedule. The authors expect a small hidden layer to have relatively limited capacity and a larger hidden layer to have greater potential to fit the training data. The training scores rise across much of the table, though they vary at the larger widths. The cross-validation scores improve unevenly. Taken together, those observations suggest that capacity helps over part of the range and that the choice still needs to be checked on reserved material. They also leave open how each width might perform if it were given its own training duration.
The result at 210 units deserves attention because the paper discusses overfitting as a possibility for large hidden layers. Overfitting would be seen as better reproduction of the training data accompanied by worse performance on held-out data. In the fixed-duration comparison, the 210-unit network reaches the highest cross-validation accuracy shown. The authors say they saw no apparent overfitting at that width during the experiment. Their stopping point for the sweep therefore reflects training cost. There is no measured threshold in these runs beyond which increasing width reliably harms tagging accuracy.
The longer experiment sharpens the meaning of a reliable choice. Comparing maximum accuracy asks what a configuration attained at its strongest observed checkpoint. Comparing average accuracy asks how well it performed over the whole sequence of checkpoints in this experiment. The 130-unit network looks better on the latter measure than the 110-unit one even though the latter reaches a slightly higher observed maximum. That makes the argument for the authors’ configuration a practical one. They want a width that tends to give good held-out performance across the training course and that retains worthwhile throughput.
Their example training curve also qualifies a simple stopping rule. If held-out accuracy declines while training accuracy rises, the behavior at that moment is consistent with overfitting. The paper shows that the held-out trajectory can recover when training continues. A first reversal is therefore an uncertain indicator of how later checkpoints will perform. The decision to train for 40 iterations came from looking at the broader development behavior. The paper reports it as the selected schedule for this Romanian configuration and evaluation, which gives the final accuracy runs a common endpoint.
What the learned connections reveal
The authors also ask whether the network’s learned weights expose understandable relationships between context and output. They inspect a network with 130 hidden units trained for 100 iterations. To organize the analysis, they divide the input into 5 groups corresponding to the word positions in the context window. They look at which values in each group support or discourage a given output value. The paper describes selecting the top 3 supporting inputs and top 3 discouraging inputs for each group. It presents part of this analysis for the noun category and for feminine gender.
The location attached to each feature matters for the interpretation. A noun-like reading for the target gives evidence through the target’s own candidate attributes. A grammatical category one word to the left comes from a completed tagging decision. A case value one word to the right comes from the description possibilities at that position. Grouping features by location preserves these roles. An apparent relationship between a target and a neighbor can then be read with the knowledge that one side is a prediction being made and the other side may still represent several readings.
For the noun output, an article immediately before the target is among the features that support the choice. The authors connect this finding to the familiar grammatical role of articles in introducing or determining nouns. Support at the target also comes from evidence for common or proper noun readings. The lexical or suffix analysis makes such readings available before the final choice. Among the features that discourage a noun output at the target are evidence for categories such as adverb, pronoun, and numeral. Those features illustrate a second source of behavior. The system learns to attend to the form’s own possible readings as well as to its neighbors.
For the following word, the authors discuss case evidence compatible with a noun in the genitive or dative. They relate this to a frequent Romanian construction in which a noun follows another noun with that case marking. This is an example where the next word matters before the tagger has settled on its complete description. The possible readings at that location can already provide support for the noun output at the target. The weight analysis is thus consistent with the reason for looking ahead, even though each complete tag is chosen in left-to-right order.
For feminine gender, the authors find supporting feminine evidence immediately to both sides of the target. They interpret this as a sign that the system has learned something about local agreement. The left-hand vector records properties selected for a neighboring word. The right-hand vector contains evidence for properties among possible descriptions. Both can help the target receive a feminine output in a context where neighboring gender properties are informative. The findings make concrete what the attribute representation allows the network to use. A gender value can contribute across several full descriptions because it occupies a shared position.
These rankings describe connections in the trained network examined by the authors. How much a ranked connection matters in an individual decision depends on the other inputs and on the candidate descriptions available for that word. Where all candidates share a particular attribute, support for that attribute contributes the same distance to each candidate. Where candidates differ, the attribute can help decide between them. The paper’s weight inspection supplies examples of learned preferences. An intervention that removed an input and measured the performance effect would answer a different question about dependence on that input.
What the error example adds
The razor-blade example directs attention to a different part of the system. At evaluation time, a predicted label is compared with an existing annotation. If their interpretations differ, the table of scores records a discrepancy even when an inspection of the phrase favors the prediction. In the example, the surrounding structure helps distinguish the supine verb from the noun reading given in the reference. The grammatical label is therefore a property of the word in context, the exact problem for which the authors built the tagger.
The example also sets the scale of the error analysis. It establishes that a discrepancy worth checking exists and explains the authors’ judgment about it. It leaves the frequency of similar cases undetermined. A systematic correction of the reference, or an analysis of where the system’s own errors concentrate, would require examining a broader sample. The paper’s numerical estimates remain estimates against the reference annotations used in its evaluations.
Limitations
Limits stated by the authors
The authors explicitly qualify their comparison with the maximum-entropy work. The corpus is the same, but the earlier account leaves the selection of its 1/10 portion unspecified. Changing which words appear in training and which appear in evaluation can change the evidence a system has for a form or description. The reported accuracies place the methods in a similar range. The authors’ caveat leaves their precise ranking unresolved because the figures were collected under procedures whose equivalence could not be established.
They also treat their architectural choice as specific to the circumstances of the application. The hidden width that serves a deployment depends on the language, the dimensions of the MSD encoding, the desired tagging speed, and accuracy requirements. Their selection of 130 units fits their Romanian encoding and their observed runtime and development behavior. The runtime and training burden also limit the sweep of fully trained widths. A broader throughput experiment shows the cost of still larger networks, while the trained comparison stops when that cost becomes substantial. A universal recommendation for hidden width is outside the evidence they report.
The authors present the design as language-independent in the sense that it can take another compatible MSD specification. They identify the need for annotated data and an encoding for the target language. Their own empirical study concerns Romanian. Testing Czech and Slovene is a future plan. The portability of the encoding procedure and the achieved accuracy after transfer are distinct questions. A specification can make the procedure applicable while a new language still poses its own problems of data sparsity, ambiguity, and available lexical evidence.
They also suggest that examining unused features could help design a more specialized architecture. The system allows users to mask attributes in the encoding configuration, for instance when an application needs only categories. Under such a configuration, scoring checks equality of the simplified encodings. The authors explain the expected computational benefit of requiring fewer units. The trained configurations and reported full-description results do not provide a measured speed or accuracy comparison for that simplified task. Automatic searches for a more suitable topology, including the use of genetic algorithms, remain proposed work.
Limits visible in the setup
The evaluation centers on reserved portions of 1984. That is important because the introduction motivates the approach in part through concerns about sparse evidence and performance on new domains. A held-out word in this corpus is unseen in the development or final test role assigned to it, while the training material comes from the same corpus. The results show that the method can perform well in that setting. Its accuracy on a different kind of text, where word frequencies and patterns of ambiguity may change, remains open.
The system is designed to handle words outside the vocabulary, but the results are presented as overall accuracies. There is no separate accuracy reported for unfamiliar forms, for descriptions that are rare, or for descriptions absent from a form’s training examples. Aggregate accuracy can combine much easier and much harder word-level decisions. It therefore leaves the size of the benefit for each group unresolved. The suffix mechanism and the attribute representation give a reason the system could help on sparse cases. The reported experiments do not isolate where within the corpus that help is greatest.
Access to the manually validated lexicon is a substantial part of the setup. For a known form, the final decision is made from its listed descriptions. For an unfamiliar form, the union from matching suffixes supplies the descriptions. These restrictions can avert an incompatible output by keeping it out of the region the network can select. They also impose a ceiling at words whose correct descriptions are missing from the applicable set. The paper gives no comparison with a smaller lexicon or with candidate selection removed. As a consequence, the reported accuracy cannot be allocated between neural scoring and the coverage or quality of the candidate sets.
The study also leaves a question about the proposed encoding itself. The method is motivated by the ability to share attribute evidence across tags. An experiment that varied the encoding while holding the candidate resources, context, architecture as far as practical, and validation procedure fixed could test how much this particular sharing contributes. The authors instead investigate the performance of the assembled system, then vary its hidden width and training length. The historical results show that the assembled system reaches a level close to a previous approach. They cannot establish how much of the result is due to any single design decision.
The tagging procedure reuses its own decisions, which creates another distinction between development of the system and the behavior of a specific tagging pass. During supervised training the left-hand positions have assigned descriptions from the annotated utterance. In use, those positions contain the tagger’s selections. A mistaken choice can therefore change the input at subsequent positions. The window makes the immediate reuse of a label easy to describe, but the experiments give no analysis of how frequently errors propagate. Nor do they compare the chosen direction of prediction or the amount of right or left context. The learned-weight examples establish that neighbor information is present in decisions, leaving the performance value of individual positions unmeasured.
Accuracy is tied to the annotation and to the degree of detail in the encoding. On the complete Romanian descriptions it requires a match with the reference at that level. A simpler encoding turns some disagreements into matches by omitting the positions where the descriptions differ, thereby defining a different evaluation target. The paper’s example of a disputed reference label also shows why an aggregate score on its own cannot identify the source of every discrepancy. The experiment measures agreement with the available annotations. An audit of annotation consistency or results by grammatical attribute would provide a different view of what the tagger gets right.
What came after
No later studies are documented that show how subsequent research used or extended the method. The paper describes a deployment by the authors and a programme of follow-up experiments. The deployment establishes a practical setting for the tagger at the time of the work. The proposed experiments indicate which claims the authors wanted to test next.
The authors incorporated the tagger into a larger application primarily intended for text-to-speech synthesis. They report using the 130-unit configuration in daily applications and describe its throughput there in round terms as roughly 3400 words per second. The application provided web and desktop interfaces, was available for non-commercial use, and was distributed through METASHARE. The authors describe additional language-processing functions in the application, including syllabification, diacritic restoration, and lemmatization. These uses place the tagger in a workflow where the cost of processing text matters alongside accuracy. The throughput experiment measures tagging itself, and the paper gives no experiment on how the choice of tagger affects the quality of the resulting speech.
The proposed work took two directions. The first was to evaluate the method on other highly inflectional languages, specifically Czech and Slovene. Those experiments would have tested whether shared attribute positions and the same general tagging procedure were effective once the grammatical inventory and training data changed. The second was to investigate automatic selection of the network topology. The weight analysis suggested that a tailored architecture might benefit from knowing which inputs contribute to the outputs, and the configuration experiments showed that the choice of architecture already had a measurable runtime cost. Both directions follow from the paper’s central design choice to represent full descriptions through their attributes. The evidence it reports for that choice comes from the Romanian tagger.
Cite
Cite as Tiberiu Boros, Radu Ion and Dan Tufis. 2013. Large tagset labeling using Feed Forward Neural Networks. Case study on Romanian Language. Proceedings of the 51st Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers).
@inproceedings{boros2013large,
title = {{Large tagset labeling using Feed Forward Neural Networks. Case study on Romanian Language}},
author = {Tiberiu Boros, Radu Ion and Dan Tufis},
booktitle = {Proceedings of the 51st Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers)},
year = {2013},
url = {https://aclanthology.org/P13-1068/}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/boros-2013-large-tagset-labeling-feed-forward/