Elamur Research

Do not Trust the Experts - How the Lack of Standard Complicates NLP for Historical Irish

Paper · 2023 · Oksana Dereza, Theodorus Fransen and John P. McCrae

Summary

A spelling can be familiar to a reader of medieval Irish and still be missing from the digitised texts a computer learns from. The reverse can happen too. A text can contain a form that a specialist recognises immediately, yet a dictionary-based test can leave it out of the answer key. Dereza, Fransen and McCrae encountered both problems while testing word embeddings, numerical representations that place written words in a shared space. They wanted to know whether positions in that space could help identify alternative spellings, inflections, derivatives and relations in meaning. They designed an analogy test that could give credit for several answers to the same question.

The electronic Dictionary of the Irish Language, or eDIL, supplied the spelling and morphology items. For the synonym and antonym items, the authors started from an English analogy test, used eDIL to find Irish equivalents, and had specialists review the proposed groups. They used three datasets to train SkipGram and FastText: Old Irish, Middle Irish, and a combination of the two that they called Early Irish. The strongest result was an accuracy of 0.08 for the Middle Irish FastText run with 100 coordinates per vector, on the morphology questions. When the authors examined the larger FastText representation learned from the combined texts, they found coherent groups of variant spellings and grammatically related forms. Some retrieved forms fit the intended relation despite being absent from the key. Other searches, including one for a word meaning owl, returned unrelated neighbours.

The authors traced the weak performance to several features of the evidence. The corpora contained many distinct forms relative to their size, leaving little evidence for numerous individual strings. Editions also differed in how they represented words, including where they put spaces. Many dictionary forms were absent from the edited texts, and the dictionary-derived lists omitted some forms that the texts did contain. Expert review secured agreement on enough material to assemble the semantic subsets, although agreement across the proposed material remained low. The highest Cohen’s kappa for any pair was 0.35. Fleiss’ kappa for the full group of reviewers was 0.17.

The experiment gives little purchase on which training settings would work best for historical Irish. Its follow-up analyses show why that comparison was hard to make. A question could be marked wrong because no answer was available, because a defensible answer was absent from the key, or because the word returned really did fail to convey the relation sought. The authors call for discussion of common editorial practices for historical texts used in computational research. Greater consistency would help researchers investigate which of these explanations applies.

Deep dive: Do not Trust the Experts - How the Lack of Standard Complicates NLP for Historical Irish

An Early Irish analogy test reveals how scarce texts, divergent editing practices and expert disagreement complicate the evaluation of word embeddings. · about 36 minutes to read

The problem and its context

What counts as recovering a form?

The authors set out to compare ways of learning representations for historical Irish words. They were especially interested in variation: could a representation learned from running text bring together forms that a reader would understand as related? A search might begin with a spelling and return another spelling of the same word. It might instead return a grammatical form of that word, or a different word built from it. The same research setup could also be used to ask about words that share a meaning or express opposing meanings. These requests look similar when written as test questions. The evidence needed to answer them can differ considerably.

A variant spelling can leave most of a written string intact. A grammatical change can affect the beginning or end while leaving a recognisable stem. Processes that produce inflections and derivatives fall within morphology. A word of similar meaning may share little of its written shape with the cue. To recover that connection from running text, a learner can use how the words occur around other words. These differences motivated a comparison between a technique that uses information about pieces of each word and one that represents each written form through its contexts.

The historical setting matters at the level of the individual form. Attestations of a word can be distributed among several spellings. Grammatical forms also change over time, so a pattern visible in one period may be written differently in another. In the study, each distinct form kept after preprocessing can be represented separately. That gives the learner a chance to discover relationships among forms. It also means that the evidence available for any particular spelling depends on how often it occurs and where the texts put its boundaries.

Irish initial mutations illustrate the distinction between a linguistic form and the string that an edition supplies. These changes affect the start of a word in particular grammatical environments. Historical writing can represent them in different ways or leave them unmarked. When two edited strings differ at the beginning, a specialist may recognise a grammatical connection from the forms and their uses. A learner encounters the written alternatives that occur in its corpus. A benchmark then has to decide which of those alternatives count as answers to the relation at issue.

This is why the original comparison depended on the test before it could say much about the representations. A benchmark needs a way to name the relation, specify the examples that illustrate it, and recognise an acceptable completion. For historical Irish, the natural resources for those jobs have different purposes. A dictionary groups lexical evidence. An edition sets out a readable or otherwise systematically represented text. Those purposes shape which forms a researcher can extract from each source. Matching the resulting inventories is part of the measurement problem.

Evaluating embeddings through use or through relationships

In the earlier evaluation literature described by the paper, extrinsic evaluation uses embeddings as inputs to another task. Researchers could supply them to a system that assigns grammatical categories, finds names in text, or predicts sentiment. The performance of the whole system then gives evidence about the usefulness of the embeddings in that setting. An established task can supply an existing test collection and a comparison point. For many historical and minority languages, the paper explains, the necessary downstream collections and baselines may be unavailable because the tasks themselves have received little computational attention. The distinction between evaluation through a task and evaluation of the representations themselves appears in Evaluation methods for unsupervised word embeddings.

Intrinsic evaluation asks a more direct question about how the representations organise words. In a similarity test, researchers compare the closeness assigned to word pairs with judgments obtained from people. This gives a way to ask whether geometric closeness reflects the relationship those judges were asked to assess, such as semantic similarity. An analogy test gives the learner examples of a relationship and asks it to complete a fresh example. Its outcome depends on whether the appropriate word can be retrieved by applying a rule to the vectors.

