All models

msg_gan_generator

A GAN generator that outputs images at every resolution so gradients reach it at multiple scales.

Diffusion and generative · 128 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (28 KB)

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Family
MSG-GAN
Parameters
23M
Operations
128
Framework
PyTorch
Recurrent
No
Published
CVPR 2020
Cited by
50 (as of 22 October 2026)
Authors
Animesh Karnewar, Oliver Wang
License
MIT
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m7510
Graph hash
c4b308ce81e56c76ae7433783baeb588ddf806f741a5ed327f33c5935cbc87c3
Skeleton hash
e3fd3e1ef9d0f3c24d9c6f1de46323a60bbb21a33b28e2981bae64e3c002ba35
Architecture hash
f64ef983fca9d5dc403c10390a0d3dac4f5cc3f47c18151771c1cc7f39a4d4d0
Diagram SHA-256
f4c494165b3cbaf89d17c53c900a27c31c666c22919daa754821e0ff68cd0d1c
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

What it is

MSG-GAN, the Multi-Scale Gradient Generative Adversarial Network, is a technique for training GANs that lets gradients flow from the discriminator to the generator at multiple scales. It targets a commonly accepted cause of unstable GAN training: gradients passing from the discriminator to the generator become uninformative when the real and fake distributions do not overlap enough.

This model is the generator, which synthesizes images at all resolutions simultaneously. At each stage a (1x1) convolution converts the intermediate convolutional activation volume into an image, so the outputs are downsampled versions of the final output image. The discriminator looks at these intermediate outputs as well as the final, highest resolution one, and each image it receives is concatenated with the corresponding activation volume from its main path of convolutional layers.

The paper presents the technique as an alternative to the commonly used progressive growing technique for high resolution image synthesis. It applies the approach to two base architectures, ProGANs and StyleGAN, and calls the results MSG-ProGAN and MSG-StyleGAN. The paper reports that MSG-GAN converges stably on image datasets of different sizes, resolutions and domains with the same set of fixed hyperparameters. For every dataset the generator starts from a latent vector of dimensionality 512.

Key idea. MSG-GAN connects the intermediate layers of the generator to those of the discriminator, so that gradients reach the generator at multiple scales and high resolution training is stable.

  • msg-gan
  • multi-scale gradient gan
  • multi-scale gradients
  • bmsg-gan
  • msg-progan
  • gan generator
  • image synthesis
  • high resolution image synthesis

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@misc{karnewar2020msgganmultiscalegradientsgenerative,
      title={MSG-GAN: Multi-Scale Gradients for Generative Adversarial Networks}, 
      author={Animesh Karnewar and Oliver Wang},
      year={2020},
      eprint={1903.06048},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/1903.06048}, 
}