SequenceMatch: Imitation Learning for Autoregressive Sequence Modelling with Backtracking

AI-generated keywords: SequenceMatch

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.
Also access our AI generated: Comprehensive summary, Lay summary, Blog-like article; or ask questions about this paper to our AI assistant.

Authors: Chris Cundy, Stefano Ermon

License: CC BY-SA 4.0

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.

Submitted to arXiv on 08 Jun. 2023

Ask questions about this paper to our AI assistant

You can also chat with multiple papers at once here.

AI assistant instructions?

Results of the summarizing process for the arXiv paper: 2306.05426v1

The paper introduces a method called SequenceMatch, which addresses the problem of compounding error in autoregressive sequence generation. Autoregressive models often achieve low log-likelihood on the task of predicting the next observation, but this objective does not necessarily align with generating high-quality sequences. The maximum-likelihood objective weights sequences based on their frequency under the data distribution, without considering out-of-distribution (OOD) behavior. This leads to compounding errors during generation. To mitigate this issue, the authors propose formulating sequence generation as an imitation learning (IL) problem. This allows them to minimize divergences between sequences generated by an autoregressive model and sequences from a dataset, including OOD generated sequences. The IL framework also incorporates backtracking by introducing a backspace action into the generation process. This enables the model to revert a sampled token if it takes the sequence OOD. The resulting method, SequenceMatch, can be implemented without adversarial training or major architectural changes. The authors identify the SequenceMatch-$\chi^2$ divergence as a more suitable training objective for autoregressive models used for generation. They empirically show that SequenceMatch training leads to improvements over maximum likelihood estimation (MLE) on text generation with language models. In terms of methodology, the authors represent sequence modeling as a Markov decision process (MDP), where state and action spaces are defined along with dynamics and reward functions. They use averaging loss over each example's length to estimate consistency. Overall, SequenceMatch offers a solution to address compounding errors in autoregressive sequence generation by incorporating imitation learning and backtracking techniques. Empirical results demonstrate its effectiveness compared to traditional MLE approaches in text generation tasks with language models.
Created on 28 Jun. 2023

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 representation

Look 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.