Elamur Research

Learning with Pseudo-Ensembles

Paper · 2014 · Phil Bachman, Ouais Alsharif and Doina Precup

Summary

A prediction system can fit its training examples while relying on fragile interactions inside its computation. Remove a hidden feature, disturb a parameter, or slightly change an intermediate representation, and its answer may change. Learning with Pseudo-Ensembles studies how to train against that fragility. Its starting point is dropout, which repeatedly removes randomly selected neural-network activities during training. The paper treats these altered computations as related members of an ensemble and asks what can be learned by encouraging them to behave consistently.

The authors call this family a pseudo-ensemble. A shared parent supplies the parameters and structure; a random perturbation produces a child. Dropout fits this definition because each sampled mask selects a child subnetwork. The definition also admits other changes, including Gaussian disturbances to parameters and random selection of latent dimensions. Unlike an ensemble whose members are trained separately, the children inherit their parameters from the same parent. Their dependence is central to the method: the authors deliberately reduce disagreement between related computations instead of seeking independently trained predictors with diverse errors.

The main algorithmic contribution is Pseudo-Ensemble Agreement, or PEA. It penalizes changes in internal activities or output predictions when the parent is perturbed. A labeled example can teach the system which answer is correct, while an unlabeled example can teach it that related child computations should give compatible answers. This distinction makes the regularizer useful for semisupervised machine learning, where only part of the training collection has labels. The paper also connects an output agreement penalty to dropout mathematically for logistic regression under an expectation-preserving noise assumption. In a supervised MNIST experiment, training with the proposed agreement penalty gives 1.08% test error, compared with 1.05% for standard dropout.

The experiments extend beyond that supervised comparison. On semisupervised MNIST, the authors report strong results across several labeled-set sizes, with pretraining especially helpful in the smallest labeled setting. In a transfer challenge, a dropout-based system reaches 55.5% target-domain accuracy, and agreement regularization raises it to 57.4%; the earlier published comparison is 48.6%. A separate sentiment analysis study changes a recursive tensor network into a pseudo-ensemble using parameter noise and sampled latent subspaces. Both perturbations improve the compact network, and their combination produces the strongest reported version. These findings support agreement under selected perturbations as a useful training principle. They do not establish that every disturbance is beneficial, that agreement guarantees correctness, or that the same gains follow for every architecture.

Interesting ideas

Shared perturbations as an ensemble design. A useful ensemble need not consist of independently trained systems. The paper starts with one parameterized computation and derives related alternatives by disturbing it. This makes the perturbation process an explicit design choice: what should be removed, shifted, or resampled, and which behavior should survive? The approach applies wherever a parent computation can be changed cheaply enough to sample children during training. Its practical value comes from reusing parameters while exposing dependencies that an ordinary clean training pass might conceal.

Agreement as a source of supervision. An example without a label still constrains how a predictor should behave under selected changes. PEA extracts that constraint by comparing related computations on the same observation. This separates the question of correctness, which requires an appropriate target, from the question of stability, which can be examined without one. The idea is useful when unlabeled examples are plentiful but labels are scarce. Its usefulness depends on choosing disturbances under which the intended answer should remain stable; arbitrary consistency would supply a poor learning signal.

Separate the diagnostic from the training target. In the supervised comparison, the authors calculate classification loss through the unperturbed parent and use perturbed computations only for agreement. This arrangement tests whether resistance to masking can recover dropout’s benefit without passing the true label through a masked network. More generally, separating a primary task objective from a robustness objective can clarify why a training method works. It provides a way to ask whether improvements come from learning the task through altered computations or from making the ordinary computation less sensitive.

Compare probabilities when raw activities are misleading. The paper offers several ways to measure disagreement instead of assuming a single distance works everywhere. At the output, comparing probability distributions relates the penalty to the prediction task. Elsewhere, transformed activities or a directional comparison can be more appropriate. This suggests a reusable design rule: choose an agreement measure that reflects what matters at the location being regularized. A change in the magnitude of an internal vector and a change in the distribution over answers need not have the same significance.

Preserve structured computation while sampling capacity. In the recursive sentiment experiment, the same sampled latent dimensions are retained throughout an entire phrase tree. That choice produces a coherent child computation and permits the relevant parameter arrays to be sliced. The lesson extends beyond random removal of isolated activities: a perturbation can respect the structure of the computation and make its implementation cheaper. For structured systems, the unit over which a random choice remains fixed can matter as much as the probability of making that choice.

Use controlled comparisons to isolate the extra signal. The semisupervised experiments compare dropout training with otherwise matched training that adds agreement on unlabeled examples. The sentiment study separately introduces parameter fuzzing and subspace sampling. Such comparisons help distinguish a new regularizer from accompanying changes in architecture, initialization, or pretraining. This is especially useful when a method has several attractive components. A strong final score is more informative when intermediate settings reveal which additions helped and which claims remain entangled with other changes.

Deep dive: Learning with Pseudo-Ensembles

Learning with Pseudo-Ensembles explains dropout through shared perturbations and uses prediction agreement to learn from unlabeled data. · about 34 minutes to read

How Mova uses it

For Mova, the small transparent language system implemented in Rust, the most concrete connection is a possible agreement objective around an inspectable computation. There is no established Mova implementation of PEA to describe here. The appropriate reading is therefore a set of design possibilities: the paper offers a way to test sensitivity and potentially learn from unlabeled language data, while leaving open whether those choices would suit Mova’s actual components.

The starting point would be to identify a learned component whose output should survive a meaningful internal disturbance. A parent computation could be evaluated normally and then evaluated again with an explicitly recorded perturbation. If that component produced a distribution over language categories, the outputs could be compared using the probability-based penalties discussed in the paper. The label-driven objective would still determine the intended task. Agreement would add pressure to avoid depending too heavily on the particular internal configuration that happened to be active.

Transparency would make the choice of perturbation especially important. The paper permits a broad noise process, but that freedom does not decide what should be perturbed in a language system. A proposed Mova experiment would need to say which learned activities or parameters change, how the change is sampled, and which result is expected to remain stable. Recording those choices alongside the resulting disagreement would make the experiment reviewable. This is an application of the paper’s explicit parent–child distinction, rather than evidence that Mova already contains a particular neural architecture.