The familiar analogy format treats a relation as a proportion between pairs. The first pair illustrates a change that the method should reproduce for the cue in the second pair. A test of that kind ordinarily identifies one completion in advance. The Early Irish project began from the same idea of testing a relationship through examples. It had to accommodate a different answer policy because any of several historical forms might make an equally good completion. The earlier geometric approach is represented by Linguistic Regularities in Continuous Space Word Representations.

The paper considers an intrinsic test a tractable alternative when a downstream test would first have to be built from the ground up. A researcher can translate an existing benchmark or draft candidate items from a machine-readable dictionary or lexical network. That reduces the burden of finding examples from scratch. Expert work remains necessary where a candidate relation depends on sense or usage. For Early Irish, this approach divides the work between what can be taken from the structure of an existing resource and what someone with knowledge of the language can assess.

The precedent for accepting several completions

The Bigger Analogy Test Set, or BATS, gave the authors a design to build from. In their account, it had exposed difficulties for widely used representations such as GloVe and supported the value of information about the inside of words for detecting morphological patterns. The paper mentions its adaptation to Japanese and Icelandic as precedent for applying parts of the design in other languages. The Irish project drew on its answer sets and scoring procedures and built the test around the kinds of material the Irish resources could supply. The relevant earlier study is Analogy-based detection of morphological and semantic relations with word embeddings.

Multiple completions make sense even for a narrowly defined task such as finding a spelling variant. If several spellings are historically defensible, a test that chooses just one would ask the learner to reproduce the test maker’s preference among them. A set of accepted forms lets the learner succeed with any included variant. The choice of which forms to include still matters. A longer list can improve recognition of valid answers, while a candidate outside the list still depends on someone inspecting the answer and establishing its relation to the cue.

Meaning poses a different problem for the same design. Several words can express the sense meant by a question, but a shared translation gives only a starting point for deciding whether they do. A word may fit one sense of the translation and fail to fit another. Related senses can also be used in different contexts. In the Irish test, the source benchmark supplied the contrasts to look for, the dictionary supplied candidate words, and specialists assessed their suitability. The resulting test depended on the adequacy of each of these steps as well as on the representation being evaluated.

The method, step by step

There are two collections to keep in view. The edited texts supply running examples from which the authors learn the vectors. The dictionary and expert judgments supply examples of relations and acceptable answers. An analogy procedure uses those relations to rank forms in the learned vocabulary. The test then asks whether the selected form occurs among the answers it will accept. The qualitative inspection later looks directly at some returned forms and their neighbours, where the connection to the cue can be examined individually.

From historical Irish resources to evaluated answers

The steps in order.

From historical Irish resources to evaluated answersStep 1: Collect spellings and related forms from eDIL1. Collect spellings and related forms from eDILStep 2: Find Irish equivalents for English semantic items2. Find Irish equivalents for English semantic itemsStep 3: Have specialists assess the proposed word groups3. Have specialists assess the proposed word groupsStep 4: Prepare Old, Middle and combined Irish corpora4. Prepare Old, Middle and combined Irish corporaStep 5: Learn SkipGram and FastText representations5. Learn SkipGram and FastText representationsStep 6: Rank forms using the analogy procedures6. Rank forms using the analogy proceduresStep 7: Check selected forms against the answer sets7. Check selected forms against the answer sets

The name Early Irish Analogy Dataset covers spelling variants, morphological variants, synonyms and antonyms. The first two categories were built by extracting dictionary material. The second two required translation and review. This division is important because the accepted answers have different origins. The spelling and morphology lists inherit the dictionary’s organisation directly. The semantic lists start from translated concepts and pass through a judgment about which Irish words express those concepts before their spellings are collected.

Extracting spelling and morphology items

eDIL is a digital historical dictionary of medieval Irish with coverage given as ca. 700 – 1700. An entry offers a way to gather forms that the dictionary treats together. For spelling, the authors took alternatives from the headwords. A headword is the form under which an entry is organised, and multiple forms in that position can supply a practical list of variants. This choice made the spelling questions possible to construct automatically.

The morphology extraction used a separate part of eDIL called Forms. It includes inflections, where a word changes form in connection with grammar, and derivatives, where there is a related word built from a base. The field can also contain alternative spellings. The authors left those spellings in place. The source structure gave them no automatic way to separate the different types of inflection or to divide inflections from derivatives for the purposes of this dataset.

The consequence is that morphology has a broader meaning in the experiment than a test dedicated to one grammatical operation would have. An accepted form might have a different ending, a change at the beginning, or additional material that makes it a derivative. There can also be an accepted form whose relevant difference is chiefly in spelling. The category gives access to many kinds of related forms with a common extraction procedure. Its accuracy therefore measures success on that collection as assembled, with no separate score for learning any one morphological pattern.

The extraction produced 2,370 spelling questions and 9,690 morphology questions in the full collections. The authors randomly chose 100 examples from each for the analogy experiment, so the evaluated subsets would be similar in size to the semantic ones. They kept a distinction between the full extractions and the samples in the later vocabulary check. Those inventories describe different groups of dictionary entries, so a reader looking at a coverage percentage needs to know which group supplied its denominator.

