Elamur Research

Variable Mini-Batch Sizing and Pre-Trained Embeddings

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

Summary

Training a translation system consumes time in several ways. It must acquire useful representations of its vocabulary, learn how sentences correspond across languages, and perform the numerical work required for repeated updates. Mostafa Abdou, Vladan Glončák and Ondřej Bojar examine whether learning can become more efficient by altering either the initial representations or the number of items processed together. Their paper, “Variable Mini-Batch Sizing and Pre-Trained Embeddings,” describes experiments for the WMT 2017 Neural MT Training Task. The setting is machine translation from English into Czech, using the task’s supplied data and Neural Monkey system. The authors retain that foundation and alter how training begins or proceeds.

The representation experiments supply word embeddings before translation training starts. These are numerical vectors associated with vocabulary entries. The authors prepare English vectors with CBOW, a continuous bag-of-words method, and also investigate bilingual vectors produced with Skip-gram. Depending on the experiment, these values initialize the source-side vocabulary representations or the representations on both language sides. Translation training can subsequently change them. None of the tested initialization configurations beats the ordinary baseline, including a larger configuration. However, several settings differ between runs, and the authors explicitly acknowledge that their computing allocation prevents fully matched comparisons. The result concerns these experiments; it does not establish that independently prepared embeddings are always unsuitable.

The scheduling experiments alter mini-batch size: the number of examples grouped for a training update. To make such changes possible, the authors extend Neural Monkey’s ability to save its training state and continue in another job. Their schedules that shrink batches produce disappointing trajectories, with more frequent reductions followed by earlier deterioration. A schedule that expands the batch is more promising. It uses 65 examples per batch during a week, then 100 during another week. This is the only reported intervention that improves on the baseline. The improvement is described as small and concerns progress against elapsed time. When the horizontal axis instead counts training steps, the authors see no discernible advantage. Both runs are still improving, so the evidence does not establish different final-quality ceilings.

The paper also asks what went wrong with the imported vectors. Its diagnostic tests distinguish general association between words from semantic similarity. For the vocabulary shared with SimLex-999, embeddings learned through standard translation training yield a Spearman correlation of 0.519 with human similarity judgments. The BPE-based CBOW vectors achieve 0.171, while the initialized system’s vectors reach 0.267 after translation training. A relatedness test produces a different ranking, showing that the CBOW representations retain useful information of another kind. The resulting lesson is about compatibility and measurement: a representation can encode valuable relationships without supplying the relationships most useful to its destination, and a training intervention can improve computational throughput without making each update more effective.

Interesting ideas

Evaluate efficiency along more than one axis. Elapsed time answers a practical question about resource use, while update counts describe another aspect of learning progress. The expanding-batch experiment looks slightly better under the former view and indistinguishable under the latter. Keeping these views separate helps researchers understand changes to GPU and parallel computing, batching, preprocessing and execution pipelines. A faster implementation can be valuable even when the learning trajectory per update remains similar.

Ask what relationship a representation preserves. General association, close similarity and syntactic behavior are different properties. An independently trained resource should be assessed against the distinctions required by its eventual consumer. The embedding diagnosis illustrates why an attractive starting representation might need substantial revision during downstream learning. This principle extends to transferred features, lexical resources and learned representations used outside the task that produced them.

Make evaluation coverage visible. Restricting a comparison to vocabulary supported by every participant creates a common testing ground, but may select unusually frequent items. The paper checks that possibility rather than treating shared coverage as representative by default. Similar audits help in evaluation and benchmarks whenever systems have different supported inputs. Quality on shared cases and breadth of coverage answer complementary questions.

Test the machinery that enables the experiment. Saving state, ending a job and continuing elsewhere are prerequisites for the batch interventions. The authors check repeated continuation before relying on it. The broader principle is to examine whether an experimental operation changes the underlying process unexpectedly. Restartable training, staged indexing and long-running data transformations all depend on that distinction between intended intervention and execution artifact.

Treat a parameter’s history as experimental information. Arriving at a small batch after earlier training with a larger batch is not necessarily equivalent to beginning with the small batch. The paper’s unsuccessful reductions, together with its tentative observations about smaller starting batches, make that question explicit. Researchers can reuse this perspective when investigating changing curricula, retained parameters or staged adaptation: the route to a configuration may matter alongside the configuration itself.

Use failure to refine the question. The authors respond to unsuccessful initialization by comparing the properties of the input vectors and the vectors eventually learned through translation. They also reconsider an overfitting explanation when training performance deteriorates alongside held-out performance. An unsuccessful intervention becomes informative when it generates discriminating measurements. This approach is useful wherever several plausible mechanisms could produce the same disappointing headline result.

Deep dive: Variable Mini-Batch Sizing and Pre-Trained Embeddings

An examination of changing mini-batch sizes and pretrained word embeddings to accelerate English-to-Czech translation training. · about 34 minutes to read

How Mova uses it

Mova is a transparent language system implemented in Rust, with explicit linguistic rules, learned parameters, graph knowledge and bounded operational components. Its documented mechanisms provide several places where the paper’s experimental reasoning could be useful. The connections below concern those mechanisms rather than a claim that Mova has adopted these particular training schedules. Each status describes a proposed correspondence with documented functionality. It does not establish influence from the paper or a measured benefit from the proposed extension.

