Amazon's priming method lets researchers change parts of an already trained AI model while reusing its learned weights. Some layers need detailed access to earlier text; others can work with a compact summary. Priming identifies layers that tolerate a shorter view, replaces them with layers that maintain a fixed-size summary, transfers the relevant weights, and trains the replacements and the combined model. The research team's account explains this conversion.
The team reports using less than 0.5% of the original model's pretrainingThe first, biggest phase of building a model: training it on enormous amounts of text so it learns language, facts, and reasoning in general.Full definition → text budget for the conversion. That makes alternative architectures cheaper to compare from the same trained starting point. The original model's training remains an inherited cost. Source.
Key takeaways · AI-distilled
Priming has three stages: pick layers that can be compressed into a fixed-size state, initialize those SSM layers from the attention weights and distill each one, then fine-tune the whole hybrid. The authors say this uses under 0.5% of the source pretraining tokens.
To decide which attention layers to convert, the team swaps each one for sliding-window attention and measures the drop; layers that tolerate it mostly do local work and suit a state space layer.
In controlled comparisons Gated KalmaNet beat Gated DeltaNet, which beat Mamba-2, and every SSM hybrid outperformed sliding-window attention hybrids on long Context and context windowContext is the information available for a generation; the context window is the capacity available to hold it.Full definition → even when the window got two to four times the memory.
Gated KalmaNet's iteration count can be changed at serving time without retraining: the authors report 10 iterations instead of 30 costs about 1% accuracy on AIME 2025 for 10% faster decoding.
Amazon reports the 32B hybrid's throughput edge grows from 1.50x at 16K tokens to 2.06x at 128K, and a training-free Document chunkingSplitting source material into units that can be indexed and retrieved.Full definition → method that merges SSM states extends context from 128K to 256K tokens.
Terms in this piece · Glossary
pretraining — The first, biggest phase of building a model: training it on enormous amounts of text so it learns language, facts, and reasoning in general.
transformer — The neural network architecture behind modern AI models, built on attention — letting every word directly consider every other word in parallel.
Context and context window — Context is the information available for a generation; the context window is the capacity available to hold it.
Document chunking — Splitting source material into units that can be indexed and retrieved.