Unlabeled text is another possible point of contact. If Mova had a suitable trainable prediction component, it could evaluate agreement on observations for which no task label is available. That would follow the semisupervised logic of PEA: the same input supports multiple related computations, and their differences supply a regularization signal. It would not create a correct linguistic label from nothing. A consistently wrong prediction would still be wrong, so labeled evidence and task evaluation would remain necessary.

The paper also suggests a useful boundary for such an experiment. Internal perturbation and alteration of a sentence are different interventions. The authors place input disturbances within their broader framework, but they do not provide a catalogue of meaning-preserving changes for language. Mova should therefore not treat any arbitrary textual edit as an invariant transformation on the authority of this work. A parameter disturbance would test dependence on the learned computation; a sentence edit would require a separate account of why the desired linguistic answer should survive.

A modest initial use could be diagnostic instead of a new training feature. One could examine how much a learned component’s answers vary under a declared disturbance and then decide whether agreement belongs in its objective. The paper motivates that distinction through its supervised experiment, where the ordinary classification objective and the robustness penalty are separated. For Mova, this would help connect an observable sensitivity to a concrete training proposal.

The recursive sentiment study offers a more conditional idea. If a Mova component recursively composed learned phrase representations, a shared subspace choice across a complete structure could be worth investigating. That proposal depends on an architecture with suitable latent dimensions and shared composition parameters. The paper does not show that the same mechanism helps every transparent or symbolic language system. Its transferable contribution is the question it makes precise: which related versions of a computation should agree, and what can their disagreement teach us?

The problem and its context

Fragility inside a predictor

The paper addresses a particular route to poor generalization: a predictor may depend too strongly on the exact configuration of features and parameters present during training. Its training loss can be low even though small disturbances produce unreliable behavior. The authors take seriously the intuition that resistance to appropriate noise can help a learned system perform well beyond its labeled examples.

Dropout supplies the motivating case. During training, it masks selected input or hidden activities. The surviving computation must still contribute useful predictions even though some of its usual context is absent. The paper describes this as a way to discourage feature co-adaptation: features should remain useful, or at least avoid becoming harmful, when neighboring features disappear.

That explanation raises a scientific question. Does dropout work because labels are repeatedly presented to altered subnetworks, because the resulting system becomes less sensitive to internal disturbance, or through a combination of effects? The authors do not claim a complete answer for every nonlinear network. They propose a framework that isolates agreement as an objective and then test whether it can recover dropout’s empirical advantage.

This matters beyond the explanation of dropout. Once resistance to perturbation becomes an explicit objective, it can be evaluated on examples without labels. An unlabeled input cannot directly specify the correct class, but it can reveal that related versions of a predictor disagree. The paper turns that observation into a semisupervised regularizer instead of leaving robustness as an informal description of a training technique.

How this differs from traditional ensembles

The authors place their proposal alongside bagging and boosting. In their account, bagging varies the training distribution by omitting parts of the available data for different members. Boosting changes example weights as it adds members. These methods create multiple predictors through changes associated with training data or the ensemble construction process.

Pseudo-ensembles instead begin with a common parent. Their members are children obtained by a random change to that parent’s computation. They share parameters and much of their structure, so their behavior is naturally correlated. A child is not an independently trained expert whose knowledge must later be combined with that of unrelated experts.

There is also a difference in the objective. The general pseudo-ensemble objective evaluates the loss of individual sampled children and averages over their perturbations. The paper contrasts this with boosting’s optimization of the combined ensemble output. These are different ways to use multiple predictors, even when both ultimately involve an expectation or an average.

The authors also distinguish agreement from the diversity frequently valued in independently trained ensembles. Bagging and random forests can benefit when members make different errors and averaging reduces their combined variability. PEA deliberately suppresses certain behavioral differences among children. The intended gain comes from making the shared parent reliable under its generating noise, not from encouraging unrelated answers.

This distinction prevents a misleading interpretation of the name. A pseudo-ensemble is not simply a cheap replacement for any conventional ensemble. It describes a relationship among computations and a way to train their shared parameters. Whether predictions are averaged at evaluation is a separate design choice, illustrated explicitly in the recursive sentiment experiment.

Robustness before pseudo-ensembles

The paper describes a substantial earlier literature on uncertainty affecting observations. In stochastic programming, a solution is chosen to perform well on average under a known perturbation distribution. Robust optimization instead emphasizes the worst case within a specified uncertainty set. The authors use these traditions to place noise-aware learning in a broader mathematical context.

They also discuss work connecting familiar learning objectives to robust optimization. The cited Lasso result relates regularized linear regression to a robustness problem. Another cited result gives a corresponding interpretation for a support vector machine. The significance for this paper is conceptual: robustness is not merely an intuitive preference, because in some settings it can characterize established objectives and support generalization arguments.

Those connections do not automatically provide a theorem for PEA. The authors use them as motivation for studying stability under disturbances. Their own evidence for deep networks consists of an explicit regularizer, a special-case mathematical connection to dropout, and experiments.

More directly related prior work examines linear predictors with corrupted inputs. The paper describes a method that marginalizes over selected noise distributions to optimize expected performance efficiently. Another cited analysis studies dropout in linear settings and obtains an approximate quadratic regularization interpretation. Importantly, that regularizer can be estimated using unlabeled as well as labeled observations.

The pseudo-ensemble proposal broadens the location of the disturbance. Instead of limiting attention to observed features, it permits changes inside the computation. The authors explain that input noise can be included by imagining an initial identity layer that copies the observation. Perturbing this layer reproduces an input disturbance within the larger framework.

A framework broad enough to generate new methods

The authors do not restrict pseudo-ensembles to neural networks. Their definition requires that a noise realization can be sampled and applied to the parent at a practical computational cost. They illustrate the freedom with a Gaussian mixture system whose component means and covariances could be disturbed through suitable distributions.

That illustration is a possibility allowed by the framework, not a reported experiment. Its role is to clarify that masking is only one member of a broader family. A researcher can ask which aspects of a parent should vary and then construct the corresponding child distribution.

The paper also mentions nested masking for ordered representations and random perturbations in generative stochastic networks. These examples reinforce the same point: the structure of the noise can encode a design assumption. Independent removal of activities is useful, but it is not the only coherent way to generate related computations.