Idea: Distinguish computational acceleration from more effective learning. Where: Section 3.2 and Figure 3. Area: efficiency evaluation. Mova: частково є (tools/twin records predicted and observed execution costs; the GPU execution contract distinguishes exact operations from approximations). For any batched learning component, Mova could pair elapsed-time measurements with update counts and unchanged task-quality measurements. Why Mova: its explanations should identify whether progress comes from executing work faster or extracting more useful behavior from that work.

Idea: Evaluate imported features against their receiving task. Where: Section 2.3.1 and Table 2. Area: representation compatibility. Mova: частково є (tools/dictindex preserves linguistic frames and presents statistical selectors for review). A proposed lexical feature could be checked for the particular distinction its consumer needs, such as a sense distinction or a syntactic role, before admission. Why Mova: statistical usefulness in a source collection does not establish that the feature supports the explicit inference for which Mova intends to use it.

Idea: Report performance on shared inputs alongside coverage. Where: Section 2.3.1 and Table 2. Area: evaluation coverage. Mova: частково є (tools/dictindex reports the actual indexed portion and records missing evidence during lexical review). Comparisons between dictionary versions, morphological procedures or readers could retain both a common-case evaluation and a separate coverage account. Why Mova: a reassuring score should remain distinguishable from the ability to handle the broader workload.

Idea: Audit whether a convenient evaluation subset favors frequent vocabulary. Where: Section 2.3.1, following Table 2. Area: corpus statistics. Mova: частково є (tools/dictindex maintains occurrence statistics and frequency-based candidate access). Mova could inspect frequency distributions within accepted comparison sets instead of assuming that intersecting coverage produces a balanced sample. Why Mova: common words may have abundant witnesses while uncommon meanings remain weakly supported, even when aggregate quality appears strong.

Idea: Verify continuation independently of the intended intervention. Where: Section 1.1. Area: execution integrity. Mova: частково є (tools/enrich can complete interrupted improvement runs; tools/dictindex couples published batches with cursor advancement). Each restartable path could be evaluated against its own uninterrupted counterpart, using the state and output appropriate to that operation. Why Mova: dependable continuation matters for long corpus jobs and retained learning, where omissions or repeated work can be difficult to notice afterward.

Idea: Preserve the history through which a setting was reached. Where: Sections 3.1 and 4.1. Area: experimental design. Mova: частково є (world selfplay retains an experiment journal, and school learning has persistent state). Experiments could distinguish an initial setting from a later transition to that setting, with provenance for the state on which the transition acts. Why Mova: retained parameters and graphs can make the same final configuration behave differently after different learning histories.

Idea: Connect unsuccessful interventions to targeted diagnostics. Where: Section 2.3.1. Area: failure analysis. Mova: вже є (world/src/knowledge/retention/fastread.rs separates failures involving representation, inference, parameters and parsing). The paper adds a useful diagnostic question: does the proposed input resource actually contain the property used to justify importing it? Why Mova: that question can help distinguish a missing capability from an inappropriate encoding of available information.

Idea: Maintain separate evidence for association and similarity. Where: Section 2.3.1 and Table 2. Area: lexical semantics. Mova: частково є (tools/dictindex exposes co-occurrence features while requiring reviewed labels and independent dictionary admission). A strong contextual association could remain an association without being promoted to synonymy or identity of meaning. Why Mova: a free dictionary and a logical module require semantic links whose claims are narrower than co-occurrence alone can support.

Idea: Check that evidence refers to the actual processing units. Where: Section 2.1. Area: segmentation and data compatibility. Mova: частково є (the language pipeline supplies structured tokens; tools/dictindex retains token positions and existing parse identities). Imported statistics could be checked against the receiving component’s token and lemma conventions. Why Mova: evidence collected for a different segmentation or lexical identity may look relevant while describing a different object.

Idea: Observe how imported knowledge changes during adaptation. Where: Section 2.3.1. Area: retained learning. Mova: частково є (school retention stores a learned graph and role parameters for later examination). Mova could compare a reviewed starting resource with its adapted state using explicit graph or parameter observations. Why Mova: the comparison could reveal whether reuse supplies useful structure or mainly creates work that later learning must undo.

Idea: Isolate exceptional-token behavior during comparisons. Where: Sections 2.1–2.2 and Table 1. Area: implementation controls. Mova: нове. A proposed audit would list any differences affecting boundary markers, unknown entries or other exceptional inputs when comparing representations. The documented digest does not establish whether an equivalent audit already exists across relevant components. Why Mova: an unnoticed exception can confound an experiment whose headline concerns ordinary lexical information.

Idea: Separate changes in capacity from changes in initialization. Where: Section 2.2 and Table 1. Area: controlled evaluation. Mova: частково є (the project requires measurements and regression checks when changing shipped behavior). A larger resource, a different starting state and a changed execution budget could be investigated separately before their combination is assessed. Why Mova: a transparent implementation still needs experiments that make the source of an observed improvement identifiable.

Idea: Compare learned and held-out behavior when diagnosing deterioration. Where: Section 4.1. Area: evaluation design. Mova: частково є (school teaching and assessment have separate roles, and bounded improvement requires comparable question sets). A learning diagnostic could examine training behavior alongside a strictly separate held-out result, without admitting assessment answers into learning. Why Mova: deterioration in both places supports a different diagnosis from successful fitting accompanied by poorer generalization.

Idea: Keep observations distinct from explanations that may change. Where: Sections 3.1 and 4.1. Area: reasoning and provenance. Mova: вже є (docs/hybrid-system.md distinguishes operational receipts, proposals, proofs and admitted knowledge). A report could retain the observed failure while recording successive explanations and the evidence supporting each. Why Mova: explicit reasoning should show when new evidence changes an interpretation without pretending that the earlier observation disappeared.

