Elamur Research

Automatic Animacy Classification for Romanian Nouns

Paper · 2024 · Maria Tepei and Jelke Bloem

Summary

A noun can point to a person in one sentence and to something else in another. The Romanian word martor, for instance, can mean an eyewitness or a reference sample. Maria Tepei and Jelke Bloem ask how far an automatic system can get by learning the usual associations of a noun, then assigning it an animacy label without reading the sentence in which it occurs. Their distinction is between human and non-human referents. Animacy matters because it can affect both the grammatical behavior of nouns and the way readers link expressions that denote the same entity. The authors present their system as the first automatic animacy classifier for Romanian nouns.

The study brings together a lexical hierarchy and a set of numerical word representations. The authors obtain initial labels from Romanian WordNet by collecting nouns that fall under the concepts of human being and artefact. They match those nouns to word embeddings, vectors that carry information about how words are used across a corpus. With these labeled examples, they train a random forest, a multilayer perceptron and a nearest-neighbour classifier. Each learns to predict a label for a noun whose vector is available, including nouns held out from training.

On the held-out WordNet-derived nouns, the multilayer perceptron reaches 89.1% accuracy and the random forest reaches 88.5%. The paper reports a majority-class baseline of 54.04% for the labeled inventory. The random forest makes the most reliable human predictions of the classifiers tested, with 90.3% precision on the held-out nouns. The perceptron retrieves more of the nouns labeled human, with 87.5% recall. Those results describe classification of distinct lexical entries with labels taken from the same resource and organized by the same rules.

The authors also test the random forest on occurrences of nouns in Romanian Wikipedia. A native speaker labels those occurrences in context, so two uses of the same noun can receive different judgments. The paper reports 59.9% accuracy in that evaluation. The sample contains a much smaller share of human referents than the training inventory, and some nouns lack a vector altogether. The reported token counts leave the exact scoring population unclear. The contrast between the evaluations shows why the label attached to a dictionary entry and the label required in a particular sentence are different targets, even when the categories have the same names.

Deep dive: Automatic Animacy Classification for Romanian Nouns

Tepei and Bloem classify Romanian nouns as human or non-human and test how well word-level predictions hold up in Wikipedia text. · about 32 minutes to read

The problem and its context

Where the authors draw the boundary

Animacy describes a property of what a noun refers to. Life, sentience and the capacity to act help explain why some referents rank higher in animacy than others. A person is an easy case at the high end of the scale. An abstract entity is an easy case at the low end. Between them are referents that can possess some relevant qualities or be talked about as if they do. An animal can act, and an institution can be presented as the actor in an event. A practical annotation scheme still has to decide which distinctions to record.

The Romanian study places the boundary between human and non-human. Its negative category can therefore include entities with considerable animacy in the ordinary sense. The difference between an animal and an artefact is substantial as a matter of meaning, but both fall outside the human class under this scheme. Conversely, a general label such as animate would be too broad to describe the positive class. This matters when comparing earlier studies because binary animacy schemes can put the dividing line in different places.

The authors motivate their choice through the way animacy interacts with grammar. The full range of differences between referents need not be reflected in any particular construction. A construction can be sensitive to whether a referent falls above a particular point on the scale. In that case, a division at that point may capture the relevant generalization without an elaborate set of labels. The authors say they know of no Romanian morphosyntactic phenomenon that requires a finer distinction for this work. They also leave open the broader question of how commonly languages choose the human boundary over other divisions.

Animacy also matters where several expressions in a passage might point to the same entity. A distinction between people and other referents can bear on which noun a later expression is likely to pick up. The paper treats that as a reason to investigate a possible input to Romanian coreference resolution. There is a dependency in the other direction as well. If an expression is hard to classify by itself but can be linked to a clearer description elsewhere, the recovered referent can help establish its animacy.

Grammatical cues and their availability

The paper discusses animacy as part of the way languages give prominence to entities. An entity's accessibility in a passage can depend on animacy alongside definiteness and grammatical person. Some of the effects concern whether a form sounds appropriate in a given use, even when the grammar permits the form. The authors draw this account partly from Animacy Encoding in English.

The paper illustrates the connection with English genitive choices, passives and pronominal reference. It also describes an association between animacy and subjecthood. An animate participant is a typical subject, which helps explain why some clauses with inanimate subjects stand out. Such an association offers a potential cue to a classifier, but it leaves room for ordinary uses in which an inanimate entity occupies subject position. A cue gathered from grammatical behaviour can be informative without determining the answer for each noun.

The balance of usable cues varies by language. The paper mentions Russian noun inflection as a setting where animacy has a clear role and discusses Hindi as another language with more overt marking than Romanian. Romanian has diverse noun declension patterns, and the authors cite work connecting animacy to its syntax and meaning. Their observation is that Romanian gives the classification task fewer explicit morphological signals than some of the languages discussed in prior work. That makes it harder to turn morphology directly into a dependable source of labels or features.

