Discovery of New Multi-Level Features for Domain Generalization via Knowledge Corruption

Ahmed Frikha, Denis Krompaß, Volker Tresp

TL;DR

This paper introduces COLUMBUS, a novel method for Domain Generalization (DG) that encourages models to discover new, more robust features by strategically corrupting the most relevant ones during training. This approach achieves state-of-the-art results on challenging DG benchmarks, outperforming 18 existing algorithms.

What Problem Does This Paper Address?

In real-world applications, machine learning models often encounter data that differs from their training data – a phenomenon known as domain shift. This is particularly problematic in scenarios where collecting labeled data from all possible future domains is infeasible or impossible. The Domain Generalization (DG) problem aims to train a model on a set of "source" domains such that it can generalize well to completely unseen "target" domains without any prior exposure. The core challenge is that features learned from source domains might not be present or relevant in target domains, leading to performance degradation. This paper tackles this by proposing a method to force models to learn a richer and more diverse set of features, increasing the likelihood that some of these features will be useful across a wider range of unseen domains.

Methods

The proposed method, COLUMBUS, introduces a training procedure that actively encourages the discovery of new features. It operates by identifying the most relevant features for a model's current predictions on the source data and then strategically "corrupting" them. This corruption prevents the model from relying solely on these dominant features, forcing it to explore and learn alternative, potentially more generalizable, features.

Key aspects of the COLUMBUS method include:

  • Multi-Level Corruption: Corruption is applied not only to the raw input data (e.g., image pixels) but also to intermediate feature representations learned by the model at various layers. This multi-level approach is hypothesized to be crucial for enforcing the discovery of new features, as opposed to simply relearning the same features from different input patterns.
  • Relevance Attribution for Identification: To identify which features are "most relevant," COLUMBUS leverages techniques from model explainability, specifically relevance attribution methods like Saliency Maps and Guided-Grad-CAM. These methods assign scores to input features or internal representations based on their contribution to the model's output.
  • Targeted Corruption: Once relevant features are identified, they are corrupted. For raw input, this might involve replacing pixels with random values or blurring. For intermediate representations, it typically means dropping the most relevant features (setting their values to zero), akin to a targeted dropout.
  • Gradual Corruption: The percentage of features corrupted is gradually increased during training, starting with no corruption and progressively increasing to a maximum. This allows the model to learn initial features before being challenged to discover new ones.
  • Ensemble of Methods: The paper suggests using a variety of attribution and corruption methods to increase the diversity of the training process and prevent overfitting.

Datasets

The experiments were conducted on three standard multi-domain datasets commonly used for DG benchmarks:

  • VLCS: Contains images from four photographic domains (VOC2007, LabelMe, Caltech101, SUN09) across 5 classes.
  • OfficeHome: Comprises images of 65 classes from four domains: Art, Clipart, Product, and Real.
  • PACS: Includes images from four domains (Art-painting, Cartoon, Photo, Sketch) across 7 classes.

These datasets were used within the DOMAINBED framework, which provides a standardized environment for evaluating DG algorithms and includes implementations of various DG methods.

Key Insights and Ideas

  • Corruption as a Feature Discovery Engine: The central idea that strategically "breaking" a model's reliance on its most obvious features can force it to learn more robust and diverse representations is a powerful insight. This moves beyond simply aligning existing features to actively creating new ones.
  • Multi-Level Corruption is Key: The paper strongly suggests that corrupting features at multiple levels of the network (input and intermediate representations) is more effective than corrupting only the final output layer's input. This is because corrupting only the final layer might allow the model to simply relearn the same features from the input pixels.
  • Explainability Methods for Training: Leveraging attribution methods, typically used for understanding why a model makes a prediction, as a tool to improve the model's training process is an innovative application.
  • In-Domain Generalization Benefits: The method not only improves generalization to unseen domains but also shows benefits for in-domain generalization (performance on unseen data from the training domains), suggesting its utility even in scenarios with less severe domain shifts.

Key Results

COLUMBUS achieved state-of-the-art results across the evaluated datasets, outperforming 18 other DG algorithms. Specifically:

  • On average, COLUMBUS advanced the state-of-the-art by 1.6% and 1.2% compared to ERM and CORAL, respectively, across the VLCS, PACS, and OfficeHome datasets.
  • It showed particularly strong improvements on the challenging OfficeHome Clipart domain (a 5.5% gain over ERM) and the PACS Sketch domain (a 4% gain over ERM).
  • The paper also notes that COLUMBUS consistently achieved the highest validation performance on the training domains, indicating improved in-domain generalization.

Limitations and Future Work

  • Computational Cost: While the paper doesn't explicitly detail computational overhead, the addition of attribution and corruption steps during training likely increases computational cost compared to simpler methods like ERM.
  • Hyperparameter Tuning: The method introduces new hyperparameters (e.g., corruption percentages, weighting coefficients) that require tuning, though the authors integrated these into the DOMAINBED hyperparameter search.
  • Future Work: The authors suggest that COLUMBUS could be suitable for applications beyond domain generalization, including scenarios without domain shift, due to its ability to learn richer feature sets. Further exploration of different attribution and corruption strategies could also yield improvements. The paper also notes that the effectiveness of COLUMBUS is amplified when better proxies for model selection (like a held-out validation set from the target domain) are available.

Summary updated

BibTeX
@inproceedings{frikha2022discovery,
  author = {Ahmed Frikha and Denis Krompaß and Volker Tresp},
  title = {{Discovery of New Multi-Level Features for Domain Generalization via Knowledge Corruption}},
  booktitle = {ICPR},
  year = {2022},
  doi = {10.1109/icpr56361.2022.9956088},
}
Figure