Idea: Compare opposite schedule directions where batching actually applies. Where: Sections 3.1–3.2. Area: learning schedules. Mova: нове. For a component with meaningful mini-batch updates, a proposed experiment could compare supported increases and reductions under declared constraints. Existing evidence does not establish such an experiment throughout Mova. Why Mova: testing the reverse intervention can expose a mistaken explanation for why a resource setting was expected to help.

Idea: Investigate transition smoothness as a separate hypothesis. Where: Section 4.1. Area: optimization schedules. Mova: нове. The authors suggest gentler changes after testing coarse schedules; an applicable Mova learner could compare gradual transitions with abrupt ones while preserving the rest of its procedure. Why Mova: a transition may be disruptive even when its destination setting is usable. This remains an unmeasured proposal, not a demonstrated remedy.

Idea: Base adaptive resource allocation on declared workload differences. Where: Section 4.1. Area: scheduling. Mova: частково є (tools/twin calibrates cost observations, and worker interfaces declare bounded tasks). Mova could test whether observable document or task characteristics help allocate processing budgets. Why Mova: heterogeneous workloads may justify different resources, but predicted cost must remain separate from a judgment about linguistic understanding.

Idea: Keep domain-specific scheduling within its evaluated scope. Where: Section 4.1. Area: domain adaptation. Mova: частково є (layers provides domain interfaces and records routing decisions). A resource rule developed for a particular domain could retain that scope until comparisons elsewhere justify extending it. Why Mova: explicit routing should not turn local success into an unsupported claim about every kind of text.

Idea: Prefer compatible retained state as a transfer candidate. Where: Section 4.2. Area: transfer learning. Mova: частково є (retained school state can be examined in a fresh process without lesson replay). Mova could compare reuse of appropriately reviewed state from a related task with reuse from a less compatible source. Why Mova: prior learning may transfer better when it has exercised the distinctions the new task requires. The paper proposes an analogous translation experiment but does not demonstrate its success.

Idea: Distinguish numerical scale from represented relationships. Where: Section 4.2. Area: mathematical diagnostics. Mova: нове. If a Mova component uses numerical representations for which scale matters, an experiment could vary magnitude while retaining a declared relational property. Why Mova: this would separate an adjustment problem caused by numerical values from an informational mismatch. It supplies no reason to replace explicit rules or graph structures.

Idea: Evaluate the cost of preparing a supposedly faster starting point. Where: Sections 2 and 2.1. Area: resource accounting. Mova: частково є (tools/twin records measured runs, while tools/enrich reports run timing). A proposed reuse experiment could distinguish preparation cost from the cost of subsequent learning, identifying what the claimed acceleration includes. Why Mova: a shorter downstream phase may be useful, but its practical value depends on the work required to obtain its starting resource.

Idea: Preserve unsuccessful experiments without declaring the search exhausted. Where: Section 4.2. Area: experiment management. Mova: вже є (world selfplay records rejected and accepted experiments). A failed scaling or initialization attempt could retain its exact scope and outcome while leaving different configurations open for investigation. Why Mova: such records discourage redundant work without converting a limited failure into a universal prohibition.

Idea: Evaluate possible side effects beyond the headline metric. Where: Section 2.3.1 and Table 2. Area: diagnostic evaluation. Mova: частково є (linguistic changes are regression-gated, and the digest distinguishes morphology scores from parsing and storage effects). A proposed resource should be examined on relevant neighboring behaviors, with each measurement retaining its meaning. Why Mova: an improvement in one observable can coexist with damage elsewhere, or with useful behavior that a single score overlooks.

Idea: State precisely what a small improvement establishes. Where: Section 3.2 and the conclusion. Area: scientific reporting. Mova: вже є (README.md and docs/hybrid-system.md separate measured behavior from future direction). Faster completion, stronger task accuracy and broader supported scope should remain different claims in experiment reports. Why Mova: a useful engineering result is easier to trust when its description matches the actual comparison.

Idea: Keep source restrictions inside the interpretation of transfer results. Where: Section 2. Area: data provenance and experimental scope. Mova: частково є (tools/sources records provenance, and tools/dictindex excludes disallowed source categories). A transfer experiment should state whether reuse changes the information available or merely reorganizes already permitted information. Why Mova: those alternatives test different hypotheses, especially when dictionary evidence and assessment material have strict admission boundaries.

The problem and its context

The shared task places the authors in a constrained engineering situation. They have a translation system and permitted training material, and their objective is to obtain better translation through changes to the learning procedure or the organization of that material. This is different from asking whether a new architecture can outperform an older architecture. The system’s foundations are supplied; the research concerns how productively those foundations can be trained.

The baseline is expensive enough to make this question concrete. Its training occupies two weeks, yet the authors do not regard it as fully converged. In this setting, an intervention need not introduce a new linguistic capability to be useful. Reaching a given quality sooner would already matter. Conversely, a promising idea that adds preparation work or slows useful progress could be impractical even if its motivation sounds reasonable.

Neural Monkey provides an attention-based encoder–decoder architecture. The cited antecedent is Bahdanau and colleagues’ attention-based translation system. At a broad level, the encoder processes the source sequence and the decoder generates the target sequence with access to information from the source. The authors do not modify this central arrangement. Their changes concern the numerical vocabulary representations and the groups of examples used to update trainable parameters.

