Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

S7: Selective and Simplified State Space Layers for Sequence Modeling

About

A central challenge in sequence modeling is efficiently handling tasks with extended contexts. While recent state-space models (SSMs) have made significant progress in this area, they often lack input-dependent filtering or require substantial increases in model complexity to handle input variability. We address this gap by introducing S7, a simplified yet powerful SSM that can handle input dependence while incorporating stable reparameterization and specific design choices to dynamically adjust state transitions based on input content, maintaining efficiency and performance. We prove that this reparameterization ensures stability in long-sequence modeling by keeping state transitions well-behaved over time. Additionally, it controls the gradient norm, enabling efficient training and preventing issues like exploding or vanishing gradients. S7 significantly outperforms baselines across various sequence modeling tasks, including neuromorphic event-based datasets, Long Range Arena benchmarks, and various physical and biological time series. Overall, S7 offers a more straightforward approach to sequence modeling without relying on complex, domain-specific inductive biases, achieving significant improvements across key benchmarks.

Taylan Soydan, Nikola Zubi\'c, Nico Messikommer, Siddhartha Mishra, Davide Scaramuzza• 2024

Related benchmarks

TaskDatasetResultRank
Byte-level text classificationLong Range Arena (LRA) Text (test)
Accuracy83
12
Path detectionLong Range Arena (LRA) Pathfinder (test)
Accuracy69
12
Document RetrievalLong Range Arena (LRA) Retrieval (test)
Accuracy73
12
Mathematical logic sequence modelingLong Range Arena (LRA) ListOps (test)
Accuracy38
12
Sequence-to-label image classificationLong Range Arena (LRA) Image (test)
Accuracy70
11
Showing 5 of 5 rows

Other info

Follow for update