Adversarial Encoding Perturbation and Synthesis for Set Representation Auxiliary Learning

Yankai Chen, Xinni Zhang, Henry Peng Zou, Bowei He, Yangning Li, Philip S. Yu, Irwin King, Xue LiuICLR 2026

Sets are a fundamental data structure in computer science. Whether it is a playlist of songs, a 3D point cloud of spatial coordinates, or a social network group of users, sets are everywhere. To utilize this data effectively in machine learning, we must compress these unordered, variable-sized collections into fixed-size vector embeddings.

This paper introduces SRAL (Set Representation Auxiliary Learning), a novel deep learning framework for generating robust vector representations of sets. By treating sets as probability distributions and applying adversarial perturbations during training, SRAL captures complex relationships between different sets, achieving state-of-the-art performance on diverse tasks ranging from bundle recommendation to point cloud classification.

The Problem: Intra-set vs. Inter-set Properties

Existing "Set Representation Learning" methods, such as DeepSets or Set Transformers, excel at handling intra-set properties. They ensure the model remains invariant to the order of the items (permutation invariance) and independent of the number of items (cardinality independence).

However, these approaches often struggle to explicitly model inter-set correlations—the nuanced similarities and differences between different sets. For example, if a system is trying to retrieve the most similar product bundles for a user, understanding exactly how two overlapping bundles relate to one another is critical. SRAL is designed to bridge this exact gap.

The SRAL Framework

The authors propose SRAL as an auxiliary learning framework that operates alongside a main task's primary training objective. It introduces two core innovations:

Overview of the SRAL framework and its performance across four downstream tasks.

1. 2-Sliced-Wasserstein Set Feature Encoder (SFE)

Instead of relying on traditional sum, max, or mean pooling to aggregate the features of items in a set, SRAL treats the set as a high-dimensional empirical probability distribution. It measures the distance between the input set and a learnable "reference" distribution using the 2-Sliced-Wasserstein distance. Borrowed from Optimal Transport theory, this metric projects high-dimensional data into 1D slices, making the complex math computationally tractable while preserving structural semantics.

2. Adversarial Encoding Perturbation and Optimization (AEPO)

To ensure the embeddings are robust and highly discriminative, SRAL employs a self-supervised adversarial learning scheme. Rather than using standard discrete data augmentation (like randomly dropping items from a set), SRAL injects continuous noise directly into the element embeddings. It utilizes a min-max optimization loop:

  • Inner step: Finds the "worst-case" noise that maximizes a contrastive loss (attempting to ruin the representation).
  • Outer step: Updates the model parameters to resist this noise.

Theoretical proofs provided in the paper show that this adversarial min-max objective acts as an implicit regularizer. It mathematically bounds the model's sensitivity to input changes, forcing the encoder to learn stable, smooth representations that align with the underlying distributional distances between sets.

Key Results Across Diverse Datasets

The authors evaluated SRAL across four distinct downstream tasks using real-world datasets, proving its versatility in both inter-set and intra-set tasks:

  • Set Similarity Ranking (Friendster, LIVEJ): On the Friendster dataset, SRAL improved Recall@20 by a massive 9.56% over the next best baseline.
  • Bundle Recommendation (Youshu, NetEase): When integrated into a state-of-the-art recommender backbone (CrossCBR), the SRAL-enhanced model boosted Recall@20 by 1.93% on Youshu and 2.22% on NetEase.
  • Point Cloud Processing (ModelNet40): Even on tasks focused purely on the internal contents of a single set, SRAL improved 3D object classification accuracy by +0.44%.
  • Topic Set Expansion (LDA datasets): SRAL improved topic expansion AUC by 6.50% to 10.37%.
Performance comparison on the Bundle Recommendation task (Youshu and NetEase datasets).

Notably, while the adversarial optimization makes the per-epoch training time longer, the model converges much faster and deeper than baselines, resulting in a highly competitive total training time.

Limitations and Future Directions

While highly effective, SRAL does have limitations. The adversarial min-max optimization step (AEPO) introduces noticeable computational overhead per training epoch. Furthermore, in highly specialized tasks where the backbone model is already heavily optimized for specific interactions (like user-item matrices in bundle recommendation), the auxiliary set-representation loss provides somewhat marginal—though still statistically significant—gains.

Looking forward, the authors suggest two exciting directions for future work. First, integrating SRAL with approximate nearest neighbor (ANN) search algorithms could enable lightning-fast online retrieval in massive databases. Second, there is strong potential for exploring synergies with Large Language Models (LLMs), such as using SRAL as a structural adapter to generate compact "soft prompts" that help LLMs reason more effectively about complex sets of data.

Summary updated

BibTeX
@inproceedings{chen2026adversarial,
  author = {Yankai Chen and Xinni Zhang and Henry Peng Zou and Bowei He and Yangning Li and Philip S. Yu and Irwin King and Xue Liu},
  title = {{Adversarial Encoding Perturbation and Synthesis for Set Representation Auxiliary Learning}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=13r06yROEZ},
}
Figure