NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Full Architecture Pre-training for Dense Prediction

This direction is split into other directions: architectural alignment. Its last version stays readable and citable here.

Version 1 of 147 papers75 conceptsfrozen 2026-10-04

In the standard computer vision pipeline, we treat a model like a modular house: we buy a pre-built "backbone" (the encoder) that has already learned to see on a massive dataset like ImageNet, and then we bolt on a custom-built, randomly initialized "head" or "neck" to handle specific tasks like object detection or semantic segmentation.

While this modularity is convenient, it creates a fundamental architectural gap. When fine-tuning begins, the well-trained backbone is suddenly subjected to chaotic, noisy gradients from the randomly initialized head. This "structural misalignment" forces the model to spend its early training cycles reconciling these two halves rather than refining its task-specific skills.

Research across object detection and segmentation now suggests a more holistic approach: Full Architecture Pre-training. By initializing the entire pipeline—including Feature Pyramid Networks (FPNs), region proposal modules, and transformer decoders—models achieve faster convergence, better data efficiency, and higher final accuracy.

The Random Initialization Bottleneck

Most self-supervised learning (SSL) focuses on the backbone. For example, a ResNet or ViT is trained to recognize global image features. However, as noted by Feng Wang and Alan Yuille in CP2: Copy-Paste Contrastive Pretraining for Semantic Segmentation, a randomly initialized segmentation head can actually degrade the backbone's pre-trained features during the early stages of fine-tuning.

This bottleneck is particularly severe in "dense" tasks. While classification only requires knowing what is in an image, detection and segmentation require knowing where things are and how they relate spatially. If the components responsible for spatial reasoning—like the decoder in a Transformer or the RPN in a Faster R-CNN—start from scratch, they lack the "spatial priors" necessary to interpret the backbone's rich feature maps.

Learning Where as Well as What

To solve this, researchers have developed "task-aligned" pre-training strategies that force the entire architecture to engage with the data before any human labels are seen.

In the realm of object detection, Amir Bar and colleagues introduced DETReg, which pre-trains the entire detector using unsupervised region proposals. By teaching the model to localize "object-like" regions and match them to feature embeddings, the model learns the mechanics of bounding box prediction and query handling simultaneously. Similarly, Nanqing Dong and Steven McDonagh demonstrated in ADePT that pre-training the Region Proposal Network (RPN) specifically reduces localization errors in few-shot scenarios.

The intuition is simple: if the model has already practiced drawing boxes around something (even if it doesn't know what that something is), it will be much faster at learning to draw boxes around a car or a cell.

Synchronizing the Decoder for Segmentation

For segmentation, the challenge is pixel-level consistency. Zhenda Xie proposed PixPro, which applies self-supervised objectives directly to the feature pyramids. This ensures that the multi-scale aggregation layers—the "neck" of the model—are optimized for dense spatial tasks.

Recent work on transformer-based architectures has pushed this even further. In Mask-JEPA, Dong-Hee Kim and Sungduk Cho pre-train the entire mask classification pipeline. By treating the transformer decoder as a feature predictor, the model learns intricate object boundaries from unlabeled data. This holistic initialization ensures that the complex components responsible for mask generation are already tuned to the data distribution before the first labeled example is ever seen.

Bridging the Gap with Pseudo-Labels

One of the most effective ways to pre-train the "head" is to generate "free" labels from other models. Haoyi Xiong and Xuhong Li introduced PSSL, which uses an ensemble of "explanations" from classification models to create pseudo-segmentation masks.

By training the entire model (backbone + head) on these pseudo-labels, the researchers establish a spatial prior that prevents the "representational gap" typically caused by random initialization. This approach is echoed in medical imaging by Jiamin Chen, whose DoLL framework uses Explainable AI to turn massive classification datasets into pseudo-segmentation tasks, ensuring the encoder and decoder are spatially aligned from the start.

Why It Works: Gradient Alignment

The success of full-architecture pre-training, as explored in AlignDet by Jie Wu, comes down to gradient alignment.

When only the backbone is pre-trained:

  1. The backbone produces high-quality features.
  2. The random head produces garbage outputs.
  3. The loss function generates massive, erratic gradients to "fix" the head.
  4. These gradients flow back into the backbone, potentially destroying its carefully learned features (the "catastrophic forgetting" of pre-training).

When the entire architecture is pre-trained:

  1. The head already "understands" the backbone's feature language.
  2. The gradients are smaller and more directed toward task refinement.
  3. The model converges faster because it is fine-tuning a cohesive system rather than trying to weld two incompatible parts together.

As computer vision moves toward more complex, multi-stage models like GLID or Group DETR v2, the practice of leaving the "neck" and "head" to random chance is becoming a relic of the past. The future of efficient vision lies in Integrally Migrating the entire pre-trained intelligence of the model, from the first pixel to the final prediction.

Papers in this version

History & citationVersion 1 · 2026-10-04

Split into other directions · Permanent link

View frozen version 1

Cite this direction

Latest version (a living page):

@misc{lacuna_full_architecture_pre_training_for_dense_49a23518,
  title = {Full Architecture Pre-training for Dense Prediction},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/full-architecture-pre-training-for-dense-prediction/rdr_49a2351864c24ded9cabb98997256f72},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-28},
}

This exact version (version 1, frozen text):

@misc{lacuna_full_architecture_pre_training_for_dense_49a23518_v1,
  title = {Full Architecture Pre-training for Dense Prediction},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/full-architecture-pre-training-for-dense-prediction/rdr_49a2351864c24ded9cabb98997256f72/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-11-28},
}