For an automatic classifier, the resource question is as important as the existence of a linguistic cue. A relevant grammatical pattern may be known to linguists while still being difficult to count across enough text. A collection whose nouns and syntactic relations have already been annotated makes such counting possible. Where a collection is unavailable, an approach that relies on those counts has a demanding prerequisite. The Romanian study looks for a way to obtain training examples from resources that already exist for the language.

Earlier approaches to the classification task

The authors review a Norwegian approach that starts with a corpus annotated for grammatical structure. Øvrelid derives features from the ways nouns appear in that corpus and uses a decision tree to classify a preselected inventory of nouns. The design asks what can be learned from accumulated grammatical behaviour across a noun's uses. That is close to the Romanian paper's interest in assigning one label per word, although the Norwegian approach explicitly chooses the grammatical measurements that the classifier receives.

The German work by Klenner and Göhring approaches the evidence differently. It supplies manually labeled examples and takes account of metonymy, where a word for one entity is used to refer to an associated entity. An expression associated with an organization, for example, can be used in a way that directs attention to the people behind it. The relevant judgment then depends on what the expression picks out in context. The Romanian paper shares that concern in its evaluation, while using a lexical resource as the main source of training labels.

The paper also describes an approach to identifying mentions of people that gathers counts of nouns paired with information about gender or animacy from large collections of n-grams. An n-gram is a sequence of adjacent items in text. In the approach as described, informative pairings contribute evidence for spotting person mentions in otherwise unannotated text. This puts corpus evidence to a different use from the Norwegian work. The goal is to help recognize mentions, and the counts express associations observed in short sequences.

Bowman and Chopra's work on spoken English uses a finer hierarchy. Its cues include a noun phrase's internal structure and syntactic relations between the phrase and other words in the sentence. The paper discusses difficulties with ambiguous heads, including pronouns whose surrounding grammar leaves several kinds of referent possible. This is a case where access to syntax helps only as far as the syntax supplies a distinction. Recovering which entity the pronoun refers to can be necessary for a more specific classification.

A lexical hierarchy supplies another kind of evidence. The work by Evans and Orăsan uses WordNet to help classify noun phrases whose form gives little indication of their animacy. A hierarchy can relate a noun's meaning to more general concepts and thereby supply knowledge about the sort of entity it denotes. Their use of the resulting information in anaphora resolution illustrates why a semantic property can be valuable even when it is hard to read directly from the expression.

The closest precedent in the paper is the Dutch study by Bloem and Bouma. It combines labels derived from Cornetto, a lexical database comparable to WordNet, with features based on the way nouns are distributed across text. That work investigates both a division separating humans, other animate referents and inanimate referents, and a division between humans and all other referents. The authors describe the middle category as difficult to distinguish in the finer scheme. Their Dutch comparison gives the Romanian study a reason to try nearest neighbours and a precedent for collecting labels from a lexical database.

These approaches rely on different kinds of work done in advance. Somebody can label occurrences directly for animacy, a corpus can already carry grammatical annotations from which useful features are extracted, or a lexical database can organize concepts in a hierarchy suitable for generating examples. The Romanian paper adopts the last route for supervision. For its input features it uses the broader patterns of word use available in existing Romanian vectors. That combination lets the authors investigate a language with fewer task-specific resources while still relying on substantial resources of other kinds.

The method, step by step

Choosing the unit to classify

The starting unit is the lemma, the dictionary form under which related inflected forms of a word are grouped. A noun's lemma can be entered in a word list, assigned a vector and paired with a label. A token is one occurrence of a word in text. Several tokens can correspond to the same lemma, even when they occur in different grammatical forms or convey different senses.

This choice determines the information available at prediction time. A classifier that sees a lemma's fixed vector can learn whether the lemma resembles words labeled human. The sentence containing a particular occurrence never reaches the decision procedure. When two occurrences of martor are represented by the same input vector, the procedure returns the same class for both. The authors make that restriction part of the experimental design and use their Wikipedia evaluation to see what happens when the target label is assigned at the level of an occurrence.

The supervised part of the task starts with a seed set, meaning an initial inventory of examples with labels already attached. A noun outside the training portion can receive a prediction because the classifier works on the vector associated with the noun. The WordNet branch supplies the expected answer for the training examples. The vector supplies the information on which the prediction is based. This separation is what allows the procedure to extend beyond the labeled training list.

From WordNet branches to Romanian noun predictions

The steps in order.

