deep_sets
A permutation-invariant network that embeds each set element, sums, and decodes the sum with a second network.
13 operations Checked
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
- 13.1K
- Operations
- 13
- Framework
- PyTorch
- Recurrent
- No
- Published
- NeurIPS (arXiv 2017)
- Paper
- Deep Sets
- Cited by
- 1,022 (as of 29 November 2026)
- Authors
- Manzil Zaheer, Satwik Kottur, Siamak Ravanbakhsh and others
- License
- Apache-2.0
- Checked
- Passed: the trace was replayed operation by operation and matched the model's own output for this input.
Files
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
Details
- Stable ID
- m4130
- Graph hash
- 541cb1f71254548f6c2f7cf0f7bc4c4a30c415f7c785dce20d3a3214d3c56574
- Skeleton hash
- 2b4c8015c25aa45289af16840ea5bb6adedd245689f2fa6873f52954d17186c3
- Architecture hash
- 37c325edeadc73cfafd1fad7c99bdeb5c96070f2554668f9cc7938eecc92d0cc
- Diagram SHA-256
- e58f6d3b9f50e79941fa3c9d6b71c9b3807f0b93e2eecee944a2b71b97fa7fe6
- 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
Deep Sets is a neural network architecture for inputs that are sets rather than fixed-dimensional vectors, where the answer must not depend on the order of the elements. Such problems range from estimating population statistics to anomaly detection and cosmology.
The paper's main theorem characterizes permutation invariant functions and gives a family of functions to which any permutation invariant objective must belong. In practice the key is to add up all per-element representations and then apply nonlinear transformations. The authors also derive the necessary and sufficient conditions for permutation equivariance in deep models. They demonstrate the method on population statistic estimation, point cloud classification, set expansion and outlier detection.
The captured member is the population-statistics model, which the code repository describes as estimating population statistics from an iid sample set of data. For point clouds, the paper classifies ModelNet40 objects from sets of 100, 1000 and 5000 points with x, y, z coordinates.
Key idea. Deep Sets characterizes permutation invariant functions and uses the special structure of that family to design a deep network architecture that operates on sets.
- Deep Sets
- DeepSets
- permutation invariance
- permutation equivariance
- set function
- sum pooling
- PopStats
- population statistics
- point cloud classification
- Zaheer
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{zaheer2018deepsets,
title={Deep Sets},
author={Manzil Zaheer and Satwik Kottur and Siamak Ravanbakhsh and Barnabas Poczos and Ruslan Salakhutdinov and Alexander Smola},
year={2018},
eprint={1703.06114},
archivePrefix={arXiv},
primaryClass={cs.LG},
url={https://arxiv.org/abs/1703.06114},
}