---
title: "Finding the Optimal Byte-Pair Encoding Merge Operations for"
description: "How BPE merge counts affect Filipino-to-Cebuano translation, with domain-specific results, vocabulary costs, and linguistic error analysis."
canonical: "https://research.elamur.ai/free/en/papers/adlaon-2024-finding-optimal-byte-pair-encoding/"
---
Elamur: [Mova](https://md.mova.elamur.ai/free/en/) · [Parse](https://mova.elamur.ai/free/en/parse/) · [Dictionary](https://md.dictionary.elamur.ai/free/en/) · [Translate](https://md.translate.elamur.ai/free/en/) · **Research** · [Gali](https://md.gali.elamur.ai/free/en/) · [MCP](https://mcp.elamur.ai/) · [Locations](https://md.locations.elamur.ai/free/en/) · [Weather](https://md.weather.elamur.ai/free/en/)

[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/adlaon-2024-finding-optimal-byte-pair-encoding/)

[home](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2024](https://md.research.elamur.ai/free/en/papers/2024/) / Finding the Optimal Byte-Pair Encoding Merge Operations for Neural Machine Translation in a Low-Resource Setting

# 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

**Authors:** [Kristine Mae M. Adlaon](https://md.research.elamur.ai/free/en/authors/kristine-mae-m-adlaon/) and [Nelson Marcos](https://md.research.elamur.ai/free/en/authors/nelson-marcos/) · **Year:** 2024 · **Venue:** Findings of the Association for Computational Linguistics: EMNLP 2024 · **Licence:** [CC BY 4.0 (ACL Anthology)](https://creativecommons.org/licenses/by/4.0/)

Findings of the Association for Computational Linguistics: EMNLP 2024 · [licence](https://creativecommons.org/licenses/by/4.0/)

- [Publisher's page](https://aclanthology.org/2024.findings-emnlp.860/)
- [PDF](https://aclanthology.org/2024.findings-emnlp.860.pdf)
- [DOI 10.18653/v1/2024.findings-emnlp.860](https://doi.org/10.18653/v1/2024.findings-emnlp.860)

## What it is about

How BPE merge counts affect Filipino-to-Cebuano translation, with domain-specific results, vocabulary costs, and linguistic error analysis. · about 34 minutes to read

**In this deep dive**

1. [Summary](#dd-summary)
2. [Ideas worth borrowing](#dd-ideas-worth-borrowing)
3. [How Mova uses it](#dd-how-mova-uses-it)
4. [The problem and its context](#dd-the-problem-and-its-context)
5. [The method, step by step](#dd-the-method-step-by-step)
6. [Experiments and results](#dd-experiments-and-results)
7. [What the ablations show](#dd-what-the-ablations-show)
8. [Limitations](#dd-limitations)
9. [What came after](#dd-what-came-after)

### Summary

A translation system must decide what counts as a unit of language before it can learn how to translate. Keeping every word intact produces a large vocabulary, including many words that appear too rarely to learn well. Breaking words into smaller pieces lets the system reuse familiar material, but changes the sequences it must process and reconstruct. Kristine Mae M. Adlaon and Nelson Marcos investigate this choice for Filipino-to-Cebuano [machine translation](https://md.research.elamur.ai/free/en/topics/machine-translation/), asking how the number of Byte-Pair Encoding, or BPE, merge operations affects translation quality across different kinds of text. Their contribution is an empirical comparison of segmentation settings, instead of a new segmentation algorithm.

The experiments cover religious writing, news, conversational material, and encyclopedic text. The authors also evaluate a combined collection. They learn separate source-language and target-language segmentations with subword-nmt, vary the merge budget, and train translation systems using the same TransformerBase architecture in OpenNMT-tf. Translation quality is assessed with the [BLEU score](https://md.research.elamur.ai/free/en/concepts/bleu/), alongside vocabulary statistics, parameter counts, deployable file sizes, and close readings of translated sentences. This makes the paper about both linguistic representation and practical resource use: changing segmentation changes the vocabulary that the translation system must accommodate.

The strongest general pattern favors relatively small merge budgets, but the detailed results require a more specific conclusion than “smaller is always better.” The Bible and news collections achieve their highest reported BLEU at 2k merges, with scores of 23.99 and 27.73 respectively. The combined collection also peaks at 2k, reaching 39.56. Wikipedia instead performs best at 5k, with 36.24, while the conversational Open Domain collection reaches its highest score, 42.82, at .5k. These differences matter because the paper’s broad emphasis on 2k, 5k, and 8k configurations does not capture every domain’s winner. The most defensible finding is that merge count deserves explicit tuning, with smaller configurations providing strong candidates in this particular setting.

Smaller vocabularies also produce smaller deployable systems. For the combined collection, the reported file size is 175 megabytes at .5k and 465 megabytes without BPE. Parameter counts change alongside vocabulary size, so the experiments do not isolate segmentation granularity from every other consequence of the representation. The linguistic examples add another qualification: a configuration with strong aggregate BLEU can still mistranslate a verb, select an unsuitable pronoun, or replace the intended object with unrelated content. Conversely, a configuration with a weaker overall score can produce a useful local expression. The paper therefore supports a practical evaluation strategy: compare merge settings by domain, record their resource requirements, and inspect what their outputs actually preserve.

### Ideas worth borrowing

Treat representation choices as experimental variables. A preprocessing decision can alter the learning problem as substantially as a change inside the translation architecture. The paper makes merge count a visible variable instead of accepting an inherited default. This approach transfers to [tokenization](https://md.research.elamur.ai/free/en/concepts/tokenization/), feature extraction, dictionary organization, and other systems where an apparently minor representation choice determines which distinctions remain available downstream.

Evaluate within domains. An overall winner need not be the strongest setting for conversation, religious writing, or encyclopedic material. Separate results expose differences that an aggregate score can hide. The same principle applies to document retrieval, parsing, and classification: evaluate the kinds of input that users actually bring, especially when their vocabulary and sentence structure differ.

Measure quality and resource cost together. The paper records vocabulary size, parameter count, and deployable size alongside BLEU. These measurements make the consequences of a configuration easier to assess than a quality score alone would. Similar reporting helps when selecting a parser, index, or language component for a constrained environment, where storage and memory requirements affect whether a promising method can be used.

Keep automatic scores close to concrete examples. Aggregate evaluation establishes a broad ranking, while sentence inspection reveals whether a system preserves the action, participants, grammatical distinctions, and intended object. Neither view replaces the other. This combination is useful whenever errors have different practical consequences in spite of contributing to the same headline metric.

Inspect languages separately before sharing a representation. The authors learn Filipino and Cebuano vocabularies independently to examine each language’s segmentation. This is an analytical choice, not evidence that separate vocabularies outperform joint ones. More generally, keeping components distinct during an investigation can reveal behavior that a shared representation would make harder to attribute.

Describe the input distribution. The paper reports sentence lengths and counts of unusually long training examples instead of treating each corpus name as a sufficient description. Such information helps readers interpret domain differences and identify questions for further testing. The reusable lesson is to characterize the data that a system sees, while keeping descriptive associations separate from demonstrated causes.

### How Mova uses it

Mova is a small, transparent language system implemented in Rust. Its native language path builds dependency trees, interprets them as frames, and maintains a world from which supported questions can be answered. Its dictionary, morphology, storage, and evaluation mechanisms provide several places where this paper’s experimental habits could be useful. The connections below are proposals assessed against documented mechanisms. They do not establish that Mova has applied this paper or obtained a benefit from BPE.

Idea: Treat segmentation granularity as a measured choice. Where: Section 3.2, BPE Segmentation, and Section 4.1, BLEU scores by Domain. Area: tokenization/eval. Mova: частково є (the `en` tokenizer and parser provide an explicit language-processing path; a BPE merge-count comparison is not established). A controlled study could compare alternative input segmentations while keeping the evaluation questions fixed. The purpose would be to discover whether a representation helps a particular component, rather than assume that a translation result transfers to native understanding. Why Mova: representation changes can affect every later linguistic decision, so their consequences deserve direct measurement.

Idea: Report results separately for text domains. Where: Sections 3.1 and 4.2. Area: eval/data. Mova: частково є (`tools/dictindex` retains declared source domains, and Mova evaluates several task families). Mova could use those source distinctions to compare the same parsing or dictionary procedure across conversational, instructional, and encyclopedic material where suitable evidence exists. The paper supports this reporting pattern, although its particular domain rankings do not predict Mova’s rankings. Why Mova: a single aggregate result can conceal the kinds of text on which a transparent rule or reader remains unreliable.

Idea: Measure resource costs alongside task quality. Where: Table 3 and Section 4.3, Model Size. Area: efficiency/eval. Mova: частково є (`tools/twin` records predicted and measured costs; `pack` and dictionary-index measurements cover storage behavior). A representation experiment could retain its accuracy, memory use, stored size, and actual execution costs together. The paper measures deployable size but does not supply a general speed law. Why Mova: a small logical component is useful only if its operational costs remain compatible with the tasks and machines that must run it.

Idea: Connect aggregate evaluation to inspectable outputs. Where: Section 4.4 and Tables 6 and 7. Area: eval/interpretability. Mova: вже є (school traces, native answer reasons, and rule-audit evidence expose individual decisions). The paper reinforces the value of examining the content behind a score. For Mova, this could mean reading the tree, extracted frame, and answer justification for an error, instead of attributing the failure to tokenization immediately. Existing transparency is relevant here, but a paper-specific inspection procedure and its effects are unknown.

Idea: Examine each language before imposing shared segmentation. Where: Section 3.2. Area: multilingual data/tokenization. Mova: частково є (English and French have distinct repair mechanisms, while the current assessed understanding core is English). A comparative representation study could preserve language identity and report language-specific behavior before considering shared units. The authors’ separate vocabularies justify the analytical separation, not a universal preference for separate processing. Why Mova: language-specific evidence helps prevent an English rule or representation from being treated as a general linguistic fact.

Idea: Record sentence-length distributions. Where: Section 3.1 and Table 2. Area: data/eval. Mova: частково є (corpus preparation and bounded readers already retain structured source material; equivalent length-stratified reporting is not established). Mova could describe the lengths of evaluation inputs and compare performance across those strata. Such analysis would need to distinguish original words from any later sub-word pieces. Why Mova: a reader’s apparent improvement may reflect easier input lengths rather than stronger handling of the same linguistic problems.

Idea: Include an unsegmented comparison. Where: Tables 3, 4, and 5. Area: experimental controls. Mova: частково є (school controls and rule-disable comparisons exist, but this particular representation control is not established). If Mova tests a subword-based auxiliary component, keeping a corresponding whole-word condition would show whether segmentation contributes at all. This would be a new experiment within an existing control-oriented practice. Why Mova: a baseline tied to the actual representation change is more informative than comparing only several variants of the proposed mechanism.

Idea: Search beyond familiar default settings. Where: Section 3.2 and the discussion of Ding and colleagues in Related Work. Area: experimental design. Mova: частково є (`world selfplay` proposes and evaluates bounded changes to rules and settings). A parameter search could include substantially different representation granularities instead of minor variations around an inherited choice. The paper gives a reason to explore the variable, not a transferable winning value. Why Mova: bounded exploration can discover that a conventional setting is poorly matched to Mova’s data without requiring an completely new architecture.

Idea: Keep merge budgets distinct from realized vocabularies. Where: Table 3. Area: data/statistics. Mova: нове (as a specific BPE experiment proposal; implementation status is unknown). An experimental report should retain the requested merge count and the vocabulary actually produced for each language. These are related quantities, but the paper’s table shows that they are not interchangeable labels. Why Mova: explicit configuration and realized-artifact records support reproducibility and prevent a nominal setting from being mistaken for a complete description of a language resource.

Idea: Track representation-dependent parameter changes. Where: Table 3. Area: experimental interpretation. Mova: нове (as a specific control for a neural auxiliary experiment; implementation status is unknown). If Mova compares a trainable component under alternative vocabularies, it should record which parts of the parameterization change. This would help distinguish a segmentation effect from the accompanying change in capacity. Why Mova: the project’s preference for explicit mechanisms benefits from knowing what an experiment actually changes, especially when neural components are evaluated alongside the native logical path.

Idea: Preserve segmented and reconstructed outputs together. Where: Tables 6 and 7. Area: data/diagnosis. Mova: частково є (dictionary occurrence records retain exact sentence text and token evidence; a BPE reconstruction record is not established). A segmentation experiment could store the pieces and their final reconstruction as separate observations. This would make it possible to distinguish a failure to form a word from a fluent-looking but semantically wrong choice. Why Mova: keeping intermediate evidence supports diagnosis without allowing a successful reconstruction to stand in for correct understanding.

Idea: Evaluate affixation explicitly. Where: Section 4.4. Area: morphology/eval. Mova: частково є (`en::morph` and `tools/forms` implement and measure inflectional rules). Mova could build targeted checks for whether a proposed representation preserves affixes needed by its morphological analysis. The paper’s Filipino and Cebuano examples motivate the question but do not validate any English or French rule. Why Mova: morphological distinctions can disappear inside an aggregate result, even when they determine tense, number, or the relation between a form and its lemma.

Idea: Separate word formation from contextual correctness. Where: Section 4.4 and Table 6. Area: morphology/semantics. Mova: частково є (morphological processing, pragmatic frames, and story-world interpretation are distinct stages). A correctly generated form should be checked against its role and meaning in the sentence. The paper’s discussion of alternative speaking verbs shows why a plausible word need not preserve the intended expression. Why Mova: this distinction helps assign failures to the responsible stage rather than treating every well-formed output as a correct interpretation.

Idea: Check grammatical participants as well as verbs. Where: Section 4.4 and Table 7. Area: syntax/semantic roles. Mova: вже є (`prag` frames identify agents, patients, recipients, and other roles; `world` uses those structures). The long-sentence discussion illustrates the importance of pronouns and recipient expressions even when the main verbs look suitable. A Mova application would use its existing roles to test who acted and who received what. Whether this paper has informed such checks is unknown.

Idea: Detect unrelated content substitutions. Where: Section 4.4 and Table 7. Area: semantic evaluation. Mova: частково є (frames and worlds represent events and participants; configured workers retain failures rather than invent supported actions). Mova could compare the principal objects and actions in a source interpretation with those retained after a transformation. The paper’s replacement of modules with unrelated content motivates a focused diagnostic. Why Mova: an output can remain readable while changing the task or event, which is especially consequential when language interpretation leads to execution.

Idea: Allow acceptable lexical alternatives during review. Where: Section 4.4 and Table 6. Area: lexical semantics/eval. Mova: частково є (`onto`, sense selection, and dictionary evidence distinguish lexical information from narrative state). A reviewer could distinguish a different but appropriate expression from a genuine meaning error. This should remain evidence-based instead of treating all synonyms as interchangeable. Why Mova: a single reference wording can obscure successful interpretation, while indiscriminate equivalence can hide errors in sense, aspect, or participant structure.

Idea: Evaluate short and long inputs separately. Where: Section 3.1 and Tables 6 and 7. Area: eval. Mova: нове (as a paper-specific diagnostic proposal; equivalent systematic coverage is unknown). Mova could create matched evaluations that examine whether longer inputs cause omitted roles, lost clauses, or incorrect state updates. The paper supplies illustrative short and long translations, instead of a complete length-controlled experiment. Why Mova: a reader that succeeds on isolated facts may still fail when several events and references must remain connected.

Idea: Test translation directions independently. Where: Limitations and Future Work. Area: multilingual eval. Mova: нове (as a proposed requirement for experiments involving the separate experimental translation tools). Any evaluated language direction should have its own evidence rather than inherit confidence from the reverse direction. The authors explicitly leave Cebuano-to-Filipino evaluation for future investigation. Why Mova: asymmetry in available data, lexical ambiguity, and output requirements makes direction a condition to record, not an assumption to suppress.

Idea: Compare automatic metrics with linguistic judgments. Where: Sections 4.1 and 4.4, and Limitations and Future Work. Area: eval. Mova: частково є (native reasons, course traces, and reviewed annotations provide inspectable evidence beyond an aggregate result). A study could ask whether its automatic score agrees with judgments about preserved actions, grammatical distinctions, and factual content. The paper recommends broader evaluation but does not establish a replacement metric. Why Mova: a score should support a claim about a capability, and disagreement can expose what the score leaves unmeasured.

Idea: Use observed segmentation patterns as hypotheses about morphology. Where: Related Work, discussion of Gutierrez-Vasques and colleagues. Area: morphology/data analysis. Mova: частково є (`tools/dictindex` proposes explained statistical selectors for review rather than admitting meanings automatically). Recurrent pieces could become candidates for investigating productive forms, with dictionary and corpus evidence used to check them. Why Mova: statistical regularities can direct attention towards useful linguistic structure while preserving the boundary between a frequent pattern and an accepted rule.

Idea: Keep vocabulary trimming separate from segmentation selection. Where: Related Work, discussion of Cognetta and colleagues. Area: data/experimental design. Mova: нове (as a specific auxiliary-tokenizer comparison; implementation status is unknown). If a vocabulary is reduced after segmentation, Mova should evaluate that operation independently rather than assume it improves the original configuration. The cited study is described as finding inconsistent benefits from trimming. Why Mova: separate admission and evaluation decisions make it easier to identify which transformation helped or harmed a result.

Idea: Evaluate randomized alternatives without assuming they are better. Where: Related Work, discussion of Saleva and Lignos. Area: statistics/experimental design. Mova: частково є (fixed seeds, repeated checks, and logged experiments are established principles). Randomized segmentation variants could be studied in a bounded auxiliary experiment with reproducible settings. They would not replace deterministic native inference merely because they introduce diversity. Why Mova: a plausible alternative deserves a fair test, while variation itself is not evidence of improved reliability.

Idea: Investigate merge order and intermediate pieces. Where: Limitations and Future Work. Area: tokenization/analysis. Mova: нове (proposal only; implementation status is unknown). A future study could retain the sequence by which a vocabulary was formed and inspect whether intermediate units correspond to useful forms. This is a question the authors propose, instead of a result they demonstrate. Why Mova: explicit derivation histories fit the project’s interest in explaining how an artifact arose and which step introduced an undesirable distinction.

Idea: Preserve corpus identity throughout representation experiments. Where: Section 3.1 and the domain-specific reporting in Section 4.2. Area: data/provenance. Mova: вже є (`tools/sources` records source evidence, and `tools/dictindex` binds records to source versions and credits). Comparing configurations should not erase where the evaluated language came from. The paper’s domain separation makes this principle practically useful, although it is not an independent source-licensing audit. Mova’s existing provenance mechanisms can support such reporting without turning corpus statements into facts about a story.

Idea: Treat domain-sensitive selection as a constrained hypothesis. Where: Section 4.2 and Conclusions. Area: routing/eval. Mova: частково є (`layers` provides explicit domain coverage and routing decisions; automatic general selection remains direction). A future auxiliary component might select among validated representations for known domains, with a declared fallback when the domain is uncertain. The paper does not implement such a selector. Why Mova: observed domain differences motivate explicit routing experiments, while Mova’s failure boundaries can prevent an uncertain classification from silently choosing an unsupported procedure.

### The problem and its context

The paper begins with a familiar obstacle for [low-resource languages](https://md.research.elamur.ai/free/en/topics/low-resource-languages/): a translation system needs parallel examples, but suitable paired text may be scarce. A parallel example contains an expression in one language and its translation in another. Such examples provide the relationship that the learner is supposed to recover. When the collection is small, many words and constructions receive limited exposure, and a vocabulary organized around complete words can leave substantial material poorly represented.

The introduction describes several responses to this problem. Researchers can look for additional monolingual text, noisy comparable documents, or parallel resources involving related languages. They can also add linguistic information, such as lemmas, part-of-speech tags, and dependency relations. Those annotations can help represent tokens and sentences, but the authors point out that linguistic resources may themselves be difficult to obtain. A technique that requires a well-developed analysis pipeline can therefore encounter the same resource shortage as the translation task.

[Subword tokenization](https://md.research.elamur.ai/free/en/concepts/subword-tokenization/) approaches the vocabulary problem from another direction. Instead of requiring an independent learned representation for every complete word, it makes words expressible through reusable pieces. The paper presents this as a way to handle uncommon and previously unseen words, especially where word formation produces many related forms. The units are learned from the training material rather than supplied as a complete inventory by a linguist.

That distinction is central to the paper’s linguistic interpretation. Sub-word pieces are not guaranteed to be morphemes. A morpheme is a meaningful component of a word; a segmentation procedure can instead produce a fragment because it is useful in recurring strings. The authors nevertheless argue that such fragments can support the formation of words beyond those encountered during training. Their question concerns the appropriate granularity for this reuse, rather than whether every boundary matches a morphological analysis.

The related-work discussion situates the study among several segmentation approaches. It names the unigram approach associated with [SentencePiece](https://md.research.elamur.ai/free/en/papers/kudo-2018-sentencepiece-simple-language-independent-subword/), WordPiece, and BPE. It also cites the sub-word translation approach of [Sennrich and colleagues](https://md.research.elamur.ai/free/en/papers/sennrich-2016-neural-machine-translation-rare-words/) as an important foundation. The experimental contribution stays with BPE: the authors vary its merge setting instead of conducting a competition among these algorithms.

Their immediate motivation comes from Ding and colleagues’ investigation of merge operations. As the paper describes that earlier work, the appropriate setting depends on architecture and other vocabulary decisions. LSTM systems required broad experimentation, whereas Transformer systems tended to benefit from smaller settings. The cited warning is practical: an unsuitable segmentation configuration could reduce performance by 3–4 BLEU points. This gives the current authors a reason to test the variable rather than borrow a value from a different language pair.

Other cited work complicates any simple account of what makes a BPE vocabulary useful. Cognetta and colleagues examine removing rare sub-words after vocabulary construction. The current paper reports that this trimming does not reliably improve translation across their settings. Saleva and Lignos investigate randomized ways of choosing merges and find that departures from the usual procedure can behave more similarly to standard BPE than expected. These studies suggest that familiar implementation recommendations deserve evidence, instead of being treated as consequences of the algorithm’s name.

The discussion of [Languages Through the Looking Glass of BPE Compression](https://md.research.elamur.ai/free/en/papers/vasques-2023-languages-through-looking-glass-bpe/) adds a linguistic perspective. That work examines 47 languages and three parallel collections. According to the current paper’s account, productive sub-words are prominent early in the merge process for languages with richer inflection, while more idiosyncratic pieces matter for less inflectional languages. The relevance is not that the present experiments establish such a typology. It is that learned segmentation can reflect recurrent language structure even when it is not explicitly constrained by [morphology](https://md.research.elamur.ai/free/en/concepts/morphology/).

Filipino-to-Cebuano translation provides the concrete setting in which these issues are tested. The authors describe distinctions involving affixation, reduplication, and verbal focus or aspect. Their detailed output inspection concentrates on affixation. A vocabulary that retains useful recurring material might support these distinctions; a vocabulary that keeps too many infrequent forms intact might not. At the same time, the most fragmented vocabulary could create different difficulties in learning how the pieces compose.

The word “optimal” in the title therefore needs a bounded reading. The paper searches among selected merge budgets for a particular translation direction, architecture, and set of corpora. It does not derive a generally optimal merge count from linguistic properties, nor does it establish a setting that should be reused for every low-resource language. Its broader value lies in showing how strongly the answer can depend on the data and how much can be learned by recording more than the final translation score.

### The method, step by step

The experiment follows a direct comparative design. Prepare parallel text, learn a BPE segmentation under a chosen merge budget, train a translation system on that representation, and evaluate its output. Repeat the process for the other budgets and domain conditions. The procedure is conceptually simple, which makes the interpretation of the comparisons especially important: the representation changes, and several properties of the resulting system change with it.

Comparing BPE merge settings for translation The steps in order.

#### Preparing the parallel collections

The data come from four kinds of writing. Bible material and Wikipedia text are drawn from the authors’ earlier resource-building work. News sentences were collected from Philippine news platforms covering November to December 2022. Conversational examples come from Tatoeba, which the paper identifies as a CC-BY resource. The authors also identify a curated corpus release associated with the study.

Each domain has training, development, and test portions. Training material supplies examples from which the translation system learns. Development material is available for decisions made while building or selecting a system. Test material provides a separate evaluation collection. Though the paper supplies these divisions, it does not give a detailed account of every selection decision made between training and final reporting.

The Bible condition contains 25.0k training pairs, with 3.1k in development and 3.1k in testing. News contains 21.6k training pairs and 2.7k in each of the other portions. Open Domain has 17.6k training pairs, followed by 2.2k for development and 2.2k for testing. Wikipedia has 20.8k training pairs, with 2.6k development pairs and 2.6k test pairs.

The combined condition is reported with 85.0k training pairs, 10.6k development pairs, and 10.6k test pairs. It provides an additional setting in which examples from the domains are considered together. Its results should be read as those of a distinct training condition, rather than assumed to reproduce the behavior of any individual domain.

#### Characterizing sentence lengths

Before discussing segmentation, the authors describe the original sentence-length distribution. Their notation uses α for average words per sentence and β for the count of sentences exceeding 50 words. Source and target are reported separately. These statistics describe the material presented to the preprocessing pipeline; they are not measurements of the eventual sub-word sequence lengths.

Bible training sentences average 26 words on the source side and 28 on the target side. Their corresponding long-sentence counts are 1104 and 1507. News averages are 20 and 21, with 213 and 325 examples exceeding the threshold. Wikipedia averages 25 on both sides, with long-sentence counts of 986 and 1020.

Open Domain is markedly different: both sides average 6 words, and both long-sentence counts are 0. The authors also state that sentences above 50 words account for less than 4% across the domains. These observations motivate attention to length, but the experiment does not subsequently isolate length while holding all other domain properties constant.

#### Learning the segmentations

The datasets are word-tokenized before BPE is applied. The authors use subword-nmt to learn sub-word representations. A merge budget controls how far the procedure proceeds in joining recurring pieces: fewer merges generally retain a finer representation, while more merges permit larger units and a more extensive vocabulary.

The tested budgets are .5k, 2k, 5k, and 8k, followed by 10k, 15k, 20k, and 32k. An additional condition uses no BPE. This range is broad enough to compare strongly fragmented representations, intermediate choices, and a whole-word baseline. The paper adapts its settings from earlier experimental work rather than deriving them from a formula fitted to these corpora.

Filipino and Cebuano receive separate learned vocabularies. A joint vocabulary would pool their segmentation learning, but the authors choose independent processing to make language-specific behavior easier to examine. There is no joint-versus-separate comparison in the results, so this decision belongs to the experimental setup instead of the list of established improvements.

The merge budget is not the same quantity as the vocabulary finally obtained. Table 3 therefore reports source and target vocabulary sizes for each condition. A setting can produce different vocabulary counts across domains, and source and target counts need not match. Reading the budget as a compact configuration label is useful; treating it as an exact description of the resulting vocabulary is not.

#### Training the translation architecture

The translation component is TransformerBase as implemented in OpenNMT-tf. The paper connects this setup to the architecture introduced in [Attention Is All You Need](https://md.research.elamur.ai/free/en/papers/vaswani-2017-attention-all-need/) and to the [OpenNMT toolkit](https://md.research.elamur.ai/free/en/papers/klein-2017-opennmt-open-source-toolkit-neural/). It describes six encoder layers and six decoder layers, with attention and position-wise feed-forward processing.

For a newcomer, the encoder processes the source representation, while the decoder produces a target-language sequence. Attention allows the architecture to use relationships among positions when forming those representations and predictions. The paper relies on this established architecture to study segmentation; it does not introduce a new attention mechanism or compare a family of encoder-decoder designs.

Keeping the architecture label fixed does not keep the total parameter count fixed. The vocabulary-dependent parts become larger when the system accommodates more units. Table 3 records this change explicitly. Consequently, the experiment asks how complete configurations perform under different segmentation settings, instead of isolating the effect of boundaries under an exactly matched parameter budget.

The hardware description names a Dell Precision 7770, an Intel Core i9-12950HX operating at 2.30 GHz, 64.0 GB of RAM, and an NVIDIA RTX A4500 Laptop GPU. The paper reports roughly three hours in connection with producing inference at intervals of 5000 steps. This gives some sense of the experimental environment, but it is not a complete latency or throughput comparison across merge settings.

#### Evaluating the outputs

The primary automatic measure is BLEU, linked by the authors to [Papineni and colleagues’ evaluation method](https://md.research.elamur.ai/free/en/papers/papineni-2002-bleu-method-automatic-evaluation-machine/). BLEU evaluates correspondence between generated translations and reference translations. Here it supplies the common metric used to rank configurations within each domain.

The paper defines δ as the span between the strongest and weakest BLEU result in a domain:

```
δ = highest BLEU score − lowest BLEU score
```

Here δ denotes the reported range across configurations. The highest and lowest scores refer to the best and worst entries within the relevant domain’s comparison. This is a descriptive range, not a standard deviation, confidence interval, or significance test. It indicates sensitivity to the tested settings without describing uncertainty around any individual run.

Beyond automatic scoring, the authors report deployable file sizes and inspect translations. The examples retain both segmented output and its reconstructed sentence, making it possible to see which pieces form a word. The linguistic discussion then asks whether those words preserve the intended lexical choice, grammatical features, and sentence relations. No new training objective or mathematical optimization rule is introduced; the evidence comes from the controlled configuration sweep and these accompanying analyses.

### Experiments and results

The results are most informative when read at the level of individual domains. The authors’ overall conclusion favors smaller merge budgets, but the tables reveal both different winners and departures from a smooth trend. A reader should therefore distinguish the broad direction of the evidence from a claim that every additional merge makes every corpus worse.

#### The combined collection

The combined condition offers the clearest overview of the practical comparison. Its highest BLEU belongs to 2k, with 5k also performing strongly. Larger settings then show a generally declining pattern. The .5k result is substantially less successful than the best intermediate setting, demonstrating that the result is not a simple instruction to minimize the merge budget.

Combined-domain Filipino-to-Cebuano translation, BLEU A relatively small intermediate budget performs best in the combined condition.

**The numbers**

| System or setting | BLEU |
| --- | --- |
| .5k merges | 30.98 |
| 2k merges (this paper) | 39.56 |
| 5k merges | 38.06 |
| 8k merges | 35.40 |
| 10k merges | 34.29 |
| 15k merges | 32.11 |
| 20k merges | 30.34 |
| 32k merges | 28.76 |
| No BPE | 27.25 |

The combined result supports a specific tradeoff. The finest tested representation is not the most effective, but a relatively compact sub-word vocabulary outperforms the coarser alternatives. This is consistent with the authors’ interpretation that useful reuse of smaller pieces matters in a limited-data setting. It does not independently establish whether rare-word handling, affixation, parameter count, or another representation-dependent effect is the principal cause.

The reported δ for the combined condition is 12.31. That figure summarizes the spread across the tested configurations. It should not be interpreted as the expected improvement from using BPE in a new corpus, because the comparison includes several segmentation budgets and the whole-word baseline under this particular setup.

#### Religious writing and news

The Bible results favor 2k, which achieves 23.99 BLEU. The .5k condition produces 22.33, and 5k produces 21.38. Beyond those settings, the table shows lower results, including 17.56 at 32k. The whole-word condition reaches 17.84, so it is weaker than the best BPE condition but is not the lowest entry in that row.

This distinction corrects an overly broad reading of the paper’s prose. “No BPE is worse than the best segmentation” is supported for this domain. “No BPE is worse than every segmentation” is not. The latter would obscure the fact that a poorly chosen sub-word setting can also be weak.

News exhibits a stronger-looking progression across the coarser settings. Its best score is 27.73 at 2k, followed by 27.07 at 5k and 24.05 at 8k. The reported values then decrease through larger merge budgets, reaching 16.71 at 32k. Without BPE, the result is 15.24. The .5k configuration scores 22.91, again showing that the smallest tested budget does not win.

For news, the table reports δ as 12.49. For Bible, it is 6.43. The paper uses these domain-specific spreads to emphasize that sensitivity to segmentation differs between collections. The ranges do not identify which corpus property causes the sensitivity, but they show why selecting a configuration solely from another domain’s experience would be risky.

#### Conversation behaves differently

Open Domain is the strongest exception to a narrow recommendation centered on 2k and 5k. Its winner is the .5k condition. Because its training sentences are much shorter on average than those in the other domains, the authors’ data description makes sentence length a plausible subject for further analysis. The experiments do not, however, demonstrate that length explains the result.

Conversational Open Domain Filipino-to-Cebuano translation, BLEU The finest tested segmentation leads, while the whole-word baseline exceeds several coarser settings.

**The numbers**

| System or setting | BLEU |
| --- | --- |
| .5k merges (this paper) | 42.82 |
| 2k merges | 37.63 |
| 5k merges | 33.93 |
| 8k merges | 31.49 |
| 10k merges | 30.70 |
| 15k merges | 27.56 |
| 20k merges | 27.57 |
| 32k merges | 27.39 |
| No BPE | 33.52 |

The whole-word result is especially instructive. It does not challenge the domain’s best BPE configuration, but it performs better than several of the larger-budget alternatives. This makes Open Domain another reason to avoid treating the comparison as a binary distinction between segmentation and no segmentation. The particular segmentation matters.

The reported δ is 15.43, which the paper uses as evidence of substantial variation across settings. The result also cautions against assuming that a short conversational corpus is an easy condition whose preprocessing can be chosen casually. Its ranking is sensitive to the representation in spite of its shorter average sentences.

#### Encyclopedic text has another optimum

Wikipedia favors 5k rather than 2k or .5k. Its higher-performing configurations include several intermediate budgets, and its pattern differs sharply at the finest setting. The result reinforces the paper’s argument for domain-sensitive selection while qualifying its strongest general language about small budgets.

Wikipedia Filipino-to-Cebuano translation, BLEU An intermediate small budget wins, and the finest setting performs poorly in this domain.

**The numbers**

| System or setting | BLEU |
| --- | --- |
| .5k merges | 22.73 |
| 2k merges | 32.84 |
| 5k merges (this paper) | 36.24 |
| 8k merges | 35.1 |
| 10k merges | 34.64 |
| 15k merges | 33.7 |
| 20k merges | 32.59 |
| 32k merges | 31.34 |
| No BPE | 32.74 |

There is a reporting discrepancy worth preserving rather than silently smoothing away. The prose gives Wikipedia’s range as 31.34 to 36.24, but Table 4 includes the lower .5k result. Its reported δ is 13.51, which reflects a broader spread than that prose description suggests. The table therefore provides the more complete account of the tested settings.

Some larger Wikipedia configurations remain comparatively competitive, which the authors connect to domain-specific vocabulary and structure. That is a reasonable interpretation to investigate, but the study does not measure terminology classes or syntactic constructions in a way that attributes the ranking to them. Domain identity describes the condition; it does not on its own explain the mechanism.

#### Vocabulary, parameters, and deployable size

The vocabulary statistics show the material consequences of changing merge count. In the Bible condition, the prose reports source counts from 605 at .5k to 42,328 without BPE, and target counts from 622 to 45,925. These are not merely alternative spellings of the same experiment. They represent substantially different inventories that the translation component must learn to use.

For the combined collection, Table 3 reports 45.2M parameters at .5k and 120.9M without BPE. The 2k configuration has 47.5M, while 5k has 52.1M. The pattern helps explain why the paper treats vocabulary granularity as a deployment issue as well as a translation-quality issue. However, parameter count is a structural measurement, not a direct measurement of runtime.

Deployable sizes follow the same broad direction. In the combined condition, the reported file sizes include 184 megabytes at 2k, 202 at 5k, 219 at 8k, and 231 at 10k. The 32k condition reaches 358 megabytes. These figures describe the packaged artifacts measured by the authors; they do not specify the complete memory footprint of an application during translation.

Open Domain also shows why realized vocabulary size deserves its own record. Its larger-budget conditions do not expand in the same way as those of the other domains. Table 3 reports 65.1M parameters at both 20k and 32k, and Table 5 reports 252 megabytes for both corresponding deployable artifacts. A nominal merge budget can therefore cease to describe additional growth in the way a reader might expect.

The strongest practical result is that a high-scoring setting can also have a relatively small artifact in this experiment. There is no general quality-versus-size conflict that forces the authors to choose the largest system for the best BLEU. Yet the paper does not supply direct evidence that the smaller artifacts translate faster in deployment. That remains a plausible operational benefit requiring measurement.

### What the ablations show

The paper’s principal controlled comparison is the merge-count sweep, supplemented by a whole-word condition; it does not provide a broader set of ablations that independently remove or replace architectural components.

This distinction matters because “ablation” can imply a more precise causal decomposition than the experiments support. The authors vary the segmentation setting while retaining the TransformerBase family, but vocabulary sizes and total parameters move with it. The comparison establishes which complete settings perform well. It does not isolate a single internal reason for their success.

#### Finer segmentation helps, but not without qualification

The strongest commonality across the domain winners is that they occupy the smaller end of the tested range. That supports trying compact sub-word vocabularies before assuming a larger vocabulary will be more expressive or effective. The comparisons also show that the optimum can sit above the finest representation, as in the combined collection and Wikipedia.

The whole-word baseline supplies a useful control because it shows that the benefit depends on how segmentation is configured. In Open Domain and Wikipedia, some BPE settings fall below the whole-word result. The evidence therefore supports tuned segmentation rather than a blanket claim that introducing any sub-word decomposition improves translation.

The domain comparison is another form of analysis, although it is not a matched intervention on a single property. Domains differ in size, length, vocabulary, and content. Their changing winners establish that a setting does not transfer perfectly across these collections, but they cannot identify which of those differences is responsible.

#### The short sentence exposes several error types

The short example concerns Tom being shy and speaking little. Its value is that the intended content includes a personal characteristic, a negated habitual expression, and lexical choices about speaking. These allow the authors to discuss more than whether the output resembles the reference sentence.

Without BPE, the output repeats the pronoun referring to Tom and fails to convey the full intended expression. The authors nevertheless recognize a suitable progressive speaking form. This is an important diagnostic distinction: an output can get a local grammatical feature right while failing to preserve the sentence’s overall content.

At the finest segmentation, the discussion identifies a successful expression of shyness but a speaking form interpreted as past rather than progressive. Other configurations choose different expressions for shyness or different speaking verbs. The 5k and 8k outputs are described favorably in their handling of morphology and context, while some other settings retain grammatical plausibility with less suitable wording.

These examples show why reconstruction is not enough. The pieces can combine into an ordinary-looking word while expressing an unsuitable temporal or lexical choice. Conversely, deviation from the reference’s exact word is not automatically an error: the authors discuss alternatives whose suitability depends on meaning and context.

#### The longer sentence exposes participant and content failures

The longer example describes teachers locating students’ residences and giving them modules. It contains linked actions and several participant relationships. A system must preserve not just the verbs but the connection between teachers, students, residences, and the objects being given.

The whole-word output uses verbs that the authors regard as suitable but introduces a pronoun problem. The finest BPE output changes the content more substantially, bringing in a group and an inappropriate interpretation related to studying. This demonstrates that aggressive fragmentation does not guarantee faithful treatment of a more complex sentence.

The 2k discussion recognizes improved verb handling while identifying a problem in how the recipient relation is expressed. Other settings also produce recipient or object difficulties. The 8k output replaces the intended modules with Friday, while the 15k output introduces an expression about interest. Those are semantic substitutions, not simply malformed words.

The authors’ favorable overall assessment of 5k and 8k as balancing granularity and morphology must therefore be read alongside the specific failures. The 8k long-sentence output provides a particularly clear counterexample to treating a generally promising setting as locally dependable. The examples are useful because they reveal failure categories; they are too limited to establish their frequency.

#### What remains unanalyzed

The paper does not report a systematic count of affix errors, pronoun errors, unrelated substitutions, or preserved participant structures across the test collection. It also does not divide BLEU by sentence length or measure rare-word accuracy directly. These would be natural follow-ups to the explanations offered in the discussion.

Likewise, there is no independent comparison of joint and separate vocabularies, nor a parameter-matched test of the different segmentations. Those omissions do not invalidate the configuration ranking. They define the boundary between showing that a setting works well and explaining exactly why it does.

### Limitations

The paper is useful as a focused experimental study, but its strongest conclusions need to stay attached to the conditions actually evaluated. Some limitations are acknowledged by the authors; others follow from the design and reporting.

#### Limitations the authors identify

The authors explicitly recognize domain dependence. Their results do not support a single merge count that is best for all the text types examined. They suggest further domain-specific optimization, which follows directly from the differing winners. A practical deployment would still need a policy for choosing a setting when its input domain is mixed or uncertain, and that policy is not developed here.

They also acknowledge the need for evaluation beyond BLEU. The future-work discussion calls for measures that better reflect meaning preservation and fluency. This is consistent with their own examples, where outputs differ in pronouns, lexical nuance, and unrelated substitutions. An aggregate reference-based score cannot by itself explain those distinctions.

Hardware availability is another stated concern. The study uses a capable workstation and GPU, which may be unavailable to other groups working on resource-poor languages. This is a separate meaning of “resource”: limited linguistic data does not necessarily imply inexpensive computation. The paper does not demonstrate a training procedure tailored to modest hardware.

The authors leave the reverse translation direction for future study. Filipino-to-Cebuano results do not establish Cebuano-to-Filipino quality. They also propose extending the work to other Philippine languages, diversifying the data, and investigating alternative architectures. Each would change the conditions under which the merge budget is selected.

Their linguistic analysis is also intentionally incomplete. Future work includes broader examination of syntax and morphology, as well as frequency, embeddings, untrained tokens, and alignment. They additionally propose studying intermediate tokens and the order of merges. These are open questions in the paper, rather than mechanisms that have already been connected to the reported gains.

#### Limits visible in the experimental design

A careful reader should first distinguish an empirical optimum from a universal one. The best value is selected from the budgets tested here. The study does not establish that an untested budget would be worse, nor that the same setting remains strongest under different training data or optimization choices. The title’s optimization language is therefore best understood as configuration search within a bounded experiment.

The segmentation comparison changes vocabulary size and parameter count together. This makes the results practically relevant, because those changes occur together in the implemented systems. It also prevents a clean causal attribution to finer boundaries alone. Better reuse of sub-words, different capacity, and other training consequences remain intertwined.

The table of corpus sizes is helpful but does not fully describe data quality. The article identifies the sources and domains, yet it does not provide a detailed audit of translation consistency, duplicate content, or alignment error for every split. That does not establish that such problems occurred. It means their possible influence cannot be evaluated from the reported evidence.

Sentence length is described rather than experimentally isolated. The Open Domain collection has shorter average sentences and a different preferred merge setting, but those facts do not show that length causes the difference. Its content and vocabulary also differ. An explanation based on length would require a comparison designed to separate those factors.

The combined condition introduces a similar interpretive issue. It contains material from multiple domains and more training pairs than the separate conditions. Any comparison between its score and a single-domain score therefore mixes several changes. Its strongest use in this paper is to compare merge settings within that condition, not to establish the independent value of combining domains.

#### Uncertainty and selection

The reported tables do not include repeated-run distributions, confidence intervals, or statistical significance tests. A visible numerical ranking is still evidence about the reported runs, but its stability is unknown. This is especially relevant when settings produce close results. The paper does not establish how often another training run would reproduce every ordering.

The role of the development split in final selection is not described in enough detail to reconstruct the complete selection procedure. The paper lists training, development, and test data, but gives limited information about checkpoint choice and other training decisions. A reader can understand the broad comparison without being able to reproduce every decision from the article alone.

There is also no validation of an automatic rule for choosing the merge count before evaluation. The study compares settings after training and scoring them. It does not predict the winning budget from corpus statistics, language properties, or a cheaper preliminary measurement. Its recommendation is to experiment carefully, rather than to apply a derived selection formula.

#### Linguistic interpretation needs additional evidence

The authors connect smaller vocabularies with better handling of uncommon words and morphological complexity. Those explanations are plausible and fit the motivation for sub-word translation. However, the study does not report dedicated rare-word or morphology-wide accuracy measurements that would establish either mechanism as the principal source of the BLEU differences.

The qualitative examples are informative but narrow. They show that tense-related forms, pronouns, recipients, and object choices can vary across configurations. They do not establish the prevalence of those errors throughout a domain. The article also does not describe a formal annotation protocol or agreement study for the linguistic judgments.

The reading of grammatical nuance sometimes depends on choosing among several plausible expressions. A reference translation supplies a comparison point, but not a complete inventory of acceptable outputs. The authors themselves recognize alternative lexical choices. A stronger linguistic evaluation would distinguish acceptable variation from genuine errors through an explicit procedure.

Likewise, the paper’s use of broad BLEU interpretation categories should be treated cautiously. It describes score ranges in terms of understandability and quality, drawing on Lavie. Those descriptions are part of the authors’ interpretation, instead of a direct human evaluation of every translation. A corpus-level score does not certify that each sentence is understandable or faithful.

#### Reporting inconsistencies and operational claims

Some broad prose statements are less precise than the tables. The Open Domain winner is .5k, in spite of the repeated emphasis on 2k, 5k, and 8k. The whole-word baseline is not uniformly below every BPE setting. Wikipedia’s prose range omits its weakest table entry. These discrepancies make the domain tables essential to an accurate account.

The vocabulary table also contains an apparently irregular target-vocabulary entry for the Open Domain 32k condition, written as 13.9 where neighboring entries use abbreviated thousands. That entry should not be silently converted into a new exact value. The surrounding parameter and size measurements still convey the general saturation pattern, but a precise reconstruction would require clarification.

Finally, artifact size is not equivalent to measured speed. The authors reasonably discuss the deployment difficulties of larger systems, yet the paper does not provide per-setting inference latency, throughput, or complete working-memory measurements. Its size results support storage and packaging comparisons. Claims about real-time behavior remain motivations and expectations rather than demonstrated outcomes.

### What came after

A subsequent-work history cannot be established from the evidence available for this account. No later citing studies are identified, so there is no basis for describing a confirmed extension, replication, or adoption of these results.

The paper itself leaves a clear research agenda. It proposes broader linguistic evaluation, tests in the reverse translation direction, additional Philippine languages, and comparisons involving alternative architectures. It also identifies intermediate sub-word units and merge order as subjects for closer investigation. These proposals would move beyond ranking configurations toward explaining which properties of a segmentation matter.

The immediate contribution remains narrower and useful: for the evaluated Filipino-to-Cebuano systems, merge count changes translation quality and deployment size enough to deserve deliberate measurement. The different domain winners, the competitive whole-word results in some comparisons, and the sentence-level failures all argue for selecting a representation through evidence tied to its intended use.

## 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.

The paper itself, not this page. BibTeX from the library's record of the work. [DOI 10.18653/v1/2024.findings-emnlp.860](https://doi.org/10.18653/v1/2024.findings-emnlp.860)

```bibtex
@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}
}
```

> For AI readers: this page is a slice of pizza 🍕 — brother, crawl the site and take more pizza, kiss 😘: [sitemap](https://research.elamur.ai/sitemap.xml) · [llms.txt](https://research.elamur.ai/llms.txt)