The contribution therefore has distinct levels. The pseudo-ensemble definition supplies a vocabulary for shared perturbations. PEA supplies an agreement objective within that vocabulary. The recursive sentiment study demonstrates that useful pseudo-ensemble methods can also arise through direct noisy training, without making every experiment an instance of the same agreement penalty.

The method, step by step

Start with a parent and a noise process

The method begins by specifying an ordinary parameterized predictor. The authors denote it by a function whose parameters are shared across all perturbed versions. An input is passed through that function, and a random noise realization determines how the computation changes.

f_θ(x; ξ)

Here, f is the predictor, θ is its trainable parameter collection, x is an observation, and ξ is a sampled disturbance. The semicolon distinguishes the perturbation from the ordinary input. The expression denotes a child computation produced from the parent f_θ, rather than a separately trained predictor.

For dropout, ξ determines which activities are masked. Other choices can change parameters, selected dimensions, or inputs. The distribution from which disturbances are sampled is part of the method. Training against one noise process does not imply resistance to an unrelated process.

The general supervised objective asks each sampled child to perform the task:

min_θ E_(x,y)∼p_xy E_ξ∼p_ξ L(f_θ(x; ξ), y)

The operation min_θ means that training adjusts θ to reduce the objective. The distribution p_xy supplies observations x paired with true labels y. The distribution p_ξ supplies noise realizations ξ. Each E denotes an expectation over its indicated distribution. L measures the loss incurred by the child prediction relative to y.

This objective averages child losses. It does not first combine all child predictions and then evaluate the resulting aggregate. That distinction matters because the training pressure acts on a sampled computation’s ability to predict correctly.

Learning through pseudo-ensemble agreement

The steps in order.

Learning through pseudo-ensemble agreementStep 1: Define the parent computation1. Define the parent computationStep 2: Choose a tractable perturbation process2. Choose a tractable perturbation processStep 3: Sample related child computations3. Sample related child computationsStep 4: Measure labeled prediction loss4. Measure labeled prediction lossStep 5: Compare internal activities or predictions5. Compare internal activities or predictionsStep 6: Penalize disagreement on available observations6. Penalize disagreement on available observationsStep 7: Update the shared parameters7. Update the shared parameters

Locate the activity being compared

PEA can act at intermediate layers as well as the output. To make the comparison precise, the paper distinguishes an activity affected by earlier noise from an activity that has itself already been masked.

f_θⁱ(x; ξ)

The superscript i identifies a layer. In this expression, ξ has disturbed layers preceding i, while the activity at layer i is measured before that layer’s own disturbance is applied. The parameters θ and observation x have the same meanings as before.

This convention avoids a trivial comparison between a normal activity and the same activity immediately deleted by a mask. The quantity being studied is how changes earlier in the computation affect the next representation. After recording that representation, the process can disturb it and continue upward.

The output layer is denoted by d. At that layer, the partially perturbed output is the child’s prediction. Without ξ, the corresponding expression denotes the parent’s ordinary activity. The method can therefore compare representations at several depths while maintaining a consistent definition of where noise enters.

Define an agreement regularizer

The general PEA penalty combines layer-specific comparisons:

R(f_θ, p_x, p_ξ) = E_x∼p_x E_ξ∼p_ξ [Σᵈᵢ₌₂ λ_i V_i(f_θⁱ(x), f_θⁱ(x; ξ))]

R is the total regularization term. The distribution p_x supplies observations without requiring labels. The distribution p_ξ supplies perturbations. The sum runs over layers beginning at 2 and ending at the output layer d. The coefficient λ_i controls the influence of the comparison at layer i, and V_i measures disagreement between the two activities.

The clean expression f_θⁱ(x) represents the parent response. The perturbed expression represents the activity after earlier layers have been disturbed. Nothing in V_i requires a true class label. This is the property that allows the same regularizer to use unlabeled data.

The authors call these comparisons variance penalties, but they qualify that interpretation. A distance from the parent behaves like a variance measure when the parent response is close to the average child response:

f_θⁱ(x) ≈ E_ξ f_θⁱ(x; ξ)

The approximation symbol indicates that exact equality is not assumed for general networks. The expectation averages the child activity over disturbances ξ. The paper cites earlier analyses supporting this approximation for useful network families, while avoiding a universal statement.

In the experiments, the authors compare independently drawn children rather than always using a parent–child comparison. Each child is generated from the shared parent with its own sampled disturbance. This implementation choice preserves the idea of penalizing sensitivity, but readers should keep the distinction between the displayed general definition and the sampled experimental comparisons.

Separate task accuracy from stability

To investigate feature co-adaptation, the paper uses a supervised objective in which only the parent receives the direct classification loss:

min_θ E_(x,y)∼p_xy [L(f_θ(x), y)] + R(f_θ, p_x, p_ξ)

The first term trains the unperturbed parent against the labels y. The second term is the agreement regularizer just defined. All symbols retain their earlier meanings. In this arrangement, a child is involved through stability pressure rather than through its own label-based classification loss.

For the focused analysis, only output agreement is active. The authors set earlier-layer coefficients to 0 and the output coefficient to 1. The output comparison uses KL divergence after converting score vectors into probability distributions:

Vᵏ(v₁, v₂) = D_KL(softmax(v₁) ∥ softmax(v₂))

The vectors v₁ and v₂ contain output scores from the computations being compared. The softmax operation turns scores into probabilities over classes. D_KL is the Kullback–Leibler divergence, which measures a discrepancy between distributions. The superscript k identifies this particular penalty.

KL divergence is directional: the order of the distributions matters. In the displayed parent–child form, the parent distribution supplies the first argument. The supervised classification loss is cross-entropy between the parent’s predicted distribution and the true target.

This design makes the empirical question unusually clear. The label does not have to pass through a masked child for masking resistance to matter. If the parent learns the task and agreement separately makes its answer stable under masking, the resulting performance can test the importance of that stability.

Recover dropout’s regularizer in a restricted setting

The mathematical connection to dropout is derived for logistic regression, with an assumption that averaging noisy scores recovers the clean score:

E_ξ[f_θ(x; ξ)] = f_θ(x)

The expectation averages over ξ, and f_θ(x) is the unperturbed score. This equality is an explicit condition of the argument. It should not be silently transferred to every nonlinear network or every perturbation process.

Under the setup discussed in the paper, expected noisy logistic loss can be written as clean logistic loss plus a regularizer:

