Cross-domain Open-world Discovery

Shuo Wen, Maria Brbic

Abstract

CROW (Cross-domain Robust Open-World-discovery) addresses the challenge of identifying known classes and discovering novel ones when test data originates from a different domain than the training set. By leveraging the well-structured latent space of foundation models and a novel "cluster-then-match" strategy, CROW achieves an 8% average performance boost over existing state-of-the-art methods across 75 diverse experimental settings.

Introduction

Most machine learning models operate under a "closed-world" assumption, where the classes and data distribution seen during training are expected to remain constant during deployment. However, real-world applications frequently encounter two major hurdles: categorical shift, where new, previously unseen classes appear, and domain shift, where the visual style of the data changes (e.g., from real photos to sketches).

Existing research typically addresses these issues in isolation. Novel Class Discovery (NCD) focuses on identifying new categories but assumes no domain shift. Conversely, Universal Domain Adaptation (UniDA) handles domain shifts but often treats all new classes as a single "unknown" category. CROW bridges this gap by correctly labeling seen classes and discovering multiple distinct novel classes under significant domain shifts.

Problem Statement

The cross-domain open-world discovery setting requires a model to maintain performance on known classes while simultaneously partitioning unseen data into meaningful new categories, even as the input domain changes.

The cross-domain open-world discovery setting requires recognizing known classes (e.g., dogs, cats) and discovering novel ones (e.g., fish, turtles) across domain shifts, such as from photos to sketches.

Methodology

The CROW framework employs a three-step approach:

  1. Clustering: Instead of identifying "unknowns" upfront, CROW utilizes a foundation model (e.g., CLIP) to extract features from both labeled source and unlabeled target data. The target data is then clustered into "target prototypes" using K-means.
  2. Robust Matching: Unlike standard "match-then-cluster" methods that rely on sensitive thresholds, CROW uses a "cluster-then-match" strategy. It matches seen classes to target clusters based on source sample distribution. Clusters that do not match any seen class are designated as novel.
  3. Fine-tuning: The model is fine-tuned with a joint objective: cross-entropy loss on labeled source data to preserve known class knowledge, and entropy maximization on target data to ensure clear differentiation between seen and novel categories.

Experimental Results

CROW was evaluated on four major classification benchmarks (Office, OfficeHome, VisDA, and DomainNet) across 75 scenarios. Key findings include:

  • Superior Performance: CROW consistently outperformed UniDA and Open-World SSL baselines by an average of 8% in H-score (the harmonic mean of seen and unseen class accuracy).
  • Threshold Robustness: CROW demonstrates remarkable stability across various matching thresholds, whereas baseline methods often experience significant performance degradation if thresholds are not perfectly tuned.
  • Discovery of Novel Categories: The model successfully identifies distinct novel classes within the target domain, effectively separating them from seen categories despite the shift in visual style.
Example of novel classes (fish and turtles) discovered in the sketch domain.

Conclusion and Future Work

CROW provides a robust solution for open-world discovery across domains. While it shows significant improvements, challenges remain in handling extreme domain shifts (e.g., from sketches to abstract line drawings) and perfecting automatic class counting. Future work will focus on these areas and reducing semantic overlap between seen and novel categories.

Summary updated

BibTeX
@inproceedings{wen2024cross,
  author = {Shuo Wen and Maria Brbic},
  title = {{Cross-domain Open-world Discovery}},
  booktitle = {International Conference on Machine Learning},
  year = {2024},
  url = {https://openreview.net/forum?id=WofwaWjIf7},
}
Figure