The supplied system also uses BPE, a form of subword tokenization. The paper describes its purpose as reducing vocabulary size while allowing the system to deal with an open vocabulary. For the experiments, a crucial consequence is that the vocabulary entries encountered during training need not be complete written words. Any independently prepared embeddings must correspond to those actual entries if they are to initialize the system directly.

The argument for preparing embeddings in advance begins with the position of the vocabulary representation within the network. Encoding an input token as a vector occurs early in processing. The authors reason that parameters closer to the desired output receive effective training sooner, whereas useful corrections to earlier components can require more iterations. A suitable initial vocabulary representation might therefore save some of the work otherwise needed during translation training.

The paper identifies different reasons why independently trained embeddings might help. They could exploit additional monolingual material, or they could make better initial use of the material already available. The task forbids extra training data, removing the former possibility from this investigation. That restriction matters when interpreting the outcome: the experiment is about preparation and compatibility, not about acquiring a larger body of evidence.

Earlier embedding research supplies efficient methods for constructing these vectors separately. The authors first select CBOW because it can be trained quickly. After disappointing results, they turn to bilingual Skip-gram, which they describe as slower but potentially appropriate when training data are more limited. These choices express a practical tradeoff. The representation must be useful enough to justify both its preparation and its influence on later learning.

A separate line of motivation concerns mini-batches. Rather than calculate every update from the complete training collection, learning uses a group of examples. The group provides an approximation to the gradient, the numerical direction used to adjust parameters. Changing its size can influence both the cost of an update and the character of that approximation.

The authors describe large batches as attractive because they exploit GPU parallelism. In their account of common practice, one frequently selects the largest batch that the available resources can accommodate. They also cite Balles, Romero and Hennig for adaptive batch sizing linked to faster convergence. Their own investigation uses simpler schedules, based on chosen intervals instead of an online rule that responds to measured conditions.

For decreasing schedules, the motivation comes partly from Keskar and colleagues. As the paper presents that earlier work, smaller batches tend to lead toward flatter minima, associated with better generalization, while larger batches can lead toward sharper minima. The authors hope to combine efficient early training with a later transition intended to avoid an overly specific solution.

That hope should be distinguished from a demonstrated mechanism. The experiments do not directly inspect the shape of the optimization landscape. They test a practical consequence that the authors expect from the motivating account. When the consequence fails to appear, the result challenges their chosen schedule without independently settling every claim about batch size and generalization.

The paper’s context is therefore a meeting point between computational efficiency and representational suitability. Preparing a lexical space and changing an update schedule are quite different interventions, but both promise to save expensive training effort. The authors investigate whether those promises survive actual translation training, then use additional analyses to ask why the observed outcomes differ from their expectations.

The method, step by step

The experimental procedure has a shared foundation and several branches. Every branch begins with the task’s translation environment, but the representation experiments and the batch-schedule experiments alter different parts of it. The lexical diagnosis then examines vectors from selected runs. Keeping these branches distinct prevents a diagnostic finding about vocabulary relationships from being mistaken for a direct translation result.

From supplied system to training diagnosis

The steps in order.

From supplied system to training diagnosisStep 1: Configure the translation baseline1. Configure the translation baselineStep 2: Enable state saving and continuation2. Enable state saving and continuationStep 3: Train separate vocabulary representations3. Train separate vocabulary representationsStep 4: Initialize the selected vocabulary matrices4. Initialize the selected vocabulary matricesStep 5: Execute the chosen batch schedule5. Execute the chosen batch scheduleStep 6: Assess translation progress over training6. Assess translation progress over trainingStep 7: Examine lexical relationships and coverage7. Examine lexical relationships and coverage

Establishing the reference run

For most experiments, the authors choose the supplied configuration intended for 4GB resources. This choice reflects the GPU limitations at MetaCentrum. It is an experimental constraint with consequences for the range of comparisons they can afford, rather than a claim that this size is intrinsically best.

The configuration limits sentence length to 50. Its vocabulary vectors have size 300, and its hidden layers have size 350. The gradient norm is capped at 1.0. These settings define the reference environment against which the investigated changes are judged. The paper does not present them as independently optimized findings.

The reference mini-batch contains 60 examples. Resource restrictions require the run to stop after a week, so the full training period spans separate jobs. After two weeks and a restart, the reported BLEU value is 15.24. BLEU is the translation-quality measure used for the learning comparisons; higher values indicate better performance according to that measure.

This baseline supplies a practical reference, but it is not a completed account of everything the configuration could eventually achieve. The authors state that learning is still underway. Comparisons against it consequently concern observed progress within the available training period.

Making continuation possible

The authors adapt Neural Monkey to allow training variables to be saved and later restored. Continuation is submitted as a new computing job. This change addresses the limits on how long a job can run and creates opportunities to alter batch size between stages.

Before drawing conclusions from staged training, they try restarts separated by a few hours. They report no noticeable disturbance to learning. That observation supports the procedure as an enabling mechanism. It does not come with a detailed numerical state-equivalence analysis, so its evidential scope is the absence of an observed training effect under the tested restarts.

The distinction matters because a restart and a batch change occur together in the later procedure. If continuation itself damaged training, the schedule comparison would be difficult to interpret. Testing continuation separately reduces that concern without resolving every other difference between experiments.

Preparing the English initialization

For source-side initialization, the authors take the English portion of the permitted corpus after BPE processing. They use Gensim to train CBOW embeddings with size 300. This aligns the prepared vectors with the segmented vocabulary units the encoder will actually encounter.