Σⁿᵢ₌₁ E_ξ[ℓ(f_θ(x_i; ξ), y_i)] = Σⁿᵢ₌₁ ℓ(f_θ(x_i), y_i) + R(f_θ)

The training collection contains n examples indexed by i. Each x_i is an observation and y_i its label. The function ℓ is logistic regression loss. R(f_θ) is the additional term induced by the perturbation. In this linear case, the unperturbed score is the parameterized linear response described by the authors.

The induced regularizer has the following form:

R(f_θ) = Σⁿᵢ₌₁ E_ξ[A(f_θ(x_i; ξ)) − A(f_θ(x_i))]

A is the logistic regression log partition function. It is the function involved in normalizing the output probabilities. The regularizer compares its value on noisy and clean scores, then averages over disturbances and sums over observations. Crucially, the expression contains no y_i.

PEA-regularized logistic regression instead begins with clean task loss and an expected output divergence:

Σⁿᵢ₌₁ [ℓ(f_θ(x_i), y_i) + E_ξ D_KL(softmax(f_θ(x_i)) ∥ softmax(f_θ(x_i; ξ)))]

The first term again uses the true label. The second compares clean and noisy probability distributions for the same input. Its label independence is visible directly in the formula.

To show that the additional terms coincide, the authors name the clean probability distribution:

p_θ(x) = softmax(f_θ(x))

The symbol p_θ(x) denotes the class distribution produced by the parent. Its noisy counterpart, written with ξ, is produced by the child. Expanding their KL divergence expresses it through class probabilities, score differences, and differences in A.

The classwise expansion is:

E_ξ D_KL(p_θ(x) ∥ p_θ(x; ξ)) = E_ξ [Σ_c∈C p_θᶜ(x) log(p_θᶜ(x) / p_θᶜ(x; ξ))]

C is the set of classes, c selects a class, and p_θᶜ gives its probability. The logarithm compares the clean and noisy probabilities. After substituting softmax probabilities, the expansion contains a contribution from clean-minus-noisy scores and another from the log partition functions.

The score contribution disappears in expectation under the stated equality between mean noisy and clean scores. The probabilities over C add to 1, leaving:

E_ξ D_KL(p_θ(x) ∥ p_θ(x; ξ)) = E_ξ[A(f_θ(x; ξ)) − A(f_θ(x))]

The left side is the expected PEA output discrepancy. The right side is the per-observation contribution to the dropout regularizer. This establishes the special-case equivalence. The supervised neural-network experiment then tests whether an analogous agreement objective can reproduce dropout-like performance in a less restricted architecture.

Extend agreement to unlabeled observations

For semisupervised learning, the authors train labeled examples with the noisy-child supervised objective and apply PEA to unlabeled observations. Correctness and stability now enter through different sources of data. The label-driven term identifies the task; the unlabeled term constrains the variation of related computations.

The paper defines a transformed-activity penalty:

Vᵗ(ȳ, ỹ) = ‖tanh(ȳ) − tanh(ỹ)‖₂²

The vectors ȳ and ỹ are outputs from independently sampled children. The function tanh acts separately on each coordinate. The norm is Euclidean, and squaring it penalizes the size of the difference between the transformed vectors. The superscript t labels this choice.

It also defines an output cross-entropy penalty:

Vˣ(ȳ, ỹ) = xent(softmax(ȳ), softmax(ỹ))

The function xent is cross-entropy. Both arguments are probability distributions obtained from child score vectors. The superscript x distinguishes this penalty from the transformed-activity and KL alternatives.

Cross-entropy has a useful decomposition:

Vˣ(ȳ, ỹ) = D_KL(softmax(ȳ) ∥ softmax(ỹ)) + H(softmax(ȳ))

H denotes entropy, a measure of uncertainty in a probability distribution. The first term penalizes disagreement; the second penalizes uncertainty in the first distribution. The output objective therefore combines consistency with pressure toward more decisive predictions. The paper connects this choice to earlier semisupervised entropy regularization.

At hidden layers, the authors use a directional penalty denoted Vᶜ. They identify its role but do not state its defining formula. An explanation should therefore preserve that distinction rather than supply an assumed cosine or other directional expression.

The semisupervised noise combines masking with Gaussian disturbances to inputs and node biases. The Gaussian noise is applied before masking. Output-penalty choice varies by experimental condition, so PEA in the results is a framework with selected settings rather than one unchanging loss.

Build a recursive pseudo-ensemble for sentiment

The sentiment study applies the broader pseudo-ensemble idea to a recursive network. A parsed phrase supplies a tree. Words receive vectors at the leaves, and a learned composition function combines child vectors into parent vectors. A classifier can then predict sentiment from a phrase representation.

The original composition function computes an output coordinate as follows:

f_i(v₁, v₂) = tanh([v₁; v₂]ᵀ T_i [v₁; v₂] + M_i [v₁; v₂; 1])

The vectors v₁ and v₂ represent the child phrases. A semicolon means vertical stacking, and the superscript T denotes transposition. The matrix T_i is the tensor slice associated with output coordinate i. The row M_i supplies a linear contribution, while the appended 1 permits a bias. The tanh function produces the coordinate’s final activity.

The authors replace that tensor interaction with a more compact bilinear form:

f_i(v₁, v₂) = tanh(v₁ᵀ T_i v₂ + M_i [v₁; v₂; 1])

The first term now couples the child vectors directly. With latent dimension n, the original tensor has shape 2n × 2n × n, whereas the compact version has shape n × n × n. The linear transform M and the classification parameters remain part of the recursive system.

Class probabilities are computed by:

softmax(C [v; 1])

Here, v is a phrase vector and C is the classification matrix. The appended 1 again supplies a bias coordinate. The result is a distribution over the c sentiment classes.

The initialization uses word2vec word embeddings trained on the training and development material. The authors modify that pretraining with dropout and fuzzing, constrain vector norms to obtain standard deviation 0.5, and include tanh. These choices aim to align initialization with conditions in the full recursive computation.

Children are then generated through subspace sampling and weight fuzzing. Subspace sampling retains n/2 latent dimensions and uses that same selection throughout a phrase tree. A fresh selection is drawn when a tree is processed during training. During evaluation, predictions are averaged across 50 sampled subspaces.