From WordNet branches to Romanian noun predictionsStep 1: Choose human being and artefact as seed concepts1. Choose human being and artefact as seed conceptsStep 2: Collect their narrower concepts in Romanian WordNet2. Collect their narrower concepts in Romanian WordNetStep 3: Assign labels from branch membership3. Assign labels from branch membershipStep 4: Keep lemmas with pretrained corpus vectors4. Keep lemmas with pretrained corpus vectorsStep 5: Split labeled lemmas into training and test sets5. Split labeled lemmas into training and test setsStep 6: Fit classifiers to the labeled vectors6. Fit classifiers to the labeled vectorsStep 7: Evaluate held-out lemmas and manually labeled text occurrences7. Evaluate held-out lemmas and manually labeled text occurrences

Finding labeled nouns in Romanian WordNet

WordNet groups words by meaning and links the resulting groups. A synset is such a group, representing a concept through words that express that sense. A hypernym is a broader concept under which a more specific one falls. The more specific concept is a hyponym of the broader one. A chain of these relations makes it possible to collect narrower concepts even when they sit more than one link below the starting point.

The authors search for high-level concepts with descendants suitable for labeling. For human nouns they start at ființă umană, meaning human being. For their non-human seed they start at artefact. They use the Romanian portion of Open Multilingual WordNet to collect all the hyponyms under these starting synsets and obtain lists of nouns. Membership in the human branch supplies a human label. Membership in the artefact branch supplies a non-human label.

The non-human branch is deliberately narrower than the category the classifier will ultimately predict. The authors considered the more general concept entitate, meaning entity. It would have admitted a wider set of non-human concepts, but it also includes living entities in its descendants and would blur the division the authors wanted their seeds to represent. Choosing artefact gives them a practical way of collecting negative examples while keeping the intended classes apart in the lexical hierarchy.

This choice trades coverage for a clearer source of labels. A broad negative category is easy to name and hard to collect by descending from one concept. A narrow root gives concrete evidence for the labels it assigns, while leaving the rest of the category to be inferred from word use. A noun for a non-human entity outside the artefact branch can still receive a negative prediction if its vector falls in a part of the learned decision space associated with that class. Such a prediction extends a distinction learned from the seed examples beyond the literal hierarchy used to label them.

A related distinction concerns the level at which the hierarchy supplies evidence. The link under a root concerns a sense. The classifier is trained with a vector for a lexical item. A word associated with an eligible sense can also have other uses. Branch membership thus gives a reason to assign the seed label, while the embedding can reflect uses that the branch does not describe. The paper's use of WordNet is best understood as a procedure for obtaining supervision from an organized lexical inventory.

The authors describe this work as an automatic extraction of labels. The manually judged occurrences used later have a separate role. They supply a contextual comparison for a classifier trained with the WordNet-derived labels. They never determine which WordNet descendants are eligible or which features the classifier sees during learning.

Matching the nouns to corpus vectors

Next the authors look up each seed lemma in a pre-existing set of Romanian word vectors from Păiş and Tufiş. A vector is an ordered collection of numerical values. In this study it is the feature representation of the word, so the classifier learns from that collection of values and its association with a label. The individual positions should be understood as parts of a representation learned from text. The method assigns no specific position the meaning human or non-human.

The vectors come from CoRoLa, a reference corpus of Romanian covering material from domains including law, science, journalism, literature and administration. The breadth of the source matters because the representation of a word depends on the textual environments in which it occurred during pretraining. CoRoLa provides those environments. Romanian WordNet provides the lexical hierarchy. Neither role requires the authors to annotate the CoRoLa occurrences for animacy.

The pretraining used the Word2Vec skip-gram procedure associated with Efficient Estimation of Word Representations in Vector Space. The idea behind skip-gram is to learn about words through the neighboring words they help predict. A word vector then records associations built from many textual encounters. If human-denoting nouns tend to share some patterns of use, a learner can use the resulting vector patterns even though animacy was absent as an explicit target during pretraining. This is the connection the experiment tests between a corpus representation and a lexical-semantic category.

The authors select an available release with vectors of dimensionality 300 and a minimum word-type frequency of 20. Dimensionality is the number of values in a vector. The frequency setting belongs to the creation of the pre-existing vector vocabulary. It is distinct from any count of how often a noun appears in the Wikipedia evaluation. A noun can be legitimate Romanian and still fail the lookup, in which case the pipeline has no feature vector for it.

This lookup makes the seed inventory smaller. Membership in an eligible WordNet branch is one condition for entry, and availability of a vector is another. After filtering, each example is a pair consisting of a corpus-derived vector and a branch-derived label. An embedding without a seed label cannot enter supervised training as a labeled example. A noun with a seed label and no vector cannot enter in the representation the authors have chosen.