A dictionary can give strong grounds for treating listed forms as related. The extraction still only sees the parts of the entry the authors designate. A string can fit the intended relation and remain absent from the answer set because it appears in another part of an entry or because eDIL does not list it. The same mechanism can accept a lexically legitimate spelling whose written form is scarce or absent in the training material. Both consequences come from turning an editorial field into an answer inventory.

Translating relations in meaning

For synonyms and antonyms, the starting point was a set of relations from English BATS. Its L07 subset covers synonymy with a difference in intensity, illustrated in the paper by cry and scream. L08 concerns exact synonyms, with sofa and couch as its example. The L09 antonym material covers gradable opposites such as clean and dirty. L10 supplies binary opposites, exemplified by up and down. The Irish dataset uses this material to build the broader synonym and antonym subsets reported in the experiment.

The authors searched eDIL in reverse, starting from the English material to find candidate Irish equivalents. They organised the results into synsets, groups of words proposed as expressing a shared concept. An English keyword identified the concept under review. For an antonym item, there are opposing concepts to represent, so the review of word groupings is relevant to which Irish expressions are available on either side of the opposition.

An English gloss is a practical way to locate candidates. It leaves questions that matter to the Irish grouping open. Two forms can both be translated with a particular English word and occur in different grammatical roles or settings. A single Irish word can also have several senses. The authors addressed these issues by seeking a review of candidate groups rather than treating a translation search as a final classification. The specialists’ decisions became a form of linguistic annotation.

The four reviewers were asked to consider whether words shared a concept and were used in comparable contexts. The guidelines called for words grouped together to have the same part of speech, a category such as noun or adjective. They allowed a word with several senses to appear in several synsets. They also permitted words from Old Irish and Middle Irish to occur together in a synset. Participation in the same group thus represented a judgment about a particular meaning and use, without a requirement that all members come from the same period.

Reviewers could consult eDIL. Where the definitions left room for doubt, the authors encouraged them to draw on their familiarity with actual usage in texts. This instruction matters because the evidence required for a decision can go beyond the keyword attached to the group. Reviewers had to assess whether the proposed members would function as expressions of the relevant concept in the contexts they knew. Their task called for expertise about usage alongside knowledge of dictionary meanings.

Agreement by three or more reviewers was the admission rule. Under it, the authors obtained 98 synonym entries and 109 antonym entries. They included all spellings given in the corresponding dictionary entry when an accepted word had several. As a result, a semantic judgment and a spelling decision both contribute to what the test accepts. The review determines the lexical material eligible for the benchmark, and the dictionary supplies the written forms through which the test can recognise it.

Preparing the training material

The training sets represent Old Irish, Middle Irish and a combination of the two. The paper dates the Old Irish set to the 8 th − 9 th c. and the Middle Irish set to the 10 th − 12 th c. It lists the combined set as covering the 8 th − 12 th c. The authors use Early Irish as a convenient name for that combined set and note that the expression has a broader use in periodisation. In the experiment, the label designates a training condition.

CELT, the Corpus of Electronic Texts, supplied the Middle Irish material. CELT and the Diplomatic St. Gall Glosses Treebank supplied the Old Irish and combined material. This provenance is relevant when reading the coverage investigation, which compares the benchmark against designated CELT collections. The corpus used to learn vectors and the collection named in a coverage column need to be identified separately when considering whether a particular string could have been retrieved.

The authors converted letters to lower-case and removed punctuation at sentence level. They otherwise left the orthography unnormalised. They did not apply grammatical part-of-speech tags or map inflected forms to a shared dictionary form through lemmatization. These preprocessing decisions preserve the observable differences among written forms that the analogy test tries to recover. They also preserve many differences that stem from the edition, including some of the ways attached elements are written.

The paper’s concern with spaces follows directly from this setup. To count forms and learn vectors from them, the text has to be divided into tokens. A choice to join an element to its neighbour can make the combination available as a single item. A choice to separate it can put the evidence into distinct items. Thus a decision about where a word begins and ends can change the vocabulary in which the evaluator searches. This division of text into units is tokenization.

Learning representations with and without pieces of words

The experiment compares SkipGram with FastText. The relevant feature of SkipGram is that it learns representations using the surrounding words of a form. The contexts that two forms appear in can provide evidence that they are related. Each form has its own written identity in this comparison, so a resemblance between spellings is not itself a source of shared components. The authors draw on the approach in Efficient Estimation of Word Representations in Vector Space.

FastText incorporates parts of a word into its representation. This gives strings that share written material a further way to acquire related vectors. Such information is particularly relevant where a change in spelling leaves much of a form intact, or where inflected forms keep a common stem. At the same time, the written resemblance concerns the forms themselves. It is possible for the sub-word evidence to bring together strings whose relationship differs from the one an analogy asks for. The approach comes from Enriching Word Vectors with Subword Information.

For both approaches the authors tried embedding sizes of 20, 50, 100 and 300. The size is the number of coordinates in a vector. The experiment was meant to help assess which size would suit collections of this scale and variability, alongside the comparison of training approaches. On the evaluation side, the authors used the Python library Vecto to apply the analogy procedures 3CosAvg and LRCos.

For the combined-corpus FastText run that they later inspected closely, the paper gives an embedding size of 300, a minimum count of 2 and a window of 10. The minimum count is a frequency threshold, and the window controls the range of context considered during training. These settings identify the particular space used for the reported neighbour searches and visual inspection. The experiment’s peak accuracy belongs to a different run.

