PEER Pressure: Model-to-Model Regularization for Single Source Domain Generalization

Dong Kyu Cho, Inwoo Hwang, Sanghack Lee

Introduction

Single Source Domain Generalization (sDG) is a challenging regime in machine learning where a model is trained on a single source domain but must generalize to multiple unseen target domains. For instance, a model trained only on photographs of objects should ideally recognize those same objects in sketches, cartoons, or paintings. To achieve this, researchers typically rely on aggressive data augmentation to simulate the diversity of the real world.

The Challenge: Mid-Train OOD Fluctuation

While heavy augmentation is necessary for generalization, it introduces a significant side effect: mid-train Out-of-Distribution (OOD) fluctuation. During training, as the model encounters highly distorted augmented images, its performance on target domains can swing wildly. This instability makes it difficult to select a reliable checkpoint for deployment, especially in scenarios where target data is unavailable for validation.

Average target domain accuracy over training epochs, showing PEER's stability compared to baselines.

As seen in the figure above, standard methods like Adversarial Augmentation or Random Augmentation exhibit high variance in accuracy. This "forgetting" of stable representations in favor of noisy, augmented ones hinders the final performance and reliability of the model.

The PEER Framework

To address these issues, the authors propose PEER (Parameter-Space Ensemble with Entropy Regularization). PEER utilizes a dual-model architecture to decouple the exploration of augmented data from the stabilization of the final task model.

1. The Proxy Model ($P$)

The Proxy Model acts as a "scout." It is actively trained using backpropagation on both the original source data and the augmented data. Its role is to explore the variations introduced by the augmentation pipeline.

2. The Task Model ($F$)

The Task Model is the primary model used for inference. Unlike the proxy, it is not trained directly via gradients. Instead, it is updated periodically by averaging its parameters with the current state of the proxy model. This parameter-space ensemble acts as a "knowledge buffer," smoothing out the noise from individual training steps and accumulating stable features over time.

Conceptual illustration of how data augmentation expands the source domain coverage toward unseen target domains.

Entropy Regularization (PEER Loss)

To prevent the two models from drifting apart, PEER employs a mutual information (MI) alignment loss. This loss forces the proxy model to ensure that the features it extracts from "weird" augmented images remain consistent with the "clean" features recognized by the task model. This "tethering" prevents the distortion of useful feature structures during the exploration of new domains.

Experimental Results

The researchers evaluated PEER on four standard sDG benchmarks: PACS, Digits, Office-Home, and VLCS.

  • State-of-the-Art Performance: PEER achieved the highest mean accuracy on PACS (59.42%) and Digits (81.06%), outperforming complex baselines like PDEN and AdvST.
  • Significant Gains: On challenging datasets like Office-Home and VLCS, PEER improved the performance of standard random augmentation by 10.62% and 6.66%, respectively.
  • Stability and Connectivity: PEER significantly reduced the variance of target domain accuracy. Furthermore, the authors demonstrated improved "mode connectivity," indicating a flatter and more stable loss landscape.

Conclusion

PEER demonstrates that sophisticated model-to-model regularization can effectively "cushion" the negative side effects of aggressive data augmentation. By combining parameter averaging with mutual information alignment, PEER achieves superior stability and performance in Single Source Domain Generalization, proving that sometimes, a little "PEER pressure" is exactly what a model needs to stay on track.

Summary updated

BibTeX
@inproceedings{cho2025peer,
  author = {Dong Kyu Cho and Inwoo Hwang and Sanghack Lee},
  title = {{PEER Pressure: Model-to-Model Regularization for Single Source Domain Generalization}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2025},
  doi = {10.1109/cvpr52734.2025.01431},
}
Figure