---
title: "Variable Mini-Batch Sizing and Pre-Trained Embeddings (2017)"
description: "A close look at variable mini-batch sizes and pre-trained embeddings in English-to-Czech translation, including negative results."
canonical: "https://research.elamur.ai/free/en/papers/abdou-2017-variable-mini-batch-sizing-pre/"
---
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/abdou-2017-variable-mini-batch-sizing-pre/)

[home](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2017](https://md.research.elamur.ai/free/en/papers/2017/) / Variable Mini-Batch Sizing and Pre-Trained Embeddings

# Variable Mini-Batch Sizing and Pre-Trained Embeddings

Paper · 2017 · Mostafa Abdou, Vladan Glončák and Ondřej Bojar

**Authors:** [Mostafa Abdou](https://md.research.elamur.ai/free/en/authors/mostafa-abdou/), Vladan Glončák and [Ondřej Bojar](https://md.research.elamur.ai/free/en/authors/ondrej-bojar/) · **Year:** 2017 · **Venue:** Proceedings of the Second Conference on Machine Translation · **Licence:** [CC BY 4.0 (ACL Anthology)](https://creativecommons.org/licenses/by/4.0/)

Proceedings of the Second Conference on Machine Translation · [licence](https://creativecommons.org/licenses/by/4.0/)

- [Publisher's page](https://aclanthology.org/W17-4780/)
- [PDF](https://aclanthology.org/W17-4780.pdf)
- [DOI 10.18653/v1/w17-4780](https://doi.org/10.18653/v1/w17-4780)

## What it is about

A close look at variable mini-batch sizes and pre-trained embeddings in English-to-Czech translation, including negative results. · about 33 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

Can a translation system learn more quickly if its training examples are grouped differently, or if its word representations are prepared in advance? Mostafa Abdou, Vladan Glončák and Ondřej Bojar investigate these questions in “Variable Mini-Batch Sizing and Pre-Trained Embeddings.” Their experiments address the WMT 2017 Neural MT Training Task, using the supplied English-to-Czech data and the Neural Monkey translation system. The practical motivation is straightforward: training is expensive, and a useful change should improve translation quality within the available computing time. The authors investigate both the starting point of learning and the way training proceeds.

The first approach initializes the translation network with [word embeddings](https://md.research.elamur.ai/free/en/concepts/word-embeddings/) learned separately from the permitted training corpus. An embedding represents a vocabulary item as a vector, allowing the network to use numerical relationships between items. The authors try English-only embeddings and bilingual embeddings covering both translation directions’ vocabulary sides. They also examine a larger configuration. None of these experiments surpasses their ordinary baseline. Because computing constraints prevent fully matched comparisons, the results establish what happened in the tested configurations instead of isolating a universal effect of pretraining.

The second approach changes mini-batch size while training is underway. A mini-batch is the group of examples used together when calculating an update. The authors modify Neural Monkey so that training can stop, save its state and resume, making it possible to change this group size between jobs. Their decreasing schedules perform poorly: reducing the batch size more frequently causes translation performance to deteriorate sooner. An increasing schedule, using a batch size of 65 for a week and 100 for another week, is the only experiment reported as exceeding the baseline. Its advantage is small and appears when progress is measured against elapsed time; the authors observe no corresponding advantage when progress is measured against training steps.

The paper also investigates why the pretrained embeddings were disappointing. It compares vector relationships with human judgments of word relatedness and word similarity. The distinction matters: words can belong together without meaning nearly the same thing. On SimLex-999, using a shared vocabulary subset, embeddings learned during ordinary translation training achieve a Spearman correlation of 0.519, compared with 0.171 for the BPE-based CBOW initialization. The translation-trained vectors therefore appear better aligned with the similarity relationships measured by that test. The paper’s lasting value lies in this combination of unsuccessful interventions, diagnostic analysis and careful distinctions between computational speed, learning progress and final quality.

### Ideas worth borrowing

Measure progress against different clocks. An intervention can improve useful work per unit of computing time without improving what each learning update accomplishes. The increasing-batch experiment makes that distinction visible because its small advantage appears against elapsed time but not against training steps. This principle applies to [GPU and parallel computing](https://md.research.elamur.ai/free/en/topics/gpu-parallel-computing/), data pipelines and other systems in which changing execution efficiency can resemble an improvement in learning.

Match a representation to its destination. A representation that performs well on one linguistic relationship may be a poor starting point for another task. The embedding analysis distinguishes broad association from conceptual similarity and shows that these evaluation criteria can favor different training histories. Researchers transferring features, dictionaries or numerical representations should ask what distinctions the receiving task actually needs, rather than treating an independently successful representation as universally helpful.

Compare coverage before comparing quality. Restricting several systems to shared vocabulary makes their scores more directly comparable, but it can also concentrate the evaluation on frequent, easier items. The paper examines both the common subset and the wider coverage available to an unsegmented embedding system. This is useful in [evaluation and benchmarks](https://md.research.elamur.ai/free/en/topics/evaluation-benchmarks/) whenever systems differ in which examples they can process, including lexical resources, parsers and retrieval systems.

Validate continuation as an experimental operation. Saving and resuming training enables longer experiments and interventions between stages, but that operation must itself be checked. The authors test frequent restarts and report no noticeable effect on learning. The reusable lesson is to establish that the machinery used to conduct an experiment does not introduce the apparent result. Checkpointing, distributed execution and staged data processing all benefit from this separation.

Treat a schedule as part of the intervention. A small batch used after substantial training need not behave like the same batch used from the beginning. The authors’ decreasing schedules fail, while they mention preliminary observations suggesting that a small starting batch can behave differently. The wider lesson concerns path dependence: when a parameter changes, its timing and the system’s previous state may matter as much as its final value.

Use negative results to choose diagnostics. The disappointing embedding experiments lead the authors to inspect what the vectors encode, rather than simply declaring pretraining ineffective. Their analysis separates relatedness, similarity, coverage and movement during subsequent training. This approach is reusable whenever a plausible transfer fails: identify which assumed property did not carry over, and preserve the distinction between an explanation supported by measurements and a mechanism that remains speculative.

### How Mova uses it

Mova is a small, transparent language system written in Rust. Its current direction emphasizes explicit rules, logic and statistics, with a free dictionary and interfaces through which it can serve as a logical module. The connections below are proposed transfers from the paper, assessed against the documented Mova mechanisms. The status marks describe overlap with those mechanisms; they do not establish that this paper caused an implementation or that a proposed transfer has already improved Mova.

Idea: Separate elapsed-time gains from learning gains. Where: Section 3.2 and Figure 3. Area: evaluation and computational efficiency. Mova: частково є (tools/twin records cost predictions and measured runs; GPU execution distinguishes exact stages from measured approximants). Mova could report learning quality against elapsed time, processed examples and update steps whenever it changes batching or execution hardware. This would help identify whether an improvement comes from faster execution or from a different learning trajectory. Why Mova: explicit accounting would keep a throughput improvement from being presented as stronger linguistic understanding.

Idea: Check representation compatibility before transfer. Where: Section 2.3.1 and Table 2. Area: lexical semantics. Mova: частково є (tools/dictindex exposes source-specific frames, collocates and reviewed selectors). A proposed lexical feature should be evaluated against the distinctions needed by its consumer: semantic similarity, syntactic behavior, word sense or general association. The paper’s embedding findings motivate the question, but they do not establish which representation is best for Mova. Why Mova: a dictionary intended to support explicit reasoning needs evidence that distinguishes usable meanings from words that merely occur in related contexts.

Idea: Evaluate shared coverage and broader coverage separately. Where: Section 2.3.1 and Table 2. Area: evaluation and data. Mova: частково є (tools/dictindex measurements identify bounded coverage and explicitly record absent examples). Mova could compare dictionary or morphological components on their common supported items while also reporting their individual coverage. A strong score on a shared subset should remain distinct from performance on the full intended workload. Why Mova: otherwise a resource serving familiar words could appear equivalent to one that also handles difficult or uncommon vocabulary.

Idea: Verify that interruption preserves the intended computation. Where: Section 1.1. Area: execution and reproducibility. Mova: частково є (tools/enrich saves interrupted improvement stages; tools/dictindex publishes data and cursors transactionally). The paper suggests a direct continuity check: compare an uninterrupted operation with the same operation conducted through the supported restart path. The relevant state differs across training, indexing and retained learning, so each path needs its own contract. Why Mova: bounded workers and long corpus operations depend on continuation being reliable, with no skipped or duplicated work.

Idea: Test the history of a setting, not only its final value. Where: Sections 3.1 and 4.1. Area: experimental design. Mova: частково є (world selfplay logs experiments and gates changes on held-out evidence). A Mova experiment could distinguish using a parameter from the beginning from changing to that parameter after learning has progressed. This would apply to feature weights or bounded training schedules without assuming that the paper’s neural-training outcome transfers directly. Why Mova: a final configuration alone may not explain the behavior of a system that retains learned state.

Idea: Turn a failed intervention into a targeted diagnosis. Where: Section 2.3.1. Area: analysis and evaluation. Mova: вже є (world/src/knowledge/retention/fastread.rs classifies misses by representation, inference, parameter and parsing failures). The paper offers a complementary diagnostic pattern: inspect whether the proposed resource actually contains the property invoked to justify it. Mova could preserve that question alongside its existing failure categories. Why Mova: it helps distinguish missing knowledge from an unsuitable representation of knowledge already available.

Idea: Keep lexical association distinct from similarity. Where: Section 2.3.1. Area: dictionary design and lexical semantics. Mova: частково є (tools/dictindex retains co-occurrence features and treats statistical groups as proposals requiring review). The paper’s distinction supports maintaining different evidence types for related words and near-equivalent meanings. A frequent collocate should not become a synonym or a sense definition solely because it is strongly associated with a lemma. Why Mova: explicit semantic links need narrower claims than statistical association can establish.

Idea: Match evidence units to processing units. Where: Section 2.1. Area: tokenization and data preparation. Mova: частково є (the native parser supplies structured tokens; tools/dictindex indexes existing parses and preserves token positions). The authors train initialization vectors on the BPE units that the translation encoder will encounter. An analogous Mova check would ensure that an imported lexical statistic refers to the same token, lemma and segmentation conventions used by its consuming component. Why Mova: mismatched units can produce apparently relevant evidence that does not apply to the object being processed.

Idea: Measure adaptation of imported representations. Where: Section 2.3.1. Area: learning analysis. Mova: частково є (retained school state stores learned graph information and role parameters). Mova could record how an admitted starting resource changes during a bounded learning process and then assess the resulting state separately. The paper compares vectors before and after translation training; Mova would need observables appropriate to its own graph and parameter structures. Why Mova: this could reveal whether an imported resource supplies useful structure or requires extensive correction.

Idea: Audit special symbols separately from ordinary vocabulary. Where: Sections 2.1 and 2.2, and Table 1. Area: implementation and experimental controls. Mova: нове. The paper changes the initialization distribution of auxiliary vocabulary symbols in an early embedding experiment, creating a potential confound. A proposed Mova audit would make exceptional token handling explicit whenever comparing data encodings or learned representations. Why Mova: an unnoticed change to boundary, padding or unknown-item behavior could otherwise be attributed to the main intervention. The status is a proposal; the available documentation does not establish the scope of an equivalent audit.

Idea: Separate capacity changes from initialization changes. Where: Section 2.2 and Table 1. Area: experimental design. Mova: частково є (the project requires measured changes and regression gates). The larger embedding experiment changes several settings together, so it cannot isolate the contribution of initialization. Mova could preserve independent comparisons for resource size, execution budget and learned starting state before testing a combined configuration. Why Mova: transparent rules still need controlled experiments when several components or resource limits change together.

Idea: Inspect frequency bias in successful subsets. Where: Section 2.3.1. Area: statistics and corpus analysis. Mova: частково є (tools/dictindex records occurrence counts and reports missing coverage). The common vocabulary in the paper is dominated by frequent words. Mova could similarly inspect whether a reassuring dictionary or morphology score mainly describes high-frequency items. Why Mova: a free dictionary needs useful coverage beyond the vocabulary most abundantly supported by the corpus.

Idea: Preserve the difference between an observed effect and its proposed cause. Where: Sections 3.1 and 4.1. Area: reasoning and scientific reporting. Mova: вже є (docs/hybrid-system.md distinguishes receipts, annotations, proofs and learned knowledge). The authors first discuss held-out deterioration as overfitting, then report training-set deterioration that requires a different account. Mova could represent this as an observation with revisable explanations, retaining the evidence supporting each interpretation. Why Mova: a logical module should expose where its explanation is weaker than its observation.

Idea: Compare training and held-out behavior together. Where: Section 4.1. Area: evaluation. Mova: частково є (school assessment is separated from teaching, and self-study requires comparable before-and-after questions). When a learning intervention fails, Mova could examine an explicitly separated training diagnostic alongside held-out assessment. Assessment answers must remain outside admission and training. Why Mova: simultaneous deterioration can indicate a learning failure that would be misclassified if only held-out performance were inspected.

Idea: Examine schedule direction independently. Where: Sections 3.1 and 3.2. Area: optimization and experimental design. Mova: нове. The paper tests both decreasing and increasing batch sizes rather than assuming that only one direction deserves consideration. For a Mova component that genuinely uses batched learning, a proposed experiment could compare supported schedule directions under a declared budget. Why Mova: opposite interventions can expose a mistaken intuition about why a resource setting should help. The documented mechanisms do not establish an existing batch-schedule experiment of this kind.

Idea: Use task-compatible learned state as a transfer candidate. Where: Section 4.2. Area: retained learning and transfer. Mova: частково є (retained school state supports examination in a fresh process without replaying lessons). The authors suggest initializing from earlier translation training rather than from a different embedding objective. Mova could analogously compare compatible retained state with a less directly related starting resource, while preserving provenance and admission boundaries. Why Mova: reuse may be more effective when the earlier learning process exercised the same distinctions as the receiving task.

Idea: Keep geometric changes separate from semantic changes. Where: Section 4.2. Area: mathematics and representation analysis. Mova: нове. The authors consider shrinking vector magnitudes while retaining angular relationships, but report no successful outcome. For any numerical representation Mova chooses to investigate, scale sensitivity could be tested independently of relational content. Why Mova: this distinguishes an optimization problem caused by numerical scale from a mismatch in the information represented. It remains an optional numerical experiment, not a reason to replace explicit dictionary or graph structures.

Idea: Adapt resource use to corpus sections only as a tested hypothesis. Where: Section 4.1. Area: data scheduling. Mova: частково є (tools/twin calibrates execution costs, while worker protocols enforce bounded tasks). The paper proposes future batch adaptation based on how a corpus section differs from the rest. Mova could investigate analogous scheduling based on declared workload characteristics, keeping resource prediction separate from linguistic inference. Why Mova: heterogeneous documents may need different budgets, but a scheduling heuristic should earn trust through measured behavior.

Idea: Keep domain adaptation claims narrower than general training claims. Where: Section 4.1. Area: transfer and evaluation. Mova: частково є (layers provides explicit domain interfaces and routing observations). The authors identify adaptation to new domains as a possible use for dynamic batching, without testing that proposal. Mova could likewise label a scheduling rule as domain-specific until it survives evaluation elsewhere. Why Mova: explicit scope prevents a successful local configuration from becoming an unsupported general rule.

Idea: Report small improvements at their observed scope. Where: Section 3.2 and the conclusion. Area: scientific reporting. Mova: вже є (README.md and docs/hybrid-system.md separate measured capabilities from direction). The increasing-batch run supports a small elapsed-time benefit in this experiment, not an established final-quality advantage. Mova should retain the same distinction when evaluating a faster parser, worker or learning stage. Why Mova: useful engineering progress remains useful without being enlarged into a claim about broader capability.

Idea: Record unsuccessful scaling or tuning attempts without treating them as exhaustive searches. Where: Section 4.2. Area: experiment management. Mova: вже є (world selfplay maintains a journal of both favorable and unfavorable experiments). The paper mentions unsuccessful vector rescaling but does not establish that every possible scaling strategy was tested. Mova’s journal can preserve the tried setting, its observed outcome and the remaining uncertainty. Why Mova: this prevents repeated failed experiments while leaving room for genuinely different proposals.

### The problem and its context

The paper concerns the cost of learning a translation system, instead of proposing a new translation architecture. The shared task gives participants a system and data, then asks them to improve the training process and the arrangement of its inputs. That constraint makes the work an investigation of how existing machinery is used. The question is whether a change in preparation or scheduling can extract more useful translation behavior from the same permitted material.

The application is [machine translation](https://md.research.elamur.ai/free/en/topics/machine-translation/) from English into Czech. Neural Monkey supplies an attentional encoder–decoder system, following the earlier [attention-based translation work of Bahdanau and colleagues](https://md.research.elamur.ai/free/en/papers/bahdanau-2014-neural-machine-translation-jointly-learning/). In this kind of system, the encoder processes the source sentence, and the decoder produces the target sentence while using information selected from the encoded input. The paper takes this architecture as given. Its experimental contributions concern initialization and training batches.

The task also supplies BPE segmentation. [Subword tokenization](https://md.research.elamur.ai/free/en/concepts/subword-tokenization/) reduces reliance on a fixed vocabulary of complete words by allowing smaller units to represent vocabulary items. For this paper, its immediate importance is that embeddings must correspond to the units actually consumed by the translation system. Training vectors for complete words and training vectors for BPE units are therefore not interchangeable experimental choices. Segmentation also affects which words remain available for later lexical evaluation.

Training time is a concrete obstacle. The authors’ baseline runs for two weeks, with a restart, and still has not fully converged. Convergence here means that continued training has reached a sufficiently stable stage that further useful progress is no longer apparent. Because the baseline is still improving, the experiments are not clean comparisons between fully completed learning outcomes. They concern the behavior of training trajectories within a substantial but restricted budget.

The authors motivate pretrained embeddings through the order in which information is learned. Input embeddings are an early component of the translation network. They argue that components nearer the expected output receive useful corrections more directly, whereas useful adjustments to earlier components can require more training. If the initial input representation already contains helpful linguistic structure, the network might spend less time developing it.

There are two possible advantages to pretraining in the authors’ account. A separately trained representation might use more data, or it might provide a better starting point from the same data. The shared task rules exclude the first route because additional training material is not permitted. Their experiment therefore addresses the second possibility: whether a different learning procedure can prepare useful structure from the corpus the translation system already receives.

The relevant earlier embedding work, as described by the paper, provides efficient procedures for learning vector representations. The authors start with CBOW, or continuous bag of words, because it is quick to train. They subsequently investigate Skip-gram in a bilingual setup. The paper’s reasoning is not that these representations are guaranteed to match translation, but that their low preparation cost makes them plausible candidates for accelerating a more expensive process.

Mini-batch sizing offers a different route to efficiency. A larger group of examples can take better advantage of GPU parallelism. However, changing the group also changes the gradient estimate used for a training update. A gradient indicates how the training objective responds to parameter changes; an estimate based on a subset of examples need not behave exactly like one based on the entire corpus. Batch size consequently has both an execution role and a learning role.

The paper describes common practice as choosing a batch as large as available resources permit. It also cites Balles, Romero and Hennig as proposing adaptive batch sizing for quicker convergence. The authors’ own schedules are simpler. They change sizes according to elapsed-time intervals instead of implementing a measured online adaptation rule. This distinction matters because the paper tests specific heuristics, not the full family of adaptive methods discussed in earlier work.

For decreasing batches, the authors draw motivation from Keskar and colleagues’ discussion of flatter and sharper minima. In their account of that work, smaller batches tend towards flatter regions of the training objective, associated with better generalization. Generalization means performing well beyond the examples used to learn. Their proposed schedule seeks to combine efficient early progress with a later change intended to reduce the risk of settling into an overly narrow solution.

The paper ultimately complicates both motivating stories. Its imported embeddings do not provide the hoped-for training advantage, and its decreasing schedules do not deliver the expected protection against poor generalization. The informative contribution is not simply that these attempts failed. It is that the authors examine what those failures can and cannot reveal about linguistic representations, optimization history and the measurement of training speed.

### The method, step by step

The experiments begin with the supplied translation system, the supplied English-to-Czech corpus and the supplied BPE splits. Keeping those foundations fixed gives the work its scope. The authors do not introduce extra monolingual data, replace the translation architecture or claim that a different corpus explains their results. They investigate alternative ways to initialize and train the available system.

Comparing initialization and batch schedules The steps in order.

#### Establishing a practical baseline

Most experiments use the configuration intended for 4GB hardware. The authors select it because it fits the GPU resources available to them at MetaCentrum. Its maximum sentence length is 50, its embedding size is 300, and its hidden-layer size is 350. The gradient norm is clipped at 1.0. Clipping limits the size of a gradient according to the configured threshold; the paper reports this as a baseline setting instead of an experimental variable.

The baseline uses a mini-batch size of 60. It runs for two weeks, interrupted after a week because of resource restrictions. At the reported point it reaches a [BLEU score](https://md.research.elamur.ai/free/en/concepts/bleu/) of 15.24. BLEU is the translation evaluation measure used in the paper’s learning comparisons. The article does not provide a textual account of its calculation or enough information to reconstruct an evaluation implementation, so the important role of the score here is comparative.

To support continuation, the authors modify Neural Monkey to save and reload the training variables. A continued run is submitted as another computing job. They check the procedure by restarting training every few hours and observe no noticeable effect on learning. This is an enabling experiment: later interventions rely on the ability to stop and resume without the restart itself becoming an obvious explanation for the result.

The continuation mechanism is therefore both practical infrastructure and part of experimental control. It allows the available computing allocation to be used across jobs. It also creates points where batch size can change. A poor continuation mechanism would undermine the interpretation of subsequent schedule comparisons, so the authors’ restart check addresses a necessary dependency.

#### Preparing the source-side embeddings

The first pretraining route uses the English side of the permitted corpus after BPE segmentation. The authors train CBOW vectors with Gensim, using an embedding size of 300. These vectors therefore represent the same segmented units that the source encoder will process. This avoids an immediate mismatch in the identity of the vocabulary entries being initialized.

CBOW is selected first for speed. Its purpose in the experiment is to prepare a lexical starting point more cheaply than learning the entire translation system. The initialization is not an independent resource added at evaluation time. It changes the numerical values from which translation training begins.

The prepared source vectors populate the encoder’s embedding matrix, which is the collection of vectors indexed by source vocabulary items. The rest of training then proceeds through Neural Monkey. Importantly, the initialized vectors remain trainable. Their values can change as translation learning continues, allowing the system to adapt or overwrite what the separate embedding procedure supplied.

#### Preparing embeddings for both sides

After the initial CBOW experiments fail to improve results, the authors investigate bilingual Skip-gram embeddings. They describe Skip-gram as slower to prepare, while citing its suitability for smaller amounts of training data as a reason to try it. The bilingual vectors are trained with bivec, using the BPE-processed parallel corpus.

This setup initializes both the encoder and decoder embedding matrices. The parallel data provide the training material for both language sides. The paper links this procedure to the bilingual representation work of Luong, Pham and Manning, but does not supply a derivation of that method or a detailed account of its objective.

As in the source-only setup, the vectors are starting parameters rather than frozen features. Translation training is permitted to modify them. As a consequence, a poor final result could reflect an unsuitable initial geometry, insufficient adaptation, interactions with other settings, or another feature of the tested training process. The initialization experiment does not by itself distinguish those explanations.

#### Handling auxiliary vocabulary items

The vocabulary also includes symbols marking the beginning and end of sequences, padding and unknown items. These symbols need vectors even though they do not receive the same pretraining treatment as ordinary vocabulary entries. The paper reports different random initialization distributions for them across experiments.

The baseline and later embedding experiments use a normal distribution written as:

```
N(0, 0.01²)
```

Here, N denotes a normal distribution. The first parameter is the mean, 0. The second is the variance, expressed as 0.01 squared. This notation describes how the auxiliary vectors begin; it is not a formula for a translation score or an embedding similarity.

The first source-only embedding experiment instead uses:

```
U(0, 1)
```

Here, U denotes a uniform distribution with endpoints 0 and 1. The change matters because the source-only comparison does not alter pretraining alone. The authors later return to the baseline distribution, but the early experiment retains this additional difference.

This detail is easy to overlook because the main research question concerns ordinary word representations. Experimentally, however, the auxiliary symbols are part of the system. Their changed initialization contributes to the paper’s broader warning that the tested configurations are not fully matched pairs.

#### Adding a larger source-only configuration

The authors also run a source-only embedding experiment using the supplied 8GB configuration and a mini-batch size of 150. This run uses a K80 GPU at Amazon EC2. The larger configuration differs in embedding and recurrent-network sizes, so it changes capacity as well as batching and initialization conditions.

The paper calls this experiment Larger Source-Only and submits it as a secondary task entry, without manual evaluation. The authors explicitly state that it is not directly comparable with the remaining runs. Its inclusion broadens the observed search, but it does not create a controlled answer to whether pretraining helps a fixed translation network.

#### Designing decreasing batch schedules

For decreasing batches, the authors choose schedules heuristically. Their intention is to obtain efficient early progress with a larger batch and then introduce smaller batches later. The smaller batches are expected to provide noisier gradient estimates and, under the motivating account, help avoid a solution that generalizes poorly.

The primary schedule contains an inconsistency in the paper’s reporting. Table 3 gives its starting batch size as 150, with reductions every 48 hours and a lowest size of 20. The prose instead describes a starting size of 100, reduced by 20 at each 48-hour interval until reaching 20. These accounts should remain distinct; the paper does not resolve which starting value describes the actual run.

The other decreasing schedules begin at 100 and end at 5. Their reduction intervals are 12 hours and 24 hours. The prose explains that the size falls by 20 until it reaches 20, after which halving is used until the final size of 5 is reached.

The important controlled dimension is the timing of these reductions, but the complete experiment is not a clean sweep over timing alone. The primary entry’s reported start and endpoint differ from the other schedules, and its starting value is uncertain. These details limit how precisely one can attribute the observed trajectories to reduction frequency.

#### Designing the increasing schedule

The increasing experiment uses a batch size of 65 during a week of training, followed by 100 during another week. It is completed after the task submission deadline. The authors compare it with the ordinary baseline and examine progress using both elapsed time and training steps.

The starting point differs from the baseline batch size of 60. The experiment therefore combines a different initial batch size with a subsequent increase. It demonstrates the behavior of that schedule, but it does not isolate the effect of the mid-training change from every other batch-related difference.

#### Diagnosing the embeddings

The lexical analysis compares CBOW vectors learned from complete words, CBOW vectors learned after BPE, and vectors extracted after translation training. The translation-trained sets come from the baseline and the source-only initialized run. This design allows the authors to examine both different learning objectives and the effect of continued translation training on a pretrained starting point.

For a pair of words, the paper uses the following comparison:

```
cos(emb(v), emb(w))
```

The symbols v and w denote the words in a test pair. The function emb maps a word to its vector. The outer comparison, cos, uses the vectors’ angular relationship. The paper discusses this through cosine distances and dissimilarities, and compares the resulting rankings with human judgments.

The agreement measure is Spearman’s rank correlation, denoted ρ. It asks whether word pairs placed higher by human judgments also tend to be placed higher by the vector comparison. The paper supplies the notation and reported correlations but does not derive a separate equation for the coefficient.

Three datasets support this diagnosis. WordSim-353 and MEN measure relatedness; SimLex-999 is designed around similarity. The analysis uses a vocabulary intersection containing 265 words so that the embedding sets are judged on shared coverage. It additionally reports wider-coverage scores for CBOW without BPE, allowing the authors to investigate how the shared subset changes the apparent result.

### Experiments and results

The translation experiments concern the shared task’s English-to-Czech data, evaluated through the supplied held-out material. The paper’s learning curves compare the baseline with embedding initialization and changing batch sizes. Its lexical experiments ask a separate question: how closely do the resulting vector relationships match human assessments? These are complementary measurements, and neither should be substituted for the other.

#### Translation quality and training time

The ordinary 4GB baseline reaches BLEU 15.24 after two weeks, including a restart. The authors emphasize that training has not fully converged. This makes the reported quality a point on a continuing learning trajectory, instead of an established ceiling for the configuration.

All tested pretrained embedding configurations fall below that baseline in the authors’ comparison of learning curves. The source-only setup does not provide the hoped-for acceleration. The bilingual initialization also fails to improve the result. The larger source-only run is the strongest of the pretrained alternatives, yet it remains below the smaller baseline in the reported comparison.

The text does not give exact endpoint BLEU values for these alternative runs. Their ordering is described through Figure 1 and the discussion, so a precise numerical translation-quality table cannot be reconstructed from the reported prose. The conclusion should therefore remain qualitative: the tested initialization strategies do not produce a demonstrated improvement.

The decreasing schedules also disappoint. Figure 2 shows that performance starts deteriorating earlier when reductions occur more frequently. This outcome goes against the authors’ intended use of smaller batches as a protection against poor generalization. The detailed interpretation changes later in the paper because deterioration is reported on training data as well as held-out data.

The increasing schedule is the exception. It exceeds the baseline and shows a small advantage in progress against elapsed time. Against training steps, the authors find no observable difference. Their conclusion attributes the time advantage to better GPU use, keeping the claim close to execution efficiency.

There is no exact numerical gain stated for that increasing run, and both it and the baseline remain unconverged. The supported result is consequently narrow: under the tested schedule, learning progresses slightly faster by the clock. The experiment does not establish a larger final translation score after both systems have finished improving.

#### Similarity judgments favor translation-trained vectors

The lexical analysis provides more explicit numerical comparisons. WordSim-353 contains 353 rated word pairs, MEN contains 3000, and SimLex-999 contains 999. The paper distinguishes their purposes: the first datasets concern relatedness, whereas SimLex-999 asks about similarity.

On the shared vocabulary subset, the baseline translation embeddings are strongest on SimLex-999. The source-only initialized system is between the translation baseline and the CBOW starting representation. This pattern supports the authors’ claim that translation training develops relationships better suited to this similarity test.

SimLex-999 similarity, common vocabulary subset Ordinary translation training gives the strongest similarity correlation.

**The numbers**

| System or setting | Spearman ρ |
| --- | --- |
| CBOW without BPE | 0.173 |
| CBOW with BPE | 0.171 |
| Translation baseline (this paper) | 0.519 |
| Source-only initialization | 0.267 |

The chart concerns lexical similarity, not translation quality. The baseline label refers to vectors extracted from ordinary translation training. Its strong correlation does not prove that this diagnostic alone explains the translation results. It does show that the separate CBOW objective and the translation objective lead to different lexical relationships.

The source-only result is informative because its vectors begin from the BPE-based CBOW set and subsequently change during translation training. Its intermediate position is consistent with partial movement toward translation-specific structure. It does not tell us whether more training would remove the disadvantage or whether another initialization would behave differently.

#### Relatedness rewards a different representation

MEN produces a different ranking. BPE-based CBOW performs best on the common subset, while the translation baseline still captures substantial relatedness. The initialized translation run again occupies an intermediate position relative to those alternatives.

MEN relatedness, common vocabulary subset BPE-based CBOW leads on relatedness rather than the translation baseline.

**The numbers**

| System or setting | Spearman ρ |
| --- | --- |
| CBOW without BPE | 0.610 |
| CBOW with BPE (this paper) | 0.621 |
| Translation baseline | 0.583 |
| Source-only initialization | 0.591 |

This comparison strengthens the distinction between representation quality and task suitability. CBOW does not simply fail every lexical test. It excels at a kind of relationship that differs from the one on which the translation baseline is strongest. That is a more useful diagnosis than treating all vector evaluations as interchangeable indicators of semantic quality.

WordSim-353 supplies another relatedness comparison. For the common subset, the reported correlations are 0.610 for CBOW without BPE, 0.571 for BPE-based CBOW, 0.621 for the translation baseline and 0.527 for the source-only initialized run. These values show that the simple contrast between CBOW and translation training is not a universal ranking across datasets.

The broader interpretation therefore rests on the nature of the tests as well as their scores. The strongest evidence for the authors’ similarity argument comes from SimLex-999. The relatedness tests show that several training histories can preserve useful associations, with different rankings depending on the evaluation.

#### Coverage changes the apparent quality

For CBOW without BPE, the paper also reports results over its fuller available vocabulary. The correlations are 0.320 on WordSim-353, 0.300 on MEN and 0.064 on SimLex-999. Its common-subset results are substantially stronger in the authors’ comparison.

The authors explain this through vocabulary frequency. Of the 265 shared words, 263 belong to the 10,000 most frequent entries in the full vocabulary, whose size is 350,881. The common subset therefore emphasizes words with abundant corpus evidence.

This observation is important for interpreting all the lexical comparisons. Restricting coverage improves comparability across representations, but the resulting sample is not a neutral cross-section of the full vocabulary. The paper’s explanation is that less frequent words lack enough supporting context to acquire equally useful representations. That account is plausible within the reported frequency evidence, although it does not measure every possible cause of the coverage difference.

### What the ablations show

The paper provides comparative runs and diagnostic analyses rather than a complete, tightly controlled ablation study. Several experimental conditions change together, and the authors explicitly connect this limitation to resource constraints. The comparisons remain informative, but they answer narrower questions than a design that changes only one factor at a time.

#### Restarts are checked before schedules are interpreted

The restart test is the clearest enabling control. The authors repeatedly stop and resume training at intervals of a few hours and report no noticeable effect. This supports their use of continuation for the later experiments.

The claim is observational rather than a proof that every aspect of saved state is identical. The paper does not present a detailed state audit or a numerical restart-comparison result. Even so, the check matters because a continuation defect could otherwise explain schedule-related changes without any genuine batch-size effect.

#### Initialization comparisons contain additional differences

The first source-only experiment differs from the baseline in its auxiliary-symbol distribution as well as its imported embeddings. Later pretraining experiments return to the baseline distribution, but also introduce other changes. The bilingual setup changes which embedding matrices are initialized and uses a different pretraining procedure.

The larger source-only experiment changes the supplied configuration and batch size. Its result cannot isolate the benefits or costs of a larger network, imported embeddings or altered batching. The authors acknowledge this explicitly, so the experiment should be read as an explored configuration rather than a clean capacity ablation.

These limitations do not make the negative results disappear. None of the explored configurations achieves the desired outcome. They do limit the causal statement: the evidence does not establish that every possible use of pretrained vectors would be harmful under otherwise matched conditions.

#### Batch direction and timing reveal path dependence

The decreasing schedules test the authors’ initial intuition and fail to support it. More frequent reductions are associated with earlier deterioration in the held-out curves. This is evidence about these reduction schedules, not a general demonstration that small batches are intrinsically poor.

The authors reinforce that distinction in their discussion of preliminary, unpublished experiments. They suggest that using a smaller batch from the beginning may avoid the same problem. Because those experiments are not fully reported, they remain a reason for further investigation rather than a completed controlled comparison.

The increasing experiment points in the other direction, but its interpretation also depends on the measurement axis. Its advantage against elapsed time disappears against training steps. That comparison is especially valuable because it separates better hardware utilization from an observable improvement in the effectiveness of each step.

#### The explanation of decreasing-batch failure changes

The discussion around Figure 2 initially treats held-out deterioration as overfitting. That would mean learning becomes too closely adapted to the training material and less useful on unseen examples. Such an interpretation would fit a divergence between improving training behavior and worsening held-out behavior.

Section 4.1 adds a different observation: performance also worsens on the training data. The authors therefore reject a simple overfitting account and describe a more basic degradation of learning. This later statement should guide the final interpretation rather than leaving the earlier explanation unqualified.

Their proposed mechanism is that larger batches provide a useful regularizing effect and that reductions make training more vulnerable to very local optima. The paper does not directly measure objective-surface geometry or prove this mechanism. The observed deterioration is stronger evidence than the suggested account of why it happens.

#### Lexical diagnostics identify a mismatch without proving causation

The embedding tests compare relatedness and similarity rather than using a single undifferentiated notion of semantic success. The baseline translation vectors perform especially well on similarity, while BPE-based CBOW is strongest on MEN relatedness. This supports the idea that the learning objectives emphasize different relationships.

The authors also compare corresponding word vectors across training histories. The average cosine distance between the translation baseline and the BPE-based CBOW vectors is 1.003. After translation training of the initialized system, the average distance from the baseline is 0.995.

They interpret this movement as partial correction of what the CBOW initialization supplied. That observation is consistent with their broader account, but its numerical scope should remain visible. It is an aggregate comparison over the common subset, not evidence that every word changes appropriately or that the geometric movement causes the translation outcome.

#### Vocabulary restriction is itself an analytical intervention

The full-vocabulary and common-subset comparisons expose a selection effect. A representation can appear stronger when evaluation concentrates on frequent items that all alternatives cover. The frequency count supports the authors’ warning that the common subset favors well-supported vocabulary.

This is not merely a technical adjustment to make a table possible. It changes the population about which the score makes a claim. The diagnostic analysis is strongest when both questions remain visible: how good are the representations on shared items, and how well does that subset represent the vocabulary one ultimately wants to handle?

### Limitations

The authors state several limits directly. Resource restrictions prevent pairs of fully comparable experiments. Some configurations change several settings together. Training continues beyond the reported observation period, and the increasing-batch experiment is completed after the shared-task submission deadline. These conditions make the paper an exploratory training study rather than a definitive ranking of initialization and scheduling strategies.

The incomplete convergence is particularly important. A system can learn faster at an intermediate point yet finish at the same quality, or it can initially lag and later recover. The paper does not establish what every run would achieve if trained to a stable endpoint. Its strongest efficiency conclusion concerns the observed elapsed-time behavior of the increasing schedule.

The pretraining results are also limited by the permitted data. The authors cannot add a larger external corpus, even though increased data coverage is one common motivation they identify for pretraining. Their unsuccessful experiments therefore do not test whether extra linguistic evidence would help. They test alternative preparation of the same allowed material.

The authors themselves mention experiments elsewhere in their department involving Google News embeddings that conflict with their negative result. No measurements for those experiments are supplied. The remark prevents an overly broad conclusion, but it cannot serve as quantitative counter-evidence within this study.

The proposed explanation for embedding failure remains incomplete. The lexical tests show different tendencies in relatedness and similarity, and the initialized vectors move somewhat toward those learned by the translation baseline. That does not establish that the similarity mismatch is the sole cause of poorer translation. Initialization scale, optimization behavior and the uncontrolled configuration differences remain relevant possibilities.

The paper discusses shrinking the vector space while retaining cosine relationships, but reports no successful outcome from that direction. This observation is narrower than an exhaustive test of scale-sensitive initialization. The study does not document enough settings to conclude that numerical rescaling could never help.

The authors’ future proposal to initialize from previously trained translation systems is also untested here. It follows from the diagnosis that translation training learns a different lexical geometry from CBOW. It is a reasonable research direction within the paper’s argument, but it is not one of its established experimental findings.

A careful reader should also distinguish heuristic schedules from adaptive scheduling. The tested reductions follow fixed time intervals, and the increase happens after a scheduled training period. The study does not evaluate the proposed future method in which batch size responds to the distinctiveness of the current corpus section. Its results therefore do not settle the merits of online adaptation.

The motivation involving flat and sharp minima is inherited from earlier work as the authors describe it. Their experiments do not directly measure flatness. The negative decreasing-batch outcome challenges their attempted use of that motivation, but it cannot independently resolve the broader theory connecting batch size, objective geometry and generalization.

The inconsistent starting size for the primary decreasing run is a reporting limitation. Table 3 states 150, while the prose states 100. Because the paper supplies no resolution, a precise reconstruction of that schedule remains uncertain. The shared reduction interval and endpoint can be described, but selecting one starting value would hide a real ambiguity.

The translation learning curves have another reporting boundary: exact alternative BLEU endpoints are not stated in the text. The authors describe the comparisons and identify the increasing schedule as the only improvement. Without explicit values, the size of that improvement and the gaps among unsuccessful systems should not be given invented precision.

No repeated-run distribution or uncertainty estimate accompanies the small increasing-batch advantage. The paper does not provide enough evidence to assess how stable that advantage would be across independently repeated training runs. This is a limitation inferred from the reported design, instead of a statistical conclusion supplied by the authors.

The lexical diagnosis is restricted to a shared vocabulary that is strongly concentrated among frequent words. Its fairness across the tested representations comes at the cost of narrower coverage. It does not establish that the same ranking would hold for rare words, segmented items or the full translation vocabulary.

Relatedness and similarity tests are also indirect evidence about translation. A vector space can align with a human lexical judgment without necessarily improving sentence translation under the tested training procedure. Conversely, a translation system may use representations in ways these isolated word-pair tests do not capture. The paper uses these tests to understand a failure, not to replace translation evaluation.

Finally, the work studies a particular English-to-Czech system and particular training arrangements. It does not test parsing, logical inference, dictionary admission or the other Mova uses proposed earlier. Those transfers borrow experimental principles and diagnostic distinctions. Their usefulness remains to be established in the receiving system, using its own observable behavior and appropriate held-out checks.

### What came after

The paper closes with research directions instead of reporting a subsequent line of successful extensions. The later-work record contains no identified citing studies to discuss, so no documented chain of follow-up results can be attributed to these experiments.

For batch sizing, the authors propose smoother schedules and online adjustment based on how a current corpus section differs from the rest. They suggest that such adaptation might be useful when continuing training for a new domain. These proposals extend the paper’s central scheduling question, but the reported experiments do not evaluate them.

For embeddings, the authors suggest reusing representations learned by an earlier translation system. That proposal follows their diagnostic finding that translation training develops lexical relationships different from those emphasized by CBOW. They also leave numerical scaling as an unresolved avenue, having obtained no positive result from their attempts.

The firm endpoint is therefore methodological. The paper demonstrates that plausible training interventions can fail, that their failure can motivate useful representation analysis, and that a small efficiency gain needs the right measurement axis. Its prospective contribution is a set of questions for later experiments: which starting representations fit the destination task, which schedule fits the current learning state, and which apparent improvement survives a comparison that separates computation from learning?

## Cite

Cite as Mostafa Abdou, Vladan Glončák and Ondřej Bojar. 2017. Variable Mini-Batch Sizing and Pre-Trained Embeddings. Proceedings of the Second Conference on Machine Translation.

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

```bibtex
@inproceedings{abdou2017variable,
  title = {{Variable Mini-Batch Sizing and Pre-Trained Embeddings}},
  author = {Mostafa Abdou, Vladan Glončák and Ondřej Bojar},
  booktitle = {Proceedings of the Second Conference on Machine Translation},
  year = {2017},
  doi = {10.18653/v1/w17-4780},
  url = {https://doi.org/10.18653/v1/w17-4780}
}
```

> 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)
