Lune

NeurIPS2022Top-tier venue

Sequence-to-Set Generative Models

Longtao Tang, Ying Zhou, Yu Yang

Abstract

In this paper, we propose a sequence-to-set method that can transform any sequence generative model based on maximum likelihood to a set generative model where we can evaluate the utility/probability of any set. An efficient importance sampling algorithm is devised to tackle the computational challenge of learning our sequence-to-set model. We present GRU2Set, which is an instance of our sequence-to-set method and employs the famous GRU model as the sequence generative model. To further obtain permutation invariant representation of sets, we devise the SetNN model which is also an instance of the sequence-to-set model. A direct application of our models is to learn an order/set distribution from a collection of e-commerce orders, which is an essential step in many important operational decisions such as inventory arrangement for fast delivery. Based on the intuition that small-sized sets are usually easier to learn than large sets, we propose a size-bias trick that can help learn better set distributions with respect to the ℓ1\ell_1-distance evaluation metric. Two e-commerce order datasets, TMALL and HKTVMALL, are used to conduct extensive experiments to show the effectiveness of our models. The experimental results demonstrate that our models can learn better set/order distributions from order data than the baselines. Moreover, no matter what model we use, applying the size-bias trick can always improve the quality of the set distribution learned from data.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

Questions to start from

Lune can draw on

the full paper · related work

Get the answer

Free to start. No credit card required.

Lineage

Builds onCited byLeft to right by year; the more cited, the higher.

Builds on1

  1. Orderless Recurrent Models for Multi-Label ClassificationVacit Oguz Yazici, Abel Gonzalez-Garcia, Arnau Ramisa, Bartlomiej Twardowski et al.CVPR 2020

Related papers

  1. OTSeq2Set: An Optimal Transport Enhanced Sequence-to-Set Model for Extreme Multi-label Text ClassificationJie Cao, Yin ZhangEMNLP 2022 · 6 citations
  2. SetConv: A New Approach for Learning from Imbalanced DataYang Gao, Yi-Fan Li, Yu Lin, Charu C. Aggarwal et al.EMNLP 2020 · 12 citations
  3. Conditional set generation using Seq2seq modelsAman Madaan, Dheeraj Rajagopal, Niket Tandon, Yiming Yang et al.EMNLP 2022 · 4 citations
  4. Set-LLM: A Permutation-Invariant LLMBeni Egressy, Jan StühmerNeurIPS 2025 · 13 citations
  5. Lossless Set Compression by Binary Tree CodingLongtao Tang, Ying Zhou, Yu YangKDD 2025
Dusk over the sea between two cliffs drawn in fine vertical lines