Moving the cue by a learned displacement

3CosAvg represents the relation as a shift in the vector space. Think of the examples as having a source side and a target side. The procedure takes the average position of the target forms and subtracts the average position of the source forms. This gives a direction and displacement that summarise how the examples differ. Because the estimate comes from groups of forms, it can represent a relation whose examples allow several alternatives.

avg_offset = (Σᵢ∈ᴮ bᵢ) / m − (Σᵢ∈ᴬ aᵢ) / n

The quantity avg_offset is the displacement. The set B indexes the target examples, and A indexes the source examples. The index i identifies an example on the side being summed. The symbol Σ indicates a sum, and ∈ indicates membership in the corresponding index set. Each bᵢ is a vector for a target example, and each aᵢ is a vector for a source example. The slash denotes division. The target count m and the source count n are the denominators of their respective averages. The minus sign subtracts the source average from the target average.

Next the procedure adds that displacement to the vector for the current cue. This constructs a direction against which the available candidates can be compared. Cosine similarity assesses closeness in direction between vectors. The procedure selects the candidate with the strongest cosine similarity to the displaced cue.

b′ = argmax over x ∈ V [cos(x, b + avg_offset)]

Here b′ is the answer returned by the search. The expression argmax denotes selection of the candidate that attains the greatest score. The candidate x ranges over the vocabulary V, with ∈ indicating that x belongs to that set. In the cosine comparison, x stands for the candidate’s vector. The function cos is cosine similarity, b is the cue vector, and avg_offset is the displacement estimated from the examples. The plus sign adds it to the cue vector.

The intuition is that a relation visible across examples can guide prediction for a particular word. The same operation also reveals an assumption. An average direction needs to summarise the examples well enough to be useful. If the group covers quite different processes, as the morphology subset does, their combined direction can be a coarse description. The test consequently depends on whether the relation, its examples and the available embeddings lend themselves to this geometric operation.

Combining similarity with evidence about the target class

LRCos takes a different approach to representing the requested relation. A logistic regression supplies an estimate of how likely a candidate is to belong to the class of desired answers. The method also measures the candidate’s cosine similarity to the query. It multiplies those quantities to rank the possible answers. The class estimate brings information from the examples of the relation into the ranking, while the similarity term connects the candidate to the particular cue.

b′ = argmax over x ∈ V [P(x ∈ target_class) × cos(x, b)]

The returned answer is b′. The argmax selects the highest-scoring candidate x from vocabulary V, and ∈ indicates membership. The expression P(x ∈ target_class) is the probability from logistic regression that x belongs to target_class, the class of forms sought for the relation. The function cos compares the vector of x with b, the cue vector. The multiplication sign × combines the probability and cosine similarity into the score used to select the answer.

In 3CosAvg the examples affect the direction used for the cosine comparison. In LRCos the similarity comparison uses the cue itself, and the examples inform a separate estimate about what kind of form should be returned. The scoring rules can accordingly give different rankings to the same vocabulary. Both still choose from the forms available to search. A procedure can assign a strong score to a linguistically relevant candidate and receive credit only if the test accepts that form.

Describing the amount of variation

The authors also report a scaled measure of how many distinct forms appear relative to the total amount of text. A token is an occurrence of a form. A type is a distinct form counted across occurrences. Thus repeated appearances of a spelling increase the token count, while an additional spelling can increase the type count. The scaled statistic used in the paper is the type–token ratio.

TTR = (types × 1000) / tokens

TTR denotes the scaled type–token ratio. types is the number of distinct forms, and tokens is the total number of occurrences. The multiplication sign × applies the scale factor 1000, and the slash divides the scaled type count by the token count. A higher value indicates more distinct forms in relation to the amount of running text under the same counting convention.

This measure helps characterise the setting for learning word relations. In a corpus rich in types, the contexts available to many individual forms can be scarce. How the text is segmented and which spelling distinctions are preserved matter to the counts. The measure describes the corpus overall. The evidence relevant to an owl spelling or a particular antonym still depends on its own occurrences and contexts.

Experiments and results

The training sets and the comparisons

The Old Irish training data contain 400,922 tokens and 77,754 types, with a scaled type–token ratio of 193.9. The Middle Irish data contain 1,071,640 tokens and 170,851 types, with a scaled ratio of 159.4. For the combined Early Irish set, the paper reports 1,171,439 tokens and 202,172 types, with a scaled ratio of 172.6. The combined figures are those given for that training condition.

The Old Irish collection has the highest relative variety of the training sets by this measure. Middle Irish has the lowest, and the combined set lies between them. The authors place the Irish ratios alongside a scaled ratio of 38.24 for Latin and 47.88 for Swedish from the 18 − 19 th c. These figures put the Irish corpora’s variety in context. They come from a study concerned with a different evaluation task, SemEval-2020 Task 1: Unsupervised Lexical Semantic Change Detection.

The central comparison concerns how well the two embedding approaches recover accepted completions. SkipGram serves as the comparison for FastText’s use of internal word structure. The corpus and embedding size vary on the training side, and the choice of analogy procedure varies on the scoring side. The spelling and morphology samples and the reviewed semantic subsets supply the test material. The paper describes performance across these choices as a whole and identifies the peak result, without giving a numeric accuracy for every combination.