The alignment is practical as well as linguistic. A complete-word vector cannot automatically stand in for a collection of segmented entries. Training on the already segmented corpus avoids that immediate vocabulary mismatch, though the later diagnostics still ask whether segmentation affects the quality of lexical relationships.

The resulting vectors initialize the encoder’s embedding matrix. A matrix here is the collection from which the system retrieves the vector associated with each vocabulary entry. Pretraining supplies starting values; it does not create an immutable reference resource alongside the translator.

All initialized values remain subject to translation learning. This is essential to the authors’ interpretation. If the initial vectors emphasize unsuitable relationships, translation training can attempt to change them. The final vectors therefore reflect both the independent starting procedure and the subsequent translation objective.

Preparing initialization for both languages

The bilingual experiment uses Skip-gram representations trained through bivec. Its input is the parallel corpus with BPE applied on both language sides. The paper connects this method to Luong, Pham and Manning’s bilingual representation work.

This experiment changes the scope of initialization. Rather than supplying English representations only, it initializes vocabulary matrices for the encoder and decoder. The intervention therefore reaches both the input-processing and output-generation sides of translation.

The choice also changes the representation-learning procedure, moving from monolingual CBOW to bilingual Skip-gram. That makes it an informative alternative configuration, but not a controlled test of language coverage alone. A different outcome could reflect the objective, the bilingual information, the initialized locations or interactions among them.

The paper does not supply the equations governing CBOW or bilingual Skip-gram. Their role in the method is specified operationally: they produce vocabulary vectors from permitted material, and those vectors become trainable initial parameters within Neural Monkey.

Initializing exceptional vocabulary symbols

Ordinary lexical entries are not the only items requiring representations. The system adds markers for sequence boundaries, padding and unknown vocabulary. The paper reports a separate initialization choice for these auxiliary entries.

The reference distribution is written as:

N(0, 0.01²)

N denotes a normal distribution. Its mean is 0, and its variance is expressed as 0.01². The expression specifies a distribution used to generate initial values; it is not an equation for the learning objective.

In the first source-only experiment, the auxiliary initialization instead follows:

U(0, 1)

U denotes a uniform distribution over the interval bounded by 0 and 1. The authors later restore the normal initialization used by the reference run.

This small implementation detail has a large interpretive role. The first source-only comparison changes both the ordinary embeddings and the auxiliary initialization. Its outcome cannot be attributed to imported lexical vectors alone. The authors’ broader admission that their runs are not fully matched includes differences of this kind.

Exploring a larger configuration

The additional source-only experiment uses the supplied 8GB configuration and a mini-batch of 150. The authors execute it on an Amazon EC2 K80 card. The larger configuration changes embedding and recurrent-network sizes, although the text does not enumerate their larger dimensions.

The authors identify this run as their strongest pretrained configuration. They nevertheless warn that it cannot be directly compared with the other runs because several relevant conditions differ. It becomes their secondary submission to the task and is not designated for manual evaluation.

Its methodological role is exploratory. It asks whether a larger practical arrangement with source-side initialization performs better than the earlier initialized arrangements. It does not isolate the causal effect of capacity, batching or initialization.

Constructing the shrinking schedules

The reduction experiments begin from the idea that a large batch could support efficient early work, while smaller batches later might improve generalization. The schedules are chosen heuristically rather than derived from an adaptive criterion.

For the schedules changing every 12 hours and every 24 hours, the starting size is 100 and the final size is 5. Reductions remove 20 examples from the batch until the size reaches 20. Subsequent reductions halve the size until the final setting is reached.

The primary submission uses changes separated by 48 hours and ends at 20. Its starting value is inconsistent across the paper. Table 3 lists 150, whereas Section 3.1 describes beginning at 100. The prose specifies reductions of 20. Because these accounts disagree, a faithful description must preserve the uncertainty rather than silently select a preferred starting size.

The interval comparison is therefore not a perfectly isolated test of frequency. The primary schedule differs in its endpoint and has an unresolved initial value. The paper still reports a qualitative pattern across curves, but exact reconstruction requires more information than its accounts consistently supply.

Constructing the expanding schedule

The increasing run begins with a mini-batch size of 65 and maintains it for a week. During another week, it uses 100. The experiment finishes after the deadline for the task submissions.

The schedule differs from the reference run from the beginning, because the reference size is 60. It should therefore be interpreted as the tested expanding arrangement as a whole. The paper does not provide an otherwise identical fixed-65 comparison that would isolate only the later transition.

Its analysis uses both elapsed time and the number of training steps. This dual view is central to the reported result. A training step is an update event, while elapsed time includes how efficiently the hardware executes the chosen workload. Different batch sizes can change the relationship between those views.

Examining the vocabulary spaces

The diagnostic comparison includes CBOW trained without segmentation, CBOW trained on BPE units, and embeddings obtained from the reference and source-initialized translation runs. The selection makes it possible to compare independently learned representations with translation-trained representations and to observe the outcome of adapting an imported starting point.

For a word pair, the paper uses the expression:

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

v and w identify the words under comparison. emb returns the embedding associated with its argument. cos denotes the cosine-based comparison applied to the resulting vectors. The paper describes its analysis in terms of cosine distances and dissimilarities, using their relationship to human judgments as a diagnostic.

Agreement with human judgments is summarized through Spearman’s rank correlation, represented by ρ. This evaluates correspondence between rankings rather than asking whether the numerical scales match directly. The paper reports the correlations without giving a separate derivation of the coefficient.

