Machine learning

encoder–decoder

编码器–解码器

A two-part network layout: an encoder compresses the input into a compact representation, and a decoder expands it into the required output, whether a segmentation mask, an image in another modality, or a sentence. U-Net and the autoencoder both follow it.

The encoder is usually a stack of convolutions and pooling (or transformer layers) that shrinks the spatial size while adding channels, keeping what is present and discarding exact position. The decoder upsamples or applies transposed convolutions to enlarge the features again, restoring spatial detail, or emits a sequence word by word.

The idea has two roots. For images, autoencoders taught networks to compress and reconstruct, and SegNet and U-Net, both from 2015, turned the layout to pixel-wise segmentation. For sequences, the 2014 sequence-to-sequence models of Ilya Sutskever and colleagues and of Kyunghyun Cho and colleagues used it for machine translation.

In medical imaging the same skeleton does many jobs: segmentation, MR-to-CT synthesis, low-dose CT denoising, and report generation, where an image encoder feeds a language decoder. Boundary detail lost while encoding is usually brought back through skip connections.

Sources
  1. Badrinarayanan V, Kendall A, Cipolla R. SegNet: a deep convolutional encoder-decoder architecture for image segmentation. IEEE TPAMI. 2017;39(12):2481–2495. doi.org/10.1109/TPAMI.2016.2644615
  2. Sutskever I, Vinyals O, Le QV. Sequence to sequence learning with neural networks. NeurIPS 2014 (arXiv:1409.3215). arxiv.org/abs/1409.3215

Key works · 9

Landmark2014ICLR 201444,897 citations

Auto-Encoding Variational Bayes

Diederik P. Kingma, Max Welling

The authors trained a recognition network to approximate a continuous latent posterior and reparameterized its samples as differentiable transformations of fixed noise. This made the variational lower bound amenable to stochastic gradient optimization. Image experiments illustrated joint inference and learning in a variational autoencoder.

SignificanceThe reparameterization estimator made variational autoencoders practical to train with standard gradient methods. ICLR recognized the paper with a 2024 Test of Time Award. Later generative models used variational encoders to organize latent spaces for tasks including three-dimensional cardiac shape synthesis.

Landmark2015MICCAI 2015 (LNCS 9351)120,543 citations

U-Net: Convolutional Networks for Biomedical Image Segmentation

Olaf Ronneberger, Philipp Fischer, Thomas Brox

U-Net contracts the image into contextual features and concatenates matching encoder maps with upsampled decoder maps to recover spatial detail. Elastic deformation augments the limited labels, while pixel weighting encourages separation of touching cells. The authors evaluated the model on electron and light microscopy segmentation challenges.

SignificanceThe architecture established multiscale feature concatenation as a practical design for biomedical segmentation. 3D U-Net replaces its operations with volumetric counterparts, and nnU-Net retains the encoder-decoder template while automatically configuring the complete training and inference pipeline.

Landmark2017NeurIPS 2017152,463 citations

Attention Is All You Need

Ashish Vaswani, Noam Shazeer … Illia Polosukhin

The Transformer uses multihead self-attention to exchange information within a sequence and encoder-decoder attention to condition the translation on its source. The architecture adds positional information and supports parallel training over sequence positions. The authors reported results on WMT English-to-German and English-to-French translation.

SignificanceThe paper established the combination of attention, positional encoding, and feed-forward layers that later vision transformers reused. ViT applies the encoder to image-patch sequences, and UNETR subsequently uses patch-based transformer encoding for volumetric medical segmentation.

Landmark2017CVPR 201728,299 citations

Image-to-Image Translation with Conditional Adversarial Networks

Phillip Isola, Jun-Yan Zhu … Alexei A. Efros

Pix2pix used aligned image pairs to train a conditional adversarial mapping, combining a pixel loss with a discriminator operating over image patches. The authors used the same framework to generate photos from label maps or edges and to colorize images. They also compared several discriminator patch sizes.

