All models

DivSamp

A sampler that draws diverse future human pose sequences from a pretrained CVAE motion predictor.

Pose · 225 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 (12 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

Task
Pose
Parameters
23.1M
Operations
225
Framework
PyTorch
Recurrent
No
Published
ACM MM 2022
Cited by
53 (as of 27 October 2026)
Authors
Lingwei Dang, Yongwei Nie, Chengjiang Long and others
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
m16168
Graph hash
51baf65eac6ff936fc7047ce279e278cd69f66028ed214270c2731a6f541ca5f
Skeleton hash
e841223bceb0c6f24dc30db39bae439f26870a6cdeb6b25bc8788ad2ead3bc93
Architecture hash
992732f724a2cbf16cef3b85c606371fe394c0946ac3eec91ce7f53738e1b36a
Diagram SHA-256
c0d822b2671f1beb0e3dfb4e5a27f99c446507c97bccc9b2d33e0295b6ad61b7
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

Diverse Sampling is a method for diverse human motion prediction, the task of predicting multiple possible future pose sequences from a sequence of observed poses. The paper observes that earlier approaches, which sample randomly from a learned generative model, usually return the most likely outcomes, and that these are not diverse enough.

Instead of generating Gaussian distributions directly, the model learns a set of basis vectors from the observed poses. The basis vectors define an auxiliary space, and any linear combination of them is a point in that space. Points are drawn from this space by Gumbel-Softmax sampling and mapped to Gaussian distributions, from which latent codes are sampled and decoded into predictions. The decoding is done by a pretrained CVAE decoder. Training uses a hinge-diversity loss, which requires the distance between any pair of predictions to be greater than a user-specified threshold.

The experiments are on Human3.6M and HumanEva-I. A fixed number of points is sampled during training, and once the auxiliary space has been trained any number of points can be sampled from it.

Key idea. The paper turns diverse sampling from an imbalanced multimodal distribution into random sampling of points from a learned auxiliary space, using Gumbel-Softmax sampling and a hinge-diversity loss.

  • DivSamp
  • Diverse Sampling
  • DiverseSampling
  • diverse human motion prediction
  • human motion prediction
  • human pose forecasting
  • stochastic human motion prediction
  • Gumbel-Softmax sampling
  • auxiliary space sampling

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

Cite the paper

@misc{dang2022diversehumanmotionprediction,
      title={Diverse Human Motion Prediction via Gumbel-Softmax Sampling from an Auxiliary Space}, 
      author={Lingwei Dang and Yongwei Nie and Chengjiang Long and Qing Zhang and Guiqing Li},
      year={2022},
      eprint={2207.07351},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/2207.07351}, 
}