Analogy accuracy concerns the selected answer and the benchmark’s accepted forms. An accepted completion contributes a success. Qualitative relevance is a separate observation. For example, a word can be meaningfully related to the cue in a way the question never requested. It can also fit the requested relation and still be absent from the answer set. The authors’ follow-up analysis gives examples of both situations, which matter when interpreting what the accuracy measures.

The strongest reported accuracy

The highest accuracy was 0.08 on the morphology subset. The run that achieved it was FastText trained on the Middle Irish collection with an embedding size of 100. The account of the peak identifies the subset, training data, embedding approach and dimensions. Which analogy procedure produced that particular result remains unspecified. The authors describe scores across the experiment as sufficiently low to be statistically insignificant. The paper gives no detailed significance results accompanying the peak.

The result left the initial comparison unresolved. FastText on Middle Irish supplied the best observed score, but the results as reported give little evidence for choosing a dimension or preferring a method across the tasks. The authors turned to a direct inspection of the combined Early Irish space. They wanted to see whether patterns of spelling, morphology and meaning were present even where the quantitative test offered little indication of them.

This change also matters for connecting the results. The nearby words and visible clusters discussed in the paper mostly come from the combined-corpus FastText run with an embedding size of 300. They show the kinds of relationships present in that representation. The peak accuracy from the Middle Irish run measures performance on a particular test subset under a different training setting.

How many benchmark forms were missing?

The coverage check asks whether words used in the analogy material occur in particular collections of CELT texts. It reports the percentage of missing words for Old Irish, Middle Irish, the Early Irish combination within CELT, and all Irish texts in CELT. The last collection extends through Early Modern Irish and includes Classical Modern Irish, so it has a wider scope than the period-specific training conditions. The St. Gall Treebank material recorded in the training description has a separate provenance from the CELT collections in this check.

In the randomly sampled morphology data, the percentage of words absent from the texts declines as the comparison goes from the Old Irish collection to the broader ones. The all-Irish CELT result shows how much of the sampled inventory is missing even when the search extends beyond the Old and Middle Irish texts. The wider collection is a coverage comparison, with its own period range.

Missing words in the sampled morphology questions across CELT collections

The full range of Irish texts in CELT covers more of the sample than the period-specific collections.

Missing words in the sampled morphology questions across CELT collectionsOld Irish CELT: 66.2Old Irish CELT66.2Middle Irish CELT: 58.1Middle Irish CELT58.1Early Irish CELT: 54.7Early Irish CELT54.7All Irish CELT (this paper): 48.5All Irish CELT (this paper)48.5
The numbers
System or settingmissing words %
Old Irish CELT66.2
Middle Irish CELT58.1
Early Irish CELT54.7
All Irish CELT (this paper)48.5

The full morphology extraction has a higher missing-word percentage than the sample in the Early Irish CELT comparison. Spelling shows a different pattern. The full and sampled spelling collections have similarly high percentages of missing words there. Sampling served to make the test subsets comparable in size. The separate coverage measurements show why one should look at the particular inventory used before explaining an outcome from corpus overlap.

Missing words across the analogy inventories in Early Irish CELT

The semantic subsets have better coverage than either inventory of spelling or morphological variants.

Missing words across the analogy inventories in Early Irish CELTFull morphology extraction: 69.3Full morphology extraction69.3Sampled morphology: 54.7Sampled morphology54.7Full spelling extraction: 68.2Full spelling extraction68.2Sampled spelling: 66.7Sampled spelling66.7Synonyms (this paper): 33.3Synonyms (this paper)33.3Antonyms: 35.4Antonyms35.4
The numbers
System or settingmissing words %
Full morphology extraction69.3
Sampled morphology54.7
Full spelling extraction68.2
Sampled spelling66.7
Synonyms (this paper)33.3
Antonyms35.4

In the broadest CELT collection, the missing-word percentages are 65.4 for the full morphology extraction and 64.0 for the full spelling extraction. For the spelling sample the corresponding percentage is 62.6. The comparison gives 28.8 for synonym words and 30.9 for antonym words. These figures show that widening the period range still leaves an extensive gap between the dictionary-derived inventory and the edited material. The size of the gap depends on the part of the benchmark being considered.

Coverage counts strings. In an analogy with multiple accepted answers, some of those answers can be missing from the corpus while the question still has an available completion. The effect on answerability also depends on whether the cue is available, whether any accepted form entered the vocabulary used for the search, and how the missing forms are distributed across the questions. The chart measures resource overlap. A question-level analysis would need to link that overlap to the cue and answer set of each evaluated item.

The fact that synonym and antonym material shows greater overlap also helps clarify the interpretation of the qualitative findings. The semantic relation can be difficult to recover even when more of its accepted forms are present. For a cue with several variants in the vocabulary, a close neighbour may be another spelling when the relation requested is shared or opposing meaning. Presence in the text makes a form a plausible candidate for learning. The strength and kind of evidence needed to rank it remain separate issues.

How consistently the specialists reviewed the candidates

The reviewers’ decisions were another part of the evidence. All worked on Early Irish in research, teaching or both. They rated their knowledge from 1 to 5 before looking at the candidates. The low end referred to having taken an introductory course, and the high end to experience editing or teaching Early Irish. Three gave themselves a 4, and one chose a 3. The authors use this background to indicate the level of familiarity the reviewers brought to the task.

