SequenceMatch: Imitation Learning for Autoregressive Sequence Modelling with Backtracking
AI-generated Key Points
- The paper introduces a method called SequenceMatch to address compounding errors in autoregressive sequence generation.
- Autoregressive models often achieve low log-likelihood on predicting the next observation, which does not align with generating high-quality sequences.
- Maximum-likelihood objective weights sequences based on their frequency under the data distribution, leading to compounding errors during generation.
- SequenceMatch formulates sequence generation as an imitation learning (IL) problem to minimize divergences between autoregressive model-generated sequences and dataset sequences, including out-of-distribution (OOD) generated sequences.
- The IL framework incorporates backtracking by introducing a backspace action into the generation process, allowing the model to revert a sampled token if it takes the sequence OOD.
- SequenceMatch can be implemented without adversarial training or major architectural changes.
- SequenceMatch-$\chi^2$ divergence is identified as a more suitable training objective for autoregressive models used for generation.
- Empirical results show that SequenceMatch training improves text generation with language models compared to maximum likelihood estimation (MLE).
- The authors represent sequence modeling as a Markov decision process (MDP) and use averaging loss over each example's length to estimate consistency.
Authors: Chris Cundy, Stefano Ermon
Abstract: In many domains, autoregressive models can achieve low log-likelihood on the task of predicting the next observation. However, this maximum-likelihood (MLE) objective does not necessarily match a downstream use-case of autoregressively generating high-quality sequences. The MLE objective weights sequences proportionally to their frequency under the data distribution, with no guidance for the model's behaviour out of distribution (OOD): leading to compounding error during autoregressive generation. In order to address this compounding error problem, we formulate sequence generation as an imitation learning (IL) problem. This allows us to minimize a variety of divergences between the distribution of sequences generated by an autoregressive model and sequences from a dataset, including divergences with weight on OOD generated sequences. The IL framework also allows us to incorporate backtracking by introducing a backspace action into the generation process. This further mitigates the compounding error problem by allowing the model to revert a sampled token if it takes the sequence OOD. Our resulting method, SequenceMatch, can be implemented without adversarial training or major architectural changes. We identify the SequenceMatch-$\chi^2$ divergence as a more suitable training objective for autoregressive models which are used for generation. We show that empirically, SequenceMatch training leads to improvements over MLE on text generation with language models.
Ask questions about this paper to our AI assistant
You can also chat with multiple papers at once here.
Assess the quality of the AI-generated content by voting
Score: 0
Why do we need votes?
Votes are used to determine whether we need to re-run our summarizing tools. If the count reaches -10, our tools can be restarted.
The previous summary was created more than a year ago and can be re-run (if necessary) by clicking on the Run button below.
Similar papers summarized with our AI tools
Navigate through even more similar papers through a
tree representationLook for similar papers (in beta version)
By clicking on the button above, our algorithm will scan all papers in our database to find the closest based on the contents of the full papers and not just on metadata. Please note that it only works for papers that we have generated summaries for and you can rerun it from time to time to get a more accurate result while our database grows.
Disclaimer: The AI-based summarization tool and virtual assistant provided on this website may not always provide accurate and complete summaries or responses. We encourage you to carefully review and evaluate the generated content to ensure its quality and relevance to your needs.