Stable Distribution Alignment Using the Dual of the Adversarial Distance

Ben Usman, Kate Saenko, Brian Kulis

Introduction

Training adversarial models, such as Generative Adversarial Networks (GANs), often feels like balancing on a needle. These methods have revolutionized how we align data distributions—whether for generating realistic synthetic images or matching features across different datasets in domain adaptation. However, they rely on a min-max (saddle point) objective: a generator tries to minimize a distance while a discriminator simultaneously tries to maximize it.

Solving these min-max problems with standard gradient descent is notoriously difficult. The optimization process often "circles" the solution without ever landing on it, leading to instability, mode collapse, and extreme sensitivity to hyperparameters. This paper investigates whether turning this adversarial min-max problem into a pure minimization problem—by replacing the maximization part with its mathematical dual—can improve the stability and quality of distribution alignment.

The Dual Formulation Approach

The authors focus on the logistic adversarial objective and derive its dual formulation for linear and kernelized discriminators. By doing so, they transform the "adversarial" relationship into a "cooperative" one.

  1. From Min-Max to Minimization: Instead of fighting a moving target, the dual formulation presents a smooth, constrained minimization problem. This is inherently better suited for standard optimization tools.
  2. Iterative Reweighting: The dual variables effectively act as weights for each data point. The optimization becomes a process of finding the best weights to minimize a regularized distance.
  3. Connection to MMD: The authors demonstrate that their dual objective is a generalization of Maximum Mean Discrepancy (MMD). If point weights are held constant, the objective reduces to MMD. Thus, the dual approach acts as an iteratively reweighted MMD that automatically focuses on the most relevant "support vectors" for alignment.
  4. Kernelization: Using the "kernel trick," the method extends from simple linear discriminators to complex, non-linear ones without sacrificing the stability of the minimization framework.

Key Insights and Ideas

A major issue in primal (min-max) setups is the "spinning" boundary. As two distributions become nearly aligned, the discriminator's decision boundary often starts spinning wildly, desperately searching for any tiny gap to separate the data. This pushes the distributions apart again, causing endless oscillation.

Visual comparison of 2D point cloud alignment. The primal method (top) exhibits a "spinning" decision boundary, while the dual methods (middle, bottom) maintain stable boundaries.

The dual formulation avoids this instability by defining the boundary implicitly through weighted averages of the data. The dual variables automatically assign higher weights to points that are "mutually close" between the two distributions. Consequently, the algorithm naturally prioritizes aligning the parts of the datasets that are already most similar, leading to a much more graceful alignment process.

Key Results

The paper evaluates this approach on synthetic 2D point clouds and a classic unsupervised domain adaptation benchmark (SVHN to MNIST).

  • Monotonic Improvement: In synthetic tests, the primal method oscillated indefinitely. In stark contrast, the dual method demonstrated steady, monotonic convergence to the optimal solution.
Convergence metrics over iterations. The primal objective (top row) oscillates wildly, whereas the dual and dual kernel objectives (bottom rows) show smooth, monotonic convergence.
  • Hyperparameter Robustness: In the SVHN-to-MNIST task, the dual objective proved far less sensitive to learning rates and regularization parameters.
  • Superior Success Rate: Across a wide range of hyperparameter combinations, the Dual method outperformed the source baseline in 52.3% of runs. Popular alternatives lagged significantly behind: Improved WGAN (21.5%), MMD (17.1%), and ADDA (6.9%).
  • Long-term Stability: The dual formulation reached high accuracy and stayed there, whereas primal methods frequently peaked and then diverged or drifted away from the solution.

Limitations and Future Work

While promising, the method has limitations. The current dual derivation is specific to linear and kernelized discriminators; it does not directly apply to deep neural network discriminators where a closed-form dual is much harder to derive. Additionally, kernel methods typically scale quadratically ($O(N^2)$) with the number of samples, presenting a computational challenge for extremely large datasets compared to standard GANs.

Future work may explore extending this "cooperative" reformulation to other statistical distances, such as the Wasserstein distance, to create a broader family of stable, non-adversarial alignment tools.

Summary updated

BibTeX
@inproceedings{usman2018stable,
  author = {Ben Usman and Kate Saenko and Brian Kulis},
  title = {{Stable Distribution Alignment Using the Dual of the Adversarial Distance}},
  booktitle = {Workshops @ ICLR},
  year = {2018},
  url = {https://openreview.net/forum?id=J9wu2QqBUgY},
}
Figure