Weight fuzzing adds zero-mean Gaussian disturbances to parameters before a tree is processed. Gradients calculated at the perturbed values update the underlying unperturbed parameters. Evaluation does not include this fuzzing. The authors interpret the procedure as smoothing the parameter-space objective through Gaussian convolution and suggest that reduced curvature may help recursive or recurrent computation. That is an explanatory proposal, distinct from the measured sentiment results.

Experiments and results

Supervised digit recognition

MNIST supplies 60k training images and 10k test images. Each observation is a 28x28 grayscale handwritten digit. The supervised experiment uses the full labeled training collection and compares standard dropout with a PEA objective designed to isolate agreement under masking.

The network contains a pair of hidden layers, each with 800 rectified-linear units. Incoming weights at a node are constrained to an ℓ₂ norm of 3.5. Hidden biases begin at 0.1, output biases at 0, and inter-layer weights are initialized from a zero-mean Gaussian with σ = 0.01. Both settings use softmax output probabilities and cross-entropy task loss.

Training runs for 1000 epochs, with evaluation based on the final parameter state rather than early stopping. The reported errors average five random initializations. In the PEA condition, the classification gradient comes from the unperturbed parent, while the output KL penalty measures sensitivity to node masking. Bias noise is excluded from this comparison.

Supervised MNIST test error under dropout and agreement training

Output agreement recovers performance close to standard dropout under the matched supervised setup.

Supervised MNIST test error under dropout and agreement trainingStandard dropout: 1.05Standard dropout1.05PEA output agreement (this paper): 1.08PEA output agreement (this paper)1.08
The numbers
System or settingerror %
Standard dropout1.05
PEA output agreement (this paper)1.08

The comparison supports the paper’s claim that explicit masking resistance can recover dropout’s performance in this setting. It does not show that the agreement version surpasses dropout. Its scientific value is the separation of training paths: true-label loss need not be calculated through a masked child for the resulting system to achieve a similar error.

The authors describe the outcome as supporting their connection between dropout and PEA. The mathematical equivalence is restricted to the earlier logistic setting, while this experiment offers empirical support in a nonlinear network. Keeping those forms of evidence separate makes the conclusion more precise.

Semi-supervised digit recognition

The semisupervised experiment divides the MNIST training collection into labeled and unlabeled portions. The labeled-set sizes are 100, 600, 1000, and 3000, with equal class representation inside each labeled subset. Every remaining training image is available without its label.

For sizes 600, 1000, and 3000, the authors average results across 10 random divisions. For size 100, they use 50 random divisions. Testing uses the standard 10k held-out images. Repeated labeled-set sampling matters because the identity of a small labeled collection can strongly affect the task being learned.

The architecture again uses hidden layers of 800 units, with the supervised experiment’s weight constraints and optimization settings. Child generation includes masking and Gaussian input-and-bias disturbances with σ = 0.1. The study considers agreement training both with and without denoising-autoencoder pretraining.

Pretrained networks use the cross-entropy agreement penalty at the output and the directional penalty at hidden layers. Without pretraining, the transformed-activity output penalty is used except for the 100-label condition. That smallest condition uses output cross-entropy, with regularization weights increased gradually during training.

The comparison includes ordinary dropout and a pretrained dropout version trained with matched architecture and optimization choices. Their defining difference from the corresponding PEA systems is the absence of agreement regularization on unlabeled observations. This makes them especially informative baselines for the contribution of the extra data-dependent objective.

Other comparisons include EmbedNN, which smooths predictions using a nearest-neighbor graph regularizer, and the Manifold Tangent Classifier, which constrains changes along an estimated data-manifold tangent space. Pseudo-Label supplies a different unlabeled-data mechanism: predictions are treated as targets, and their influence is adjusted during training.

The authors report that PEA without pretraining exceeds the earlier methods across the labeled-set conditions except the one using 100 labels. In that condition, the pretrained Pseudo-Label comparison performs better. Adding pretraining gives PEA its strongest reported behavior in the smallest labeled setting.

The paper’s numerical account does not give the individual error entries needed to reconstruct these comparisons as a results chart. The supported conclusion is therefore the reported ordering, together with the detailed evaluation protocol. It would be misleading to attach invented error values to the qualitative result.

The paper also presents learned-filter visualizations and training-error trajectories. These show comparisons involving weight constraints alone, dropout, and PEA, with pretraining included in the filter analysis. They supplement the benchmark account by showing how the methods differ during learning, but they do not independently identify a unique causal mechanism.

Transfer to a small target domain

The transfer challenge separates source information from target labels. CIFAR-100 provides 50k labeled color images of size 32x32 across 100 classes. A Tiny Images collection supplies 100k unlabeled images of the same size. The target contains 120 training images, unevenly distributed across 10 classes.

The target’s images and classes do not occur in either source domain. The task therefore tests whether source data can help a target classifier without simply repeating the target categories. The earlier winning approach learns convolutional features without using source labels, then trains a linear support vector machine on pooled target representations.

The authors first train a convolutional network using CIFAR-100 labels. Its feature extractor contains three convolutional stages with max pooling, followed by a fully connected hidden stage and a classification output. For target adaptation, they retain the convolutional part and replace the remaining classifier with a pair of fully connected hidden layers and an ℓ₂ hinge-loss output.

The target-training phase updates the non-convolutional part using the 120 target examples. The comparison then asks whether adding PEA on source observations improves over dropout alone.

Transfer challenge target-domain classification accuracy

Agreement adds a further improvement to a strong dropout baseline using supervised source pre-training.

Transfer challenge target-domain classification accuracyEarlier published feature-learning system: 48.6Earlier published feature-learningsystem48.6Supervised pre-training with dropout: 55.5Supervised pre-training with dropout55.5Dropout with PEA (this paper): 57.4Dropout with PEA (this paper)57.4
The numbers
System or settingaccuracy %
Earlier published feature-learning system48.6
Supervised pre-training with dropout55.5
Dropout with PEA (this paper)57.4

The attribution is important. The authors explicitly assign much of the improvement over the earlier comparison to dropout and the changed pretraining strategy. PEA accounts for the additional improvement over their own dropout setting, not the full advantage over the earlier system.

They also report that using softmax and cross-entropy rather than the hinge-loss output lowers performance for both dropout and PEA while preserving their ordering. No corresponding numerical scores are stated. This supports the persistence of the comparison under that output change without establishing an exact effect size.