Cohen’s kappa measures agreement between a pair of reviewers while accounting for agreement expected by chance under the statistic. The highest pairwise value was 0.35, which falls into the fair category under the classification used by the authors. The group measure, Fleiss’ kappa, was 0.17 across the four reviewers. Under the same classification that is slight agreement. The values describe how consistently the reviewers judged the proposed semantic material under the instructions they received.

The admission threshold and the kappas capture different features of that exercise. Requiring agreement by three or more specialists left enough material to assemble both semantic subsets. The kappas concern the judgments that went into the process, including material on which people differed. A viable set of agreed entries can emerge from a review in which agreement across the candidate material is low. This makes the agreed items a selected portion of the translation effort and helps explain why expanding that effort through dictionary search alone would leave substantial judgment work.

What the ablations show

The paper reports no formal component-removal ablation. Its comparisons of training approaches, corpora, dimensions and scoring rules establish the range of the experiment. Its substantive follow-up consists of neighbour searches, projected clusters, comparisons of retrieved and expected forms, a corpus-coverage check and an analysis of reviewer agreement. These observations address different places in the experiment where a relationship could be learned, missed or denied credit.

What the nearest words have in common

The authors searched the combined Early Irish FastText vocabulary for words near mainister, meaning monastery. Its neighbours included mainistear, mainistir and mainisttir, giving clear instances of spelling variation. They also found forms with attached demonstratives, such as mainistir-si and mainistir-sin. Compounds appeared in the same neighbourhood. The paper gives cédmhainistir for an early or former monastery and énmhainistir for an individual monastery.

The neighbourhood has an intelligible centre, but its members illustrate different relations. The variant spellings make sense as answers to an orthographic question. The forms with demonstratives share the noun and add an element with grammatical work to do. A compound introduces another lexical component. Finding these words together shows that the vector space connects a variety of systematically related forms. Assessing an analogy requires asking which of these connections is the one the evaluator wants to recover.

The personal name Ailill yielded spellings including Ailil and Oilill. Other neighbours included hAilill, tAilill and Aililla, which illustrate changes at the beginning and an inflected form. The authors also found the personal name Ailill Miltenga. Here an orthographic or morphological connection can coexist with an association between names. The results demonstrate that a query can have several plausible kinds of neighbours even when the task expects one kind of relation.

In the corresponding qualitative comparison, the authors used the combined Early Irish SkipGram representation with the same settings. They found associations among personal names from the literature. The spelling and morphology connections apparent in the FastText inspection did not appear in the corresponding SkipGram observations. This fits the premise of the comparison: contextual evidence can connect names through their use, while shared pieces of words provide an additional signal for resemblance in written form. The evidence applies to the inspected examples. An aggregate advantage for either approach would require the quantitative comparison the study was unable to obtain.

How spelling and punctuation organise clusters

The authors used the TensorFlow projector to examine a 3D view of the same FastText space. They found a cluster of dative plurals referring to groups regarded as foreign. Its members included allmurachaib, glossed as referring to foreigners, lochlannachaib for Scandinavians, saxanachaib for Saxons and paganachaib for pagans. The words share a grammatical form as well as related meanings. The ending -aib helped characterise the group the authors saw. Later spellings with -aibh were absent from that cluster.

A cluster of verbal nouns showed a comparable spelling distinction. The authors give examples such as etargnaghudh, referring to interpreting or explaining, and cotludh, referring to sleeping. The observed group was organised around the ending -udh. Earlier forms with -ud did not appear in it. The group is evidence that a recurring grammatical form is visible in the representation alongside the spelling convention for that form. The observation also bears on a test that asks for a relation across periods. Forms can correspond grammatically while the written shape most useful for grouping them changes over time.

The demonstrative sin showed how punctuation within an item could matter. Hyphenated forms such as fechta-sin and sliabh-sin grouped together. Unhyphenated forms such as ceilgsin and uairsin formed a separate group. The grammatical connection is recognisable across the two groups. The distinction between writing the demonstrative with a hyphen and attaching it directly is nevertheless visible in the geometry the authors inspected.

These observations help specify what learning a pattern means in the study. Some patterns combine linguistic information with a feature of how it was written. Keeping the difference between -ud and -udh can be valuable for a question about the distribution of forms across time. A question about corresponding verbal nouns may instead want both conventions to be recognised together. The clusters establish that the representation was sensitive to such details. The paper leaves their prevalence and their quantitative effect on analogy performance open.

Plausible answers outside the key

For the morphology cue úasal, meaning high or noble, the authors identify retrieved derivatives including anúasal, ardúasal, úasal-nóeb and róuasal. They also identify n-úasal, a form with mutation. These had the kind of relationship the question sought and were absent from its expected answers. Looking at the returned words makes it possible to see where the recorded outcome and the linguistic interpretation diverge. From the perspective of the score, acceptance depended on what the extracted key contained.

The spelling query immairecc, glossed as conflict or battle, illustrates the value of reading the neighbourhood alongside the expected answer. The key lists immairg, while the returned forms include immairec and h-immairecc. The returned list also contains longer forms with similar written material. Assessing such a list involves distinguishing variants that could be credited from forms whose resemblance expresses another relation. The breadth of the neighbourhood, on its own, gives no count of spelling answers that should be accepted.

An omitted form matters even when the test permits several answers. Multiple accepted strings resolve the problem of an unnecessarily singular key only for the alternatives actually listed. If a candidate can be recovered from the corpus and fits the desired relation, its omission still causes the exact comparison to miss a success. The úasal example shows that this occurred. The authors leave open how often correcting such omissions would change a selected answer from a miss to a hit.

