Anticipating Future Object Compositions Without Forgetting

Youssef Zahran, Gertjan J. Burghouts, Yke Bauke Eisma

Introduction

Compositional Zero-Shot Learning (CZSL) is a fundamental challenge in computer vision, aiming to enable models to recognize novel combinations of known attributes and objects (e.g., identifying a "blue cube" after only seeing "red cubes" and "blue spheres"). While humans excel at this through mental composition, Vision-Language Models (VLMs) often struggle due to feature entanglement and a tendency to forget general knowledge when fine-tuned on specific tasks. This paper presents a novel framework for CZSL in object detection, leveraging Grounding DINO to achieve significant generalization gains without catastrophic forgetting.

Problem Statement

The authors identify two primary obstacles in applying VLMs to compositional object detection:

  1. Feature Misalignment: Models often over-rely on object categories, failing to disentangle attributes from their base objects.
  2. Catastrophic Forgetting: Standard fine-tuning on new compositional datasets typically degrades the model's performance on its original, broad pre-training data (e.g., MS-COCO).

Methodology

The proposed framework introduces three core components integrated into the Grounding DINO architecture.

Overview of the proposed framework, including Compositional Anticipation and Contrastive Prompt Tuning.

1. Compositional Soft Prompting (CSP)

To prevent forgetting, the researchers employ parameter-efficient tuning. Instead of updating the entire model, they train "auxiliary tokens" for specific attributes and objects while keeping the core VLM weights frozen.

2. Compositional Anticipation (CA)

This module encourages the model to "expect" unseen combinations through two mechanisms:

  • Compositional Smoothing: Rather than binary labels, this method provides "partial credit." If a model correctly identifies an object but misses the attribute, it receives a soft positive signal. This guides the model to learn individual components independently.
  • Compositional Independence: Using orthogonality loss and the Hilbert-Schmidt Independence Criterion (HSIC), the model is mathematically constrained to treat attributes (e.g., color) and objects (e.g., shape) as distinct, independent concepts.

3. Contrastive Prompt Tuning

To address specific visual confusions (e.g., mistaking a blue cube for a green one), the authors introduce a learnable text prompt: "is not [confused class] but is [correct class]." This utilizes the VLM's language encoder as a reasoning engine to "debug" visual predictions during incremental learning.

Experimental Evaluation

The framework was evaluated on the CLEVR dataset for compositional generalization and MS-COCO to monitor catastrophic forgetting.

Key Results

  • Generalization: The method achieved a 70.5% improvement in the Harmonic Mean (HM) between seen and unseen compositions on CLEVR compared to the baseline.
  • Retention: While standard fine-tuning led to a 29.3% performance drop on MS-COCO, the proposed approach maintained 100% of the original performance, effectively eliminating catastrophic forgetting.
  • Incremental Success: Contrastive Prompt Tuning improved performance on new classes by 31.3% over standard class-specific tuning.

Discussion and Future Work

The "aha moment" of this research lies in treating partial correctness as a learning signal and using natural language as a correction layer. By disentangling concepts mathematically and linguistically, the model becomes more robust to novel combinations.

However, the current study is limited to the synthetic CLEVR dataset. Future research will explore how these disentanglement strategies scale to the complex, overlapping attributes found in real-world imagery, where concepts like "weathered" or "metallic" may be harder to isolate than simple colors.

Summary updated

BibTeX
@inproceedings{zahran2024anticipating,
  author = {Youssef Zahran and Gertjan J. Burghouts and Yke Bauke Eisma},
  title = {{Anticipating Future Object Compositions Without Forgetting}},
  booktitle = {ICPR},
  year = {2024},
  doi = {10.1007/978-3-031-78113-1\_18},
}
Figure