Skip to main content
QUICK REVIEW

[Paper Review] Learning Functions over Sets via Permutation Adversarial Networks

Chirag Pabbaraju, Prateek Jain|arXiv (Cornell University)|Jul 12, 2019
Advanced Graph Neural NetworksComputer Science33 references5 citations
TL;DR

This paper proposes SPAN (Set Permutation Adversarial Network), a novel method for learning permutation-invariant functions over sets by framing the problem as a min-max optimization between a learner (LSTM) and an adversarial permutation network (APN) that generates worst-case permutations. SPAN significantly outperforms state-of-the-art methods like DeepSets and Janossy Pooling, achieving up to 55% higher accuracy on challenging set functions such as k-farthest point selection and 6% higher cosine similarity on eigenvector recovery tasks.

ABSTRACT

In this paper, we consider the problem of learning functions over sets, i.e., functions that are invariant to permutations of input set items. Recent approaches of pooling individual element embeddings can necessitate extremely large embedding sizes for challenging functions. We address this challenge by allowing standard neural networks like LSTMs to succinctly capture the function over the set. However, to ensure invariance with respect to permutations of set elements, we propose a novel architecture called SPAN that simultaneously learns the function as well as adversarial or worst-case permutations for each input set. The learning problem reduces to a min-max optimization problem that is solved via a simple alternating block coordinate descent technique. We conduct extensive experiments on a variety of set-learning tasks and demonstrate that SPAN learns nearly permutation-invariant functions while still ensuring accuracy on test data. On a variety of tasks sampled from the domains of statistics, graph functions and linear algebra, we show that our method can significantly outperform state-of-the-art methods such as DeepSets and Janossy Pooling. Finally, we present a case study of how learning set-functions can help extract powerful features for recommendation systems, and show that such a method can be as much as 2% more accurate than carefully hand-tuned features on a real-world recommendation system.

Motivation & Objective

  • To address the limitation of existing set-function learning methods that require large embedding sizes or fail to generalize under permutation variations.
  • To develop a method that ensures permutation invariance without restricting the functional form, enabling accurate learning of complex set functions.
  • To overcome the high computational cost and variance of random permutation-based data augmentation in set learning.
  • To demonstrate the practical utility of set-function learning in real-world recommendation systems.

Proposed method

  • Formulate set-function learning as a min-max optimization: the learner minimizes loss over worst-case permutations generated by an adversarial permutation network (APN).
  • Use a recurrent neural network (LSTM) as the function learner to iteratively summarize set elements in a permutation-invariant manner.
  • Train the APN using Sinkhorn-based differentiable permutation sampling to generate hard, worst-case permutations for each input set.
  • Apply alternating block coordinate descent to optimize the learner and APN in a joint min-max training scheme.
  • Use the LSTM’s hidden state to maintain and update a running summary (e.g., maximum, eigenvector estimate) across set elements.
  • Ensure permutation invariance by training the model to be robust to any permutation, not just those in the training data.

Experimental results

Research questions

  • RQ1Can a min-max adversarial framework effectively enforce permutation invariance in set-function learning without constraining the functional form?
  • RQ2How does adversarial permutation generation compare to random or fixed permutation strategies in terms of generalization and robustness?
  • RQ3Can SPAN outperform existing state-of-the-art methods like DeepSets and Janossy Pooling on challenging set functions such as maximum flow and k-farthest point selection?
  • RQ4To what extent does SPAN generalize to real-world applications, such as recommendation systems, compared to handcrafted features?

Key findings

  • SPAN achieved a 55% higher accuracy than DeepSets on the k-farthest point task with k=3, demonstrating superior performance on complex set functions.
  • On the eigenvector recovery task with d=30, SPAN achieved a 6% higher cosine similarity than DeepSets, indicating better generalization under high-dimensional input.
  • SPAN maintained near-identical predictions across 20 random permutations of the same test set, with a standard deviation-to-mean ratio ≤1e-5, confirming strong permutation invariance.
  • Abllation studies showed that SPAN without the APN component became biased toward the last element in sets, correctly predicting the maximum digit in only 10% of test cases.
  • The LSTM-based learner in SPAN outperformed a fully connected network, reducing average relative error by 40% on the max 3-ary distance task with n=200.
  • In a real-world recommendation system case study, SPAN-based features improved accuracy by up to 2% compared to hand-tuned features.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.