Relevant words that express the wrong relation

Other returned forms reveal a genuine difference between linguistic relatedness and the specific relationship being tested. For dorchae, meaning dark or gloomy, the antonym key includes gel and solus. The observed neighbours include dorcha, dorchatae and dorchadu. They resemble the cue strongly in spelling. That resemblance helps account for why the neighbourhood looks structured, while the question requires a candidate on the opposite side of a relation in meaning.

The synonym example álaind, glossed as lovely or beautiful, has expected answers including cáem and cruthach. Returned forms include hálaind, roálaind and comálaind. Their visible relationship to the cue is evidence of organisation around a shared written form. To meet the intended synonym question, the search has to reach an appropriate expression of the same meaning, including alternatives whose spelling may have little in common with the cue. These are different demands on the same representation.

The paper’s account of richer orthographic and morphological patterns than semantic ones is grounded in observations like these. FastText has access to information from within the word. That information can support the kinds of patterns that make spelling neighbours easy to recognise, while drawing the search toward a form that fails a semantic question. Context remains important for relating words that differ in their written structure. The personal-name associations provide one example of what the context-based approach could recover in these texts.

When the neighbourhood gives little to interpret

The query ulchobchán, meaning owl, produced a clearly different kind of outcome. The expected answers in the spelling subset include ulchobcán, ulchubchán, ulchubcán and ulcachán. The closest returned item was the special character represented in the results as & for ocus, meaning and. The other listed neighbours likewise gave the authors little ground for identifying an owl spelling.

The authors took this as evidence that the word and its variants appeared too rarely in the corpus to learn useful relationships. It is an interpretation of that example in light of the sparse data. The contrast with úasal is informative for evaluating the answer key. A more complete list could recognise the derivatives retrieved for úasal. In the owl example there is no corresponding retrieved variant to credit. The test has a genuine failure of retrieval to explain in addition to the problems of answer coverage.

The corpus statistics help place the owl example in context. Distinct forms are unusually numerous relative to the amount of text in the Irish collections compared with the figures the authors cite. That makes scarce evidence for many individual forms plausible. A corpus-level count leaves open which words suffer most. The specific neighbour search demonstrates what an unsuccessful query of this kind looks like, while the interpretation in terms of frequency remains tied to the evidence the authors infer from the text.

What editorial differences can change

The coverage and neighbour analyses reveal the mismatch from opposite directions. Many forms selected for the test have no matching string in the CELT collections checked. Some forms retrieved from a learned vocabulary have a defensible relation to the cue and are absent from the extracted answer set. Together these observations point to a practical problem of putting a dictionary and edited texts into correspondence. Each resource can represent its own evidence sensibly while the exact forms differ across them.

The authors note several sources of editorial variation. Editors can introduce spaces, expand abbreviations or contractions, add punctuation and sometimes establish a text using readings from different manuscripts. They can also use such devices as brackets according to different conventions. A digitised text can incorporate corrections while carrying over many decisions of the original editor. Those decisions often have to be understood from familiarity with the edition because the available metadata describes the text without necessarily recording the policy that produced its written form.

The paper names the St. Gall Priscian Glosses Database, the Diplomatic St. Gall Glosses Treebank and Corpus PalaeoHibernicum as examples of resources that differ in how they separate words. It also identifies an example of deliberate agreement on boundaries. The electronic Würzburg glosses were segmented according to the standard used for the St. Gall treebank. That step concerns a specific part of making resources work together, the units that count as words for computational use. The paper places these issues in the context of earlier work on the Würzburg material in the study of tokenizing the Old Irish Würzburg glosses.

The editorial diagnosis helps explain how some gaps could arise, including gaps where a written form is split differently across resources. The paper does not assign individual missing words to causes in the coverage comparison. A form can be missing because the collection lacks an attestation, because editors write it differently, or because the resource represents its boundaries differently. The measured gap incorporates these possibilities. Observing the effect of an agreed segmentation convention on analogy accuracy would require training and evaluation under such a comparison.

What disagreement adds to the interpretation

The review of the semantic groups shows a constraint that matching strings alone would leave in place. A shared word boundary makes lexical items easier to compare across resources. Deciding whether those items express the sense at issue still calls for judgments about meaning and context. The guidelines also allowed words from different periods in one group and permitted several memberships for a word with multiple senses. The reviewers had to judge the proposed groups with this flexibility in mind.

Low agreement under those conditions shows how difficult it was to establish the wider semantic inventory, in spite of the reviewers’ familiarity with Early Irish. The consensus rule did produce material the experiment could use. Cases that fell short of consensus point to a different challenge from the absence of a written form in CELT. Some semantic decisions are unsettled even when the candidates can be clearly identified as written words. The paper documents the level of agreement under its procedure and leaves the motives for particular disagreements unexplained.

Limitations

Limits the authors identify

The authors give data sparsity a central role. The corpora contain many different strings for the amount of text available, and some words and their variants appear to offer too few contexts for useful representations to emerge. This matters for spelling and morphology, where the object of study is frequently a form with close relatives. It also matters for relations in meaning, where the strings can look quite different and the evidence has to come more heavily from usage. Their neighbour searches yielded relatively few semantic connections, aside from such examples as associations between names.