The vectors are static, meaning that each represented word is assigned a fixed vector regardless of its current sentence. The paper considers a possible alternative in which representations that ordinarily vary with context are combined into a single word-level representation. It points to Interpreting Pretrained Contextualized Representations via Reductions to Static Embeddings. The authors regard the advantage of such a reduction as uncertain in this setting. They use the existing static vectors because the input to their classifier is a word in isolation. Collapsing contextual representations into one vector would also preserve the fixed-input property.

Learning the decision from the labeled vectors

The random forest is a collection of decision trees whose decisions contribute to a combined prediction. A tree splits the training examples into groups by applying tests to their feature values. As the tree grows, later splits can refine earlier groupings. The point of using several trees is to combine decisions from multiple partitions of the data. The authors choose this approach in part because they expect the relative sizes of the classes to be an issue in animacy classification.

Their random forest uses 100 estimators. Here an estimator is an individual tree in the forest. The paper specifies Gini impurity as the splitting criterion. Impurity describes how mixed the class labels are within a group, and the criterion gives the tree a way to favor splits that produce more homogeneous groups. The authors set no maximum tree depth. This means the configuration has no explicit depth cap of the kind the paper could otherwise specify. It does not imply that every tree grows to the same depth.

The multilayer perceptron learns transformations of the embedding values before making the class decision. Its hidden layer allows the final prediction to depend on combinations of input features. This makes it a candidate for the situation the authors have in mind, where the boundary between labels could be complex. The hidden-layer size in their configuration is 100, and the learning rate is 0.001. The learning rate is a setting that governs the size of adjustments made during training.

α = 0.0001

The symbol α is the regularization setting for the multilayer perceptron. Regularization constrains the fit during training. The equals sign assigns the reported value, 0.0001, to that setting. This is a configuration used in the comparison. The paper gives no separate mathematical expression for the objective it minimizes.

The nearest-neighbour classifier relies directly on labeled examples in the vector space. For a new vector, it finds nearby labeled vectors and uses their classes to decide what to predict. This lets the comparison ask whether label information is already organized locally in the embedding space. The authors include the method because it had been used for the Dutch classification task under a similar approach to obtaining supervision.

k = 5

Here k denotes the number of nearby training examples used for a prediction. The equals sign fixes that number at 5 in the reported configuration. The authors give the neighbours uniform weight, so a selected neighbour has the same influence as any other selected neighbour. The paper specifies this setting without giving a new distance formula. The number of neighbours and their uniform weighting describe how this implementation consults the training examples.

The three classifiers use the same kind of vector and the same source of labels. Their differences concern how they use that information. The forest creates feature-based partitions, the perceptron learns a transformation of the features, and nearest neighbours consults a local group of labeled examples. The paper's reported settings identify the particular implementations tested. They leave the comparative effect of varying an individual setting open.

Setting up the two kinds of evaluation

The authors use an 80/20 split of the labeled seed inventory for the lexical evaluation. The training portion supplies the examples from which each classifier learns. The test portion supplies labeled lemmas held out from that stage. Each test prediction is compared with the label obtained from WordNet. The relevant sense of unseen is therefore unseen by the supervised classifier. The corresponding word must have a pre-existing vector, and the paper makes no requirement that the word was absent from the corpus used to train those vectors.

The text evaluation starts from a different source. The authors select Romanian Wikipedia articles, preprocess the text and apply automatic part-of-speech tagging to find noun occurrences. They then remove candidates affected by faulty segmentation or incorrect tags. A native Romanian speaker judges the retained noun occurrences in their textual contexts. Human and non-human labels from that process supply the basis for comparison with the random forest's predictions.

The Wikipedia preparation and prediction stages therefore have different access to the sentence. Sentence context informs the reference labels. The classifier receives the word-level representation it learned to use on the seed inventory. If a noun is absent from the embedding vocabulary, even a clear contextual judgment cannot give the classifier the vector it needs. If a noun is present but ambiguous, a vector is available and the system can give an answer, with the same answer for each occurrence represented by that vector.

These designs address separate practical questions. A person assembling a larger lexical list may want to know whether the system can extend the distinction embodied in the WordNet seeds to withheld entries. A person annotating a passage wants to know whether a prediction identifies what the noun refers to there. The authors release the classification code and the manually annotated evaluation dataset in the RO-animacy repository.

Experiments and results

The labeled lexical inventory

The match between WordNet and the embedding vocabulary leaves 5735 lemmas. The authors report 3091 non-human lemmas and 2644 human lemmas. Those counts describe the inventory that supplies the training and held-out test portions. They make clear that the negative class is more common, though the positive class still accounts for a substantial share of the examples the classifiers can learn from.

The paper introduces a majority-class baseline of 54.04% accuracy. The rule behind it assigns non-human to every item and is determined by the class composition of the full filtered inventory. The authors give this figure as a reference for the lexical experiment. They do not separately report a majority-only accuracy calculated on the held-out portion. That distinction matters when reading the chart because the three learned classifiers' scores are explicitly attributed to the held-out evaluation.

Accuracy measures the share of evaluated predictions that match their reference labels. Both a correctly predicted human noun and a correctly predicted non-human noun count towards it. Precision for the human class starts from a different group, the nouns predicted to be human, and asks what share have a human reference label. Human-class recall starts from nouns whose reference label is human and asks what share the classifier finds. Precision describes the reliability of a positive prediction. Recall describes how fully the system retrieves the positive class.

The authors had no earlier Romanian animacy classifier to use as a published comparison. The earlier systems discussed in the paper worked with other languages, different resources or different class schemes. The majority rule is the straightforward reference in this study. The comparison across the three learned classifiers then shows how the same task and input representation respond to different ways of learning the class boundary.

Accuracy of the classifiers on held-out WordNet-derived Romanian lemmas

The multilayer perceptron leads the random forest, with nearest neighbours trailing both.

Accuracy of the classifiers on held-out WordNet-derived Romanian lemmasRandom forest: 88.5Random forest88.5Multilayer perceptron (this paper): 89.1Multilayer perceptron (this paper)89.1Nearest neighbours: 76.4Nearest neighbours76.4
The numbers
System or settingAccuracy %
Random forest88.5
Multilayer perceptron (this paper)89.1
Nearest neighbours76.4

The multilayer perceptron achieves 89.1% accuracy on held-out lemmas, the highest of the three configurations. The random forest reaches 88.5% and nearest neighbours reaches 76.4%. The forest and the perceptron both compare favorably with the reported inventory-level baseline. For this evaluation, the WordNet-derived labels are learnable from the available vectors to a substantial degree. Because the classifiers have access only to the representations rather than to the relevant WordNet links, their success indicates that the corpus vectors contain information associated with the seed categories.

The distribution of errors across the classes complicates the ranking by accuracy. A system can be useful for flagging likely human nouns even if another returns more correct labels overall. The positive-class metrics show which of those behaviours the tested configurations favor.

Human-class precision on held-out WordNet-derived Romanian lemmas

The random forest gives the most reliable human predictions among the tested classifiers.

Human-class precision on held-out WordNet-derived Romanian lemmasRandom forest (this paper): 90.3Random forest (this paper)90.3Multilayer perceptron: 88.1Multilayer perceptron88.1Nearest neighbours: 70.0Nearest neighbours70.0
The numbers
System or settingPrecision %
Random forest (this paper)90.3
Multilayer perceptron88.1
Nearest neighbours70.0

The random forest's human-class precision is 90.3%. The multilayer perceptron has 88.1% precision on that class, and nearest neighbours has 70.0%. In practical terms, precision answers the question a reader would ask after receiving a putative list of human nouns. Among the entries included under that heading, how many have the reference label human? The forest is the strongest choice according to this measure on the held-out WordNet-derived examples.

Human-class recall on held-out WordNet-derived Romanian lemmas

The multilayer perceptron retrieves the greatest share of the human reference class.

Human-class recall on held-out WordNet-derived Romanian lemmasRandom forest: 83.3Random forest83.3Multilayer perceptron (this paper): 87.5Multilayer perceptron (this paper)87.5Nearest neighbours: 82.7Nearest neighbours82.7
The numbers
System or settingRecall %
Random forest83.3
Multilayer perceptron (this paper)87.5
Nearest neighbours82.7

On human-class recall the perceptron reaches 87.5%, the forest 83.3% and nearest neighbours 82.7%. The perceptron's advantage in total accuracy comes with better retrieval of human lemmas. Its lower precision means that the population it retrieves as human includes a larger proportion of items with the other reference label than the forest's does. Nearest neighbours also recovers much of the human reference class, even though a human prediction from it is less dependable. Its accuracy reflects performance on both classes, while its recall focuses on that single retrieval question.

The authors favor the forest's precision for a possible use in broader text processing and select it for the contextual evaluation. This is a choice about the errors they consider consequential when predicting human referents. The held-out results establish the precision ranking in the lexical evaluation. The paper tests only the forest on Wikipedia, so the preferred metric and classifier choice do not establish that it has the same comparative advantage there.

The Wikipedia sample

For the text evaluation the authors randomly select fifteen Romanian Wikipedia articles while excluding incomplete pages and pages judged to have poor text. The chosen material includes biographies of writers and athletes, alongside medical, political and geographical subjects. This brings together texts in which people can be prominent and texts concerned with other kinds of entities. The article selection provides variety within the small sample. Its source remains a single collection.

Noun extraction uses the Romanian spaCy tagger ro_core_news_sm. The paper reports 954 extracted noun tokens and 902 remaining after removing 52 items affected by errors in tokenization or noun tagging. Tokenization determines where the units of text begin and end, so a truncated word can enter the candidate pool before being noticed. A tagging error occurs when an item is selected as a noun despite belonging to a different part of speech. Removing both kinds of items narrows the investigation to animacy judgments for noun occurrences judged suitable for annotation.

The authors report that 87.2% of the annotated items were non-human, 7.3% human and 5.5% assigned to an other class and excluded. These are proportions of the annotated data as described before exclusion of that residual category. They show why a person should interpret the Wikipedia experiment differently from the held-out split. Human references are much less prevalent in this sample than in the lexical inventory. The counts that underlie the reported token accuracy are less clear than those used to describe the sample's preparation.

The paper's examples give a concrete reason for annotation in context. In some occurrences martor identifies an eyewitness, while in others it identifies a reference sample. An annotator can decide which referent is involved by reading the occurrence in its sentence. The paper likewise finds regim used for a diet and for a government. That pair illustrates why interpreting the sense of a noun matters to the classification task. The examples show the kinds of ambiguity present in the evaluation. The paper gives no aggregate count of errors attributable to them.

The reported token score and error counts

The random forest achieves a reported 59.9% accuracy in the Wikipedia evaluation. The test gives each evaluated occurrence its own contextual reference judgment, which means that frequent nouns can contribute repeatedly. A correct prediction on a common, consistently used noun may therefore count several times. Equally, a repeated error on a common noun can weigh more heavily than an error on a rare lemma. This is part of what makes the result a token-level measure even though the classifier itself continues to assign labels from fixed word vectors.

The paper describes 514 true negatives and 27 true positives. A true negative is a contextual non-human label that the forest also predicts as non-human. A true positive is a contextual human label that the forest predicts as human. The paper additionally reports 43 false negatives. Under the convention used for the lexical metrics, a false negative is a human occurrence predicted as non-human. The results paragraph describes that number with a gloss that points in the other direction. Predicting human for a non-human occurrence would be a false positive. The conflicting description makes the count unsuitable as evidence for the direction of the forest's excess errors.

The paper also attaches the confusion discussion to 909 data points, whereas the extraction account states that 902 tokens remained after the initial cleanup. Another category was excluded, and the authors say some nouns could not be classified because they were missing from the vector vocabulary. The paper does not specify how those later steps relate to the reported denominator. The defensible reading is to retain 59.9% as the reported accuracy and give the sample counts with their stated roles, without reconstructing a corrected score.

A token baseline would need to use the same eligible occurrences as the forest score. The annotated proportions make it clear why a default non-human prediction is important to consider. At the same time, the 87.2% figure describes the annotated mix with its other category present, and the paper does not give a majority baseline for the scored Wikipedia population. The lexical baseline of 54.04% answers a question about another population. Comparing it directly with the Wikipedia accuracy would mix the two evaluation designs.

What the ablations show

The paper presents no formal ablation that removes an input or changes a single setting while holding the rest fixed, but it does compare classifiers on shared lexical data and examine how the selected classifier behaves on a different evaluation target.

How the classifiers use the same evidence

The comparison among the forest, perceptron and nearest neighbours holds the source of the labels and the kind of input representation in common. It varies the rule used to learn and make predictions. The result supports a specific conclusion about the chosen configurations. The forest and perceptron both use the WordNet-labeled vectors more successfully in overall accuracy than the tested uniformly weighted nearest-neighbour classifier.

The nearest-neighbour scores help specify the nature of the difference. Its 82.7% recall means that local groups of vectors supply enough information to identify many held-out human lemmas. Its 70.0% precision shows that its positive predictions also draw in many items that belong to the negative reference class. The comparison gives evidence that useful label associations are present in local neighborhoods, while also showing that voting among the selected neighbours is a less discriminating way to use them in this experiment.

The forest and perceptron illustrate a choice between kinds of performance even at similar overall accuracy. The perceptron has the stronger recall and accuracy, and the forest has the stronger precision. Since the human class is the positive class, greater precision can matter when a prediction will supply evidence that a passage refers to a person. If the aim is to find as many human-denoting entries as possible, the perceptron's higher recall describes the property of interest. Neither preference supplies a downstream result. The study measures the errors at the animacy classification stage.

The scope of the comparison is fixed by what the authors vary. The nearest-neighbour result belongs to the reported number of neighbours and the uniform voting choice. The forest and perceptron results belong to their specified settings. The paper observes the relative success of these configurations. It supplies no experiment that attributes that ordering to tree depth, hidden-layer size, neighbour weighting or another individual setting.

What changes between the lexical and contextual evaluations