WordSim-353 and MEN provide judgments of broad relatedness. SimLex-999 targets similarity more specifically. The authors’ example distinguishes a vehicle and its associated road from a vehicle and another name or broader category for that vehicle. The point is conceptual: things can participate in the same situation without having closely matching meanings.

The common evaluation vocabulary contains 265 words. It restricts attention to entries shared by the compared representations and the diagnostic resources. The authors also evaluate unsegmented CBOW under its broader available coverage, making it possible to examine what the intersection leaves out.

Experiments and results

The paper reports translation trajectories and a separate lexical diagnosis. The translation experiments evaluate whether the interventions improve useful progress. The lexical tests inspect what the vocabulary vectors encode. Keeping these outcomes distinct is necessary because a better word-pair correlation does not automatically imply better sentence translation.

What the translation runs establish

The reference configuration attains BLEU 15.24 after two weeks. Its training includes a restart, and the authors say it has not yet converged. This establishes an observed reference point within their resource budget, not a final score after all useful learning has ended.

The learning curves for imported embeddings are unfavorable. The authors report that every such configuration falls behind the smaller reference arrangement. This includes English-only initialization, bilingual initialization and the larger English-only experiment.

The larger initialized run is the best of those alternatives, but its stronger position within that group does not overturn the overall negative outcome. It also changes several conditions. Its result cannot determine whether a different capacity or batch arrangement would independently help an otherwise unchanged system.

No exact terminal BLEU values for the initialized alternatives are written in the paper’s discussion. Their relative behavior is communicated through the learning figure and the authors’ interpretation. Accordingly, the supported statement is qualitative. Assigning precise gaps would create numerical claims beyond those reported.

The batch-reduction runs also fail to deliver the intended benefit. In the held-out curves, the authors observe earlier degradation when the reductions happen more frequently. Their eventual discussion adds that the problem is visible on training data too, which affects how the deterioration should be explained.

The expanding schedule is the exception to the negative pattern. Its curve is slightly stronger against elapsed time, and the authors identify it as the only experiment exceeding their reference. Against update counts, however, they find no observable separation.

That result supports a modest practical conclusion: the tested arrangement makes slightly better use of time. It does not establish more useful learning from each update, and the paper provides no exact numerical size for the improvement. The authors connect the effect to GPU utilization rather than presenting it as a new translation capability.

The similarity comparison

The lexical tests provide explicit scores across training histories. SimLex-999 contains 999 human-rated pairs and focuses on similarity. On the common vocabulary, the translation reference produces the strongest correlation.

SimLex-999 similarity correlations on the shared vocabulary

The translation reference aligns most closely with similarity judgments.

SimLex-999 similarity correlations on the shared vocabularyUnsegmented CBOW: 0.173Unsegmented CBOW0.173BPE-based CBOW: 0.171BPE-based CBOW0.171Translation reference (this paper): 0.519Translation reference (this paper)0.519Source-initialized translation: 0.267Source-initialized translation0.267
The numbers
System or settingSpearman ρ
Unsegmented CBOW0.173
BPE-based CBOW0.171
Translation reference (this paper)0.519
Source-initialized translation0.267

The result is not simply a contest between larger and smaller representations. The important difference is training history and objective. The translation reference starts without the imported CBOW values, yet its acquired lexical relationships fit this similarity test better.

The source-initialized translation vectors improve their position relative to their starting representation but remain behind the translation reference. This is compatible with the authors’ interpretation that translation training adjusts an association-oriented representation toward a different lexical organization.

That interpretation should remain proportional to the evidence. The diagnostic ranks representations on a particular shared vocabulary. It does not identify which individual adjustments matter for translation, nor does it prove that the similarity deficit causes the translation-quality deficit.

Relatedness gives a different ranking

MEN contains 3000 rated pairs and concerns general relatedness. Its common-vocabulary comparison favors BPE-based CBOW instead of the translation reference.

MEN relatedness correlations on the shared vocabulary

BPE-based CBOW leads when the judgment concerns broad association.

MEN relatedness correlations on the shared vocabularyUnsegmented CBOW: 0.610Unsegmented CBOW0.610BPE-based CBOW (this paper): 0.621BPE-based CBOW (this paper)0.621Translation reference: 0.583Translation reference0.583Source-initialized translation: 0.591Source-initialized translation0.591
The numbers
System or settingSpearman ρ
Unsegmented CBOW0.610
BPE-based CBOW (this paper)0.621
Translation reference0.583
Source-initialized translation0.591

This result prevents a simplistic explanation in which the imported representations contain no useful semantic information. They do capture relationships that correspond well to a human-rated task. The issue is whether those relationships supply an advantageous starting point for translation.

The translation reference also retains substantial relatedness information. The paper’s contrast is therefore one of emphasis, not a clean division where one learning procedure captures association and the other cannot. Different evaluation resources reveal different rankings.

WordSim-353 reinforces that qualification. It contains 353 word pairs rated for relatedness. Under common coverage, the translation reference reaches 0.621, unsegmented CBOW reaches 0.610, BPE-based CBOW reaches 0.571, and the source-initialized translation run reaches 0.527. A relatedness label on its own does not guarantee the MEN ordering.

What broader coverage reveals

For unsegmented CBOW, the broader-coverage results are weaker than its common-vocabulary results. Its reported correlations under fuller coverage are 0.320 for WordSim-353, 0.300 for MEN and 0.064 for SimLex-999.

The authors investigate why restricting vocabulary makes such a difference. Their frequency account shows that 263 of the 265 shared words fall among the 10,000 most frequent entries in a vocabulary of size 350,881. The shared set is consequently concentrated on words with substantial training evidence.

