data2lang2vec: Data Driven Typological Features Completion
Paper · 2025 · Hamidreza Amirzadeh, Sadegh Jafari, Anika Harju et al.
Summary
A language database can describe grammatical patterns across the world while leaving most of its entries blank. Those gaps matter when researchers use the database to compare languages or help a multilingual system adapt to unfamiliar linguistic structures. data2lang2vec investigates how to fill missing typological entries using information about languages, including their family relationships, location, available resources, and patterns extracted from text. It also asks whether the usual evaluation procedure makes this prediction problem look easier than the genuinely undocumented cases.
The authors work with lang2vec, a toolkit that combines several linguistic databases in a shared representation. It covers 4005 languages and 289 features, but its recorded entries occupy only 28.9% of the possible language–feature combinations. Earlier completion relies on nearest neighbors: languages with similar recorded properties supply estimates for one another’s missing properties. The paper develops a broader prediction approach and concentrates its experiments on 125 WALS features concerning syntax and phonology. Each target property receives a separate classifier, allowing different sources of evidence to matter for different linguistic questions.
Text enters through a multilingual part-of-speech tagger, which assigns grammatical categories to words. The authors turn sequences of predicted categories into features that can be compared across languages without relying on shared vocabulary. They also build a procedure for estimating tagging quality where direct evaluation is unavailable. This procedure estimates performance above 70 for 1,749 languages and above 80 for 559; the typological experiments use languages whose estimated score exceeds 80. These coverage estimates are distinct from direct measurements on annotated test data.
The main comparisons favor the proposed approach over the reconstructed nearest-neighbor baseline. In ordinary cross-validation, the reported average F1 scores are 83.05% for the authors’ approach and 77.43% for the baseline. Under the paper’s evaluation focused on entries judged likely to be absent, the reported averages are 76.91% and 74.78%. Improvements vary substantially across target properties. Family information is selected for 75% of the targets, whereas text-derived tagging features are selected for 23%. The authors conclude that additional statistical information is broadly useful, while grammatical tag patterns help a more restricted set of questions, particularly those involving word order.
The evaluation change is central to the contribution. Instead of testing only randomly withheld entries, the authors first learn which kinds of entries tend to be missing. They then test value prediction on recorded entries that resemble those missing cases. This preserves known answers while making the test more relevant to database completion. It remains an indirect test: performance on genuinely unrecorded facts cannot be checked without obtaining their answers independently.
Deep dive: data2lang2vec: Data Driven Typological Features Completion
How data2lang2vec fills missing language typology values using linguistic metadata, text-derived patterns, and a more demanding evaluation. · about 37 minutes to read
The problem and its context
What a typological entry represents
Linguistic typology describes properties that can be compared across languages. A database entry might concern the placement of a subject relative to a verb, instead of the particular words used in a sentence. Such a description abstracts away from vocabulary to record a structural characteristic. A collection of these entries gives researchers a way to discuss similarities and differences among languages in a consistent format.
The paper places these resources at the intersection of linguistic description and multilingual natural language processing. For linguistic research, they support the study of languages and their relationships. For computational applications, they can explicitly describe structural differences that a multilingual system should accommodate. The authors cite work in which typological information helps a system adapt across languages, including languages it has not encountered during training.
The difficulty is that the usefulness of a shared representation depends on what it actually contains. An entry with a recorded value can inform a comparison or a prediction. An unrecorded entry creates uncertainty. If a downstream procedure requires a complete vector of language properties, it must either handle the absence explicitly or substitute an estimated value.
That substitution is the problem addressed by data2lang2vec. The paper does not attempt to replace linguistic documentation with automatic analysis. It studies how available evidence can support predictions where a widely used representation lacks values. The distinction matters because a completed database can look uniform even when its contents combine documented observations and uncertain estimates.
Why combining databases still leaves gaps
Lang2vec brings together information from WALS, PHOIBLE, Ethnologue, and Glottolog. The authors describe its appeal in terms of convenient access and broad language coverage. It converts properties from these resources into a common binary representation, making them easier to use together.
A binary representation expresses each feature as a choice between possible states. This gives computational procedures a consistent input format even when the source resources organize their information differently. It does not, however, create observations where the underlying resources have none.
The paper reports 4005 languages and 289 features in lang2vec. Its coverage of 28.9% refers to the proportion of possible pairings between those languages and features for which a value is recorded. It is therefore a statement about the density of the database, instead of the proportion of languages included. A language can be represented in the resource while still having many unknown properties.
This distinction also explains why language coverage alone is an incomplete measure of usefulness. Adding a language name to a database and documenting a range of its linguistic characteristics are different achievements. A representation can cover a wide set of languages while remaining heavily dependent on completion procedures.
The authors focus on the consequences for prediction. If a system is intended to fill the blank cells, it should be tested on cases that resemble those blanks. A convenient collection of documented facts may not represent the same prediction problem.
The nearest-neighbor approach
The existing completion strategy discussed in the paper uses K-nearest neighbors, abbreviated KNN. Its guiding assumption is straightforward: languages that agree on many known characteristics may also agree on an unknown characteristic. A target language is compared with other languages, and nearby examples provide evidence for the missing value.
This approach makes direct use of the structure already present in the database. It does not require the missing property to be observable in a text collection, and it can exploit recurring relationships among languages and features. These are practical advantages for a resource that combines many kinds of linguistic information.
The authors nonetheless identify a concern about its effect on language comparisons. Filling gaps through existing similarity can reinforce that similarity. Languages already close in the representation may become closer through their inferred entries, while languages farther apart may become more distinct. The procedure can therefore strengthen the pattern it relies on.
The paper also highlights a reproducibility problem. The earlier lang2vec work reports accuracy of 92.93 under a 10-fold evaluation involving all included features, but the authors say that sufficient experimental details and the original implementation are unavailable. They refer to a reproducibility study that found reconstruction difficult.
That earlier accuracy should not be read as a directly comparable baseline for every result in data2lang2vec. The target inventory and the reported metric differ from the main comparisons here. The authors instead implement a nearest-neighbor baseline for their selected target properties and evaluate it alongside their own approach.
What text could add
A database-based prediction infers a missing fact from other recorded information. A text-based prediction introduces a different kind of evidence: observable patterns in material written in the target language. The authors describe earlier work that pursued smaller collections of typological properties through text, sometimes with automatic syntactic analysis.
Their motivation is to examine this possibility more broadly. Rather than limiting the investigation to a narrowly selected property, they evaluate an extensive set of syntactic and phonological targets. This makes it possible to ask where text-derived evidence helps and where it contributes little.
The promise is clearest for structural properties that leave traces in word sequences. If words are assigned grammatical categories, recurring arrangements of those categories may carry information about word order. The procedure need not compare the vocabulary of unrelated languages directly.
There is also an obvious mismatch to investigate. A representation built from grammatical tags does not directly describe speech sounds. It may be relevant to some syntactic targets without being a suitable basis for phonological prediction. The paper explicitly recognizes this issue when interpreting its results.
Why random withholding may be misleading
Ordinary cross-validation divides recorded examples into training and evaluation portions. This is a reasonable way to measure how well a predictor recovers known values that it has not been allowed to train on. It is less obviously a faithful simulation of real database completion.
The authors argue that well-documented languages can contribute relatively straightforward evaluation examples. A randomly selected recorded entry may belong to a language whose surrounding characteristics are already richly described. Predicting that entry does not necessarily test the same conditions as filling a gap in a poorly documented language.
The question is therefore not only whether the answer is hidden from the classifier. It is also whether the example resembles the cases for which an answer is typically unavailable. Random hiding addresses the former issue, while the proposed evaluation attempts to address both.
This motivates the paper’s separation between predicting an entry’s presence and predicting its value. Presence prediction characterizes the pattern of documentation. Value prediction addresses the linguistic question. Keeping these tasks distinct allows the authors to construct a test that still has reference answers while emphasizing entries associated with missingness.
The method, step by step
The overall procedure
The method has several connected parts. The authors collect descriptions of languages, derive comparable grammatical patterns from text, and train classifiers for individual typological properties. Separately, they learn the pattern of database coverage and use it to choose a more demanding evaluation set.
These components answer different questions. The tagging stage asks what grammatical categories can be recovered from text. The tagging-quality estimator asks where those predictions are usable. The presence classifier asks which entries resemble the database’s gaps. The final classifiers ask what linguistic values those entries should have.
From language evidence to evaluated typological predictions
The steps in order.
The diagram describes the logical dependencies rather than suggesting that every component uses exactly the same data. In particular, text-derived features enter typological value prediction but are excluded from the presence classifier. The distinction keeps the evaluation-selection procedure separate from the grammatical evidence being tested.
Define the prediction targets
The main target inventory consists of 125 WALS properties covering syntax and phonology. These are the linguistic outputs to be predicted. They must be distinguished from the input features used as evidence.
The terminology can otherwise be confusing because the paper uses “feature” in both senses. A target feature is a property whose value is unknown or deliberately withheld. An input feature is something supplied to the classifier, such as language family, geographical location, or a text-derived pattern.
The authors train a separate classifier for each target property. A classifier for a word-order property can therefore use a different combination of evidence from a classifier for a phonological property. The method does not require all targets to share a single decision procedure.
The authors explain this choice through the uneven usefulness of the inputs. Evidence relevant to one linguistic distinction may contribute little to another. Separate prediction procedures permit the selection process to reflect that difference instead of forcing all targets to depend on a common set of weights.
Gather information already available through lang2vec
The first input group comes from lang2vec itself. It includes a phylogenetic representation, a language identifier, and a target-feature identifier. These inputs supply information about language relationships and about the particular prediction being made.
The phylogenetic representation uses the toolkit’s family feature and has 3719 dimensions. It encodes family-related information in a form that the classifiers can process. Its size also creates a practical concern: a large representation can dominate a smaller collection of inputs unless the procedure handles the imbalance.
The language identifier is an ISO 639-3 code. It identifies the language associated with an example. This is different from a linguistic description: the code tells the procedure which language an entry concerns, rather than directly explaining its grammar.
The feature identifier similarly identifies the typological property. It is particularly relevant to a procedure that considers language–feature pairs, such as presence prediction. An entry’s documentation status can depend on both the language and the property being described.
These identifiers also help clarify the structure of the presence dataset. Its examples are not merely languages considered in isolation. They concern whether a particular property is recorded for a particular language.
Add external descriptions of languages
The next input group broadens the available evidence beyond the typological representation. The authors collect family information and geographical coordinates from Glottolog 5.0. They also include Wikipedia size and speaker counts, with the latter drawn from ASJP.
These inputs have different interpretations. Family and location describe relationships or circumstances that may correlate with linguistic patterns. Wikipedia size and speaker counts describe aspects of the language’s resource environment and use. The classifier is allowed to discover whether these quantities help predict a particular target.
The method also incorporates categorical descriptions. One is an endangerment-status scale obtained through Glottolog, with 6 possible values. Another is a resource-based grouping of languages, also with 6 groups, taken from work by Joshi and colleagues.
Writing systems form a further categorical input. The authors use script information from Kargaran and colleagues and allow a language to have several active script indicators. They remove the Brai indicator because its annotation is inconsistent.
This representation is described as n-hot: unlike a category encoding that allows only a single active entry, it can mark several applicable categories. That choice is useful where a language is associated with more than one writing system.
The authors also derive input features from the names of typological properties. They split names at underscores and encode the resulting word units as binary indicators. A name such as S_ADPOSITION_BEFORE_NOUN consequently contributes recognizable components instead of remaining an opaque label.
These name fragments provide information about the target’s description. They do not constitute new linguistic observations about a language. Their role is to help a classifier distinguish kinds of properties or detect patterns associated with the terminology used in the inventory.
The paper groups these inputs as external features, although they are not all the same kind of measurement. Some are continuous quantities, some are categories, and some describe the target instead of the language. Understanding that mixture is important when interpreting the broad conclusion that statistical metadata is helpful.
Choose text with wide language coverage
For text, the authors use version 5 of the LTI LangID corpus. They choose it because, to their knowledge, it offers the broadest language coverage available for this purpose. The aim is to obtain evidence across many languages rather than concentrate only on languages with extensive annotated resources.
They normalize retired ISO 639-3 codes through the official mapping. They then remove material with invalid language codes and exclude macro-languages. After this filtering, the text collection covers 2,134 languages.
The paper places this reach in a wider context by reporting 7,077 languages in ISO 639-3. It also notes an estimate that approximately half have a standardized written form. The text-based branch of the method therefore addresses an important but bounded portion of the language inventory.
Directly using text as classifier input proved unsuitable in the authors’ experiments. The representation would be very large, and the words available in different languages would overlap poorly. They report weak performance from this route and instead seek a shared grammatical description.
That replacement is central to the approach. A word sequence is specific to a language’s vocabulary and writing system. A sequence of grammatical categories is a more comparable object across languages, although its quality depends on the tagger that produces it.
Train multilingual tokenization and tagging
The authors train systems that jointly perform tokenization and grammatical tagging. Tokenization determines the units to be labeled; tagging assigns a grammatical category to each unit. The shared encoder supports both tasks.
Training uses the available training portions of Universal Dependencies V2.14. The authors limit the contribution from each treebank to 200,000 words. A treebank is a collection of text with linguistic annotations, and its training portion supplies the supervised examples used here.
The implementation uses MaChAmp v0.4.2 with its default hyper-parameters. The paper evaluates several multilingual starting points instead of assuming that the best choice on familiar languages will also be best on unfamiliar ones.
Among the candidates are mBERT, InfoXLM, and mDeBERTa-v3. The comparison also includes mLUKE and XLM-roBERTa, alongside Twitter-oriented alternatives. One of those alternatives is associated with XLM-T, which the paper also cites in its discussion of preceding work.
For the subsequent experiments, the authors choose InfoXLM-large. The relevant comparison separates treebanks represented during training from treebanks outside it. That distinction fits the intended application: many languages in the text collection do not have supervised tagging data available within the training setup.
A strong result on a familiar treebank answers a useful question about supervised performance. It does not by itself show that the same tagger produces reliable categories for every additional language. The next component addresses that uncertainty.
Estimate tagging performance where reference labels are unavailable
The authors first train a tagger on all treebanks that offer training data. They evaluate it on treebanks that lack training portions, giving them measured examples of performance outside the supervised training collection. These examples support a separate procedure for estimating tagging quality.
The estimator draws on several signals that can be collected without a full annotated evaluation corpus for every language. These include the distribution of predicted tags and the average confidence of the tagger’s output. It also considers the proportion of unknown sub-words and average word length.
Word length is measured in both sub-words and characters. These measurements characterize how the input interacts with the tagger’s representation. They are not direct proofs of correct grammatical analysis, but they can supply evidence associated with successful or unsuccessful transfer.
Another signal comes from Swadesh lists, which provide aligned basic vocabulary. The authors combine lists from PanLex with lists from Morgado da Costa and colleagues to improve coverage. They compare the language’s predicted tags with English tags produced by the same tagger.
This agreement signal is narrower than a complete tagging evaluation. It checks behavior on aligned lexical material instead of verifying every category in ordinary running text. Its role is as an input to the quality estimator, not as a substitute gold annotation for the entire language.
The estimator itself is evaluated through a 10-fold procedure. The authors compare several prediction methods and obtain their best result with a random forest using 200 estimators. They report an average distance of 7.28 between estimated and actual performance.
The intended use is coarse filtering. The authors want to distinguish languages where the tagger appears to have acquired useful behavior from languages where its output is too unreliable to support further analysis. They do not present the estimate as an exact account of tagging performance.
Their estimated coverage includes 1,749 languages above 70 and 559 above 80. The typological study uses the stricter condition, retaining languages whose estimated performance is greater than 80. The resulting text features therefore come from a quality-filtered set rather than every language for which text is available.
Represent grammatical sequences
After tagging, the authors count category sequences using n-grams. An n-gram is a consecutive sequence of a chosen length. Here, the units are predicted grammatical tags rather than words.
The lengths range from 3-5. Such sequences can capture recurring local arrangements of categories while avoiding dependence on the identity of particular words. This gives the typological classifiers a structural representation of the text.
The resulting input is still large: the paper describes roughly one million dimensions. A shared category vocabulary does not make every possible sequence equally frequent or equally informative. It also does not remove the computational consequences of representing many distinct patterns.
The authors apply principal component analysis, abbreviated PCA, to reduce dimensionality. In this setting, PCA produces a smaller numerical representation of the larger input. The number of retained dimensions is treated as a hyper-parameter rather than fixed without evaluation.
The motivation is partly practical and partly about balance. A huge text representation could overwhelm inputs with far fewer dimensions. Compression lets the procedure include grammatical sequences alongside metadata without carrying the entire original representation into each classifier.
PCA also appears in the treatment of the phylogenetic representation. The feature-selection results therefore include settings for retained dimensions as well as choices about whether a source of evidence is used.
Learn which entries resemble missing cases
The presence classifier predicts whether a language–property entry is recorded in lang2vec. Its output is about documentation status, not about the linguistic value of the property. This is the key distinction behind the new evaluation.
The authors use the same general input collection as in value prediction, but omit the text-derived features. They compare common classifiers and apply Optuna to select features and tune settings.
Because full optimization is expensive, this search begins with 300 randomly chosen languages. The appendix reports 39,300 data points from this sample and evaluates settings using 5-fold cross-validation. The best-performing classifier is then trained across the full language collection.
The selected method is gradient boosting. Its optimized settings include maximum depth 17, minimum sample split 12, learning rate 0.0836, and 494 estimators. The retained size of the phylogenetic PCA representation is 31 components.
Once trained, the classifier assigns missingness-related confidence to entries. The authors rank recorded entries according to how strongly they resemble absent ones. They select the top 20% for the focused evaluation.
Choosing recorded entries is essential. A genuinely blank cell has no reference answer against which to score a prediction. A recorded entry that resembles a blank provides a compromise: it can test a more relevant case while preserving an independently available target value.
Describe the missingness of each target
The authors summarize the selected evaluation cases with a quantity they call Missing Ratio. It describes how much of a target property’s available language coverage falls into the selected likely-missing group.
Rₜ = Mₜ / Lₜ
Rₜ denotes the Missing Ratio for target property t. Mₜ is the number of language entries for that target included among the selected likely-missing cases. Lₜ is the total number of languages considered for that target. The expression formalizes the paper’s verbal definition.
This ratio is not the same as the overall fraction of blank cells in lang2vec. It concerns how the selected likely-missing evaluation examples are distributed across target properties. A property can receive a high ratio because many of its available examples resemble the documentation gaps identified by the presence classifier.
The distinction prevents an important misreading. The reported ratio is tied to the paper’s ranking and selection procedure. It should not automatically be treated as an independently verified probability that a linguistic property is undocumented.
Train the value predictors
For typological prediction, the authors initially consider KNN, logistic regression, and gradient boosting. They also evaluate decision trees and random forests. Preliminary comparisons on a smaller sample lead them to concentrate on KNN as the baseline and random forests as the strongest approach.
Feature selection and hyper-parameter search are carried out with Optuna. Because there is a separate classifier for each target, a useful input can be retained for some properties and omitted for others. The procedure also tunes the compression settings associated with large representations.
The method is evaluated under ordinary cross-validation and under the likely-missing selection. These settings address related but distinct questions. The former measures recovery across recorded values in general; the latter emphasizes the part of that recorded information that resembles the resource’s gaps.
Experiments and results
What the experiments measure
The central experiments predict known values for the selected WALS targets. The authors compare their approach with a reconstructed KNN completion method. For these comparisons, the relevant score is F1, reported as a percentage.
F1 evaluates prediction quality through the relationship between precision and recall. It is distinct from the accuracy cited for the original lang2vec experiment. The paper’s own comparisons are most informative when the baseline and proposed method are assessed under the same target selection and metric.
The experimental evidence spans several stages. There are results for typological value prediction, for identifying documentation patterns, and for grammatical tagging. These scores answer different questions and should not be combined into a single claim of overall accuracy.
The main outcome is that the proposed value-prediction approach performs better on the reported averages under both evaluation settings. The supporting analyses explain why this does not mean that every additional input improves every target.
Ordinary cross-validation
Under the ordinary cross-validation setup, the authors evaluate predictions for the recorded values of their target properties. This provides the broadest direct comparison between their approach and the nearest-neighbor baseline.
Average typological prediction F1 in ordinary cross-validation
The proposed approach has the higher reported average across the target properties.
The numbers
| System or setting | F1 % |
|---|---|
| KNN baseline | 77.43 |
| data2lang2vec (this paper) | 83.05 |
The result supports the claim that a richer input collection and target-specific prediction procedures can recover known typological information more effectively than the baseline used here. It does not isolate the contribution of text on its own, because the proposed approach combines several changes.
The paper also highlights target-level results with particularly large improvements. For S_VOX, KNN receives F1 of 5.71%, while the authors’ approach receives 69.76%. For S_OBLIQUE_AFTER_VERB, the corresponding values are 11.76% and 68.57%.
A further highlighted target is S_POSSESSIVE_DEPMARK, where the scores are 56.86% for KNN and 69.39% for the proposed approach. These examples show that the average includes properties with very different baseline difficulty and different gains.
They should not be read as a representative sample chosen independently of the results. The table explicitly emphasizes targets with the largest improvements. Their value is to demonstrate the range of changes that can occur, while the reported average supplies a broader view.
The target names are also worth treating carefully. They identify binary properties within lang2vec’s representation. A high score on one such property is evidence about that prediction task, instead of a complete evaluation of a language’s syntax.
Evaluation on entries likely to be missing
The focused setup changes which recorded entries are used to judge prediction. The presence classifier identifies those that most resemble absent entries, and the authors evaluate value prediction on the selected top 20%.
Reported average F1 in the likely-missing evaluation
The proposed approach remains ahead under the evaluation focused on documentation gaps.
The numbers
| System or setting | F1 % |
|---|---|
| KNN baseline | 74.78 |
| data2lang2vec (this paper) | 76.91 |
This result matters because the method’s advantage survives a test designed around the intended completion problem. The experiment does not rely only on recovering randomly hidden information from the recorded database.
The detailed table concentrates on target properties whose Missing Ratio is above 0.5. The paper identifies nine such targets. On this reported subset, the proposed approach either exceeds or matches KNN for every target.
The largest ratio in that table is 0.65 for S_COM_VS_INST_MARK. Its F1 scores are 30.18% for KNN and 42.42% for the authors’ approach. This is an example where the focused selection produces a relatively difficult prediction problem for both methods.
For S_SVO, the Missing Ratio is 0.56, with F1 of 80.00% for KNN and 83.62% for the proposed approach. S_VSO has the same reported ratio of 0.56; its scores are 94.96% and 96.21%.
S_OSV also has a Missing Ratio of 0.56. Here the baseline reaches 99.85%, while the authors’ method reaches 100.0%. These high scores show that appearing in the likely-missing subset does not guarantee that a target is difficult under F1.
For S_SOV, the ratio is 0.55 and the reported scores are 82.71% and 86.98%. S_OVS also has ratio 0.55, with scores of 99.27% and 99.42%.
The remaining reported targets further illustrate the unevenness. S_ANY_REDUP has ratio 0.55 and identical F1 of 52.63% for both approaches. S_NUMCLASS_MARK has ratio 0.54, with KNN at 67.69% and the proposed approach at 73.76%.
For S_VOS, the Missing Ratio is 0.53 and both methods obtain 98.79%. The table therefore contains improvements, exact ties, and targets already near the top of the metric’s range. The overall claim is an advantage across the reported setting, not a uniform change in behavior for every linguistic property.
How well the presence classifier works
Presence prediction is evaluated independently of typological value prediction. Its task is to distinguish recorded entries from absent ones. Strong performance indicates that documentation status has a learnable pattern in the chosen inputs.
In the main results, the gradient-boosting presence classifier is reported with F1 of 98.61. The appendix’s cross-validation comparison reports 98.66% for gradient boosting. These are separately stated results; the paper does not provide a detailed reconciliation of their difference.
The appendix places gradient boosting ahead of the other evaluated presence classifiers. Decision trees receive F1 of 97.56%, random forests 96.49%, KNN 95.91%, and logistic regression 95.39%.
These values support the choice of gradient boosting for the ranking stage. They do not mean that missing typological values can be predicted with comparably high F1. Learning whether a database contains an entry is a different task from learning what that entry’s linguistic value should be.
The high presence score also gives substance to the motivation for a missingness-aware evaluation. If documentation were indistinguishable across the available descriptions, there would be little basis for constructing the proposed ranking. The classifier’s performance indicates that the recorded and absent entries are separable under the available inputs.
It does not follow that the ranking perfectly characterizes the uncertainty of every unknown value. Presence prediction measures a pattern of recording, whereas value prediction concerns linguistic facts. The connection between those tasks is useful for evaluation design, but it remains indirect.
Tagging on familiar and unfamiliar treebanks
The tagging experiments distinguish treebanks represented during training from those outside the training collection. This is a consequential choice because the text-based typological features depend on useful grammatical analysis beyond supervised training languages.
The appendix uses recall of correctly recovered labeled tokens as its principal metric. The authors explain that they are interested in how much of the existing labeled material the tagger correctly identifies. This should be kept separate from the broader accuracy terminology used in the discussion of estimated coverage.
Grammatical tagging recall on unfamiliar treebanks
InfoXLM-large leads these reported candidates on treebanks outside training.
The numbers
| System or setting | Recall % |
|---|---|
| Twitter XLM-RoBERTa | 61.34 |
| mDeBERTa-v3-base | 62.88 |
| XLM-RoBERTa-large | 62.24 |
| Selected InfoXLM-large tagger (this paper) | 63.35 |
InfoXLM-large records recall of 93.21% on the seen-treebank average. Its unfamiliar-treebank score is the strongest in the reported comparison, which supports its selection for the subsequent analysis.
The comparison also shows why the authors do not choose solely by familiar-treebank performance. mDeBERTa-v3-base obtains recall of 93.91% on seen treebanks, above the selected tagger’s corresponding result, while its unfamiliar-treebank result is lower.
Other reported candidates reinforce the distinction between the settings. The multilingual BERT candidate receives recall of 59.82% on unfamiliar treebanks and 91.67% on seen ones. The mLUKE candidate receives 61.86% and 93.64%, respectively.
The TwHIN-BERT candidate records 60.59% on unfamiliar treebanks and 93.22% on seen ones. These comparisons establish that successful performance within the supervised training coverage does not automatically translate into equally strong performance outside it.
What the tagging coverage estimates add
The quality estimator extends the tagging analysis to languages without a direct annotated evaluation in the study. Its random forest has average prediction distance 7.28 from measured performance in the authors’ validation.
The resulting coverage claims are estimates: 1,749 languages exceed the estimated 70 threshold, and 559 exceed the estimated 80 threshold. These are useful indicators of potential reach, but they are not direct test scores collected separately for every language.
The typological experiments use the stricter threshold. This makes the text-based evaluation more selective than the initial collection covering 2,134 languages. It also means that the broadest tagging-coverage claim and the evidence used for typological prediction refer to different scopes.
The paper releases code, completed lang2vec data, and a toolkit for obtaining language metadata. These outputs make the contribution broader than the headline score comparison. They provide the components needed to inspect the completion approach and to obtain the kinds of language descriptions used in it.
What the ablations show
A feature-selection analysis rather than a complete removal study
The paper offers target-specific input selection, classifier comparisons, and tagging analyses rather than a comprehensive set of experiments that remove every component under otherwise identical conditions.
This distinction affects how the evidence should be interpreted. A feature-selection result shows which inputs an optimization procedure retained for a particular target. It does not automatically measure the isolated causal contribution of that input.
Inputs can overlap in what they tell a classifier. Family indicators, phylogenetic representations, and location may carry related information. If a procedure keeps one and drops another, the omitted source may be redundant in that configuration rather than useless in every possible configuration.
The analysis remains informative because it reveals whether the method depends uniformly on its proposed evidence. It does not. Some sources are selected for many targets, while others appear only in a minority of target-specific predictors.
Family relationships remain a strong source of evidence
The phylogenetic input is the most frequently selected source highlighted by the authors. It is retained for 75% of the target properties. That result places family-related information at the center of the completed system.
This finding qualifies any account that presents data2lang2vec chiefly as a text-only approach. The method introduces grammatical evidence from text, but the selected predictors continue to rely heavily on language relationships. The contribution is an investigation of complementary evidence, not a demonstration that text makes relational information unnecessary.
The high selection frequency is also consistent with the baseline motivation. Nearest-neighbor completion already depends on the idea that related or structurally similar languages provide useful evidence about one another. The proposed approach changes how that evidence is combined with additional descriptions.
The authors’ broader conclusion is that external statistical information is especially beneficial, while the original lang2vec inputs are moderately useful. Their detailed reporting supports this interpretation through selected input combinations rather than through a single universal importance score.
Selection frequency should therefore be read as a descriptive property of the optimized classifiers. It says how frequently a source was retained across targets. It is not a guarantee that the same source would be equally valuable in another typological database, another language sample, or another evaluation split.
Grammatical sequences help selectively
The text-derived grammatical representation is selected for 23% of the targets. This is substantially narrower use than the phylogenetic representation receives. The authors connect its usefulness mainly to word-order properties.
That pattern is plausible within the method’s own design. Sequences of grammatical categories directly describe local arrangements in text. A classifier may use those arrangements as evidence for whether certain kinds of words precede or follow others.
The same representation has a less direct relationship to a phonological target. A sequence of grammatical labels does not explicitly encode sound inventories or phonetic distinctions. The paper does not supply a separate phonetic input designed to address that gap.
The selective result is therefore a useful boundary on the text-based claim. The experiment supports including tagged text where its representation matches the target. It does not establish grammatical n-grams as a general replacement for all kinds of linguistic evidence.
There is another limitation to the interpretation. The retained text representation depends on a tagger whose quality varies across languages, followed by a thresholding procedure and dimensionality reduction. Selection of that representation reflects the performance of the whole branch, not an idealized test of perfectly annotated text.
A weak contribution can arise because the linguistic signal is irrelevant, because the automatic analysis is noisy, or because the representation does not expose the useful information well. The reported selection frequency does not separate those explanations.
Different targets require different evidence
Training an independent classifier for each property lets the feature-selection results vary. This is more than an implementation detail. It expresses the authors’ assumption that typological prediction is a collection of related tasks with different evidential needs.
A word-order target may benefit from grammatical sequences. Another target may be more predictable from family information or external metadata. A shared input policy would conceal this variation or force compromises across properties.
The highlighted target-level results show why the distinction matters. Some properties have a poor KNN baseline and improve strongly, while others already receive high scores. A single average cannot explain whether the system has solved an especially difficult property or made modest changes across many easier ones.
At the same time, the paper does not isolate the decision to use separate classifiers through a matched comparison against an otherwise identical shared classifier. The reasoning behind separation is explicit, but its independent contribution is not fully quantified.
A careful conclusion is that the chosen architecture permits target-specific evidence and produces useful results. A stronger statement that separate classifiers are necessarily superior would require a controlled experiment beyond the comparisons reported.
The choice of evaluation changes the question
The contrast between ordinary cross-validation and the likely-missing setup is the paper’s most important controlled change in emphasis. The predictor is judged on a different part of the recorded database, selected to resemble its gaps.
This analysis demonstrates why a completion system needs more than a favorable result on convenient known entries. The likely-missing evaluation asks whether the approach remains useful in conditions intended to approximate the places where completion is actually needed.
The proposed method remains ahead of the baseline in that setting. This strengthens the practical interpretation of the results. It also prevents the main conclusion from depending completely on random withholding.
The evaluation does not establish that every selected entry is intrinsically hard. Several target-level F1 scores are already very high. The selection identifies resemblance to missingness under a classifier, which is different from directly measuring difficulty for a value predictor.
The Missing Ratio distribution adds a further analysis. It shows that selected cases are not spread evenly across target properties. Reporting the targets with ratios above 0.5 makes that unevenness visible and directs attention to properties especially prominent in the new evaluation.
The tagging comparison exposes a transfer problem
The seen-versus-unfamiliar treebank analysis is relevant to the value-prediction pipeline because grammatical features must be extracted beyond the languages with supervised annotations. A tagger selected only for familiar data could be a poor choice for the intended use.
InfoXLM-large is chosen because its unfamiliar-treebank average is strongest in the reported comparison. The result illustrates that selection criteria should match the actual deployment condition. The authors do not simply choose the candidate with the highest seen-treebank score.
The quality estimator then addresses the same concern at a wider scale. It tries to identify languages where the chosen tagger’s output is usable before that output becomes evidence for typological prediction.
This is an analysis of the reliability of an intermediate representation. It does not eliminate transfer errors, but it makes the dependency explicit. The final prediction is only as useful as the information surviving the text, tagging, filtering, and compression stages.
Optimization is evidence about configuration, not a separate linguistic finding
The appendix reports feature choices and hyperparameter-search histories for the presence classifier. These help explain why gradient boosting and its selected configuration were used.
They also make the computational compromise visible. Search is performed on a language sample before the chosen configuration is applied more broadly. The presence classifier’s final settings are therefore the product of a bounded optimization procedure, not an exhaustive exploration of every possible configuration.
The reported histories and selected inputs support reproducibility and interpretation. They should not be mistaken for evidence that a particular metadata field has an invariant relationship with a linguistic property.
For presence prediction, an input can be useful because it characterizes documentation practices. For value prediction, it can be useful because it correlates with the target. Those are different interpretations, even when the same kind of metadata appears in both stages.
Limitations
Authors’ stated limit: the target resource is restricted
The authors explicitly limit the prediction experiments to WALS targets. They mention other typological resources as possible extensions, including SSWL and Ethnologue within the broader lang2vec environment, and GramBank outside it.
Those possibilities are not evaluated results. Success on the chosen WALS syntax and phonology properties does not establish equal performance on inventories with different definitions, distributions, or documentation patterns.
This matters because the method includes target names, target-specific classifiers, and a learned account of missingness. Each of these depends in some way on the organization of the resource. Moving to another database is not merely a matter of predicting additional entries with identical assumptions.
A new target inventory could also require evidence not supplied here. The paper’s selected inputs are a useful test bed, but their coverage of linguistic phenomena is incomplete.
Authors’ stated limit: optimization uses a smaller sample
The authors say that computational constraints led them to train and optimize on a smaller language subset before applying the selected approach to the full data. The presence-classifier appendix documents this decision through the sampled languages and cross-validation search.
The practical consequence is that the search configuration is adapted to the sample used during optimization. The paper demonstrates that this procedure produces strong reported results, but it does not show that the same choices are optimal for every language represented in the larger collection.
This is especially relevant to feature selection. An input that appears useful within the sampled languages may behave differently in a less represented part of the language inventory. The optimization procedure cannot establish that distinction without appropriate evaluation data.
The limit concerns the breadth of the search and the evidence used to choose settings. It does not negate the subsequent evaluation, but it narrows claims about universally best configurations.
Authors’ stated limit: language identifiers are an imperfect foundation
The authors acknowledge that the study covers only a subset of the world’s languages. They also recognize limitations in treating ISO 639-3 codes as definitive language labels, citing criticism of that standardization.
Language identifiers are necessary for joining resources in this pipeline. Texts, metadata, and typological records must be associated with one another. Nonetheless, a successful join under a code does not settle every question about how linguistic varieties should be grouped or distinguished.
The filtering decisions make this dependency concrete. Retired codes are mapped, invalid codes are excluded, and macro-languages are removed from the text collection. These steps create a usable dataset, but they also determine which distinctions the method can represent.
The resulting predictions should therefore be understood within the study’s language-labeling convention. They do not resolve the linguistic questions associated with the boundaries or internal diversity of those labels.
Authors’ stated limit: phonetic evidence is absent
The authors explicitly note that their curated inputs do not include phonetic features. They consequently do not expect those inputs to provide the same advantage for phonology that grammatical sequences might provide for syntax.
They suggest phonetic evidence as a direction for future work. This is a specific proposed extension tied to a mismatch between representation and target, rather than a general call for more data.
The limitation helps interpret the uneven input-selection results. A text representation based on grammatical categories is designed to expose some structural regularities. It has no direct mechanism for representing many of the sound-related distinctions that a phonological target could require.
The paper therefore supports a conditional account of data-driven completion: the evidence should be relevant to the kind of property being predicted. It does not show that a single representation can recover the full diversity of typological information equally well.
Reader’s inference: likely missing is still a proxy
The new evaluation is more closely tied to documentation patterns than random withholding, but it still relies on known entries. This is a necessary practical compromise: a reference value is needed to compute F1.
A recorded entry that looks missing to a classifier is not guaranteed to be interchangeable with an entry that has never been recorded. They can share observable metadata while differing in unobserved ways. The study cannot test those differences when the true value of the blank entry remains unavailable.
The result therefore establishes performance on a selected subset of known facts. It provides more relevant evidence for completion than a purely random split, according to the authors’ motivation, but it does not directly validate every completed blank in the released resource.
Independent documentation would be needed to check genuinely unknown cases. The paper does not report such a collection of newly established linguistic answers against which all inferred entries are evaluated.
Reader’s inference: the presence classifier characterizes the database
A presence classifier can exploit patterns in how a resource was assembled and maintained. Its high F1 shows that recorded and absent entries are distinguishable from the supplied inputs. It does not establish that the learned pattern is a general law of linguistic documentation.
The ranking is tied to lang2vec and to the available metadata. Another resource could have different coverage priorities, different source contributions, or a different relationship between language resources and recorded typology.
The Missing Ratio is consequently conditional on the classifier and its selection procedure. It is useful for describing the proposed evaluation, but it should not be treated as a permanent property of the target itself.
This also limits interpretation of the threshold. Selecting the top 20% defines the test emphasis used in the paper. The study does not establish that this selection is uniquely correct for every completion application.
Reader’s inference: tagging coverage is estimated
The most extensive tagging claims depend on a performance estimator. Its predictions are useful for filtering, and the authors explicitly describe their purpose as distinguishing broad levels of usability. They should not be interpreted as exact evaluation results.
An average distance of 7.28 between estimated and actual performance leaves room for meaningful uncertainty around a language’s predicted score. The paper does not supply a guarantee that every language passing the threshold has the corresponding true tagging quality.
The estimator also relies partly on signals such as confidence and behavior on aligned vocabulary. These are informative proxies, but neither establishes the correctness of all grammatical labels in the running text.
Consequently, the thresholded text branch inherits uncertainty from the estimator. Some languages may be admitted in spite of weaker actual tagging, while useful material may be excluded elsewhere. The paper’s results assess the pipeline with this procedure in place; they do not separate all consequences of its errors.
Reader’s inference: written text bounds the evidence
The text collection is broad, yet the method’s grammatical evidence depends on written material being available and usable. The authors’ own discussion of standardized writing makes clear that this route cannot automatically reach the entire language inventory.
The corpus also has to be associated with valid language codes, processed by the multilingual tagger, and retained by the quality filter. Each stage narrows the part of the linguistic landscape represented by the final text features.
This does not make text-derived evidence unhelpful. It limits what can be claimed about coverage. Having a method that can process available texts is different from having equally informative texts for every language.
The paper does not demonstrate that its final tagged material is a balanced account of every language’s usage. The typological results should therefore be read as outcomes for the collected and filtered data, rather than as exhaustive descriptions of all linguistic variation.
Reader’s inference: the sources of improvement are only partly isolated
The proposed system differs from KNN in several respects. It uses additional metadata, can include compressed grammatical sequences, selects inputs per target, and employs a different prediction method.
The overall comparison shows that this combined approach is stronger under the reported settings. It does not assign a separate numerical contribution to every design decision.
The feature-selection analysis helps identify which sources are retained, but retention is not the same as a matched removal experiment. Correlated sources can substitute for one another, and tuning can change the effect of removing an input.
Claims about why the approach works should therefore remain at the level supported by the analysis. Family information is often selected, external descriptions are useful in the authors’ interpretation, and grammatical sequences contribute selectively. A complete causal decomposition is not reported.
Reader’s inference: high target scores need contextual interpretation
Some targets receive extremely high F1 under the likely-missing evaluation, while others remain much harder. This variation makes a single average insufficient for understanding all prediction behavior.
The paper reports target-level results for the high-Missing-Ratio subset, which is helpful. It does not provide every diagnostic a reader might want about errors, uncertainty, or the distribution of the binary target values in that subset.
Without those details, a near-perfect score should be interpreted as strong performance on that reported binary prediction task. It does not automatically show a rich or comprehensive understanding of the associated grammatical phenomenon.
Likewise, improvement on a target does not explain which languages benefit or which remain difficult. The method predicts language-level entries, but the main presentation emphasizes target-level comparisons rather than a full account of performance for every language.
Reader’s inference: metric names and experimental scopes must stay separate
The paper uses several forms of evaluation. It cites an earlier accuracy result for lang2vec, reports F1 for completion and presence prediction, and uses token recall in the tagging appendix. It also describes estimated tagging coverage using accuracy-oriented language.
These quantities cannot be treated as a single interchangeable performance scale. Each belongs to a different task, dataset arrangement, or reporting convention.
There are also small reporting differences within the paper, including the presence-classifier scores of 98.61 in the main discussion and 98.66% in the appendix comparison. The results support the same broad choice of classifier, but the text does not explain the discrepancy in detail.
The scope of the averages should also be retained when comparing settings. The likely-missing discussion is accompanied by a table focused on targets with high Missing Ratio. That context matters when interpreting the reported average alongside the ordinary cross-validation average.
Reader’s inference: better completion is not yet a downstream result
The paper motivates typological completion partly through its value for multilingual applications. Its experiments, however, evaluate the prediction of database entries and the supporting tagging and presence tasks.
It does not report a downstream experiment showing that the completed representation improves a particular multilingual application. Better agreement with held-out typological labels is relevant evidence, but it is not the same outcome as improved parsing, transfer, or another application-level score.
The released completed data is therefore a resource whose downstream usefulness remains to be evaluated in the intended setting. An application may respond differently to various kinds of errors, even when overall F1 improves.
This is a boundary on the demonstrated contribution rather than a rejection of its motivation. The study establishes stronger completion results under its chosen tests and offers a more deliberate way to select evaluation cases. The practical effects of using those completed values remain a separate question.
What came after
No later citing study is identified that supports an account of how subsequent research extended or applied data2lang2vec. There is therefore no established follow-up result to report.
The paper itself proposes several directions: extending prediction to other typological resources, adding phonetic evidence, and broadening the investigation beyond the evaluated language subset. These are prospective extensions. They should not be described as completed developments or as evidence that the approach transfers unchanged to another database.
The study leaves a clear empirical question for subsequent work: whether the advantage observed on known entries selected to resemble gaps also holds when previously undocumented linguistic values become independently available. That would test the completion objective more directly, while preserving the paper’s distinction between learning a documentation pattern and recovering a linguistic fact.
Cite
Cite as Hamidreza Amirzadeh, Sadegh Jafari, Anika Harju and Rob van der Goot. 2025. data2lang2vec: Data Driven Typological Features Completion. Proceedings of the 31st International Conference on Computational Linguistics.
@inproceedings{amirzadeh2025data2lang2vec,
title = {{data2lang2vec: Data Driven Typological Features Completion}},
author = {Hamidreza Amirzadeh, Sadegh Jafari, Anika Harju and Rob {van der Goot}},
booktitle = {Proceedings of the 31st International Conference on Computational Linguistics},
year = {2025},
url = {https://aclanthology.org/2025.coling-main.435/}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/amirzadeh-2025-data2lang2vec-data-driven-typological-features/