Sequence-to-Set Generative Models
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 -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.
Lineage
Builds on1
Related papers
- OTSeq2Set: An Optimal Transport Enhanced Sequence-to-Set Model for Extreme Multi-label Text ClassificationJie Cao, Yin ZhangEMNLP 2022 · 6 citations
- SetConv: A New Approach for Learning from Imbalanced DataYang Gao, Yi-Fan Li, Yu Lin, Charu C. Aggarwal et al.EMNLP 2020 · 12 citations
- Conditional set generation using Seq2seq modelsAman Madaan, Dheeraj Rajagopal, Niket Tandon, Yiming Yang et al.EMNLP 2022 · 4 citations
- Set-LLM: A Permutation-Invariant LLMBeni Egressy, Jan StühmerNeurIPS 2025 · 13 citations
- Lossless Set Compression by Binary Tree CodingLongtao Tang, Ying Zhou, Yu YangKDD 2025
