[Paper Review] From Semantics to Pixels: Coarse-to-Fine Masked Autoencoders for Hierarchical Visual Understanding
C2FMAE introduces a coarse-to-fine masked autoencoder with a cascaded decoder and progressive masking to learn hierarchical visual representations across semantic masks, instance masks, and RGB images, achieving strong gains on classification, detection, and segmentation.
Self-supervised visual pre-training methods face an inherent tension: contrastive learning (CL) captures global semantics but loses fine-grained detail, while masked image modeling (MIM) preserves local textures but suffers from "attention drift" due to semantically-agnostic random masking. We propose C2FMAE, a coarse-to-fine masked autoencoder that resolves this tension by explicitly learning hierarchical visual representations across three data granularities: semantic masks (scene-level), instance masks (object-level), and RGB images (pixel-level). Two synergistic innovations enforce a strict top-down learning principle. First, a cascaded decoder sequentially reconstructs from scene semantics to object instances to pixel details, establishing explicit cross-granularity dependencies that parallel decoders cannot capture. Second, a progressive masking curriculum dynamically shifts the training focus from semantic-guided to instance-guided and finally to random masking, creating a structured learning path from global context to local features. To support this framework, we construct a large-scale multi-granular dataset with high-quality pseudo-labels for all 1.28M ImageNet-1K images. Extensive experiments show that C2FMAE achieves significant performance gains on image classification, object detection, and semantic segmentation, validating the effectiveness of our hierarchical design in learning more robust and generalizable representations.
Motivation & Objective
- Motivate the need to unify global semantic understanding with fine-grained visual details in self-supervised pre-training.
- Propose a hierarchical pre-training framework that leverages three data granularities: semantic masks, instance masks, and RGB images.
- Enforce a top-down learning principle via a cascaded decoder and a progressive masking curriculum.
- Demonstrate that hierarchical pre-training yields robust representations across classification, detection, and segmentation tasks.
Proposed method
- Use three granular inputs (RGB, instance masks, semantic masks) fed into a shared ViT encoder.
- Employ a cascaded decoder that sequentially reconstructs semantic masks, instance masks, and RGB images to enforce coarse-to-fine refinement.
- Implement a top-down progressive masking strategy with semantic-guided, instance-guided, and random masking phases, controlled by adaptive weights to shift focus during training.
- Construct a large-scale multi-granular dataset by generating aligned instance and semantic segmentation pseudo-labels for ImageNet-1K (1.28M images).
- Train with a multi-task objective combining semantic, instance, and RGB reconstruction losses, balanced by weights λ_S, λ_I, λ_R.
Experimental results
Research questions
- RQ1Can a coarse-to-fine pre-training framework unify high-level semantics and fine-grained details to improve downstream tasks?
- RQ2Does a cascaded decoder better enforce hierarchical information flow than parallel multi-modal decoders?
- RQ3Does progressive masking aligned with hierarchical objectives mitigate attention drift and enhance representation quality?
- RQ4How does C2FMAE perform on image classification, object detection, and semantic segmentation compared to MAE and MultiMAE?
- RQ5What is the impact of multi-granular pre-training data on downstream task performance?
Key findings
- C2FMAE achieves 83.7% and 84.2% fine-tuning accuracy on ImageNet-1K with 400 and 1600 pre-training epochs, respectively, outperforming MAE and MultiMAE.
- C2FMAE yields +1.8 APb and +1.6 APm gains on COCO object detection and instance segmentation over MAE, and +2.0 APb / +1.9 APm over MultiMAE.
- On ADE20K semantic segmentation, C2FMAE reaches 49.1% mIoU, outperforming MAE by 1.0% and MultiMAE by 1.3%.
- 400-epoch C2FMAE surpasses MAE’s 1600-epoch model in accuracy (83.7% vs. 83.6%), while maintaining similar training cost to MultiMAE and only ~1.3x MAE.
- C2FMAE (with RGB/Inst/Sem inputs) demonstrates robustness and superior hierarchical representation learning across tasks.
- The ablation results (partial) indicate that adding dataset and architectural components progressively improves performance over a MultiMAE baseline.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.