Very Low Resource Sentence Alignment: Luhya and Swahili
Paper · 2022 · Everlyn Asiko Chimoto and Bruce A. Bassett
Summary
A text and its translation can be available in digital form without anyone having recorded which sentences go together. Producing those links by hand takes time, especially for low-resource languages with few existing bilingual collections. Chimoto and Bassett ask whether a system trained on many languages can recover the links for a language it never encountered during training. They build a reference collection of 7952 English–Luhya sentence pairs from New Testament translations in the Marama variety, also known as Olumarama. They use these pairs to check automatic matching against known translations and compare the results with a separate collection of Swahili–English Bible sentences.
The study compares LASER and LaBSE, which turn whole sentences into numerical vectors called embeddings. The premise is that a sentence and its translation should have similar vectors, even when their words are quite different. For each English sentence, the authors look for the nearest candidate in Marama or Swahili and check whether it has the recorded translation’s index. On Marama, which neither system had been trained on, LaBSE retrieves the designated match first for 22.0% of the queries, compared with 1.5% for LASER. On Swahili, which both systems had encountered during training, LaBSE’s first choice matches the reference for 97.1% of queries. LaBSE leads the comparison on both language pairs, with a wide gap between its results on the two collections.
The authors then use known Marama–English pairs to learn a small transformation of the Marama vectors. They leave the English vectors in place and train the transformation to move each Marama representation closer in direction to its English counterpart. The reported first-choice accuracy rises to 53.3% in the paper’s opening, with the detailed results giving 53.2% for the full-training run with a hidden layer of size 96. In that run, the reference is among the first three choices for 67.8% of queries. The improvement shows that a limited set of known translations can help recover additional pairs in the same collection.
The authors also ask what happens when they accept only matches whose vectors are sufficiently similar. With the full training set and a cosine similarity threshold of 0.75, precision reaches 92%, meaning that most of the accepted matches agree with the reference. Recall falls to 5%, meaning that the accepted set accounts for only a small share of the reference pairs. The study therefore measures two uses of the same scores. Ranking provides a candidate for each English sentence, while filtering produces a smaller collection with fewer wrong matches among the pairs it keeps.
Deep dive: Very Low Resource Sentence Alignment: Luhya and Swahili
Chimoto and Bassett test how well LASER and LaBSE match Luhya and Swahili sentences to English and whether a small set of translations improves the matches. · about 31 minutes to read
The problem and its context
From translated texts to usable pairs
A bilingual text collection has value at several levels of detail. Knowing that two documents are translations helps a reader locate corresponding material. A sentence-aligned collection adds a more specific claim about which passages go together. Each pair can serve as an example for machine translation or as a reference for checking whether an automatic procedure can find the same correspondence. The paper calls these paired sentences bitext. In its experiments, the units are sentences that have already been separated and placed in candidate collections.
Consider the work left after someone obtains a text and its translation. The units may already be separated, but a program still needs a way to recognize when a sentence expresses the same content as a sentence in the other language. A person who reads both can make that judgment directly. Repeating it across a collection is the labor the authors want to reduce. The paper places its work in a tradition of automatic alignment that includes early studies such as Text-Translation Alignment.
The shortage of bilingual examples makes this problem particularly relevant for the languages the authors study. A method that requires a large aligned collection in every language before it can recover more pairs would be of limited help where such collections are scarce. The attraction of a multilingual representation is that some of the work can be shared. A system trained on other languages may supply a numerical comparison that is useful for the new language. The paper’s question is how much of that ability carries over to Marama, and how much a modest collection of known translations can add.
Why compare meanings through vectors?
A sentence embedding is a list of numbers intended to represent a sentence as a whole. Putting sentences from different languages through a multilingual encoder gives the researcher a common space in which to compare their vectors. For sentence alignment, the relevant sense of semantic similarity is whether two pieces of text express corresponding content across languages. The comparison is made on their vectors. If translations tend to appear close together in the space, a search over candidate vectors can recover likely pairs without a person having to inspect every candidate.
This is an assumption about how a learned representation behaves. It needs to hold strongly enough that the correct candidate stands out among other sentences. A search can fail even when two translations are reasonably close if another sentence is closer by the chosen measure. The alignment experiment consequently tests the ordering of candidates as well as whether the encoder produces a plausible representation of any sentence taken on its own.
The paper situates this approach alongside the Building and Using Comparable Corpora shared task. A comparable collection supplies texts that can contain matching material without already identifying the sentence pairs. Finding those pairs is different from looking up an existing bilingual index. Once the vectors exist, the procedure still needs to decide which comparisons to make and what evidence is sufficient to call two sentences translations. Earlier work cited in the paper uses a shared multilingual space for this broader problem of filtering and mining parallel data.
What earlier systems added to the comparison
The paper describes several ways to use sentence similarity. VecAlign couples LASER vectors with an approximate dynamic programming procedure. The search uses text order to construct an alignment across the documents, so the decision about where sentences match can draw on the surrounding sequence. The cited work examines Sinhala–English and Nepali–English and reports an improvement in downstream translation when using the resulting pairs. Chimoto and Bassett focus on what the vectors themselves can do in a ranked search.
KC4Align, another system discussed in the paper, starts with paragraph matches. It uses representations from a multilingual translation system to find related paragraphs, then considers which sentences inside those paragraphs belong together. Sentence similarity and the relative lengths of the sentences contribute to that second decision. The Vietnamese–Lao experiment illustrates how candidate selection can happen before the sentence comparison. A paragraph match narrows the search, whereas a sentence vector gives the system a basis for ordering the remaining possibilities.
The authors also mention multilingual mining from Wikipedia that includes Swahili. Their account of previous Luhya work covers another kind of resource, part-of-speech tagging for the Wanga variety, as well as bilingual datasets assembled with human translators for several Luhya varieties. These projects concern different kinds of evidence. Labels that describe the grammatical role of a word support analysis of text within a language. A human-produced translation pair supplies the direct correspondence needed to test bilingual retrieval. The Marama collection gives the authors that reference for the automatic alignment question.
Why Marama and Swahili make an informative comparison
The study concerns Marama as a specific variety of Luhya. The paper locates its use in western Kenya and gives about 43,000 as the number of speakers. It describes Swahili as a language used across eastern and central Africa, with approximately 100 million speakers. The immediate experimental distinction concerns training coverage. Both pretrained encoders included Swahili, and both are evaluated on Marama without having trained on Luhya.
The languages also share characteristics that make the comparison worth attempting. The authors place them in the Bantu branch of Niger-Congo and describe both as having subject–verb–object sentence order. Both are agglutinative, a term from morphology that describes how a word can be built by combining successive pieces that carry grammatical information. The language relationship gives the authors a reason to ask whether a shared representation might transfer. The experiment leaves the source of any such transfer open. In particular, the test compares performance in two language settings with different training histories. It does not manipulate training exposure on the same language.
English serves as the common comparison language. Each experiment searches from an English sentence into the corresponding collection of Marama or Swahili candidates. A common language on the query side makes the structure of the tests easier to compare, and using Bible material for both narrows the difference in subject matter. The pairs themselves come from separate collections. The design asks a practical question about what a researcher would get from the encoders they already have in each setting, with and without using pairs from the language they want to align.
The method, step by step
Build a list of known matches
The starting material for Marama is a New Testament translation and its English counterpart. The authors clean and curate the text, then establish which sentences correspond. Three native speakers independently assess the quality of those alignments. The resulting reference contains 7952 pairs. For Swahili, the authors start with the existing SAWA collection and select 10k Bible pairs. Both collections undergo cleaning to remove verse numbers, extra whitespace, and characters introduced by differing text encodings.
Removing verse numbers matters to the interpretation of the test. A shared identifier could supply a clue to the match even when the sentence representation did little of the work. The reference correspondence still exists as an index used to evaluate the answer, but the verse numbers are removed from the text that enters the encoder. Every query therefore has a designated answer for scoring purposes, while the search operates on the cleaned sentences.
A pair in the Marama collection describes a worker asking for a tree to be left in place while he tends the ground around it. Another concerns seeing Abraham and Lazarus from afar. These are examples of the material being compared, including dialogue, narrative and named characters. A reference pair can give a bilingual reader a recognizable correspondence even when the surface forms and sentence lengths differ. The retrieval test asks whether the numerical comparison ranks that recorded counterpart above competitors from the same collection.
Encode each sentence separately
For the initial evaluation, the authors run every cleaned sentence through LASER or LaBSE. A given encoder always represents a sentence with the same number of coordinates. It can therefore compare a short English utterance with a longer Marama one without having to line up their words. Each sentence is encoded by itself. The reference translation is used for checking the result and, in the adaptation experiment, as a training target.
LASER follows the encoder–decoder approach developed for translation. Earlier work described in the paper includes Recurrent Continuous Translation and Sequence to Sequence Learning. The relevant idea is to encode input in a form from which a decoder can generate output text. The sentence representation becomes useful for retrieval if encoding texts from different languages places translations close together. This use of translation to learn representations is the subject of Learning Joint Multilingual Sentence Representations.
LASER’s input is broken into units with a shared system of subword tokenization, specifically Byte Pair Encoding. This procedure constructs pieces that can be shared across words and input languages. The paper reports 50k merge operations for the joint encoding and 93 input languages for LASER’s training. The input pieces pass through a stack of bidirectional long short-term memory layers. Bidirectional processing lets the representation at a position draw on text before and after it. The architecture described in the paper has 1-5 stacked layers, with a dimension of 512 for each.
The encoder reduces its sequence of outputs to a single vector by max pooling. In this operation, each coordinate of the final vector comes from the largest value observed along that coordinate across the sentence. The resulting LASER vector has dimension 1024. The translation decoder is auxiliary for alignment. Its recurrent layer has dimension 2048, and its inputs during translation training include the sentence vector, sub-word information for the translated text and a language identifier. The encoder receives the sub-word inputs without that identifier. This design places the instruction about which language to generate on the decoder side while encouraging the encoder to develop a representation that can serve across languages. Massively Multilingual Sentence Embeddings
LaBSE learns the cross-language comparison more directly. It uses two encoders with the same parameters. One receives the source sentence and the other receives the target sentence. Having two input branches lets each sentence produce its own vector, while sharing parameters means that both branches apply the same learned transformation. The weights begin from pretrained BERT, and each branch uses a 12-layer Transformer. Each sentence representation has dimension 768. The paper gives 109 as the number of languages covered in LaBSE training.
The LaBSE training objective ranks translations by their scores. It rewards a designated translation for scoring above competing sentences, and an additive margin makes that ranking requirement stricter during training. The result is a space in which the comparison between independently encoded sentences is intended to carry information about translation. In the initial Marama and Swahili experiments, the authors use the existing LASER and LaBSE encoders as they are. The adaptation for Marama happens after the encoder has produced its vector.
Compare each English sentence with its candidates
The authors take an English vector and compare it with all the vectors in the candidate collection for that language pair. They test cosine similarity and Euclidean distance. Cosine similarity evaluates how closely the directions of the vectors agree. Two vectors pointing in the same direction can have different lengths and still be maximally similar by that measure. Euclidean distance, labeled L2 in the results, measures separation in the space. With cosine similarity, larger scores rank first. With Euclidean distance, smaller distances rank first.
The resulting ranking can be evaluated at different depths. Top-1 asks whether the first candidate has the correct index. Top-3 asks whether any of the first three candidates has that index. The queries and reference pairs are the same within each comparison. A gain at the deeper rank indicates that the correct index frequently appears close to the top even when some other sentence is preferred. It also changes the output a user would have to handle. A shortlist can help somebody reviewing alternatives, while a corpus builder seeking one pair per query still needs a way to choose among them.
The exact-index rule concerns the identity of the candidate in the collection. If two entries have identical text, only the index specified in the reference counts as correct for that query. A match to an identical sentence under a different index can thus be marked wrong. This scoring rule makes checking the experiment straightforward and keeps the retrieval objective tied to the curated correspondence. It also matters when interpreting the resulting score as a measure of whether an English sentence was paired with an appropriate translation.
Learn a correction from known translations
The next stage is fine-tuning in the sense of adapting an existing representation with task-specific data. The paper adds a small fully connected network on the Luhya side. Each unit in one layer can receive input from every unit in the preceding layer. The network takes the original Luhya vector and produces a replacement vector in the space used for the English comparison. It keeps the English embeddings as reference targets. With LaBSE, both the input and the output of this transformation have size 768.
The transformation has a single hidden layer. This is the intermediate layer between the input and the output, and the paper calls it a bottleneck because it is narrower than the vector being adapted. The hidden layer first summarizes what should be retained or changed from the original vector. The output layer then uses that intermediate representation to build a vector with the original width. The authors vary the hidden size so they can check whether fitting a larger transformation helps.
From curated sentence pairs to ranked alignments
The steps in order.
The authors train the added network by minimizing a loss, a quantity that falls as the adapted Luhya vector and its English reference point in more similar directions. The paper gives the objective as follows.
Loss(x, y) = 1 − S꜀(x̃, y)
Loss is the value the training procedure tries to reduce. The input x is the original Luhya embedding. The vector y is the English embedding of the known translation. The symbol x̃ denotes the Luhya embedding after it passes through the added network. S꜀ denotes cosine similarity, and 1 is the constant from which that similarity is subtracted. The equals sign defines the loss in terms of the similarity. As the similarity for the known pair rises, the subtraction gives a smaller loss.
The transformed vector depends on the weights identified in the paper as w₁ and w₂. The symbol w₁ represents the weights leading into the intermediate layer, while w₂ represents those leading into the output layer. They are learned from the training pairs. Through these weights the adaptation can change the contributions of the original coordinates and produce a new direction for the Luhya sentence. The output still has the form needed for the original retrieval procedure.
An important distinction is that the objective for this added network describes a known pair. It rewards similarity to the associated English vector during training. At evaluation, each English query is compared with a collection containing other candidates as well. Raising similarity for individual training pairs matters only insofar as the resulting transformation improves those held-out comparisons. This is different from the translation ranking objective the paper describes for the original LaBSE training, which explicitly compares a translation’s score with scores for competing sentences.
Vary the amount of supervision and the width of the transformation
The main experiment uses 5-fold cross-validation on the Marama–English collection. A fold is a part of the collection reserved as the test set for a run. The other folds supply the training examples for that run. The held-out part changes across runs, so the reported behavior reflects more than a single division into training and test data. The procedure describes a test fold of 1591 pairs and a corresponding training set of 6361 pairs.
Within a run, the authors begin with 10% of the training portion. They add further training examples in steps of 10% and evaluate each setting on that run’s held-out set. At a given training fraction, the question is how much the extra supervision improves retrieval while the evaluation remains on the test portion. The width comparison uses hidden sizes of 32, 64, 96, 128 and 256. Changing the width changes how much flexibility the transformation has when it reconstructs the output from the intermediate representation.
The final operation is to apply a cosine similarity threshold to the matches. The search gives each English query a first-ranked candidate and a score. A threshold introduces the option of withholding a pair when that score is too low. This decision follows the ranking. It can change which outputs enter the extracted collection while leaving their original ordering intact. The authors vary the threshold to see how much confidence the score supplies about a retrieved pair and how much of the reference collection can be recovered at stricter settings.
Experiments and results
What the two collections let the authors test
The Marama–English set contains 7952 curated pairs and serves both as a test of raw multilingual transfer and as the source of training and test data for adaptation. The authors describe it as the only digital parallel corpus known to them for this particular variety and English. Its role in the study goes beyond counting available sentences. Because each pair has a fixed correspondence, the authors can remove that correspondence from the inputs to the search and then use it to judge the search’s choices.
The Swahili–English comparison comes from SAWA, which the paper describes as having approximately 89k aligned sentences across several domains. The authors draw 10k Bible pairs for the experiment. Constraining the Swahili sample this way keeps the comparison within religious material. The two collections answer related questions under different conditions. Marama tests an unseen language and the effect of new supervision. Swahili tests a language already covered in the training of both encoders. The Swahili sample supplies a raw comparison and has no corresponding adaptation series in the paper.
The two raw baselines are LASER and LaBSE with their existing sentence representations. For each, the authors report the effects of the ranking measure and the depth at which they check the list. In the Marama adaptation experiment, the raw result also provides a reference point for learning a new representation. The trained transformation can be assessed against the retrieval already possible before the authors use any Marama pairs to fit it.
How the scores are counted
The headline metric is the share of English sentences for which the reference counterpart is recovered at the designated rank. At Top-1, the numerator counts queries whose first choice has the correct index. At Top-3, it counts queries whose first three choices contain that index. The denominator is the set of queries being evaluated. This design treats every reference index as an answer the search is supposed to find, even when other candidates could look similar or duplicate its text.
In the threshold experiment the authors report precision, recall and F1. Of the pairs that were accepted, the proportion that matches the reference is called precision. Recall is the share of reference pairs recovered by the accepted output. F1 combines precision and recall and falls when either is extremely low. In the unfiltered first-choice setting, the number of output pairs equals the number of reference pairs, so precision and recall coincide. The authors use this property to explain why F1 and accuracy agree for that setup. Once a threshold lets the procedure skip queries, the number of accepted pairs can shrink and the metrics describe distinct properties.
Top-3 measures something different from accepting pairs above a score threshold. The Top-3 result gives credit for a known translation anywhere in a shortlist. Filtering judges the actual accepted output and can omit a query entirely. A Top-3 result can therefore improve when the reference moves closer to the head of the list, with no change in the correctness of the first choice. High precision after filtering means that many of the pairs kept are correct under the index rule, with coverage given by recall.
Raw retrieval with LASER and LaBSE
The clearest difference in the raw results is how frequently LaBSE finds the correct Marama candidate before any adaptation. The paper reports 22.0% Top-1 accuracy for LaBSE and 1.5% for LASER on Marama–English. The same comparison favors LaBSE on Swahili–English. Its reported Top-1 result there is 97.1%. The raw results table gives LASER a cosine Top-1 accuracy of 0.50 on Swahili–English, using fractions rather than percentages. The chart uses the published fractions for all its entries.
Raw cosine Top-1 alignment accuracy on Marama–English and Swahili–English
LaBSE leads on both collections, with substantially better retrieval on Swahili.
The numbers
| System or setting | accuracy (fraction) |
|---|---|
| LASER, Marama–English | 0.02 |
| LaBSE, Marama–English (this paper) | 0.22 |
| LASER, Swahili–English | 0.50 |
| LaBSE, Swahili–English | 0.97 |
For Marama, the raw LaBSE table entries are 0.22 at Top-1 and 0.32 at Top-3 under both cosine similarity and L2. The gain from a longer list indicates that LaBSE often ranks the reference close to the top without ranking it first. LASER’s cosine entries for Marama are 0.02 at both depths in the table. Its L2 entries are 0.00 at Top-1 and 0.01 at Top-3. For LASER, a wider shortlist yields little benefit at the precision with which the table reports the results.
For Swahili, LaBSE gives 0.97 at Top-1 and 1.00 at Top-3 with either comparison measure as displayed in the table. The rounded Top-3 entry describes the experiment at the paper’s reported precision. For LASER, cosine gives 0.50 at Top-1 and 0.55 at Top-3, and L2 gives 0.45 at Top-1 and 0.55 at Top-3. Cosine and L2 leave the overall ordering of the systems intact. The authors find a small average advantage for cosine and use it in the Marama adaptation experiments.
The paper points out that the LASER result on Swahili is lower than the F1 figures above 90% it cites from earlier experiments by Artetxe and Schwenk. The difference provides context for how much performance can vary across evaluations. The present study uses its own collections, candidate searches and exact reference indices. An earlier reported score belongs to that earlier setup. The authors describe their finding that LaBSE leads LASER as consistent with the comparisons discussed in Feng and colleagues and in Bitext Mining Using Distilled Sentence Representations.
Alignment after adaptation
Before the main bottleneck experiments, the authors try adding a layer without a bottleneck. They train on 50% of the Marama dataset and test on the other 50%. The reported accuracy is 40.22%. This trial establishes that a learned change to the representations can improve retrieval in the split they tested. The authors choose to pursue narrower transformations because the initial layer has more trainable parameters than they consider suitable for the dataset. The preliminary score comes from its own split, so comparisons with the subsequent cross-validated results also involve a change in evaluation protocol.
In the bottleneck study, the most detailed training series uses a hidden size of 96 on LaBSE embeddings. The chart follows the Top-1 fractions from the raw result through selected settings of the training-size experiment. The percentage on each trained label refers to the portion available for training within the cross-validation run. The test portion is held out.
LaBSE Top-1 accuracy by training fraction on held-out Marama–English pairs
Retrieval improves as the transformation sees more known pairs.
The numbers
| System or setting | accuracy (fraction) |
|---|---|
| Raw LaBSE | 0.22 |
| Hidden size 96, 10% training | 0.22 |
| Hidden size 96, 20% training | 0.34 |
| Hidden size 96, 40% training | 0.43 |
| Hidden size 96, 60% training | 0.48 |
| Hidden size 96, 80% training | 0.51 |
| Hidden size 96, 100% training (this paper) | 0.53 |
The corresponding Top-3 series shows useful candidates appearing in the list earlier than they reach first place. At 10% of the training data, the Top-3 accuracy is 0.36 for the size-96 transformation, compared with the raw LaBSE value of 0.32. At 20% of the training data, the adapted Top-3 accuracy is 0.49. At 40% it is 0.59, and at 80% it is 0.66. The full-training row gives 0.68, with the table caption reporting the more precise 67.8%. A shortlist retains considerable value even after the first-choice result has improved.
The full-training Top-1 result is given as 53.2% in the detailed adaptation table’s caption and as 53.3% in the opening account. The table displays 0.53. The training procedure and the cross-validation figure use 6361 for the available training count, while the adaptation table’s caption gives 6362 for its full-training setting. Those small reporting discrepancies matter if the figures are used to reproduce the experiment. They leave the reported progression clear at the precision of the chart. A similar inconsistency appears in the raw LASER discussion. The abstract and the raw table caption identify 1.5% as the Marama Top-1 result, whereas a sentence in the results discussion prints 0.02%. The chart follows the table’s fraction, 0.02, and the prose comparison uses the value given in the abstract and caption.
The authors also adapt LASER embeddings for Marama with the hidden size held at 96. Their comparison plots Top-1 and Top-3 results against the amount of training data. LaBSE remains ahead in both rankings. The error bars in that comparison represent the standard deviation across the cross-validation folds. They describe how much the results vary with the held-out portion, which is useful when changes between training settings are small.
The effect of accepting fewer matches
The threshold analysis addresses a different decision from the choice of encoder. Having found the best available candidate, the authors ask whether its similarity score is high enough to use it. In the full-training condition, the unfiltered output has 53% precision and 53% recall. Raising the threshold to 0.75 gives 92% precision and 5% recall. The threshold table reports F1 of 0.53 for the unfiltered condition and 0.09 for that higher threshold. The high-precision setting is therefore a way to select a small subset. The F1 result makes its cost visible when coverage is part of the objective.
The paper also reports how filtering works when supervision is more limited. With 40% of the training data, the authors describe this as about 2500 sentences and report accuracy above 80% among retained matches past a cosine threshold of 0.65. The threshold table gives a specific operating point in this training condition. At 0.72, it reports precision of 0.83, recall of 0.06 and F1 of 0.11. The opening claim about accuracy over 85% with scores above 0.7 belongs to this kind of selective result. Its interpretation depends on which similarity scores are accepted and how much training the transformation received.
Lower thresholds can preserve much more of the recovered set. For the full-training condition, the table gives precision of 0.56 and recall of 0.51 at a cutoff of 0.5, with F1 of 0.53. That point is useful alongside the high threshold because it shows the continuous decision available to a corpus builder. Turning a score into an acceptance rule can make the output slightly cleaner with a comparatively small loss of coverage, or it can select a much smaller set when confidence in each pair carries more weight.
What the ablations show
The ranking measure and the depth of the search
The initial experiments vary the comparison measure while holding an encoder and a set of sentences fixed. That comparison isolates a choice in retrieval. On the reported Marama scores, LaBSE returns the same Top-1 and Top-3 fractions with either cosine or L2. The Swahili LaBSE values also agree across measures at the precision shown. LASER is more sensitive at the first rank, particularly for Swahili, where the reported cosine result is higher than the L2 result. The overall comparison suggests that the encoder choice accounts for more of the observed gap than changing between these two measures.
The deeper ranking tests another possible explanation for weak first-choice results. If the correct sentence often appears just below the first rank, a more effective selection procedure might still make use of the existing representation. That is what the raw LaBSE Marama result suggests for some queries. The benefit from looking deeper is small for raw LASER on Marama. Within the first three positions, its difficulty appears to go beyond the choice between a first and second candidate. The experiment stops at that shortlist, so it says little about where the reference lies farther down the ranking.
These retrieval comparisons also show why gains at different ranks should be read on their own terms. The smallest training fraction in the size-96 LaBSE series leaves the displayed Top-1 result at 0.22 while raising Top-3 to 0.36. The transformation has put more references within shortlisting distance before producing a corresponding improvement at first choice. For someone inspecting candidate lists, that shift already has a practical interpretation. For automatic extraction of a single translation, the deciding evidence is the first-choice result.
How many training pairs help?
The training-size comparison keeps the kind of supervision fixed and changes how much of it is available. Each training example is an existing Marama–English pair. The 10% setting provides a useful check because adding a trainable layer alone could be mistaken for the source of the gain. In the detailed series, first-choice accuracy at that setting stays at the raw value at the precision shown. The stronger results appear as the system gets more actual pairs from which to learn the transformation.
The authors highlight 20% of the available training data, or about 1272 pairs, as enough to see improvement across the hidden sizes they examine. For the size-96 LaBSE transformation, Top-1 is 0.34 at that point. The conclusion describes the required supervision more broadly as about 1200 correctly aligned sentences. Both descriptions concern examples used to train the adaptation within the Marama collection. They are evidence that the method can improve with a fraction of the available supervised data. The experiment does not determine a universal minimum or identify which particular sentences contributed most.
As the training fraction increases, the gains continue but the reported curve becomes less steep near the full training condition. The size-96 Top-1 series gives 0.52 at 90% and 0.53 at 100%. The Top-3 series ends at 0.67 and 0.68 for those respective settings. The authors’ aggregate plots show the means across folds, with error bands for the hidden-size comparison extending one standard deviation around the means. The spread provides a reason to read nearby settings as broadly similar when their curves are close. The experiment maps the benefit of these examples over the measured range and supplies no basis for extending that curve beyond the available data.
How wide should the bottleneck be?
The hidden-size study examines a tradeoff in the added network. A small intermediate layer restricts what the output can express. A larger intermediate layer gives the transformation more weights and greater flexibility. The best-performing widths in the reported comparison are 96 and 128, with no clear separation between them. The authors favor size 96 on efficiency grounds because it achieves comparable results with fewer weights.
At the largest tested size, 256, performance degrades compared with the better intermediate sizes. The smaller widths offer less gain as well. The measured comparison supports a practical conclusion for this data and transformation. There is a middle range of widths that works well, and allocating more trainable weights does not reliably improve held-out retrieval. A reader might suspect that a larger transformation fits the limited training data too closely, but the paper does not diagnose the cause by examining the learned weights or contrasting training errors with test errors. The curve establishes the performance ordering in the experiment.
The initial trial without a bottleneck is relevant to the design choice but weaker as a controlled comparison. It uses a different train–test arrangement from the main series. Its 40.22% result demonstrates an early gain with adaptation, and the parameter count motivates the search for a narrower network. It cannot by itself show that the bottleneck causes the difference between that result and the later full-training score. The widths varied within the cross-validation experiment provide the cleaner evidence about the effect of changing the bottleneck.
What remains of the original encoder advantage?
The paper compares LASER and LaBSE after adapting both representations with a hidden layer of size 96. This holds a visible feature of the new transformation constant while changing the input representations. LaBSE still leads at both ranking depths. The extra supervision improves what can be recovered from the vectors, while the quality of the starting representation continues to matter. The study supplies no evidence that a small correction makes the two encoders interchangeable.
The authors connect LaBSE’s stronger zero-shot result to its BERT initialization and contrast that history with LASER’s training from scratch. That is their interpretation of the system comparison. Several features change at once, including the encoders’ architectures, training objectives and language coverage. The paper does not repeat training while varying only initialization. It can therefore establish that the tested LaBSE system transfers better to Marama, with the mechanism behind that advantage left unresolved.
The same distinction applies to the difference between Marama and Swahili. Both encoders had seen Swahili, and the paper argues that such prior exposure contributes to the much stronger performance there. The shared Bible domain makes the comparison more informative. Language identity, translation choices and the makeup of the candidate collections also change. The difference across languages is consistent with a benefit from prior exposure. A test of its independent effect would require tighter control over those other differences.
What high similarity predicts
The threshold analysis controls the acceptance rule after the ranking has been produced. As the authors retain only the higher-scoring matches, precision generally rises and recall falls. The procedure identifies parts of the output that agree with the reference more often. It leaves much of the underlying extraction challenge unresolved because many queries no longer produce an accepted pair.
The table illustrates what can happen where the threshold is less strict. At 40% of the training data, the unfiltered setting for the threshold analysis gives precision, recall and F1 of 0.44. At a threshold of 0.52, the same analysis reports precision of 0.49, recall of 0.41 and F1 of 0.45. At 0.72, precision rises further and recall falls sharply. The slight F1 gain at the intermediate cutoff shows that a modest filter can improve the balance in some settings. The stronger cutoff is suited to a different objective, where the correctness of accepted pairs is valued in spite of the loss of coverage.
This analysis also tests whether additional training and filtering are substitutes. More training improves the underlying ranking in the Marama experiment, while a stricter cutoff selects among the resulting matches. A transformation trained on fewer pairs can still produce a high-precision subset. The full-training setting can retrieve many more correct pairs when every query is given a candidate. The two choices affect different stages of the procedure, so their usefulness depends on whether the resulting collection needs broad coverage, highly reliable pairs or reviewable shortlists.
Limitations
Limits the authors identify
The paper explicitly warns that exact-index scoring can underrate translation quality when a sentence is repeated. Two candidate entries can have the same text, and the search can return the same wording as the reference at a different position. This chiefly affects the first-choice score, where a tie or near tie among duplicates must be resolved in favor of a single index. The authors treat their estimates as a lower bound on acceptable alignment in this sense. The study reports neither the frequency of such cases nor an alternate evaluation that gives credit for duplicate wording.
The authors also draw attention to the cost of thresholding. A high cutoff can create a collection in which a large share of accepted pairs match the reference, but the number of pairs retained may be very small. They leave the choice of an operating point to the needs of the application. Their results give several measured points in the tradeoff. They provide no single value that maximizes both the quality of accepted matches and the amount of translated material recovered.
The conclusion identifies active learning as future work. In this setting, active learning would select which sentences to have aligned for supervision, with the aim of getting greater improvement from a limited annotation effort. The current experiments vary how many already aligned pairs are used. They do not establish how to choose the most informative ones. The headline training counts therefore indicate how much supervision helped under the study’s procedure, while the value of a targeted choice of pairs remains open.
Limits of the experimental design
Both language comparisons draw on Bible material, and the Marama adaptation is evaluated on held-out data from the same collection used to supply training pairs. This is an appropriate way to test transfer within that collection. It leaves open how well the same transformation would work in another domain, on a different translation, or with substantially different conventions for dividing verses and sentences. The small transformation learns from the kinds of correspondences it sees. The experiment gives no independent measure of how far those changes travel beyond the source collection.
The biblical examples also illustrate why related vocabulary can pose different challenges within and outside this setting. A collection can include named characters and phrases that recur across passages. These can support retrieval when they identify the intended pair, or yield close competing candidates when they occur in several places. The study gives aggregate accuracy and discusses identical sentences. It provides no separate results for repeated names, different sentence lengths or other properties of individual examples. That limits explanations of which kinds of sentence the encoders handle well.
The retrieval study starts from a fully paired reference collection and searches among its sentences. Every query has a recorded counterpart. Mining less tightly matched documents raises additional questions. There may be no translation for some queries, an idea may have been expressed across different sentence boundaries, or several acceptable renderings may exist. Filtering gives the approach a way to abstain, but the measured precision and recall come from a setting in which the reference counterparts are already known to exist in the candidate set. Those results cannot measure how frequently the method would correctly recognize that no counterpart exists in an unrelated collection.
The search evaluates English queries against Marama or Swahili candidates. A reverse search would raise a separate empirical question, even though the cosine score for a given pair is symmetric. Reversing the search changes which sentences compete for each query. The reported direction also leaves open whether requiring agreement between both search directions would recover a cleaner set. Similarly, the paper ranks candidates individually and reports no end-to-end comparison with a procedure that constrains the alignment across an ordered document.
The Swahili comparison helps distinguish two realistic uses of multilingual encoders, with a language included in training and a language unseen there. It cannot assign the size of the performance gap to language exposure alone. The candidate sets have different source collections, and the paper gives no controlled variation in whether a language is included during pretraining. For similar reasons, the results for Marama cannot establish expected performance across other Luhya varieties or across Bantu languages generally. The paper uses the language relationship to motivate the experiment and measures transfer for this specific case.
The adaptation is evaluated by recovery of the reference alignments. The authors connect high-quality harvested pairs to possible use in machine translation, but the study reports no downstream translation experiment using the mined set. It cannot tell how the high-precision subset would compare in translation training with a larger, noisier collection. That question involves both how many examples remain and what kinds of examples filtering selects. A high score against the reference is evidence about one stage of building a translation resource.
Finally, cross-validation describes stability within the available corpus. The fold-level spread helps interpret close settings such as the two preferred bottleneck sizes. It does not measure variation across corpora or establish a precise resource requirement for other languages. The differing full-training counts and Top-1 values given in the adaptation results also limit how exactly the most precise headline can be reproduced from the paper’s reported figures. The strongest conclusion supported here is the change observed across the tested conditions, from limited raw transfer to improved within-corpus retrieval after fitting the additional network.
What came after
The later citing work is Voices Unheard, a 2024 study of language resources and technologies for regional varieties of Yorùbá. Its focus makes a point shared with the Marama study’s choice of evaluation data. Coverage of a broader language label gives little information about what resources or measured capabilities exist for a particular variety. Chimoto and Bassett make that distinction concrete by curating Marama pairs and treating their recovery as a task whose performance must be measured directly.
The documented relationship is a citation, and the later study’s title establishes its focus on Yorùbá regional varieties. There is no documented result here about whether it reused LASER or LaBSE, fitted a bottleneck on parallel sentences or applied a cosine similarity cutoff. The supported connection is at the level of the research problem. Both works direct attention to resources for a named variety, the level at which researchers need evidence before drawing conclusions about how a multilingual system will perform.
Cite
Cite as Everlyn Asiko Chimoto and Bruce A. Bassett. 2022. Very Low Resource Sentence Alignment: Luhya and Swahili. Proceedings of the Fifth Workshop on Technologies for Machine Translation of Low-Resource Languages (LoResMT 2022).
@inproceedings{chimoto2022very,
title = {{Very Low Resource Sentence Alignment: Luhya and Swahili}},
author = {Everlyn Asiko Chimoto and Bruce A. Bassett},
booktitle = {Proceedings of the Fifth Workshop on Technologies for Machine Translation of Low-Resource Languages (LoResMT 2022)},
year = {2022},
url = {https://aclanthology.org/2022.loresmt-1.1/}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/chimoto-2022-very-low-resource-sentence-alignment/