paper-with-me

홈 › Papers

Enhancing Compositional Generalization via Compositional Feature Alignment

2024-02-05 · Haoxiang Wang, Haozhe Si, Huajie Shao, Han Zhao

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.

📄 PDF Abstract BibTeX arXiv:2402.02851

Code (1)

haoxiang-wang/compositional-feature-alignment 공식 구현 pytorch

Methods 이 논문이 사용한 방법론

CLIP Contrastive Language-Image Pre-training (CLIP), consisting of a simplified version of ConVIRT trained from scratch, is an efficient method of image representation learning…

Similar Papers 제목 키워드 기반

EVA: Mixture-of-Experts Semantic Variant Alignment for Compositional Zero-Shot Learning

2025-06-26 · Xiao Zhang, Yongqiang Ma, Haodong Jing, Nanning Zheng

Compositional Zero-Shot Learning (CZSL) investigates compositional generalization capacity to recognize unknown state-object pairs based on learned primitive concepts. Existing CZSL methods typically derive primitives fe…

Compositional Zero-Shot LearningMixture-of-ExpertsZero-Shot Learning

Compositional Generalization for Neural Semantic Parsing via Span-level Supervised Attention

2021-06-01 · NAACL 2021 4 · Pengcheng Yin, Hao Fang, Graham Neubig, Adam Pauls 외

We describe a span-level supervised attention loss that improves compositional generalization in semantic parsers. Our approach builds on existing losses that encourage attention maps in neural sequence-to-sequence model…

Machine TranslationSemantic ParsingTranslationWord Alignment

Temporal Representation Alignment: Successor Features Enable Emergent Compositionality in Robot Instruction Following

2025-02-08 · Vivek Myers, Bill Chunyuan Zheng, Anca Dragan, Kuan Fang 외

Effective task representations should facilitate compositionality, such that after learning a variety of basic tasks, an agent can perform compound tasks consisting of multiple steps simply by composing the representatio…

Instruction Following

Improving Compositional Generalization in Semantic Parsing

2020-10-12 · Findings of the Association for Computational Linguistics 2020 · Inbar Oren, Jonathan Herzig, Nitish Gupta, Matt Gardner 외

Generalization of models to out-of-distribution (OOD) data has captured tremendous attention recently. Specifically, compositional generalization, i.e., whether a model generalizes to new structures built of components o…

DecoderSemantic Parsing

Compositional Generalization by Factorizing Alignment and Translation

2020-07-01 · ACL 2020 6 · Jacob Russin, Jason Jo, R O{'}Reilly, all 외

Standard methods in deep learning for natural language processing fail to capture the compositional structure of human language that allows for systematic generalization outside of the training distribution. However, hum…

Machine TranslationSystematic GeneralizationTranslation