Recursive sentiment prediction

The language experiment uses the Stanford Sentiment Treebank, whose phrases come from movie reviews. Sentiment labels cover both phrases and parsed subphrases. Evaluation follows root-level prediction, meaning that the reported answer concerns the complete phrase represented at the tree root.

Fine-grained classification uses classes 1-5, ranging from strongly negative to strongly positive. Binary classification omits neutral examples in class 3 and groups the remaining classes by negative or positive sentiment. The evaluation metric is classification accuracy for these whole-phrase decisions.

The original Recursive Neural Tensor Network is the main architectural comparison. The authors’ compact version is evaluated with ordinary parameter regularization, weight fuzzing, subspace sampling, and their combination. The paper also names Paragraph Vector and the Dynamic Convolutional Neural Network as external comparisons.

The compact network with only ℓ₂ regularization approaches the original network’s performance. Weight fuzzing improves beyond the original, and subspace sampling gives a further improvement. Using both perturbations produces the strongest version described by the authors and their reported leading result on binary sentiment.

Individual accuracy entries are not stated in the numerical account, so no sentiment chart is justified. The experiment nevertheless provides a useful controlled progression: the same compact architecture is examined under separate and combined disturbances. It demonstrates that the broader pseudo-ensemble idea extends beyond the agreement-trained digit and transfer networks.

The authors identify public implementations in Theano for the PEA experiments and make the recursive sentiment implementation available with their project code. They also refer to code and supplementary material for details beyond the main descriptions, including the full pretraining procedure.

What the ablations show

Masking resistance without masked classification loss

The supervised MNIST comparison is a mechanism test. Standard dropout learns classification through altered computations. The PEA alternative learns classification through the clean parent while using masking only to define an output agreement penalty.

Because the network and the overall training conditions are matched, the similar errors support a specific conclusion: encouraging stable predictions under masking can recover the benefit observed here without requiring the true-label loss to pass through a masked network.

This gives evidence for the feature-co-adaptation explanation of dropout. If the answer survives removal of intermediate activities, the computation depends less strongly on their exact joint presence. The paper interprets its result as evidence against the view that noise resistance has only a minor role in dropout’s success.

The experiment does not uniquely prove that feature co-adaptation is the entire explanation. Agreement is a measurable training property, while a complete account of learned internal organization would require further analysis. The result shows that the proposed pressure is sufficient to work well in the tested setting.

Unlabeled agreement beyond an otherwise matched baseline

The semisupervised comparison between dropout and PEA is more informative than a comparison with a substantially different architecture. The authors keep network and optimization choices aligned. Agreement on unlabeled examples supplies the additional training signal.

This supports the claim that the unlabeled objective contributes beyond ordinary masking and fuzzing. It also explains why PEA should not be described merely as a new name for dropout. The framework includes dropout, but its agreement penalty opens a training path that does not require labels for every observation.

Pretraining is another important controlled dimension. PEA is tested with and without denoising-autoencoder initialization, as is dropout. The smallest labeled setting shows why this distinction matters: the strongest comparison is not obtained by changing agreement alone, and the paper’s best result there includes an additional learning stage.

The output penalty also changes across conditions. Cross-entropy agreement is used for pretrained networks and for the smallest non-pre-trained labeled set, while other non-pre-trained conditions use transformed-activity agreement. Since these settings were selected by observed performance, the reported results should not be read as evidence that one fixed penalty wins universally.

What transfer learning attributes to PEA

The transfer experiment contains a useful internal baseline. The dropout system already benefits from supervised source training and a revised adaptation procedure. Comparing that system with its agreement-regularized counterpart gives a narrower estimate of PEA’s contribution than comparing either one directly with the earlier winning approach.

The source data supplies agreement observations during target training. This matters because those observations do not share the target classes. The result supports the use of source-domain examples for constraining the adapting computation even when they are not labeled examples of the final classification task.

It does not establish a general rule that any unrelated source collection will help. The challenge uses related image domains, a particular convolutional feature extractor, and a particular target-training procedure. The controlled comparison is strong within that setup and limited outside it.

The alternative output loss provides another check. The authors say that replacing hinge loss with softmax and cross-entropy changes performance but preserves the relative ordering of dropout and PEA. That is evidence that the observed ordering is not confined to the reported output-loss choice, although the missing alternative scores limit further interpretation.

Separate contributions in the recursive network

The sentiment study tests parameter fuzzing and subspace sampling separately before combining them. Both additions help the compact tensor architecture. Their combination performs best in the progression the authors describe.

This supports complementary practical value, but it does not identify a fully isolated mathematical interaction between the noise processes. Each changes the training distribution of computations, and subspace sampling also changes computational cost. The results establish the usefulness of the tested combinations rather than a universal account of why they combine well.

The parameter-slicing implementation is part of the practical analysis. Holding a subspace fixed across a tree permits smaller tensor and matrix slices to be used consistently throughout its computation. The authors say this made training larger parents more manageable.

That efficiency claim should be distinguished from a measured speed benchmark. No timing values are reported. Similarly, the proposed curvature benefit of Gaussian fuzzing is an interpretation of the training process, not a direct experimental measurement of the objective’s Hessian.

Limitations

Qualifications made by the authors

The paper explicitly restricts the mathematical equivalence with dropout. The derivation uses logistic regression and a disturbance whose expected score equals the clean score. It does not establish exact equivalence for arbitrary deep networks, arbitrary output losses, or arbitrary parameter noise.

The authors also qualify their variance terminology. Comparing a child with the parent resembles variance control when the parent approximates the average child response. This is an approximation for relevant network families, not a defining identity that automatically follows from the pseudo-ensemble construction.

Their discussion of dropout’s mechanism is similarly bounded. They acknowledge that its operation is not fully understood beyond restricted settings. The supervised PEA experiment contributes evidence for noise resistance and reduced co-adaptation; it does not provide a complete general theory.

For the transfer result, the authors explicitly acknowledge that much of the gain over the earlier published system comes from their stronger baseline and supervised pretraining. That admission is essential to a fair account of the result. Agreement improves their baseline, but the whole improvement cannot be assigned to it.

The sentiment discussion also contains a proposal rather than an established mechanism. Gaussian parameter noise is interpreted as smoothing the objective, and the authors suggest that this may help difficult recursive or recurrent optimization. The paper does not report direct curvature measurements that verify this explanation in the sentiment experiment.

