Enhancing Compositional Generalization via Compositional Feature Alignment
Not on the map. Why?
Abstract (arXiv)
Real-world applications of machine learning models often confront data distribution shifts, wherein discrepancies exist between the training and test data distributions. In the common multi-domain multi-class setup, as the number of classes and domains scales up, it becomes infeasible to gather training data for every domain-class combination. This challenge naturally leads the quest for models with Compositional Generalization (CG) ability, where models can generalize to unseen domain-class combinations. To delve into the CG challenge, we develop CG-Bench, a suite of CG benchmarks derived from existing real-world image datasets, and observe that the prevalent pretraining-finetuning paradigm on foundational models, such as CLIP and DINOv2, struggles with the challenge. To address this challenge, we propose Compositional Feature Alignment (CFA), a simple two-stage finetuning technique that i) learns two orthogonal linear heads on a pretrained encoder with respect to class and domain labels, and ii) fine-tunes the encoder with the newly learned head frozen. We theoretically and empirically justify that CFA encourages compositional feature learning of pretrained models. We further conduct extensive experiments on CG-Bench for CLIP and DINOv2, two powerful pretrained vision foundation models. Experiment results show that CFA outperforms common finetuning techniques in compositional generalization, corroborating CFA's efficacy in compositional feature learning.
Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). Builds on 42 of its 54 references that are in the map. First posted on arXiv 5 Feb 2024.
Builds on
42 of 54 references.
References · 42
- 2015Deep Residual Learning for Image Recognitioncited by 52,096
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
- 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 12,049
- 2019Momentum Contrast for Unsupervised Visual Representation Learningcited by 7,513
- 2021Masked Autoencoders Are Scalable Vision Learnerscited by 7,403
- 2021Emerging Properties in Self-Supervised Vision Transformerscited by 6,968
- 2016SGDR: Stochastic Gradient Descent with Warm Restartscited by 5,045
- 2015Domain-Adversarial Training of Neural Networkscited by 3,044
- 2014Unsupervised Domain Adaptation by Backpropagationcited by 1,917
30 more
- 2019Invariant Risk Minimizationcited by 1,854
- 2020WILDS: A Benchmark of in-the-Wild Distribution Shiftscited by 1,375
- 2018Moment Matching for Multi-Source Domain Adaptationcited by 1,331
- 2016Deep CORAL: Correlation Alignment for Deep Domain Adaptationcited by 1,200
- 2017Deep Hashing Network for Unsupervised Domain Adaptationcited by 1,188
- 2020In Search of Lost Domain Generalizationcited by 1,054
- 2021Robust fine-tuning of zero-shot modelscited by 797
- 2022Fine-Tuning can Distort Pretrained Features and Underperform Out-of-Distributioncited by 739
- 2020Prevalence of Neural Collapse during the terminal phase of deep learning trainingcited by 719
- 2017A systematic study of the class imbalance problem in convolutional neural networkscited by 513
- 2022SatMAE: Pre-training Transformers for Temporal and Multi-Spectral Satellite Imagerycited by 408
- 2017Functional Map of the Worldcited by 338
- 2020The Risks of Invariant Risk Minimizationcited by 262
- 2021A Geometric Analysis of Neural Collapse with Unconstrained Featurescited by 227
- 2021Exploring Deep Neural Networks via Layer-Peeled Model: Minority Collapse in Imbalanced Trainingcited by 166
- 2020BREEDS: Benchmarks for Subpopulation Shiftcited by 155
- 2022Finetune like you pretrain: Improved finetuning of zero-shot vision modelscited by 150
- 2020Neural collapse with unconstrained featurescited by 142
- 2019Task-Driven Modular Networks for Zero-Shot Compositional Learningcited by 121
- 2023Change is Hard: A Closer Look at Subpopulation Shiftcited by 120
- 2021Does Invariant Risk Minimization Capture Invariance?cited by 116
- 2021Learning Graph Embeddings for Compositional Zero-shot Learningcited by 112
- 2022Inducing Neural Collapse in Imbalanced Learning: Do We Really Need a Learnable Classifier at the End of Deep Neural Network?cited by 100
- 2020The iWildCam 2020 Competition Datasetcited by 86
- 2022Imbalance Trouble: Revisiting Neural-Collapse Geometrycited by 80
- 2022Learning to Compose Soft Prompts for Compositional Zero-Shot Learningcited by 67
- 2020Empirical or Invariant Risk Minimization? A Sample Complexity Perspectivecited by 62
- 2022Provable Domain Generalization via Invariant-Feature Subspace Recoverycited by 32
- 2023Learning Attention as Disentangler for Compositional Zero-shot Learningcited by 29
- 2023Extending global-local view alignment for self-supervised learning with remote sensing imagerycited by 20
Built on by
Citing papers per year: 2024: 2; 2025: 1; 2026: 1.
4 papers.
- 2024Deciphering the Role of Representation Disentanglement: Investigating Compositional Generalization in CLIP Modelscited by 13
- 2025Model Context Protocol for Vision Systems: Audit, Security, and Protocol Extensionscited by 1
- 2024Guidance Not Obstruction: A Conjugate Consistent Enhanced Strategy for Domain Generalizationcited by 0
- 2026How can embedding models bind concepts?cited by 0
- 2026How can embedding models bind concepts?29 May 2026
- 2025Model Context Protocol for Vision Systems: Audit, Security, and Protocol Extensions26 Sep 2025
- 2024Guidance Not Obstruction: A Conjugate Consistent Enhanced Strategy for Domain Generalization13 Dec 2024
- 2024Deciphering the Role of Representation Disentanglement: Investigating Compositional Generalization in CLIP Models8 Jul 2024