A new method called “priming” aims to reuse pretrained Transformer weights in more efficient hybrid models, reducing their pretraining effort by more than 99%, according to Amazon Science. The approach could make systematic comparisons of architectures easier; the source says such experiments could otherwise require trillions of tokens and hundreds of thousands of GPU-hours.
Priming replaces selected attention layers with state space model layers. It first identifies suitable layers, transfers their weights, and aligns the replacements with the behavior of the original layers. The full hybrid model is then adapted through further training. The source says the pipeline uses less than 0.5% of the token budget used to pretrain the original model.
In the reported comparisons, Gated KalmaNet (GKA) performed best among the three tested state space models, ahead of Gated DeltaNet and Mamba-2. Amazon Science reports that a 32-billion-parameter hybrid model achieved reasoning-benchmark accuracy similar to its source Transformer while decoding up to twice as fast with a 128,000-token context. State space models also outperformed sliding-window attention, even when the latter received twice the memory budget.
The team also released hybrid models at eight- and 32-billion-parameter scales, along with training code, optimized kernels, and a vLLM plugin under Apache 2.0. The original source explains the method, architecture comparisons, and reported experimental results in more detail. Original source at Amazon Science