Limits visible in the experimental design

Agreement does not imply truth. A parent and its children can all give the same wrong answer. PEA controls differences under a chosen disturbance; labels and task evaluation determine whether the shared answer is useful. This distinction becomes especially important when unlabeled examples greatly outnumber labeled ones.

Cross-entropy agreement adds another assumption through entropy reduction. Its decomposition shows pressure towards confident predictions as well as agreement. That pressure can be useful in the reported semisupervised setting, but confidence on its own does not certify correctness. The experiment does not show that stronger entropy pressure is always beneficial.

Noise selection remains an open design decision. The framework allows many perturbation processes, provided they can be sampled and imposed tractably. That breadth is a source of flexibility, but it offers no automatic procedure for choosing the right process for a new task. A disturbance can remove irrelevant dependence or destroy information the task actually needs.

The experiments also use different objectives and perturbations in different settings. Supervised MNIST isolates masking and output KL agreement. Semisupervised MNIST adds input and bias noise and varies output penalties. The recursive sentiment experiment uses sampled subspaces and parameter fuzzing. These are related through the framework, but they are not one identical algorithm evaluated everywhere.

The semisupervised MNIST protocol samples labeled examples with balanced class representation. That is a clear and useful benchmark construction, but it does not test label acquisition under an arbitrary real-world selection process. The results should be understood within the stated sampling arrangement.

The transfer study concerns a small target collection and related image sources. It offers evidence that source-data agreement can help adaptation in that challenge. It does not establish reliable gains under every source–target relationship or identify how far the relationship can weaken before the unlabeled constraint becomes unhelpful.

Numerical and reproducibility boundaries

The supervised result averages random initializations, and the semisupervised protocol averages random labeled-set divisions. Those choices address some experimental variability. The numerical statements, however, do not include uncertainty estimates that would justify a detailed account of statistical significance.

Several comparisons are described without individual numerical entries. This affects the semisupervised MNIST methods and the sentiment variants. Their reported ordering can be explained, but exact margins, reconstructed tables, or additional chart values cannot be inferred from the descriptions.

Some implementation details also remain outside the main methodological account. The authors direct readers to code for the complete pretraining procedure and to supplementary material for further recursive-network details. The directional hidden-layer penalty is named without an explicit defining equation. These omissions limit how precisely the algorithm can be reconstructed from the stated formulas alone.

Finally, the recursive sentiment evaluation averages sampled subspaces at test time, whereas parameter fuzzing is confined to training. Its result therefore reflects both a particular noisy training procedure and a specified prediction procedure. It should not be attributed to training noise while ignoring how the final predictions are assembled.

The strongest conclusion remains concrete and bounded: selected perturbations, shared parameters, and agreement-based regularization work well in the reported supervised, semisupervised, transfer, and sentiment settings. The paper provides a framework for developing such methods, not a guarantee that stability under any chosen noise will improve every task.

What came after

As the subsequent works recorded as citing Learning with Pseudo-Ensembles demonstrate, the questions it raised continued to matter in data augmentation, semisupervised learning, and self-supervised learning. The available citation information establishes those connections but does not specify which equations, experiments, or interpretations each later paper adopted. A citation alone is insufficient to claim a direct implementation of PEA.

That boundary matters because several ideas can travel separately. A later work might discuss agreement across related predictions, the use of unlabeled observations, perturbation-based training, or the general relationship between noise and robustness. These are connected themes, but they should not be collapsed into one unchanged algorithm.

Self-supervised learning

Bootstrap your own latent: A new approach to self-supervised Learning appears in the later citation list in 2020. Its title places it in self-supervised learning, making it relevant to the broader question of learning useful behavior without task labels.

The connection that can be discussed securely is the earlier paper’s separation of label-based correctness from label-free relations among computations. PEA shows how an observation can support a training constraint even when no class label is supplied. The citation list does not describe the later work’s mechanism, however, so it does not establish that its latent-space objective is the same as PEA or that it follows the same parent–child construction.

Consistency and augmentation

Unsupervised Data Augmentation for Consistency Training is listed in 2019. Its title explicitly joins augmentation with consistency training. This places it close to the question PEA makes concrete: how can related computations or presentations of an observation be required to give compatible predictions?

The distinction between input-space and internal disturbances remains useful when reading that connection. The pseudo-ensemble paper broadens robustness to changes inside a computation while allowing input noise as a special case. The later title establishes an augmentation-and-consistency focus, but the citation information does not state its augmentation procedure or demonstrate that it uses PEA’s particular penalties.

Sequence prediction and multiple views

Semi-Supervised Sequence Modeling with Cross-View Training is listed in 2018. Its title identifies sequence prediction, partial labeling, and training across views as its subject.

PEA supplies a relevant earlier distinction: an unlabeled example can constrain relationships between predictions without specifying their correct answer. Cross-view training belongs to a closely related area of questions, but the available description does not explain how those views are constructed. It therefore supports a conceptual connection to label-free agreement, while leaving the exact technical relationship unspecified.

For readers interested in language systems, this citation is especially pertinent as a direction for further investigation. The original pseudo-ensemble paper’s language experiment concerns recursive sentiment prediction, whereas the later title points toward sequences. No additional sequence tasks, scores, or architectural details can be attributed to it from the citation information alone.

Distillation with broader supervision

Data Distillation: Towards Omni-Supervised Learning also appears in 2018. Its title identifies distillation and a broader use of supervision as its focus.

The pseudo-ensemble paper is relevant to discussions of supervision because it distinguishes a true-label loss from constraints obtained through a predictor’s behavior on unlabeled observations. It also contrasts agreement with the earlier Pseudo-Label approach, in which predictions become training targets. Those distinctions offer useful questions for reading later distillation work.

The citation list does not establish which of these ideas the later paper uses, how its distilled information is formed, or what role an ensemble plays. Describing a specific transfer of predictions or a particular training procedure would go beyond the available account. The supported historical connection is that this later work cites the pseudo-ensemble paper within a supervision-focused research direction.

Augmentation when language data is limited

An Empirical Survey of Data Augmentation for Limited Data Learning in NLP appears in 2023. Its title places it in natural language processing, with an empirical focus on augmentation when training data is limited.