This supports their explanation that less frequent words may not receive enough contextual support to acquire comparably useful vectors. It does not show that frequency explains every discrepancy, but it establishes an important property of the diagnostic sample.

The common subset remains valuable because it makes the embedding comparisons more directly comparable. Its limitation is representativeness. Results on these well-supported entries cannot simply be extended to every vocabulary item, especially entries affected by segmentation or limited corpus evidence.

Changes after translation training

The authors also measure how far corresponding vectors lie from the translation reference under a cosine-distance comparison. Before translation adaptation, the average distance between BPE-based CBOW and the reference is 1.003. For the adapted source-initialized vectors, the reported average is 0.995.

They interpret this as movement towards the kind of representation obtained through ordinary translation learning. The interpretation fits the stronger similarity score after adaptation and the intermediate behavior on some other diagnostics.

The aggregate distance nevertheless supplies a limited observation. It does not establish that all lexical entries move appropriately, that the resulting organization is sufficient, or that the movement itself explains translation performance. Its value is to supplement the judgment-based tests with another view of how the imported starting point changes.

What the ablations show

The experiments are better described as configuration comparisons and diagnostic investigations than as a complete ablation series. An ablation would isolate the contribution of a component by holding other relevant conditions stable. The authors state that resource shortages prevent them from arranging directly comparable pairs throughout the study.

This distinction does not erase the results. The tested configurations still perform as reported. It changes the precision of the conclusions: some comparisons identify unsuccessful arrangements without establishing which changed ingredient is responsible.

Continuation receives a separate check

The restart investigation is an important control because it examines an operation on which the schedule experiments depend. Repeated stopping and continuation do not produce a noticeable learning effect in the authors’ test.

That makes continuation less likely to be the obvious source of later deterioration. The control does not demonstrate exact equality of every internal value or provide a statistical estimate of restart effects. It supports the practical observation needed for the ensuing experiments: the modified execution path appears usable without an evident learning penalty.

The lesson is procedural. Before interpreting an intervention conducted through saved state, the authors examine whether the state-handling operation itself visibly disrupts the process. That separates an enabling mechanism from the research question it makes possible.

The embedding runs do not isolate initialization alone

The source-only experiment changes auxiliary-symbol initialization as well as ordinary vocabulary values. The bilingual experiment changes the representation procedure and the locations initialized. The larger experiment alters capacity and batching.

These are not minor bookkeeping issues. Each difference provides an additional route through which the final trajectory could change. The paper can conclude that its tried embedding arrangements do not help, but cannot assign every observed disadvantage exclusively to independently trained vectors.

The larger run especially illustrates this boundary. It is an explored configuration under different resources, not an independent measurement of the value of increased capacity. Its failure to overtake the reference is informative without creating a general argument against larger configurations.

Reduction frequency is suggestive rather than fully isolated

The shrinking schedules display a clear qualitative pattern in the authors’ reading: faster reduction is followed by earlier deterioration. This is consistent with a harmful effect of the changing schedule.

However, the comparison does not vary interval alone. The primary run ends at a different batch size from the more frequent reductions, and its initial size is reported inconsistently. The evidence therefore supports concern about these reduction policies more directly than a precise law relating interval length to performance.

The authors’ later mention of smaller batches used from the beginning strengthens the need to distinguish schedule from endpoint. Those observations are not presented as a fully documented result, but they suggest a follow-up comparison capable of testing whether the transition itself is important.

The time-axis comparison clarifies the positive result

The expanding schedule receives an especially useful analysis because progress is viewed against different independent quantities. Its slight elapsed-time advantage does not appear as an advantage against training steps.

This pattern favors an execution-efficiency interpretation. A changed batch arrangement can improve the practical rate of progress without creating visible separation in the sequence of update-based evaluations.

Update count is not an equal-example budget when batch sizes differ. That is a consequence of the intervention’s definition, and it limits what the comparison alone can establish. The paper’s strongest supported claim remains the one it makes cautiously: a small observed time benefit under its tested conditions.

Training deterioration changes the failure diagnosis

The discussion accompanying the shrinking schedules initially interprets declining held-out performance as overfitting. Viewed alone, a worsening held-out curve could fit that account: training might become too specialized to its examples.

The later discussion adds that training-set performance also declines. The authors then describe the problem as a loss of learning ability rather than straightforward overfitting. This is a substantive revision because it uses additional evidence to reject an initially plausible explanation.

Their proposed account invokes a useful role for larger batches in regularization and a vulnerability to highly local optima after reduction. The paper does not directly measure this mechanism. The controlled insight is the diagnostic distinction: simultaneous deterioration in training and held-out behavior requires a different explanation from a widening generalization gap.

The lexical tests separate kinds of usefulness

The representation analysis shows why a single generic label such as “good embeddings” is insufficient. BPE-based CBOW performs strongly on MEN, whereas the translation reference is much stronger on SimLex-999.

The source-initialized vectors reveal that adaptation changes those properties. Their behavior does not remain identical to the independent starting resource. This gives the authors evidence for a mismatch that translation training attempts to revise.

The analysis remains correlational. It identifies a difference that fits the failure narrative, but it does not experimentally remove that difference while leaving everything else fixed. A decisive causal test would require a comparison the paper does not report.

Coverage is part of the diagnostic design

Comparing the broader unsegmented vocabulary with the shared vocabulary exposes a selection effect. The stronger scores on the shared entries coincide with a set dominated by frequent words.

