MLCLLGNov 19, 2015

Order Matters: Sequence to sequence for sets

arXiv:1511.06391v41028 citations
Originality Highly original
AI Analysis

This addresses a fundamental limitation in seq2seq models for tasks involving sets, such as sorting or joint probability estimation, offering a novel approach for researchers in machine learning and natural language processing.

The paper tackles the problem of handling unordered sets in sequence-to-sequence models, showing that input/output order significantly affects learning, and proposes a principled extension with a loss that searches over orders during training, achieving empirical improvements on language modeling, parsing, and artificial tasks like sorting numbers.

Sequences have become first class citizens in supervised learning thanks to the resurgence of recurrent neural networks. Many complex tasks that require mapping from or to a sequence of observations can now be formulated with the sequence-to-sequence (seq2seq) framework which employs the chain rule to efficiently represent the joint probability of sequences. In many cases, however, variable sized inputs and/or outputs might not be naturally expressed as sequences. For instance, it is not clear how to input a set of numbers into a model where the task is to sort them; similarly, we do not know how to organize outputs when they correspond to random variables and the task is to model their unknown joint probability. In this paper, we first show using various examples that the order in which we organize input and/or output data matters significantly when learning an underlying model. We then discuss an extension of the seq2seq framework that goes beyond sequences and handles input sets in a principled way. In addition, we propose a loss which, by searching over possible orders during training, deals with the lack of structure of output sets. We show empirical evidence of our claims regarding ordering, and on the modifications to the seq2seq framework on benchmark language modeling and parsing tasks, as well as two artificial tasks -- sorting numbers and estimating the joint probability of unknown graphical models.

Code Implementations9 repos

Data from Papers with Code (CC-BY-SA-4.0)

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes