FDS: Feedback-Guided Domain Synthesis with Multi-Source Conditional Diffusion Models for Domain Generalization

Ali Bahri, Mehrdad Noori, Gustavo Adolfo Vargas Hakim, Ismail Ben Ayed, Milad Cheraghalikhani, David Osowiechi, Christian Desrosiers, Moslem Yazdanpanah

Abstract

Deep learning models often struggle with Domain Generalization (DG), where a shift between training and deployment data distributions leads to significant performance degradation. We present FDS (Feedback-guided Domain Synthesis), a framework that utilizes multi-source conditional diffusion models to populate the "distributional space" between known domains. By interpolating between domain representations and employing a classifier's uncertainty as a feedback signal to select challenging synthetic images, FDS significantly enhances a model's ability to generalize to unseen environments.

Introduction

The brittleness of deep learning models under domain shift—such as a classifier trained on high-resolution photos failing on charcoal sketches—remains a core challenge in computer vision. Existing approaches like standard data augmentation or style transfer often lack the diversity or realism required to cover the vast space between discrete domains. FDS addresses this by generating high-quality synthetic data that acts as a bridge between isolated source clusters, effectively filling the "white space" in the feature distribution.

Methodology

The FDS framework consists of three primary stages designed to transform generative capabilities into a targeted training signal for robust classification.

1. Multi-Source Conditional Diffusion

FDS begins by training a single Latent Diffusion Model (LDM) conditioned on both class labels (e.g., "Giraffe") and domain labels (e.g., "Sketch"). This unified model learns the underlying semantics of categories across all available styles, providing a foundation for cross-domain synthesis.

2. Domain Mixing (Interpolation)

To explore the space between known domains, FDS introduces two interpolation strategies:

  • Noise-Level Interpolation: Blending denoising paths during the generation process.
  • Condition-Level Interpolation: Blending text embeddings (prompts) of different domains (e.g., a prompt that is 50% "Art" and 50% "Photo").
Visualizing domain interpolation: FDS creates pseudo-domains by blending styles (e.g., Art to Sketch) while maintaining object semantics.

Condition-level interpolation is particularly effective for large domain shifts, as it manipulates high-level semantic representations more directly to "hallucinate" intermediate styles.

3. Feedback-guided Filtering

The core innovation of FDS is its feedback mechanism. Rather than using all synthetic data, FDS filters images based on the performance of a classifier trained on original source data. It selects images that are:

  • Semantically Correct: The classifier correctly identifies the object class, ensuring the image is recognizable.
  • High Entropy: The classifier is uncertain about the prediction.
The FDS synthesis pipeline: New domains are generated via interpolation and then filtered based on semantic consistency and entropy feedback.

These "hard examples" are crucial for forcing the model to learn domain-invariant features rather than over-fitting to specific textures or styles.

Experiments and Results

FDS was evaluated on standard DG benchmarks (PACS, VLCS, OfficeHome) using a leave-one-out protocol (training on three domains and testing on a fourth, unseen domain).

  • PACS: FDS improved the Empirical Risk Minimization (ERM) baseline from 85.5% to 88.8%. When combined with Stochastic Weight Averaging Densely (SWAD), it achieved a state-of-the-art 90.5%.
  • OfficeHome: The method showed a substantial 6.5% improvement over the ERM baseline, reaching 71.1%.
  • Source Regularization: Beyond generalization, FDS acted as a powerful regularizer, improving performance even on the original source domains by preventing over-fitting to specific textures.

Conclusion

FDS demonstrates that generative models can do more than just create realistic images; they can be steered to generate targeted training data that bridges domain gaps. By focusing on high-entropy samples through a feedback loop, FDS creates a continuous distribution that significantly enhances model robustness. Future work may explore "extrapolation" to prepare models for domains entirely outside the convex hull of the training data.

Summary updated

BibTeX
@inproceedings{bahri2025fds,
  author = {Ali Bahri and Mehrdad Noori and Gustavo Adolfo Vargas Hakim and Ismail Ben Ayed and Milad Cheraghalikhani and David Osowiechi and Christian Desrosiers and Moslem Yazdanpanah},
  title = {{FDS: Feedback-Guided Domain Synthesis with Multi-Source Conditional Diffusion Models for Domain Generalization}},
  booktitle = {IEEE/CVF Winter Conference on Applications of Computer Vision},
  year = {2025},
  doi = {10.1109/wacv61041.2025.00824},
}
Figure