This is useful because restricting the vocabulary is otherwise easy to treat as a neutral technical convenience. The analysis shows that comparability and representativeness can pull in different directions.

The resulting reading is balanced: the common-set comparison is appropriate for comparing the available vectors on the same entries, while the frequency analysis limits how broadly that comparison should be interpreted.

Limitations

The authors’ clearest stated limitation is computational scarcity. They cannot run all the matched comparisons their questions would ideally require. The paper consequently explores a collection of practical configurations rather than presenting a factorial investigation that separates every relevant variable.

This affects causal claims most directly. A failed configuration can establish that the complete arrangement was unhelpful under the tested conditions. If initialization, auxiliary symbols, capacity or batching also differ, it cannot establish which ingredient caused the disadvantage.

Incomplete training is another stated boundary. The reference and increasing-batch runs are not fully converged. An intermediate advantage is useful evidence about observed progress, but it cannot determine whether eventual quality would differ after continued learning.

The positive result is also described without an exact numerical gain. The authors report a small elapsed-time benefit and no visible step-based advantage. Any more precise statement about its magnitude would exceed the information they give.

The data restriction narrows the embedding conclusion. Extra training material is forbidden, so the study does not investigate a major possible benefit of pretraining: access to a larger independent corpus. It examines a different way to prepare representations from already permitted information.

The authors themselves note that other experiments in their department, involving Google News embeddings, do not fit the same negative pattern. They provide no results sufficient to analyze those experiments. The remark is a caution against generalization, not an additional quantitative finding that can be incorporated into the comparisons.

The proposed similarity explanation has evidential limits. The lexical diagnostics support different emphases across representation procedures. They do not establish that those differences alone determine translation behavior. Other configuration changes and adaptation difficulties remain unresolved.

The vector-distance analysis is similarly limited. Its averages describe relationships between corresponding representations over the shared vocabulary. An average movement does not identify which entries become more useful or whether the movement is responsible for sentence-level improvement.

The authors discuss shrinking numerical magnitudes while preserving cosine relationships. They report no successful outcome from that investigation. This is a stated unsuccessful direction, but the paper does not document a sufficiently complete search to rule out every possible scale adjustment.

Their recommendation to reuse embeddings from earlier translation training is prospective. It follows the intuition that a task-compatible representation could avoid the mismatch they diagnose. No reported experiment establishes the value of that proposed initialization.

Batch scheduling has its own scope limits. The tested policies are heuristic and tied to selected intervals. The paper does not evaluate an online system that measures corpus conditions and chooses batch size accordingly.

The suggested application to domain adaptation is likewise a research direction. It is not an observed success in a new domain. The authors identify where adaptive scheduling might be useful, without supplying a domain-transfer experiment that supports the prediction.

The explanation involving flatter or sharper minima comes from earlier research as described by the authors. Their own experiments do not directly measure those geometric properties. They therefore cannot establish whether their failed reductions arise from the specific landscape behavior invoked in the motivation.

A reader-visible reporting problem concerns the primary shrinking schedule. Its starting batch is 150 in the setup table but 100 in the prose. The paper does not resolve the discrepancy. The interval and endpoint can be reported confidently, while the initial setting remains uncertain.

Another reader-visible limit is the absence of uncertainty estimates for the small positive result. The reported account does not provide a repeated-run distribution or a significance analysis. It therefore does not establish how reproducible the observed advantage would be across independently repeated training runs.

The lexical evaluation’s shared vocabulary creates a further inferred limitation. Frequent entries dominate that sample, and words broken by segmentation are not represented in the same way. The reported ranking cannot be assumed to characterize all rare or segmented vocabulary.

Word-pair judgments are also indirect diagnostics for translation. They isolate relationships between vocabulary entries, whereas translation evaluates behavior over sentences. The paper appropriately uses these tests to investigate the failed intervention, but their correlations are not substitutes for translation measurements.

Finally, the study concerns a particular translation task, architecture and resource setting. Its transferable experimental principles are broader than its demonstrated application. Proposed uses in rule systems, lexical admission or graph-based reasoning remain hypotheses requiring their own measurements.

What came after

No identified later citing studies are available for a documented account of subsequent developments. It would therefore be unwarranted to describe a confirmed line of follow-up systems or attribute later improvements to this paper.

The authors’ closing proposals show where they expected investigation to continue. For mini-batches, they suggest less abrupt schedules and online adjustment informed by differences between a current corpus portion and the wider collection. They point to domain adaptation as a setting where such responsiveness might be useful.

Those proposals extend the question rather than resolve it. The tested schedules are coarse heuristics, and their outcomes do not settle whether a more carefully observed adaptation rule would work. The distinction between a promising next experiment and an established improvement remains essential.

For representations, the authors propose a starting point acquired through earlier translation learning. Their diagnostic results motivate this possibility because translation produces a lexical organization different from the independently trained CBOW space. Reusing a task-compatible representation might require less corrective adaptation, but the paper does not test that prediction.

The unsuccessful scaling investigation leaves another open question: whether the obstacle lies partly in numerical magnitudes, partly in represented relationships, or in their interaction with training. The reported attempts yield no positive result, without providing a comprehensive resolution.

What the paper leaves established is narrower and useful. Several plausible changes fail under real constraints; examining those failures reveals differences between lexical association and similarity; and the sole favorable schedule owes its reported value to progress measured by time. These observations define concrete questions for future experiments while preserving the boundary between measured behavior and explanation.

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

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

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/abdou-2017-variable-mini-batch-sizing-pre/