Across the two evaluations, the forest's input procedure stays fixed and the questions change. A held-out lemma is judged against a label inherited from a lexical branch. A Wikipedia occurrence is judged against the referent a speaker identifies in the passage. The second evaluation matters because a classifier that has successfully extended the source labels can still disagree with contextually informed judgments. It directly examines a practical use beyond the lexical evaluation.

The two uses of martor explain a failure that follows from the design. When an eyewitness and a reference sample receive different labels, a classifier given an identical vector for both occurrences has to make the same prediction twice. At least one of those judgments will be wrong if both are scored under their contextual labels. This follows from the invariance of the input. It does not establish how often such pairs occur in the dataset or how much of the observed performance gap they explain.

The Wikipedia comparison brings other changes with it. The human class becomes much less frequent, the noun inventory comes from articles, and repeated lexical items contribute according to how often they occur. The labels also have a different provenance, a speaker's contextual judgment rather than a sense's place in a hierarchy. The paper's token accuracy reflects the result of all these changes together. The experiment contains no matched condition that supplies sentence context to the same classifier and thereby measures the effect of context in isolation.

The authors suggest that the difference in class balance may lead the forest to predict human too often in Wikipedia. The training data make that label more common than it is in the contextual annotations. A boundary learned under one class distribution can yield a different mix of errors when applied under another. This is a proposed explanation in the paper. To test it directly, the analysis would need a comparison that changes class balance or the rule for selecting the positive class and evaluates the consequences on the same token population.

The reported error counts give only limited leverage on that explanation. The mismatch between the name and description of the 43 errors prevents a confident reading of their direction. The absence of a reconciled denominator likewise prevents a clear account of the share of occurrences affected by each stage of processing. The useful contrast is between the kind of transfer the classifier demonstrates on held-out lexical entries and the reported outcome when the same decision procedure is used on occurrences.

Which components are still coupled

The experiments use a single choice of WordNet roots and a single selected source of embeddings. Success on the lexical evaluation therefore reflects both the structure of the seed labels and the information carried by the vectors. The study does not compare seeds derived from alternate branches or embeddings trained with different settings. It also does not compare raw seed labels with labels reviewed by a speaker. Each would change the evidence available to all the classifiers, and the published comparison instead keeps that evidence common.

A similarly important distinction concerns coverage and mistakes on covered nouns. An unfamiliar lemma can lack a vector altogether. A represented lemma can be assigned an incorrect class. These are separate failures from the perspective of someone processing text. The first requires a way to produce an input representation, and the second requires evidence or a decision rule that supports the right label. The paper alerts the reader to missing vectors, but its reported counts do not quantify their share of the full Wikipedia sample or show how their exclusion changes the error profile.

Limitations

Limits the authors identify

The authors describe the classifier as suitable for the lexical task and inadequate for the contextual task as tested. A fixed representation can encode the uses of a word across a corpus, and that aggregate information may strongly favor a class. When the appropriate label depends on how a person uses the word in a specific occurrence, choosing a class requires evidence that the word alone can leave unresolved. The authors attribute the choice of word-level supervision to the resources available for Romanian.

They also identify the coverage of the static vocabulary as a constraint. A noun can be present in a sentence and have a clear human or non-human referent while lacking a vector in the selected resource. The current procedure cannot produce a prediction for such a noun. The authors propose looking at representations built from pieces of words, which can make an input available even when the complete word is missing from a fixed vocabulary. Providing such a representation and using the sentence to resolve ambiguity are related opportunities with distinct goals. The vocabulary proposal concerns subword tokenization.

The resource combination is portable only where suitable equivalents exist. WordNet provides concepts from which reliable seeds can be taken, and the Romanian embeddings provide vectors for training and predicting. A language needs corresponding sources of labels and features to support the same procedure. The authors are explicit that their approach cannot be transferred as described to languages lacking the lexical hierarchy and pretrained vectors it requires. Their result is thus an example of working within a particular set of resources available to an under-resourced language.

The authors suggest that reviewing the WordNet-derived categories manually or with partial automation might improve the labels. This addresses the quality of the training targets. It would allow judgments about whether the lexical items collected under the roots work as clean examples of the intended distinction. The study leaves both the rate of seed errors and the improvement from correction unmeasured. Its positive results establish the usefulness of the automatically derived labels in the reported exercise.

The paper also raises a possible cost of relying on representations learned from broad text collections. As far as the authors know, the Romanian vectors they selected had not been examined for harmful biases. They point to the possibility of classifying a noun for members of a protected group as non-human. Such a mistake would carry a different consequence from an ordinary lexical error. The study flags that possibility without measuring its occurrence. Human-class precision averaged over the lexical test offers no group-specific assessment of this concern. Bias, fairness & safety.

Limits visible in the evaluation design

