Birdie: Advancing State Space Models with Reward-Driven Objectives and Curricula

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Blouir, Sam, Smith, Jimmy T. H., Anastasopoulos, Antonios, Shehu, Amarda
Format: Preprint
Veröffentlicht: 2024
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866910839948181504
author Blouir, Sam
Smith, Jimmy T. H.
Anastasopoulos, Antonios
Shehu, Amarda
author_facet Blouir, Sam
Smith, Jimmy T. H.
Anastasopoulos, Antonios
Shehu, Amarda
contents Efficient state space models (SSMs), such as linear recurrent neural networks and linear attention variants, offer computational advantages over Transformers but struggle with tasks requiring long-range in-context retrieval-like text copying, associative recall, and question answering over long contexts. Previous efforts to address these challenges have focused on architectural modifications, often reintroducing computational inefficiencies. In this paper, we propose a novel training procedure, Birdie, that significantly enhances the in-context retrieval capabilities of SSMs without altering their architecture. Our approach combines bidirectional input processing with dynamic mixtures of specialized pre-training objectives, optimized via reinforcement learning. We introduce a new bidirectional SSM architecture that seamlessly transitions from bidirectional context processing to causal generation. Experimental evaluations demonstrate that Birdie markedly improves performance on retrieval-intensive tasks such as multi-number phone book lookup, long paragraph question-answering, and infilling. This narrows the performance gap with Transformers, while retaining computational efficiency. Our findings highlight the importance of training procedures in leveraging the fixed-state capacity of SSMs, offering a new direction to advance their capabilities. All code and pre-trained models are available at https://www.github.com/samblouir/birdie, with support for JAX and PyTorch.
format Preprint
id arxiv_https___arxiv_org_abs_2411_01030
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Birdie: Advancing State Space Models with Reward-Driven Objectives and Curricula
Blouir, Sam
Smith, Jimmy T. H.
Anastasopoulos, Antonios
Shehu, Amarda
Computation and Language
Artificial Intelligence
Machine Learning
Efficient state space models (SSMs), such as linear recurrent neural networks and linear attention variants, offer computational advantages over Transformers but struggle with tasks requiring long-range in-context retrieval-like text copying, associative recall, and question answering over long contexts. Previous efforts to address these challenges have focused on architectural modifications, often reintroducing computational inefficiencies. In this paper, we propose a novel training procedure, Birdie, that significantly enhances the in-context retrieval capabilities of SSMs without altering their architecture. Our approach combines bidirectional input processing with dynamic mixtures of specialized pre-training objectives, optimized via reinforcement learning. We introduce a new bidirectional SSM architecture that seamlessly transitions from bidirectional context processing to causal generation. Experimental evaluations demonstrate that Birdie markedly improves performance on retrieval-intensive tasks such as multi-number phone book lookup, long paragraph question-answering, and infilling. This narrows the performance gap with Transformers, while retaining computational efficiency. Our findings highlight the importance of training procedures in leveraging the fixed-state capacity of SSMs, offering a new direction to advance their capabilities. All code and pre-trained models are available at https://www.github.com/samblouir/birdie, with support for JAX and PyTorch.
title Birdie: Advancing State Space Models with Reward-Driven Objectives and Curricula
topic Computation and Language
Artificial Intelligence
Machine Learning
url https://arxiv.org/abs/2411.01030