Maglev: Sliding Recurrent Memory
We introduce , a recurrent Transformer architecture with fixed-size memory that generalizes sliding-window attention while remaining parallelizable during training. consists of two coupled models: a prefiller Q, which leverages full attentionIn practice, we use interleaved full and sliding-window attention for Q, as this yields stronger performance. The essential requirement is that Q be more expressive than P, with access to the full history. to produce memory targets m'_t, and a decoder P, which uses only sliding-window attention and recurrent K/V injection to produce decoder memories m_t for next-token prediction. We train with a memory consistency loss that aligns m_t with m'_t, allowing inference to use P alone. Empirically, improves validation loss and downstream pretraining benchmarks over sliding-window and latent recurrent transformer baselines. Moreover, sharing parameters between P and Q reduces parameter memory while preserving most of the gains.
Code (0)
등록된 구현이 없습니다.
Similar Papers 제목 키워드 기반
A Fractional-Order Nonlinear Backstepping Controller Design for Current-Controlled Maglev System
The magnetic levitation system (Maglev) is a nonlinear system by which an object is suspended with no support other than magnetic fields. The main control perspective of the Maglev system is to levitate a steel ball in a…
Tunable Superconducting Magnetic Levitation with Self-Stability
Magnetic levitation based on the flux pinning nature of type II superconductors has the merit of self-stability, making it appealing for applications such as high speed bearings, maglev trains, space generators, etc. How…
Air Gap Control of the Novel Cross (+) Type 4-Pole MAGLEV Carrier System
Mechanical non-contact carrier systems based on magnetic levitation (MAGLEV) are used in special transportation areas (clean rooms, chemical areas, etc.). Among these types of carriers, 4-pole hybrid electromagnetic syst…
Protein Secondary Structure Prediction with Long Short Term Memory Networks
Prediction of protein secondary structure from the amino acid sequence is a classical bioinformatics problem. Common methods use feed forward neural networks or SVMs combined with a sliding window, as these models does n…
Protein Secondary Structure PredictionMaglev-Pentabot: Magnetic Levitation System for Non-Contact Manipulation using Deep Reinforcement Learning
Non-contact manipulation has emerged as a transformative approach across various industrial fields. However, current flexible 2D and 3D non-contact manipulation techniques are often limited to microscopic scales, typical…
Reinforcement Learning