The held-out experiment evaluates agreement with labels produced by a shared extraction scheme. Training and test lemmas are drawn from the same chosen branches and pass the same vocabulary check. This is relevant evidence for extending that scheme within the resulting inventory. It leaves open how a classifier handles nouns from parts of the lexical hierarchy that the negative seed scarcely represents. For instance, the human versus non-human distinction can be applied to animal nouns, while the negative branches used to generate training labels start from artefact. A separate evaluation would be needed to characterize generalization across those kinds of referents.

There is also a difference between withholding a lemma and withholding a family of related concepts. The reported 80/20 split holds out entries, and the paper does not describe holding out entire branches or separating semantically related groups. A held-out noun may thus have close conceptual relatives among the labeled examples. Classification of that noun is a legitimate measure of performance on unseen entries. The paper offers no basis for extending the result to a setting where whole groups of related words have been kept away from the training data.

The observed ranking also comes from the reported split and classifier configurations. The paper gives no replicate scores or estimate of uncertainty across other partitions of the seed inventory. That constrains the interpretation of the relative accuracy of the forest and perceptron. Their order is clear in the reported scores. The stability of that ordering on a different split is open. Similarly, the Dutch precedent explains why nearest neighbours is a sensible comparison, but settings and data differ across the studies, so performance in one does not establish a ranking in the other.

The Wikipedia experiment has a small, selected population. Excluding incomplete and textually poor articles defines the kind of material admitted into the sample. Cleaning incorrectly segmented or tagged noun candidates further defines the evaluation population. Those decisions are reasonable for examining classification of noun occurrences. They also mean that the reported accuracy does not cover every step of a system taking unrestricted raw text as input. An end-to-end assessment would have to say how errors from detecting nouns contribute to the final result.

The contextual reference judgments come from a native Romanian speaker. The design supplies labels grounded in actual uses, something unavailable from the lexical hierarchy alone. The paper reports no comparison across annotators, so the evaluation gives no estimate of how consistently different speakers would label borderline examples. That issue especially matters for entities that stand for groups of people, ambiguous institutional references or cases assigned to the other category. The residual category is reported without a detailed account of its composition.

The class proportions are likewise best read as describing this particular collection. The authors regard the scarcity of human mentions as realistic. The mix of referents can still depend on the articles chosen and on how often their subjects recur, so this sample cannot establish the prevalence of human references across Romanian writing. For a corpus with a different mix of topics or repeated expressions, a token accuracy could emphasize a different part of the noun inventory.

The unreconciled counts put a further limit on checking the token result. A reader cannot trace the reported score from the tagged candidates through cleanup, contextual annotation, exclusion of other labels and removal of sentences' nouns without vectors. Clear reporting would specify a denominator for each stage and identify the final scored set. Without that reconciliation, the stated accuracy remains a reported outcome instead of a result independently recoverable from the counts in the paper.

Finally, the paper does not test animacy as an input to another Romanian task. It motivates that possibility through the previous work on grammar and reference, and it discusses why positive-class precision could matter. Whether an additional animacy label improves Romanian coreference depends on how that task uses the label, how frequently the relevant nouns receive predictions and whether errors misdirect the process. None of those effects can be inferred from lexical accuracy alone.

What came after

No later study is identified that cites and extends the Romanian animacy classifier. The paper itself points toward contextual classification using Romanian BERT, an earlier resource that the authors propose using in future work. The proposal would change the representation supplied for a noun occurrence so that different sentences could yield different predictions for the same lemma. The Wikipedia examples explain why that would be worth evaluating, while leaving its actual performance open.

The authors also propose examining a distinction among humans, other animate referents and inanimate referents, inspired by earlier Dutch work. For Romanian, the question would be whether the additional distinction corresponds to patterns of grammar or appropriateness in use. A separate proposal is to use animacy predictions in Romanian coreference resolution and evaluate their contribution there. These are prospective extensions of the study. Its demonstrated result is the classification of held-out nouns under a WordNet-derived scheme, with a separate contextual evaluation showing the difficulty of carrying those labels into running text.

Cite

Cite as Maria Tepei and Jelke Bloem. 2024. Automatic Animacy Classification for Romanian Nouns. Proceedings of the 2024 Joint International Conference on Computational Linguistics, Language Resources and Evaluation (LREC-COLING 2024).

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

@inproceedings{tepei2024automatic,
  title = {{Automatic Animacy Classification for Romanian Nouns}},
  author = {Maria Tepei and Jelke Bloem},
  booktitle = {Proceedings of the 2024 Joint International Conference on Computational Linguistics, Language Resources and Evaluation (LREC-COLING 2024)},
  year = {2024},
  url = {https://aclanthology.org/2024.lrec-main.163/}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/tepei-2024-automatic-animacy-classification-romanian-nouns/