Robots Atlas>ROBOTS ATLAS
Training

E2E Learning

1998ActivePublished: 28 October 2026Updated: 28 October 2026Published
Key innovation
Replacing a hand-engineered pipeline of separate modules with a single, fully differentiable model that learns to map raw input directly to the final output, jointly optimizing all intermediate representations against one task-level loss.
Category
Training
Abstraction level
Paradigm
Operation level
TrainingModel
Use cases
End-to-end autonomous driving (pixels-to-controls)End-to-end speech recognition (ASR)End-to-end robot policies (visuomotor control)Machine translation (sequence-to-sequence)Optical character and document recognition

How it works

The entire processing pipeline is expressed as one differentiable model (or chain of layers). Raw data (pixels, audio samples, text) is fed as input, and the model produces the final task output. A single loss function is defined on the output; its gradient with respect to all model parameters is computed by backpropagation and the parameters are updated by gradient descent (e.g. SGD/Adam). Because the gradient flows through the whole model, all intermediate representations are learned jointly and tuned toward the final objective, with no hand-designed intermediate stages. The requirement is that the entire path from input to loss be differentiable.

Problem solved

Hand-engineered pipelines require expert feature engineering and separate optimization of each stage, which causes error accumulation and local optima misaligned with the end goal. End-to-end learning addresses this by optimizing the whole system against a single task-level loss, so intermediate representations are chosen automatically to serve the final outcome.

Components

Single differentiable modelMaps raw input directly to the final output

One model spanning the whole pipeline, instead of a chain of separately engineered modules.

Raw input interfaceConsumes unprocessed data (pixels, audio, text)

The model operates on raw data, without manual feature extraction.

Task-level loss functionSingle optimization objective defined on the final output

One output loss replaces separate objectives for intermediate stages.

End-to-end gradient flow (backpropagation)Jointly trains all parameters from output back to input

The loss gradient flows through the whole model, training all representations together.

Implementation

Implementation pitfalls
Data hungerHigh

Training the whole pipeline from a single loss usually requires large labeled datasets.

Fix:Pretraining, data augmentation, imitation learning, or reinforcement learning.
Differentiability requirement across the pathHigh

Non-differentiable components break gradient flow and prevent end-to-end training.

Fix:Differentiable relaxations, surrogate losses, or RL for non-differentiable parts.
Poor interpretabilityMedium

The lack of explicit intermediate modules makes inspection and error diagnosis harder.

Fix:Probing, auxiliary losses, and modularizing selected stages.

Evolution

Original paper · 1998 · Yann LeCun
Gradient-Based Learning Applied to Document Recognition
Yann LeCun, Léon Bottou, Yoshua Bengio, Patrick Haffner
1998
Globally trained gradient systems (LeNet / Graph Transformer Networks)
Inflection point

LeCun et al. demonstrate training a full document recognition system with a single gradient.

2006
Connectionist Temporal Classification (CTC)
Inflection point

CTC enables end-to-end training of sequence models without pre-segmented alignment.

2015
End-to-End Training of Deep Visuomotor Policies
Inflection point

Levine et al. train a robot policy from image directly to motor torques.

2015
Deep Speech 2 — end-to-end ASR

Amodei et al. demonstrate end-to-end speech recognition for English and Mandarin.

2016
End to End Learning for Self-Driving Cars (NVIDIA)
Inflection point

Bojarski et al. map camera pixels directly to steering commands.

2017
Limits of End-to-End Learning

Glasmachers analyzes the limits of the end-to-end paradigm versus modular approaches.