The authors also identify a limitation in the extraction from eDIL. A field that can be processed automatically supplied many morphology items. Its contents include kinds of evidence a more focused test would want to distinguish. Inflections, derivatives and retained spelling alternatives are mixed in that subset. A score for it can report how the procedure fared on the assembled material. It gives no separate estimate of performance for a specific inflectional category, derivation or alternation in spelling.

Differences among editions create a further limit on reuse. Digital availability gives researchers text they can process, while information about the decisions needed to interpret that text may lie outside the digital metadata. A manuscript’s date or a period label cannot determine how an editor expanded a contraction or where the editor placed a boundary. The paper argues that resource users may need detailed knowledge of individual editions before using such features as linguistic evidence.

The authors attribute these differences to legitimate editorial approaches with different aims. Their call for a common standard concerns using historical texts together for computational experiments. The study identifies kinds of variation such a discussion would have to consider, including token boundaries and conventions for recording written forms. It treats the possibility of similar difficulties in other historical languages as a suspicion. The empirical investigation concerns historical Irish.

The authors also report low expert agreement as a limitation of the attempt to establish a semantic test. The title directs attention to how much certainty an evaluator can derive from expert review when the judgments concern difficult lexical questions. The participants were knowledgeable and reached sufficient agreement to form the subsets. The agreement figures qualify how broadly the review can be treated as settling the candidate relations considered in the exercise.

Limits visible in the experimental design

The maximum reported accuracy locates the best observed result. A ranking of the architectures, corpora or embedding sizes across the experiment remains unavailable because the paper gives no full breakdown of scores. The scoring procedure associated with the maximum is also unspecified in the result. The authors characterise the scores as statistically insignificant, while the quantitative account leaves the baseline and details of that assessment open. This restricts what can be inferred from either the absolute score or its position as the maximum.

The vocabulary check describes missing words and concerns CELT. An estimate of the share of unanswerable analogies would need the vocabulary actually searched for each training run and the complete set of forms required by each item. From the figures alone, it is possible to see that many forms did not match. It is impossible to tell how often a cue was missing, how frequently every accepted answer was absent, or how often enough alternatives remained for a question to be scored meaningfully. The additional St. Gall material in some training collections further separates the coverage counts from a direct inventory of the vectors searched.

There is a corresponding limit on inferring what would happen if the answer lists were expanded. The authors identify specific plausible results, particularly for úasal. They do not rescore the experiment with a revised key or count such cases systematically. The examples demonstrate the existence of valid omissions. The amount of accuracy they account for remains unmeasured. The unrelated owl results show why revising the key would address only part of the difficulty the paper documents.

The qualitative comparison is also selective. Particular neighbours illustrate recognisable relations, and certain projected groups show how endings and hyphens are reflected in the representation. Those cases demonstrate that the reported patterns can be found in the inspected space. Their frequency across the vocabulary remains unknown. A projected cluster can help someone inspect the data, while its appearance supplies no estimate of how reliably an analogy procedure will select a particular form from the full space.

The training conditions for Old and Middle Irish vary in several respects together. They cover different periods, have different amounts of text and differ in source composition. The larger CELT coverage comparison changes the scope of the material as well. From these comparisons it is possible to describe which inventories overlap more closely. Isolating how much of the gap derives from source selection, the historical distribution of words or editorial policy would require a controlled comparison. The study did not re-edit the same material under different policies and measure the result.

The semantic groups have several sources of selection. The English BATS categories supply the original concepts, reverse searches in eDIL supply the candidate words, and the review admits entries that clear a consensus threshold. The findings about agreement apply to those proposed groups under that procedure. They do not reveal which individual guidelines generated disagreement, whether a specific text passage would have resolved it, or how consistently other kinds of lexical relations could be annotated. The single group agreement statistic cannot separate differences in sense judgments, usage judgments and interpretation of the task.

Taken within these limits, the paper establishes that the evaluation brought several different obstacles into the same accuracy figure. The coverage data reveal absent forms, the selected answers reveal omissions and genuine retrieval failures, and the review reveals uncertainty about lexical groupings. The evidence permits readers to identify these possibilities in particular cases. The share of the overall result attributable to each remains unresolved.

What came after

No subsequent study building on this analogy experiment is documented. The coordination between the Würzburg glosses and the St. Gall treebank belongs to the work the authors already discussed. It illustrates how editors could agree on one practical matter, the placement of word boundaries. Whether applying shared conventions to the training texts and benchmark would make the analogy results easier to interpret remains an open question. The Irish study also leaves open how much difficulty would persist from limited attestations and disagreement over relations in meaning.

Cite

Cite as Oksana Dereza, Theodorus Fransen and John P. McCrae. 2023. Do not Trust the Experts - How the Lack of Standard Complicates NLP for Historical Irish. Proceedings of the Fourth Workshop on Insights from Negative Results in NLP.

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.18653/v1/2023.insights-1.10

@inproceedings{dereza2023do,
  title = {{Do not Trust the Experts - How the Lack of Standard Complicates NLP for Historical Irish}},
  author = {Oksana Dereza, Theodorus Fransen and John P. McCrae},
  booktitle = {Proceedings of the Fourth Workshop on Insights from Negative Results in NLP},
  year = {2023},
  doi = {10.18653/v1/2023.insights-1.10},
  url = {https://doi.org/10.18653/v1/2023.insights-1.10}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/dereza-2023-do-not-trust-experts-how/