AIMech AI

Shake-Shake regularization

Algorithms AIMech:ShakeShakeRegularization DRAFT
The original residual-network training and inference procedure that combines two learned branch outputs with complementary uniform random weights during the forward pass, redraws the branch weights for its prescribed backward pass, and uses equal one-half branch weights at inference, with explicitly chosen image-level or minibatch-level coefficient sharing.
Identity Notes & Concept Scope Current creation-context inventory at merged base fc27ccaf4668f1bf7468a10c269f5583fa3e640b covered 742 maintained and 442 pinned AIO records, including IDs, names, aliases and scoped synonyms, with no normalized candidate-probe collision. Four fixed-string word searches included ignored and hidden files and yielded 369/373/1045/1105 occurrences. Root read all eleven distinct matching strings and their selected provenance, while exact reconstruction accounted mechanically for all 2892 occurrences. Hits identify existing frontier leads and historical Fast AutoAugment code inventory paths, not a maintained record for this identity. The newly surfaced shakedrop.py path was listed at repository commit 2424224291616a2158a2265069ee95a78a2d13d9; no implementation was opened or executed. Prior primary-source, selected-neighbor and exact pinned CLASS/incident-edge inspections remain bounded by their individual research acceptances. This is not a global absence or saturation claim. This record denotes the named two-learned-residual-branch regularization procedure with complementary forward coefficients and separately selected prescribed backward coefficients. Its control and sharing configurations are retained within one identity. Stochastic depth instead samples residual survival; ShakeDrop adds a shared Bernoulli ordinary/perturbed switch. The related ResidualNeuralNetwork mapping describes the residual host, not architecture identity or subclass membership.

Claims & Grounded Evidence

6 Claims
Mechanism #two-residual-branches-and-skip
The original core is defined on a residual block with two learned residual transformations F1 and F2 and a skip contribution. The three-branch description counts the skip, rather than three learned residual transformations. The displayed identity-skip baseline is x_next = x + F1(x) + F2(x). Contributions combined by addition must have compatible tensor shapes. The reported dimension-changing blocks use a separate compatible skip construction instead of treating every skip as an identity.
Mechanism #coupled-uniform-forward-mixture
During the core stochastic forward pass, draw alpha uniformly between zero and one and replace the unweighted residual sum by alpha*F1(x) + (1-alpha)*F2(x), retaining the skip contribution. The two residual weights are coupled through their sum of one. They scale whole branch-output tensors, rather than applying independent elementwise noise or Bernoulli removal to their individual entries.
Mechanism #redrawn-backward-coefficients
In the core Shake-Shake configuration, overwrite the scaling coefficients with new random draws before each forward pass and again before each backward pass. Figure 1 distinguishes the forward coefficient alpha from the backward coefficient beta: the two residual branches receive backward scaling beta and 1-beta. The training loss is obtained from the forward realization, while the prescribed branch backward scaling need not reuse its alpha and 1-alpha. This is a deliberately specified backward rule, not an assertion that it is the ordinary chain-rule derivative of that realized forward computation.
Mechanism #image-versus-minibatch-sharing
The source distinguishes Batch and Image coefficient sharing for each residual block. Batch uses the same scaling coefficient for all images in the minibatch. Image uses a different coefficient for each image and applies that scalar across the corresponding branch tensor, including all of its channels and spatial positions. Image mode is therefore not independent per-pixel or per-channel coefficient sampling.
Scope #shake-even-keep-controls
Shake means overwriting coefficients with new random numbers before the relevant pass; Even means setting them to one half; Keep means reusing the forward coefficients for the backward pass. These choices distinguish the reported Shake-Shake, Shake-Keep, Shake-Even and Even-Shake configurations. The core redrawn-forward/redrawn-backward method is not made identical to those controls merely because they use the same residual host. Later coefficient-dependence experiments in the paper are configurations, not automatically separate algorithm identities.
Mechanism #half-weight-inference
At inference, replace the random residual scaling coefficients with one half, giving x + (F1(x)+F2(x))/2 for the displayed identity-skip block. This equals the conditional mean of that block’s stochastic forward output when its input and branch outputs are held fixed. It does not recover the unweighted baseline residual sum and does not establish that an entire nonlinear test network equals the expected prediction or loss of its stochastic training realizations.

⚠️ Curated Limitations & Negative Results

Artificial Intelligence Ontology (AIO) Grounding

Mapped AIO Classes
AIO Target Class Mapping Relation Mapping Rationale
AIO:ResidualNeuralNetwork
Residual Neural Network
related_match The original procedure changes forward training, prescribed backward propagation and inference in a skip-connected host with two learned residual branches. This is a procedure-to-host association, not identity with the residual architecture, an is-a assertion or a requirement that every tested variant preserve every component of the pinned AIO class.

Evidence Sources & Primary Literature

1 Source
Source ID Publication / Document Type / Access Reference & Checksum
gastaldi2017v2
Xavier Gastaldi
primary paper
full_text
ID: arXiv:1705.07485v2
sha256:5475784fc5c0…

Curation Provenance

Curator: Codex
Method: ai_assisted
Model: GPT-6
Created: 2026-10-15T08:18:23Z
Updated: 2026-10-15T08:18:23Z
Source File: data/curated/ShakeShakeRegularization.yaml