Finding the Optimal Byte-Pair Encoding Merge Operations for Neural Machine Translation in a Low-Resource Setting
Paper · 2024 · Kristine Mae M. Adlaon and Nelson Marcos
Summary
How much of a word should a translation system treat as a reusable unit? An entire word preserves its written form, but a small training collection may contain too few examples for the system to learn it reliably. Smaller fragments offer more opportunities for reuse, while requiring the system to assemble suitable words from those fragments. Kristine Mae M. Adlaon and Nelson Marcos examine this choice in Filipino-to-Cebuano machine translation. Their study asks which settings of Byte-Pair Encoding, typically abbreviated BPE, work well when parallel training material is limited. The central contribution is a comparison of segmentation configurations across different kinds of writing.
BPE supplies a vocabulary of pieces that can occur inside words. Its merge setting determines how extensively smaller units are joined into larger ones. The authors test several budgets, beginning at .5k and extending to 32k, together with a condition that omits BPE. They conduct the comparison on religious passages, newspaper material, conversational sentences, and Wikipedia content, then repeat it with the domains combined. Filipino and Cebuano receive independently learned segmentations. The translation architecture remains TransformerBase in OpenNMT-tf, although its vocabulary sizes and total parameter counts change with the representation. Evaluation includes the BLEU score, deployable artifact size, and an examination of particular translations.
The results favor the lower end of the tested merge range, but they do not identify a universal winning budget. Religious text reaches its strongest reported BLEU, 23.99, with 2k merges; news also favors 2k, scoring 27.73. The combined condition obtains 39.56 at the same setting. Encyclopedic material prefers 5k, with 36.24, whereas conversational material performs best at .5k, with 42.82. These differences qualify the authors’ repeated emphasis on 2k, 5k, and 8k. Their tables support deliberate tuning for the intended text distribution more strongly than they support any fixed recommendation.
Vocabulary choice also changes the size of the resulting translation system. In the combined condition, the .5k artifact occupies 175 megabytes, while the unsegmented alternative occupies 465 megabytes. The corresponding parameter counts are 45.2M and 120.9M. Consequently, the experiment compares configurations whose linguistic units and vocabulary-dependent capacity vary together. It establishes useful practical rankings, but it cannot attribute the rankings exclusively to segmentation boundaries.
The sentence analyses show why those rankings need interpretation. A configuration can reconstruct a plausible word while choosing an unsuitable aspect, confusing a recipient, or replacing the intended object with unrelated content. The authors describe both successful affix handling and substantial meaning errors, including a translation that introduces Friday where modules were intended. The paper’s lasting practical message is to evaluate representation, resource requirements, and linguistic fidelity together. Its evidence concerns a particular translation direction and experimental setup; it does not establish a general law connecting a smaller vocabulary with better understanding.
Interesting ideas
Make representation part of the experiment. Decisions made before learning can determine which patterns remain available to the downstream system. By varying merge budgets explicitly, the authors expose a choice that could otherwise disappear inside preprocessing defaults. Researchers can apply the same reasoning to tokenization, feature inventories, normalization rules, and dictionary representations: compare the alternatives on the actual task instead of assuming that an established default is harmless.
Keep domain rankings visible. A configuration that succeeds on one collection can lose its advantage elsewhere, even when the translation direction and architecture remain unchanged. Separate domain reports reveal this dependence more clearly than an aggregate score. The approach is useful for search, parsing, document analysis, and other applications whose users bring language from different settings.
Attach resource measurements to quality measurements. Vocabulary counts, parameters, and deployable bytes answer different questions from BLEU. Together, they show whether an attractive result also fits the environment in which it must operate. Similar reporting can improve decisions about efficient systems, particularly when storage limits or distribution requirements constrain deployment. Runtime should still be measured directly rather than inferred from file size.
Follow a score back to its sentences. The paper’s linguistic discussion exposes failures that an overall ranking cannot explain: missing properties, unsuitable verb forms, unclear participants, and changed objects. Inspecting intermediate pieces alongside reconstructed text helps distinguish word assembly from meaning preservation. This habit transfers to any pipeline where a plausible final output can conceal an earlier representational error.
Describe what a configuration actually produced. A requested merge budget does not fully specify the vocabulary obtained from a particular corpus. The authors therefore record realized source and target inventories, as well as the nominal setting. Engineers can borrow this distinction whenever a configuration generates an artifact: retain both the requested procedure and the artifact’s measured properties.
Use linguistic regularities as questions to test. The motivation for sub-word processing includes recurring word structure, but a frequent fragment is not automatically a meaningful affix. The paper combines statistical segmentation with a narrower inspection of linguistic behavior. Elsewhere, recurring patterns can guide investigation without becoming accepted rules merely because they compress data or occur often.
Deep dive: Finding the Optimal Byte-Pair Encoding Merge Operations for Neural Machine Translation in a Low-Resource Setting
A detailed study of BPE merge counts for Filipino-to-Cebuano translation, explaining domain results, vocabulary size, deployment costs, and errors. · about 33 minutes to read
How Mova uses it
Mova’s documented core uses Rust rules, learned statistical parameters, dependency structures, and explicit world representations. Its present assessed understanding is English; the broader system also contains language-specific experiments and operational tools. The useful connection with this paper is therefore chiefly methodological. The digest does not establish a paper-specific BPE implementation or measured benefit in Mova. The status labels below indicate proposed relationships with documented mechanisms, not evidence that these applications have been completed.
Idea: Experiment with the units presented to a component. Where: Section 3.2 and Section 4.1. Area: tokenization/evaluation. Mova: частково є (en has explicit tokenization, including distinct French handling, and evaluates downstream parsing). A future comparison could change a representation while holding the evaluation material fixed, then inspect its consequences for tags, trees, and answers. This would test the relevant Mova component rather than transfer a translation result by analogy. Why Mova: an early segmentation decision can affect every interpretation built above it.
Idea: Retain domain-specific performance reports. Where: Sections 3.1 and 4.2. Area: data/evaluation. Mova: частково є (tools/dictindex preserves declared domains, while schools and readers cover different task collections). These distinctions could support reports showing where a proposed rule or representation helps and where it fails. Suitable corpus evidence would still be required for each comparison. Why Mova: an overall improvement can conceal a regression on the text that a particular reader must handle.
Idea: Evaluate operational expense with task success. Where: Table 3 and Section 4.3. Area: efficiency/evaluation. Mova: частково є (tools/twin relates cost predictions to observations, and storage tools report measured sizes). Representation trials could keep accuracy, artifact size, working memory, and execution measurements in the same report. The paper supplies a reason to gather these observations, not a formula for predicting Mova’s speed. Why Mova: compact logical processing must remain affordable across its intended workloads.
Idea: Diagnose individual outputs behind aggregate results. Where: Section 4.4 and Tables 6 and 7. Area: interpretability/evaluation. Mova: вже є (native explanations, school traces, and parser audits expose individual decisions). Mova can use those records to ask whether an error began with a token boundary, a dependency, a frame, or a later inference. Applying that diagnosis specifically to segmentation remains an unverified proposal. Why Mova: visible evidence makes repairs more precise than changing a component merely because its name seems related to the error.
Idea: Store requested settings and realized inventories separately. Where: Section 3.2 and Table 3. Area: artifact provenance/statistics. Mova: частково є (source versions and model identities are retained in several corpus and worker paths; equivalent BPE records are not established). A proposed segmentation study should preserve its merge request alongside the actual units produced for each language. Why Mova: a configuration label alone may hide material differences between artifacts.
Idea: Treat recurring fragments as review candidates. Where: Related Work, discussion of Gutierrez-Vasques and colleagues. Area: morphology/dictionary evidence. Mova: частково є (tools/dictindex produces explained statistical selectors for human or configured reviewer examination). Repeated word fragments could direct dictionary workers toward possible productive patterns, with corpus examples and grammatical evidence used to evaluate them. They should not enter the rule inventory automatically. Why Mova: statistical discovery can assist a free dictionary while keeping frequency distinct from linguistic validity.
Idea: Preserve an appropriate unsegmented control. Where: Tables 3, 4, and 5. Area: experimental controls. Mova: частково є (school reports include controls, and documented language changes use disabled-rule comparisons). If an auxiliary component introduces sub-word units, a corresponding whole-word condition would test whether decomposition contributes under that component’s conditions. Why Mova: comparing only variants of a proposed mechanism can conceal that its baseline is already stronger.
Idea: Explore a broad but bounded configuration range. Where: Section 3.2 and Related Work, discussion of Ding and colleagues. Area: experimental design. Mova: частково є (world selfplay searches proposed changes under held-out checks and keeps an experiment journal). An exploratory representation study could include substantially different granularities before narrowing its search. The translation winners should not become Mova defaults. Why Mova: a narrow search around an inherited value may miss the important behavior of the parameter.
Idea: Keep language-specific observations identifiable. Where: Section 3.2. Area: multilingual analysis. Mova: частково є (French rules and English processing have distinct implementation boundaries). Independent records could reveal how a representation treats each language before any shared procedure is proposed. The authors do not demonstrate that separate vocabularies beat a joint vocabulary. Why Mova: language identity helps prevent a locally supported rule from acquiring an unjustified universal scope.
Idea: Distinguish capacity changes from boundary changes. Where: Table 3. Area: causal interpretation. Mova: нове (a proposed control for a vocabulary-dependent auxiliary experiment; implementation status is unknown). Such an experiment should state which parameter counts move when its vocabulary changes and avoid attributing every outcome to linguistic granularity. Why Mova: transparent claims require knowing which properties changed together.
Idea: Describe original sentence lengths before segmentation. Where: Section 3.1 and Table 2. Area: corpus statistics. Mova: частково є (corpus preparation retains structured inputs; equivalent length summaries are not established by the digest). A report could distinguish original words from later representation units and describe the input distribution before comparing readers. Why Mova: a favorable result may depend on short or simple inputs rather than stronger reasoning.
Idea: Examine performance by length instead of assuming a cause. Where: Section 3.1 and Tables 6 and 7. Area: evaluation design. Mova: нове (proposal for a systematic length analysis; existing coverage is unknown). Mova could compare errors across declared length groups and then construct controlled cases if a pattern appears. The paper’s descriptive statistics and examples motivate this investigation without proving a length effect. Why Mova: longer passages can stress reference tracking and connected events in ways isolated facts do not.
Idea: Keep pieces and reconstructed words as separate evidence. Where: Tables 6 and 7. Area: transformation diagnosis. Mova: частково є (dictionary occurrences retain exact text and token evidence; BPE reconstruction records are not documented). A future transformation pipeline could preserve its internal pieces and final reconstruction together. Why Mova: successful assembly of a word should not erase evidence about how the word was formed.
Idea: Test affix-sensitive distinctions directly. Where: Section 4.4. Area: morphology/evaluation. Mova: частково є (en implements inflection and derivation mechanisms, with documented targeted checks). Proposed input representations could be examined for their treatment of distinctions needed by those mechanisms. Filipino and Cebuano examples supply a diagnostic pattern, not validated rules for English or French. Why Mova: a broad score may obscure losses in grammatical information that later interpretation requires.
Idea: Separate a valid form from an appropriate meaning. Where: Section 4.4, short-sentence analysis. Area: morphology/semantics. Mova: частково є (word analysis, pragmatic frames, and world updates occupy distinct stages). An evaluation could record whether a generated or analyzed form is legitimate and whether its interpretation fits the event. Why Mova: correctness at the word level cannot certify correctness of the resulting world state.
Idea: Verify participant relations independently of verb recognition. Where: Section 4.4, long-sentence analysis. Area: syntax/semantic roles. Mova: вже є (prag represents agents, patients, recipients, and related roles). Existing frames can support checks that an action preserves who performed it and who received its object. A paper-specific comparison has not been demonstrated. Why Mova: recognizing an appropriate verb still permits an incorrect account of the people involved.
Idea: Detect substitutions that change the event’s object. Where: Table 7 and its discussion. Area: semantic fidelity. Mova: частково є (world and prag retain entities and event roles; a general transformation checker is not established). A bounded checker could compare selected objects before and after a supported transformation and retain disagreements for review. Why Mova: readable wording can conceal a changed task, especially when language is used to select an action.
Idea: Account for legitimate lexical alternatives. Where: Section 4.4, discussion of expressions for shyness and speaking. Area: lexical semantics/evaluation. Mova: частково є (onto, sense selection, and dictionary evidence distinguish meanings). Reviewed equivalence conditions could recognize acceptable alternatives without declaring all related words interchangeable. Why Mova: reference wording should not become the sole definition of semantic success.
Idea: Evaluate recipient pronouns in linked clauses. Where: Section 4.4 and Table 7. Area: coreference/syntax. Mova: частково є (coref supplies reasoned links, and frames identify recipients). A targeted set could test whether a pronoun remains attached to the intended participant after several actions are connected. Why Mova: a local grammatical choice can disrupt the relationship between otherwise recognizable events.
Idea: Compare independent evidence channels for quality. Where: Sections 4.1 and 4.4, and Limitations and Future Work. Area: evaluation. Mova: частково є (scores coexist with traces, rule evidence, and reviewed annotation paths). An experiment could record where automatic success agrees with role preservation and where the judgments diverge. Why Mova: disagreement helps identify what an aggregate measure fails to represent.
Idea: Keep vocabulary trimming distinct from vocabulary learning. Where: Related Work, discussion of Cognetta and colleagues. Area: experimental design. Mova: нове (proposal for a future auxiliary vocabulary experiment; implementation status is unknown). Removing rare units after training the segmentation should receive its own comparison rather than inherit approval from the original segmentation procedure. Why Mova: separating transformations makes their individual effects inspectable.
Idea: Investigate randomized alternatives reproducibly. Where: Related Work, discussion of Saleva and Lignos. Area: statistics/experimental exploration. Mova: частково є (fixed seeds, repeatability checks, and logged trials are documented principles). Randomized segmentation variants could be confined to a declared experimental path and compared with the deterministic reference. Why Mova: variation can be investigated without weakening the reproducibility contract of native inference.
Idea: Validate each translation direction by itself. Where: Limitations and Future Work. Area: multilingual evaluation. Mova: нове (proposed evidence requirement for experimental translation tools; implementation coverage is unknown). A successful source-to-target result should not authorize a claim about the reverse direction. Why Mova: each direction has different input ambiguities and output obligations.
Idea: Examine intermediate units and merge history. Where: Limitations and Future Work. Area: representation provenance. Mova: нове (proposal only; no corresponding implementation is established). A future BPE analysis could retain intermediate units and inspect where an undesirable fragment or boundary entered the vocabulary. Why Mova: a derivation history fits Mova’s preference for explanations tied to explicit operations.
Idea: Separate observed domain differences from automatic selection. Where: Section 4.2 and Conclusions. Area: routing. Mova: частково є (layers records domain coverage and routing, while general automatic composition remains direction). A future selector would need validated choices, a declared input domain, and a fallback for uncertainty. The paper does not implement this selector. Why Mova: a measured difference between domains is a starting point for routing research, not evidence that routing is already reliable.
Idea: Keep corpus provenance attached to representation evidence. Where: Section 3.1. Area: data provenance. Mova: вже є (tools/sources records source manifests, and tools/dictindex binds occurrences to credits and source versions). Representation reports can reuse those identities rather than losing provenance when text is transformed. Why Mova: a useful linguistic pattern remains evidence from a particular source, not an unrestricted fact about all language.
Idea: Report sensitivity without presenting it as uncertainty. Where: Table 4, definition of δ. Area: statistics. Mova: частково є (documented evaluation includes uncertainty analyses, but this particular configuration-range report is not established). A report can show how outcomes vary across settings while labeling that range separately from confidence intervals. Why Mova: transparent statistics require distinguishing changes caused by configuration from uncertainty about repeated measurements.
Idea: Preserve failures in a preferred configuration. Where: Section 4.4 and Table 7. Area: evaluation reporting. Mova: вже є (worker outcomes retain failures, and learning journals preserve unsuccessful trials). A selected setting should keep its counterexamples alongside its favorable aggregate result. Why Mova: a preferred procedure still needs explicit boundaries before its output supports an answer or action.
The problem and its context
Vocabulary is a learning decision
The paper addresses a resource problem inside a resource problem. Translation needs paired examples that express corresponding content in different languages. When those examples are scarce, many individual word forms receive little exposure. A system must nevertheless handle new sentences containing words and combinations that were not well represented in training.
The authors place this challenge within low-resource language research. Their introduction identifies several possible sources of assistance: additional monolingual material, imperfectly comparable documents, and parallel examples involving related languages. These approaches seek more evidence. Another approach changes how the available evidence is represented.
Linguistic information is one such representation choice. The paper mentions lemmas, grammatical categories, and dependency labels as additions that can help organize token and sentence representations. It cites work including Linguistic Input Features Improve Neural Machine Translation. However, obtaining those annotations can itself require resources that are missing for the languages under investigation.
Subword tokenization offers a different route. A vocabulary built from reusable pieces can express words that are rare or absent as complete training items. The paper emphasizes its relevance to languages that create many forms through word-building processes. The representation changes the units over which learning occurs, without requiring a complete hand-built account of those processes.
This motivation does not make every fragment linguistically meaningful. Morphology concerns the structure and grammatical behavior of words. BPE instead learns recurring written units from data. A boundary can be statistically useful without corresponding to a meaningful component, while a meaningful component can be split across several learned pieces.
The authors’ question is therefore practical: which granularity helps the downstream task under the available conditions? It is not a search for a segmentation that perfectly reproduces linguistic analysis. Nor is it a claim that morphological knowledge has become unnecessary. The qualitative examination later in the paper depends on grammatical distinctions that the segmentation algorithm does not explicitly enforce.
Earlier segmentation research
The introduction presents sub-word processing as an established part of neural translation and cites the WMT findings associated with WMT18 and WMT19. It identifies several approaches, including WordPiece, the unigram approach discussed with SentencePiece, and BPE.
The experimental foundation is the BPE translation approach associated with Sennrich and colleagues’ rare-word study. Adlaon and Marcos retain that general procedure and vary a configuration parameter. They do not propose an alternative segmentation objective or a new algorithm for discovering boundaries.
Their immediate inspiration comes from Ding and colleagues. In the current paper’s account, that earlier investigation found that merge settings interact with architecture, vocabulary construction, and language pair. Its LSTM results required broad exploration, whereas its Transformer results tended to favor lower merge budgets. An unsuitable setting could cost 3–4 BLEU points. The significance is methodological: a preprocessing value can materially affect the final comparison.
Other cited research discourages simple rules about vocabulary construction. Cognetta and colleagues investigate trimming rare units after BPE has produced them. Adlaon and Marcos describe the findings as showing that trimming does not deliver dependable improvements across the tested conditions. A smaller inventory created by a later filter is therefore not automatically equivalent to a better segmentation.
Saleva and Lignos examine randomized merge selection. According to the related-work discussion, one variant behaves almost like standard BPE, while another deteriorates less than anticipated. This suggests that the relationship between merge procedure and translation success may be less straightforward than an intuitive account of “better pieces” would imply.
The discussion of BPE compression across languages supplies another perspective. That work covers 47 languages and three parallel corpora. As described here, productive fragments appear prominently in early merges for more richly inflected languages, while less inflected languages show different recurring patterns. The present paper uses this literature to motivate linguistic inspection, not to claim that its own experiments establish a cross-language typology.
Why this language pair and these domains?
The study concentrates on translation from Filipino into Cebuano. The authors state that a comparably comprehensive investigation had not, to their knowledge, been carried out for this pair or major Austronesian languages. That is their assessment of the literature, rather than evidence that no related experiment could exist.
They also describe differences involving affixes, reduplication, and verbal focus or aspect. These features make the representation of word structure relevant to output quality. A translation may contain a recognizable root yet fail to express the intended grammatical relationship.
Domain diversity creates another reason to avoid importing a default. Conversational material can differ from religious passages or news in sentence length, recurring wording, and lexical distribution. The authors collect several domains so that the same segmentation question can be examined under different conditions.
The paper thus occupies a specific position between algorithm design and application evaluation. It studies an established representation method in a less extensively investigated translation setting. Its contribution is evidence about configurations, accompanied by resource measurements and linguistic examples. Explaining the full causal mechanism behind every domain’s ranking remains outside what the experiment establishes.
The method, step by step
The procedure repeatedly changes the text representation, trains a translation system, and examines what that choice produces. A newcomer should keep three objects distinct throughout: the original parallel sentences, the learned inventories of pieces, and the translation system trained on sentences expressed through those pieces.
From parallel sentences to configuration comparisons
The steps in order.
Assemble and divide the text
The authors use religious, conversational, journalistic, and encyclopedic material. The Bible and Wikipedia collections come from their earlier resource-building work. Their news collection was gathered from Philippine news publishers, covering November to December 2022. The conversational material comes from Tatoeba, which the paper identifies as distributed under a CC-BY license.
The paper names a curated corpus release, describing where readers can obtain the study’s parallel material. It also relates these resources to previous work on multilingual Philippine translation and sentence alignment. Those connections establish the data’s research context; they do not provide an independent assessment of every sentence pair’s accuracy.
Each collection is divided into training, development, and test material. Training examples support learning. A development portion makes it possible to examine behavior while building the system. The test portion supplies a separate collection for evaluation. The article reports their sizes, although it does not fully reconstruct every decision made using development results.
| Collection | Training pairs | Development pairs | Test pairs |
|---|---|---|---|
| Bible | 25.0k | 3.1k | 3.1k |
| News Article | 21.6k | 2.7k | 2.7k |
| Open Domain | 17.6k | 2.2k | 2.2k |
| Wikipedia | 20.8k | 2.6k | 2.6k |
| All | 85.0k | 10.6k | 10.6k |
The “All” condition is a combined collection. It should be treated as its own experimental setting. Comparing merge budgets within that condition is straightforward; comparing its absolute score with a domain-specific score changes the training collection and the evaluated material at the same time.
Characterize the original sequences
The authors describe sentence lengths before presenting segmentation results. In their table, α denotes the mean sentence length in words, while β denotes how many sentences contain more than 50 words. These are descriptive quantities, not learned parameters or terms in a training objective.
For Bible training text, the source average is 26 and the target average is 28. The associated long-sentence counts are 1104 and 1507. News averages 20 on the Filipino side and 21 on the Cebuano side, with 213 and 325 examples beyond the stated threshold.
Wikipedia has an average of 25 on each side, with long-sentence counts of 986 and 1020. The conversational collection averages 6 on both sides and records 0 examples beyond the threshold on either side. The paper additionally describes the prevalence of sentences longer than 50 tokens as less than 4% across domains.
These measurements matter because word-level sequence length is not the same as length after sub-word decomposition. A finer representation can express the same written sentence through more pieces. The paper does not provide a complete set of resulting subword-length distributions, so the original-length table should not be interpreted as a direct measurement of the sequences seen under every BPE setting.
Learn inventories under different budgets
The text is tokenized before BPE processing. The authors use subword-nmt and learn a separate segmentation for each language. Their reason for avoiding joint learning is analytical: it allows the segmentation of Filipino and Cebuano to be examined independently.
The tested budgets begin with .5k, 2k, 5k, and 8k. Further conditions use 10k, 15k, 20k, and 32k. The comparison also includes an unsegmented alternative. These are selected experimental settings adapted from earlier studies, not values derived from a new optimization formula.
The useful intuition is that a lower merge budget leaves more fine-grained pieces available, while a higher budget permits more extensive joining. The practical effect depends on the material from which the inventory is learned. A nominal budget therefore does not guarantee the same realized vocabulary across collections.
That distinction appears directly in Table 3. At .5k, the Bible source inventory contains 605 units and its target inventory contains 622. The combined condition instead has 699 and 697. The same configuration label thus leads to different artifacts.
Independent language learning also means that the source and target inventories can differ within a condition. This is expected from the setup, but it complicates any description that treats “BPE size” as a single exact vocabulary count. The paper records the inventories separately rather than assuming equality.
There is no reported comparison against joint vocabulary learning. Separate processing should consequently be understood as an experimental choice, not an established improvement over sharing units.
Train the translation component
The authors select TransformerBase through OpenNMT-tf. Their account links the architecture to Attention Is All You Need and the implementation environment to OpenNMT.
The architecture includes six encoder layers and six decoder layers. The paper identifies multi-head attention and position-wise feed-forward processing as its main layer components. In broad terms, the encoder builds a representation of the input sequence, and the decoder produces a corresponding output sequence using that representation.
Transformer attention is relevant because the system must connect information across positions rather than translate each piece independently. Nevertheless, the paper does not experimentally vary attention or derive a new architecture. Its architecture choice provides the setting in which merge budgets are compared.
Total parameter count is not constant. Vocabulary-dependent parts become larger as the inventories expand. For the Bible condition, the reported parameter range runs from 45.1M to 112.8M. The combined condition runs from 45.2M to 120.9M.
This is an important methodological boundary. The authors hold the architecture family in place, but the resulting systems have different capacities and artifact sizes. Their comparison answers which implemented configuration works best under the experiment. It does not hold every other structural consequence of vocabulary choice fixed.
Compute quality and sensitivity measurements
BLEU is the main automatic quality measure, attributed to Papineni and colleagues. It provides a reference-based comparison between generated translations and recorded translations. The paper does not reproduce BLEU’s full mathematical definition, so understanding the experiment does not require introducing an additional formula for it.
The results table also defines a range statistic, δ. Its definition can be written compactly as:
δ = maximum BLEU − minimum BLEU
Here δ is the spread reported for a domain. “Maximum BLEU” means its strongest score among the compared configurations; “minimum BLEU” means its weakest. The subtraction summarizes sensitivity across settings.
This quantity does not describe the uncertainty of a run. It is neither a confidence interval nor a measure of variation across repeated training with the same configuration. It reports how widely the chosen settings differ.
Measure artifacts and inspect translations
The authors record vocabulary sizes, parameter totals, and deployable sizes. These observations connect the representation experiment to distribution and deployment concerns. They then examine reconstructed target sentences alongside outputs that still display the segmentation.
The segmented examples use markers to expose pieces that belong within a reconstructed word. This gives the reader access to an intermediate representation. The subsequent linguistic discussion asks a different question: whether the reconstructed sentence preserves the intended content.
The hardware setup includes a Dell Precision 7770 and an NVIDIA RTX A4500 Laptop GPU. The processor runs at 2.30 GHz, and the stated RAM is 64.0 GB. A timing statement associates approximately three hours with inference generation at 5000-step intervals. Its wording does not provide a complete per-configuration training or inference benchmark.
No new loss function, formal search criterion, or analytical rule for choosing the winning budget is presented. The method is empirical: carry out the comparisons, report the artifacts and translations, and identify the best reported setting for each collection.
Experiments and results
The combined experiment
The combined collection provides a useful overview because its scores expose both sides of the granularity choice. The strongest result comes from a relatively small budget, but the smallest budget does not lead. Larger inventories are not rewarded with steadily better translation.
Merge-budget sweep on the combined collection, reported BLEU
A compact intermediate segmentation leads the comparison rather than either endpoint.
The numbers
| System or setting | BLEU |
|---|---|
| .5k BPE | 30.98 |
| 2k BPE (this paper) | 39.56 |
| 5k BPE | 38.06 |
| 8k BPE | 35.40 |
| 10k BPE | 34.29 |
| 15k BPE | 32.11 |
| 20k BPE | 30.34 |
| 32k BPE | 28.76 |
| Unsegmented | 27.25 |
This pattern supports the authors’ preference for trying comparatively small inventories. It also establishes a qualification: making the pieces as fine as possible is not the objective demonstrated by the results. Some joining is useful in this condition, while increasingly coarse alternatives become less successful.
The reported range statistic for the combined collection is 12.31. It indicates meaningful sensitivity to the configuration sweep. It cannot be transported to another corpus as a predicted benefit, because it describes the endpoints of this particular set of results.
The combined condition also illustrates why quality and size should be considered together. Its strongest quality result does not require its largest vocabulary or its largest deployable artifact. The experiment therefore does not present a simple tradeoff in which better translation must be purchased through a larger system.
Bible and news
Religious text favors 2k, where BLEU is 23.99. The .5k setting obtains 22.33, while 5k obtains 21.38. The results for 8k and 10k are 19.61 and 18.78. At the coarser end, 15k gives 17.86, 20k gives 17.72, and 32k gives 17.56.
The unsegmented Bible result is 17.84. It is below the leading configurations, but it exceeds some segmented conditions. This distinction matters when interpreting the authors’ broad statement that omitting BPE performs poorly. The table supports choosing a good segmentation over the baseline; it does not show that every segmentation is better.
The Bible range is reported as 6.43. It is evidence that the setting changes the outcome, although the paper does not provide repeated-run uncertainty around the individual scores.
News also selects 2k, with 27.73. Its 5k result is 27.07, and 8k gives 24.05. The .5k condition yields 22.91, demonstrating again that the finest tested representation is not automatically best.
Further news results are 22.53 at 10k and 20.65 at 15k. The 20k setting gives 18.70, followed by 16.71 at 32k. Omitting segmentation produces 15.24. Its δ is 12.49.
For this collection, the increasingly coarse settings form a particularly clear declining sequence after the leading budgets. The authors interpret the result in terms of useful reuse and difficulties with coarse units. The experiment does not separately count rare-word successes or show which particular grammatical phenomena account for the ranking.
Conversation changes the preferred setting
The conversational collection provides an important exception to the paper’s recurring emphasis on 2k and 5k. Its best result occurs at the finest tested budget.
Merge-budget sweep on conversational Open Domain text, reported BLEU
Fine segmentation leads, but several coarse segmentations trail the unsegmented comparison.
The numbers
| System or setting | BLEU |
|---|---|
| .5k BPE (this paper) | 42.82 |
| 2k BPE | 37.63 |
| 5k BPE | 33.93 |
| 8k BPE | 31.49 |
| 10k BPE | 30.70 |
| 15k BPE | 27.56 |
| 20k BPE | 27.57 |
| 32k BPE | 27.39 |
| Unsegmented | 33.52 |
The important observation is not merely that BPE can help. Its configuration determines whether it beats the whole-word alternative. Several coarser settings perform worse than the unsegmented comparison, while the finest setting performs much better within the reported ranking.
The domain’s δ is 15.43. Its short average sentence length makes length an interesting candidate for follow-up analysis, but there is no experiment here that separates length from conversational content or vocabulary distribution.
The pattern also challenges an intuitive shortcut: short sentences do not eliminate the need to tune representation. The collection contains brief examples, yet its results remain highly dependent on the merge choice. Simpler-looking input should not be confused with preprocessing insensitivity.
Wikipedia prefers an intermediate budget
Encyclopedic text has a different profile again. Here, the .5k setting is weak, while several intermediate budgets remain competitive.
Merge-budget sweep on Wikipedia text, reported BLEU
The leading configuration uses an intermediate vocabulary rather than the finest available pieces.
The numbers
| System or setting | BLEU |
|---|---|
| .5k BPE | 22.73 |
| 2k BPE | 32.84 |
| 5k BPE (this paper) | 36.24 |
| 8k BPE | 35.1 |
| 10k BPE | 34.64 |
| 15k BPE | 33.7 |
| 20k BPE | 32.59 |
| 32k BPE | 31.34 |
| Unsegmented | 32.74 |
The table therefore gives a more qualified picture than a rule favoring the smallest possible inventory. It supports a lower-range optimum, but the finest setting is not close to the leading condition.
The authors’ prose describes Wikipedia scores as extending from 31.34 to 36.24. That description leaves out the .5k entry shown in their table. The reported δ is 13.51, so the complete table should guide the interpretation of the sweep.
The authors associate domain variation with terminology, linguistic complexity, and sentence structure. Those are proposed explanations. The study does not label terminology categories or particular constructions throughout the test material and measure their independent contributions.
Vocabulary and capacity
The inventory measurements explain why the experiment also concerns engineering resources. The Bible prose gives an unsegmented source count of 42,328 and target count of 45,925, compared with 605 and 622 at .5k. These are materially different inventories for a learner to accommodate.
For the combined collection, the source and target counts at 2k are both 2.2K, with 47.5M parameters. At 5k, both inventories are 5.2K and the parameter total is 52.1M. The 8k condition records 8.2K on each side and 56.7M parameters.
Those measurements show what changes with the budget. They do not demonstrate that the additional parameters are inherently harmful. They show that the larger-vocabulary configurations, as trained here, do not obtain a corresponding quality advantage.
The conversational inventory behaves differently at the upper end. Its 20k source count is 13.3K, and its target count is 13.9K. The parameter total is 65.1M. At 32k, the source count and parameter total remain the same in the table, while the target entry is printed as 13.9 without the neighboring thousands notation.
That irregular target entry should not be silently converted into a newly asserted exact count. The broader observation is still available: nominal budgets do not always correspond to continued growth of the same magnitude, especially in the smaller conversational collection.
Deployable size
Artifact measurements are reported in megabytes. At .5k, every domain has a deployable size of 175; at 2k, every domain records 184. The combined condition reaches 202 at 5k, 219 at 8k, and 231 at 10k.
For the combined collection, the larger settings produce 260 at 15k, 289 at 20k, and 358 at 32k. The unsegmented artifact reaches 465. These observations directly support the discussion of packaging and storage costs.
The conversational artifacts again grow differently. Its 15k size is 238, and both 20k and 32k occupy 252. Without BPE, its artifact is 287. The Bible whole-word artifact is 434, while the news and Wikipedia whole-word artifacts are each 465.
The authors relate larger artifacts to deployment difficulty and slower operation. The size measurements substantiate the first concern more directly than the second. There is no per-setting latency or throughput table, so an operational claim about speed would require an additional measurement.
The paper also interprets BLEU ranges through broad quality categories associated with Lavie. Those categories are part of the authors’ discussion. They should not be mistaken for sentence-by-sentence human judgments establishing that every output in a score range is clear, faithful, or useful.
What the ablations show
The study offers a merge-budget comparison and an unsegmented reference condition, instead of a collection of component-removal ablations. Its additional evidence consists chiefly of domain comparisons, resource statistics, and close readings of translations.
What the sweep establishes
The sweep establishes that the chosen representation setting matters for the resulting translation system. It also establishes that larger vocabularies are not automatically more effective under these conditions. Across the domain winners, the leading budgets remain towards the finer end of the tested range.
It does not establish a monotonic relationship. Wikipedia and the combined collection both show that the finest setting can lose to an intermediate choice. The whole-word baseline also exceeds some segmented alternatives. A claim that “introducing BPE helps” is therefore incomplete unless the configuration is specified.
Keeping the architecture family fixed makes the comparisons more interpretable, but it does not provide a pure test of boundaries alone. Inventory size, vocabulary-dependent capacity, and artifact size move together. The evidence supports selection among implemented configurations without fully decomposing their effects.
A short sentence tests lexical and grammatical fidelity
The shorter example describes Tom as shy and as speaking little. That content requires the translation to express a personal characteristic and a qualification of speaking behavior. The authors use it to discuss several affixes and lexical alternatives.
The whole-word output repeats a pronoun referring to Tom. The discussion recognizes an appropriate progressive speaking form, yet the output does not adequately preserve the intended description of shyness. This is a useful separation between local grammatical success and sentence-level fidelity.
The finest segmentation produces maulawon for shyness, which the authors consider successful. They interpret its niestorya as past instead of the intended progressive form. A word can therefore be assembled correctly while carrying a grammatical value that does not fit the intended interpretation.
At 2k, the output expresses shyness through mura og ulaw and uses a speaking expression the authors find less natural. The 5k and 8k versions receive more favorable comments about their grammatical and contextual fit. Other settings also form plausible alternatives, while the 32k discussion identifies an aspect problem.
The analysis is more nuanced than exact reference matching. The reference uses manggiulawon, but the authors discuss other expressions as possible ways to convey the characteristic. A different word is not automatically wrong; its suitability depends on the meaning it carries in the sentence.
At the same time, the paper’s grammatical interpretations are qualitative judgments about this example. They are not an annotated inventory of all acceptable variants or a systematic test of aspect across the corpus.
A longer sentence tests linked participants
The longer example involves teachers finding where students live and providing modules to them. It requires preservation of connected actions, several entities, and the recipient relationship.
The whole-word output uses verbs that the authors regard as appropriate. It also uses a pronoun that they identify as problematic. This is precisely the kind of error an overall impression of recognizable vocabulary can miss: the main actions remain visible, but the relationship among participants becomes unclear.
The .5k output diverges more substantially. Its interpretation introduces a group and wording associated with studying, while the verb for the search is replaced with an unsuitable form. Fine segmentation has not protected the central event.
The 2k output improves the handling of the main verbs, but the authors still identify a recipient-expression problem. Its reconstruction therefore illustrates partial preservation, not complete success.
The 8k translation introduces Biyernes, meaning Friday, in place of the modules. At 15k, the output instead introduces an expression concerning interest. These failures involve content substitution rather than merely an awkward affix or an unusual synonym.
The authors nonetheless conclude that 5k and 8k offer a favorable balance in their morphological discussion. The long example places a necessary boundary around that assessment. A configuration can be broadly promising while producing an unacceptable local replacement.
Analyses that would be needed for explanation
The paper does not count these error categories over the full evaluation collection. It gives no corpus-wide frequency for recipient mistakes, aspect changes, object substitutions, or successful affix reconstruction. The examples establish that such outcomes occur, not how often they occur.
Likewise, there is no separate rare-word evaluation connecting the BLEU gains to the paper’s motivating explanation. There is no reported comparison that holds parameter count constant while changing segmentation. There is also no joint-vocabulary condition.
The domain analysis is valuable but observational with respect to individual corpus properties. Changing domain also changes content, vocabulary, collection size, and typical sentence length. The differing rankings justify further investigation; they do not reveal which property causes a given optimum.
Limitations
Boundaries acknowledged by the authors
The authors explicitly recognize that domains require different choices. Their results motivate domain-sensitive optimization, not an unrestricted recommendation of one budget. They leave open how a deployed system should respond when input is mixed or its domain is uncertain.
They also call for evaluation methods that address meaning and fluency more fully. BLEU provides a consistent automatic comparison, but the sentence discussions reveal distinctions that need closer examination. The paper does not establish a replacement metric.
The hardware requirement is another stated concern. The experiments use a capable workstation and GPU. Groups working with limited linguistic resources may also face computational constraints, and the study does not demonstrate that its full search is practical on modest equipment.
The authors identify reverse-direction evaluation as future work. Results for Filipino input and Cebuano output cannot establish performance when those roles are exchanged. They likewise propose extending the investigation to additional Philippine languages.
Broader data and architectural comparisons are also left open. Different translation architectures or more varied training material could change which representation works best. The paper does not test that stability.
Its linguistic agenda extends beyond the affixation examples. The future-work discussion mentions further study of syntax, morphology, frequency, embeddings, untrained tokens, and alignment. Intermediate units and merge ordering are also proposed subjects. These remain research questions rather than explanations already demonstrated by the present results.
Boundaries implied by the design
A careful reading of “optimal” must attach it to the search actually performed. The authors compare selected budgets. They do not show that every untested value is inferior, derive an optimum mathematically, or validate a procedure that predicts the best budget before translation training.
The search is also tied to a particular architecture and translation direction. Even a consistent ranking across the reported domains would not establish a universal rule for other settings. The domain differences make that restriction especially visible.
Parameter count is an important confound for mechanistic interpretation. A larger inventory alters the system that learns from the data. The reported results cannot distinguish the effect of boundary placement from every accompanying change in vocabulary-dependent capacity.
This does not make the comparison unhelpful. Practical users often select complete configurations, including the consequences that come with them. It does mean that a statement about why a setting wins must be more cautious than a statement about which setting obtained the highest reported score.
The combined collection introduces another interpretive boundary. It differs from the individual domains in training quantity and composition, and its evaluation material is also combined. Absolute score comparisons across those conditions cannot isolate the effect of adding domains.
Reproducibility and uncertainty
The paper gives the architecture name, software environment, hardware, corpus sizes, and merge settings. It does not provide enough detail in the article to reconstruct every training decision, checkpoint selection, or use of development data.
The score tables do not report repeated-run distributions or statistical confidence intervals. Their rankings describe the reported outcomes. How reliably every ordering would recur under another training run remains unknown.
The range statistic δ does not fill this gap. It measures spread across configurations, not the uncertainty surrounding an individual configuration. A wide range can coexist with either stable or unstable training outcomes; the table does not determine which applies.
The hardware timing statement is also limited. Its reference to inference at training-step intervals does not supply a complete benchmark protocol. Readers cannot derive per-sentence latency, total search cost, or throughput by merge setting from it.
Data and linguistic evidence
The sources of the corpora are identified, but the paper does not present a detailed split-by-split audit of alignment errors, duplication, or translation consistency. This absence is not evidence that the collections contain a particular defect. It limits what can be concluded about the role of data quality.
The sentence-length analysis is descriptive. The conversational collection has shorter examples and a different winning budget, yet the study does not control other properties while varying length. Attributing its optimum to short sentences would go beyond the evidence.
The linguistic examples are useful illustrations, but they are not a representative error survey. No formal annotation protocol or agreement measurement is reported for the judgments. Their explanatory role should remain local.
Reference variation creates an additional difficulty. The authors themselves discuss alternative expressions that can convey similar content. A sentence differing from the recorded reference may still be acceptable, while a reference-like sentence may contain an important participant or aspect error.
The suggestion that finer pieces improve rare-word and morphological handling is plausible within the paper’s motivation. Determining how much each of the two mechanisms contributes to the measured improvement would require dedicated evaluations.
Claims that need qualification
Several broad statements in the discussion are stronger than the complete table supports. The conversational winner is .5k, which complicates the repeated focus on 2k, 5k, and 8k. Unsegmented translation is not below every segmented alternative. The Wikipedia range stated in prose omits its weakest listed setting.
These discrepancies do not erase the lower-budget pattern. They change the appropriate conclusion from a general rule about all small segmentations to a recommendation to search the lower range and verify the result for the intended collection.
The paper also connects coarser units with information loss. That wording should be understood as an interpretation of translation quality, not evidence that the input text itself becomes unrecoverable. The measured problem is poorer translation under some representations; the experiment does not formally analyze information preservation.
Finally, deployment size and execution speed are different observations. The artifact table supports conclusions about storage and distribution. Without direct latency and memory benchmarks, it cannot certify the suitability of a configuration for a particular real-time application.
What came after
No later citing study is identified in the available research record for this account. A documented history of replication, extension, or adoption therefore cannot be given, and the earlier works discussed above should not be presented as successors.
The authors’ own future plans are more specific. They propose testing the reverse translation direction, adding Philippine languages, expanding linguistic evaluation, and examining alternative architectures. They also want to investigate intermediate BPE units and the order in which merges occur.
Those proposals address the main gap between the paper’s practical finding and a fuller explanation. The experiments identify settings that work well under declared conditions. Establishing why they work, how reliably their rankings recur, and whether a cheaper procedure can select them remains open.
Cite
Cite as Kristine Mae M. Adlaon and Nelson Marcos. 2024. Finding the Optimal Byte-Pair Encoding Merge Operations for Neural Machine Translation in a Low-Resource Setting. Findings of the Association for Computational Linguistics: EMNLP 2024.
@inproceedings{adlaon2024finding,
title = {{Finding the Optimal Byte-Pair Encoding Merge Operations for Neural Machine Translation in a Low-Resource Setting}},
author = {Kristine Mae M. Adlaon and Nelson Marcos},
booktitle = {Findings of the Association for Computational Linguistics: EMNLP 2024},
year = {2024},
doi = {10.18653/v1/2024.findings-emnlp.860},
url = {https://doi.org/10.18653/v1/2024.findings-emnlp.860}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/adlaon-2024-finding-optimal-byte-pair-encoding/