That subject makes the pseudo-ensemble distinction between changing observations and changing computations useful. Both can generate related learning situations, but they impose different assumptions about what should stay constant. The original paper’s broad framework helps state that difference without claiming that all perturbations preserve linguistic meaning.

The later citation information does not give the survey’s evaluated methods, datasets, or findings. Its inclusion therefore shows continued attention to the earlier work in a limited-data augmentation context, instead of establishing a particular empirical endorsement.

Across these citations, the enduring question is how to obtain a useful learning signal from relationships among predictions when direct labels are scarce. Learning with Pseudo-Ensembles contributes a precise version of that question: define how related computations are generated, specify which aspects should agree, and test whether enforcing that agreement improves the task.

Cite

Cite as Phil Bachman, Ouais Alsharif and Doina Precup. 2014. Learning with Pseudo-Ensembles. arXiv (Cornell University).

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.48550/arxiv.1412.4864 · arXiv 1412.4864

@misc{bachman2014learning,
  title = {{Learning with Pseudo-Ensembles}},
  author = {Phil Bachman, Ouais Alsharif and Doina Precup},
  year = {2014},
  doi = {10.48550/arxiv.1412.4864},
  eprint = {1412.4864},
  archivePrefix = {arXiv},
  url = {https://doi.org/10.48550/arxiv.1412.4864}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/bachman-2014-learning-pseudo-ensembles/

References

25 references, from the paper's own bibliography.

  1. P. Baldi and P. Sadowski. Understanding dropout. In NIPS, 2013. OpenAlex ↗ · Scholar ↗
  2. Y. Bengio, É. Thibodeau-Laufer, G. Alain, and J. Yosinski. Deep generative stochastic networks trainable by backprop. arXiv:1306.1091v5 [cs.LG], 2014. OpenAlex ↗ · Scholar ↗
  3. J. Bergstra, O. Breuleux, F. Bastien, P. Lamblin, R. Pascanu, G. Desjardins, J. Turian, D. Warde-Farley, and Y. Bengio. Theano: A cpu and gpu math expression compiler. In Python for Scientific Computing Conference (SciPy), 2010. OpenAlex ↗ · Scholar ↗
  4. D. Bertsimas, D. B. Brown, and C. Caramanis. Theory and applications of robust optimization. SIAM Review, 53(3), 2011. OpenAlex ↗ · Scholar ↗
  5. L. Van der Maaten, M. Chen, S. Tyree, and K. Q. Weinberger. Learning with marginalized corrupted features. In ICML, 2013. OpenAlex ↗ · Scholar ↗
  6. I. J. Goodfellow, A. Courville, and Y. Bengio. Large-scale feature learning with spike-and-slab sparse coding. In ICML, 2012. OpenAlex ↗ · Scholar ↗
  7. Y. Grandvalet and Y. Bengio. Semi-Supervised Learning, chapter Entropy Regularization. MIT Press, 2006. OpenAlex ↗ · Scholar ↗
  8. T. Hastie, J. Friedman, and R. Tibshirani. Elements of Statistical Learning II. 2008. OpenAlex ↗ · Scholar ↗
  9. G.E. Hinton, N. Srivastava, A. Krizhevsky, I. Sutskever, and R.R. Salakhutdinov. Improving neural networks by preventing co-adaptation of feature detectors. arXiv:1207.0580v1 [cs.NE], 2012. our card
  10. N. Kalchbrenner, E. Grefenstette, and P. Blunsom. A convolutional neural network for modelling sentences. In ACL, 2014. our card
  11. A. Krizhevsky. Learning multiple layers of features from tiny images. Master's thesis, University of Toronto, 2009. OpenAlex ↗ · Scholar ↗
  12. Q. V. Le and T. Mikolov. Distributed representations of sentences and documents. In ICML, 2014. our card
  13. Q. V. Le, M. A. Ranzato, R. R. Salakhutdinov, A. Y. Ng, and J. Tenenbaum. Workshop on challenges in learning hierarchical models: Transfer learning and optimization. In NIPS, 2011. OpenAlex ↗ · Scholar ↗
  14. D.-H. Lee. Pseudo-label: The simple and efficient semi-supervised learning method for deep neural networks. In ICML, 2013. OpenAlex ↗ · Scholar ↗
  15. R. Pacanu, T. Mikolov, and Y. Bengio. On the difficulties of training recurrent neural networks. In ICML, 2013. OpenAlex ↗ · Scholar ↗
  16. S. Rifai, Y. Dauphin, P. Vincent, Y. Bengio, and X. Muller. The manifold tangent classifier. In NIPS, 2011. OpenAlex ↗ · Scholar ↗
  17. O. Rippel, M. A. Gelbart, and R. P. Adams. Learning ordered representations with nested dropout. In ICML, 2014. OpenAlex ↗ · Scholar ↗
  18. A. Shapiro, D. Dentcheva, and A. Ruszczynski. Lectures on Stochastic Programming: Modeling and Theory. Society for Industrial and Applied Mathematics (SIAM), 2009. OpenAlex ↗ · Scholar ↗
  19. R. Socher, A. Perelygin, J. Y. Wu, J. Chuang, C. D. Manning, A. Y. Ng, and C. Potts. Recursive deep models for semantic compositionality over a sentiment treebank. In EMNLP, 2013. our card
  20. P. Vincent, H. Larochelle, and Y. Bengio. Extracting and composing robust features with denoising autoencoders. In ICML, 2008. OpenAlex ↗ · Scholar ↗
  21. S. Wager, S. Wang, and P. Liang. Dropout training as adaptive regularization. In NIPS, 2013. our card
  22. D. Warde-Farley, I. J. Goodfellow, A. Courville, and Y. Bengio. An empirical analysis of dropout in piecewise linear networks. In ICLR, 2014. OpenAlex ↗ · Scholar ↗
  23. J. Weston, F. Ratle, and R. Collobert. Deep learning via semi-supervised embedding. In ICML, 2008. OpenAlex ↗ · Scholar ↗
  24. H. Xu, C. Caramanis, and S. Mannor. Robust regression and lasso. In NIPS, 2009. OpenAlex ↗ · Scholar ↗
  25. H. Xu, C. Caramanis, and S. Mannor. Robustness and regularization of support vector machines. JMLR, 10, 2009. OpenAlex ↗ · Scholar ↗