FSPool: Learning Set Representations with Featurewise Sort Pooling
Yan Zhang, Jonathon S. Hare, Adam Prügel-Bennett
Abstract
Traditional set prediction models can struggle with simple datasets due to an issue we call the responsibility problem. We introduce a pooling method for sets of feature vectors based on sorting features across elements of the set. This can be used to construct a permutation-equivariant auto-encoder that avoids this responsibility problem. On a toy dataset of polygons and a set version of MNIST, we show that such an auto-encoder produces considerably better reconstructions and representations. Replacing the pooling function in existing set encoders with FSPool improves accuracy and convergence speed on a variety of datasets. INTRODUCTION Consider the following task: you have a dataset wherein each datapoint is a set of 2-d points that form the vertices of a regular polygon, and the goal is to learn an auto-encoder on this dataset. The only variable is the rotation of this polygon around the origin, with the number of points, size, and centre of it fixed. Because the inputs and outputs are sets, this problem has some unique challenges. Encoder: This turns the set of points into a latent space. The order of the elements in the set is irrelevant, so the feature vector the encoder produces should be invariant to permutations of the elements in the set. While there has been recent progress on learning such functions (Zaheer et al., 2017; Qi et al., 2017) , they compress a set of any size down to a single feature vector in one step. This can be a significant bottleneck in what these functions can represent efficiently, particularly when relations between elements of the set need to be modeled (Murphy et al., 2019; Zhang et al., 2019b). Decoder: This turns the latent space back into a set. The elements in the target set have an arbitrary order, so a standard reconstruction loss cannot be used naïvely -the decoder would have to somehow output the elements in the same arbitrary order. Methods like those in Achlioptas et al. (2018) therefore use an assignment mechanism to match up elements (section 2), after which a usual reconstruction loss can be computed. Surprisingly, their model is still unable to solve the polygon reconstruction task with close-to-zero reconstruction error, despite the apparent simplicity of the dataset. In this paper, we introduce a set pooling method for neural networks that addresses both the encoding bottleneck issue and the decoding failure issue. We make the following contributions: 1. We identify the responsibility problem (section 3). This is a fundamental issue with existing set prediction models that has not been considered in the literature before, explaining why these models struggle to model even the simple polygon dataset. 2. We introduce FSPOOL: a differentiable, sorting-based pooling method for variable-size sets (section 4). By using our pooling in the encoder of a set auto-encoder and inverting the
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 83cc0323-bf74-4e67-a57c-584a01792a48Cited by top-tier papers23
- Object-Centric Learning with Slot AttentionFrancesco Locatello, Dirk Weissenborn, Thomas Unterthiner, Aravindh Mahendran et al.NeurIPS 2020 · 1,275 citations
- Neural Injective Functions for Multisets, Measures and Graphs via a Finite Witness TheoremTal Amir, Steven J. Gortler, Ilai Avni, Ravina Ravina et al.NeurIPS 2023 · 44 citations
- Pooling by Sliced-Wasserstein EmbeddingNavid NaderiAlizadeh, Joseph F. Comer, Reed W. Andrews, Heiko Hoffmann et al.NeurIPS 2021 · 38 citations
- Equivariant Frames and the Impossibility of Continuous CanonicalizationNadav Dym, Hannah Lawrence, Jonathan W. SiegelICML 2024 · 38 citations
- Object centric architectures enable efficient causal representation learningAmin Mansouri, Jason S. Hartford, Yan Zhang, Yoshua BengioICLR 2024 · 28 citations
Related papers
- Stacking Deep Set Networks and Pooling by QuantilesZhuojun Chen, Xinghua Zhu, Dongzhe Su, Justin C. I. ChuangICML 2024 · 2 citations
- On Universal Equivariant Set NetworksNimrod Segol, Yaron LipmanICLR 2020 · 74 citations
- Polynomial Width is Sufficient for Set Representation with High-dimensional FeaturesPeihao Wang, Shenghao Yang, Shu Li, Zhangyang Wang et al.ICLR 2024 · 9 citations
- Top-N: Equivariant Set and Graph Generation without ExchangeabilityClément Vignac, Pascal FrossardICLR 2022 · 42 citations
- Divergence-Free Neural Networks with Application to Image DenoisingSébastien Herbreteau, Etienne MeunierICLR 2026
