# Collaborative Sampling in Generative Adversarial Networks

- Authors: Yuejiang Liu, Parth Ashit Kothari, Alexandre Alahi
- Year: 2020
- Type: Conference paper
- Venue: Thirty-Fourth AAAI Conference on Artificial Intelligence (AAAI-20)
- Research area: Generative Models (VITA lab, EPFL)
- DOI: https://doi.org/10.1609/aaai.v34i04.5933
- Code: https://github.com/vita-epfl/collaborative-gan-sampling
- Lab project: https://vita.epfl.ch/research/generative/collaborative-gan-sampling/
- EPFL Infoscience: https://infoscience.epfl.ch/handle/20.500.14299/154409
- Web page: https://vita.epfl.ch/papers/collaborative-sampling-in-generative-adversarial-networks/



## Abstract

The standard practice in Generative Adversarial Networks (GANs) discards the discriminator during sampling. However, this sampling method loses valuable information learned by the discriminator regarding the data distribution. In this work, we propose a collaborative sampling scheme between the generator and the discriminator for improved data generation. Guided by the discriminator, our approach refines the generated samples through gradient-based updates at a particular layer of the generator, shifting the generator distribution closer to the real data distribution. Additionally, we present a practical discriminator shaping method that can smoothen the loss landscape provided by the discriminator for effective sample refinement. Through extensive experiments on synthetic and image datasets, we demonstrate that our proposed method can improve generated samples both quantitatively and qualitatively, offering a new degree of freedom in GAN sampling.

## Keywords

Generative Models, Generative Adversarial networks, Deep Learning

## Related VITA papers

- [Safety-Compliant Generative Adversarial Networks for Human Trajectory Forecasting](https://vita.epfl.ch/papers/safety-compliant-generative-adversarial-networks-for-human.md) (2023)
- [Next Steps for Image Synthesis using Semantic Segmentation](https://vita.epfl.ch/papers/next-steps-for-image-synthesis-using-semantic-segmentation.md) (2020)
- [Deep Learning Methods for Socially-Aware Human Trajectory Forecasting](https://vita.epfl.ch/papers/deep-learning-methods-for-socially-aware-human-trajectory.md) (2022)
- [A Shared Representation for Photorealistic Driving Simulators](https://vita.epfl.ch/papers/a-shared-representation-for-photorealistic-driving-simulators.md) (2021)
- [Social GAN: Socially Acceptable Trajectories with Generative Adversarial Networks](https://vita.epfl.ch/papers/social-gan-socially-acceptable-trajectories-with-generative.md) (2018)
- [Data generation for asphalt pavement evaluation: Deep learning-based insights from generative models](https://vita.epfl.ch/papers/data-generation-for-asphalt-pavement-evaluation-deep-learning.md) (2025)

## BibTeX

```bibtex
@inproceedings{liu2020collaborative,
  title = {{Collaborative Sampling in Generative Adversarial Networks}},
  author = {Liu, Yuejiang and Kothari, Parth Ashit and Alahi, Alexandre},
  booktitle = {Thirty-Fourth AAAI Conference on Artificial Intelligence (AAAI-20)},
  year = {2020},
  volume = {34},
  number = {04},
  pages = {4948--4956},
  doi = {10.1609/aaai.v34i04.5933},
  url = {https://doi.org/10.1609/aaai.v34i04.5933}
}
```
