All models

DPGN

Few-shot classifier that passes label information through a paired point graph and distribution graph.

Image classification · 1,380 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 (919 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

Parameters
5.8M
Operations
1,380
Framework
PyTorch
Recurrent
Yes
Published
CVPR 2020
Cited by
269 (as of 28 October 2026)
Authors
Ling Yang, Liangliang Li, Zilun Zhang and others
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
m15713
Graph hash
ada88ee92737113cdccc3baec3fa71478acaf7bb119514924c73e57cf7cb44b1
Skeleton hash
b00b3ae02e8582a5a4b5a87bbde80db187af98db7e10fe8078dc5879062657ed
Architecture hash
22a9a49517522ed9ac959f986025822effc7305fad91a74f8dc295d54d657c1d
Diagram SHA-256
3aab01eff4e68a67ec195e5a40299b96b111743d5f6831e39ace18c77de48f9b
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

DPGN, short for distribution propagation graph network, is a graph network built for few-shot learning. In that setting a model must predict labels for a query set given only a few labeled examples, the support set. Where most graph-based meta-learning approaches model relations between individual examples, DPGN also models how one example relates to all the others, which the paper calls a distribution-level relation.

It does this with two complete graphs in which every node is an example: a point graph and a distribution graph. The point graph generates the distribution graph by gathering each example's one-versus-all relations, and the distribution graph then refines the point graph. Label information spreads from labeled to unlabeled examples over several of these update rounds, which the paper calls generations.

The paper evaluates DPGN on four few-shot benchmarks: miniImageNet, tieredImageNet, CUB-200-2011 and CIFAR-FS. It reports gains over earlier results of 5% to 12% in supervised settings and 7% to 13% in semi-supervised settings. The repository's example command trains the 5-way 1-shot configuration with a ResNet12 backbone on mini-ImageNet. For ResNet12 on miniImageNet, the repository's results table lists 67.77±0.32 for 5-way 1-shot and 84.60±0.43 for 5-way 5-shot.

Key idea. DPGN pairs a point graph with a distribution graph so that few-shot classification uses both instance-level relations and each example's distribution-level relation to all other examples.

  • DPGN
  • Distribution Propagation Graph Network
  • few-shot learning
  • few-shot classification
  • graph network
  • meta-learning
  • label propagation
  • semi-supervised few-shot learning
  • miniImageNet

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

Cite the paper

@misc{yang2020dpgndistributionpropagationgraph,
      title={DPGN: Distribution Propagation Graph Network for Few-shot Learning}, 
      author={Ling Yang and Liangliang Li and Zilun Zhang and Xinyu Zhou and Erjin Zhou and Yu Liu},
      year={2020},
      eprint={2003.14247},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/2003.14247}, 
}