SignificanceThe paper made conditional adversarial translation reusable across tasks with paired images. Its patch discriminator supplied a standard design for judging local appearance. CycleGAN used pix2pix in comparisons where paired examples were available, clarifying what changed when pairing was removed.

Landmark2017IEEE Transactions on Medical Imaging2,163 citations

Low-Dose CT With a Residual Encoder-Decoder Convolutional Neural Network

Hu Chen, Yi Zhang … Ge Wang

RED-CNN trained a residual convolutional encoder-decoder on image patches to denoise reconstructed low-dose CT. Its shortcuts linked encoder and decoder layers. Tests using simulated and clinical images compared noise suppression, preservation of anatomical structure, and lesion visibility with those of other image-domain methods.

SignificanceRED-CNN became a reference for denoising low-dose CT images after reconstruction, which makes the method testable without access to vendor-specific projections. Zeng and colleagues used it to study how differences in dose, reconstruction kernel, and slice thickness between training and testing affect denoising.

Key2015ICLR 201532,147 citations

Neural Machine Translation by Jointly Learning to Align and Translate

Dzmitry Bahdanau, Kyunghyun Cho, Yoshua Bengio

The authors replaced a fixed sentence representation with a learned weighted combination of source annotations for each output word. This lets an encoder-decoder learn alignment and translation jointly. On English-to-French translation, the approach handled long sentences better than the fixed-vector baseline.

SignificanceThe method made learned soft alignment a component of end-to-end sequence models. The Transformer paper cites it when describing attention as a means of selecting information across positions, then uses attention within its encoder and decoder as well.

Key2017BMVC 2017898 citations

Bayesian SegNet: Model Uncertainty in Deep Convolutional Encoder-Decoder Architectures for Scene Understanding

Alex Kendall, Vijay Badrinarayanan, Roberto Cipolla

Bayesian SegNet repeatedly samples dropout masks during encoder-decoder inference to produce multiple class predictions at each pixel. The authors evaluate segmentation on urban and indoor scenes and examine how the resulting pixelwise model uncertainty is distributed over the predicted images.

SignificanceThe paper demonstrates how a dense classifier can produce uncertainty information alongside a semantic map. Later work on multiple sclerosis lesions uses repeated stochastic predictions to compare uncertainty measures at both the voxel and lesion level.

Key2017IEEE Transactions on Pattern Analysis and Machine Intelligence22,100 citations

SegNet: A Deep Convolutional Encoder-Decoder Architecture for Image Segmentation

Vijay Badrinarayanan, Alex Kendall, Roberto Cipolla

SegNet retains the locations selected by the encoder's max-pooling operations. The decoder uses these indices to place low-resolution activations on a finer grid and densifies them with learned filters. Road-scene and indoor experiments compare segmentation accuracy, inference time, and memory requirements.

SignificanceThe pooling-index design gives the decoder access to spatial information at a lower memory cost. Bayesian SegNet reuses this encoder and decoder and runs multiple forward passes with dropout enabled at inference to obtain pixel-wise estimates of classification uncertainty.

Key2023MICCAI 2023 (LNCS 14223)752 citations

MedNeXt: Transformer-Driven Scaling of ConvNets for Medical Image Segmentation

Saikat Roy, Gregor Koehler … Klaus H. Maier-Hein

MedNeXt adapts large-kernel ConvNeXt-style blocks to a volumetric encoder-decoder. The authors scale depth, width, and kernel size and propose initializing larger kernels from trained smaller ones. Experiments across several volumetric segmentation datasets compare how changing each dimension affects predictive performance.

SignificanceMedNeXt supplied a large-kernel convolutional comparison for contemporary three-dimensional attention models. The subsequent nnU-Net Revisited study evaluates modern convolutional alternatives, including ConvNeXt-style variants, within a standardized training framework to examine the effects of architecture and scale.