Integral DeltaNet: Improved Linear Attention with Adaptive Memory Integration
Official checkpoints of Integral DeltaNet: Improved Linear Attention with Adaptive Memory Integration.
Junsoo Oh, Jihun Yun, Junhyuck Kim, Hanbaek Lyu
Paper: arXiv:2611.32063 Β· Code: junsoo424/Integral-DeltaNet
Linear attention compresses the past into a fixed-size state, which causes memory collisions. Delta-rule updates and gating reduce them, but they can also discard information that a later query still needs. Integral DeltaNet uses two states operating at different timescales: a fast delta state , updated using an expressive linear-attention rule such as KDA or GDN-2, and a slow integral state , which maintains a channel-wise weighted history of past delta states. The model adaptively combines the two states at readout:
Here is the layer output for the query . The integration rate and the readout gate are per-channel gates computed from the input.
Checkpoints
| Model | 340M (15B tokens) | 1.3B (100B tokens) |
|---|---|---|
| Integral KDA | integral-kda-340m.pt |
integral-kda-1.3b.pt |
| Integral GDN-2 | integral-gdn2-340m.pt |
integral-gdn2-1.3b.pt |
| KDA | kda-340m.pt |
kda-1.3b.pt |
| GDN-2 | gdn2-340m.pt |
gdn2-1.3b.pt |
All models are trained from scratch on FineWeb-Edu with the Llama 2 tokenizer and a 4K context. Each Integral model matches its backbone in non-embedding parameters.
configs/models/<name>.yaml: the architecture of<name>.pt. The same config is stored in the file under"model_config".configs/training/340m.yaml,configs/training/1.3b.yaml: the training recipes (AdamW, 0.5M-token batches, cosine decay from 4e-4 to 4e-5, 8 GPUs).
Each file holds bf16 weights. Load one with the code from GitHub:
import torch
from huggingface_hub import hf_hub_download
from integral_deltanet.model import CausalLM
payload = torch.load(hf_hub_download("jsjs424/Integral-DeltaNet", "integral-kda-1.3b.pt"),
map_location="cpu", weights_only=True)
model = CausalLM(payload["model_config"])
model.load_state_dict(payload["model"])
Citation
@article{oh2026integral,
title = {Integral DeltaNet: Improved Linear Attention with Adaptive Memory Integration},
author = {Oh, Junsoo and Yun, Jihun and Kim, Junhyuck and Lyu, Hanbaek},
journal = {arXiv preprint arXiv:2611.32063},
year = {2026}
}