Closed-form weight edits for long context
A language model trained to 65,536 tokens is given the long-context ability of a sibling model trained to 262,144 tokens without gradients and without merging. The paper reports the method first: the context wall is treated as a dynamical system and solved from its source outward, one solved stage after another. It then gives the edits — the content-free position bias of every attention head, re-developed under a new RoPE base in closed form and written into the key projection as a fixed offset; a rank-1 direction and a norm-weight difference taken from the sibling — the per-layer ruler ladder behind the wall, position-gated Dual Chunk Attention, results up to one million tokens, and a paired baseline against the unmodified model. The work continues the weight-space programming of Takehi et al. (2026) at scale: 453 million weights of a 30-billion-parameter model are written without a gradient.
Authors
- Hermann Hans Klie (ORCID: https://orcid.org/0009-0005-5218-9137)
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-11-24
- DOI
- https://doi.org/10.5281/zenodo.24492836
- Primary Topic
- Topic Modeling
- Type
- preprint