Dynamic weight grafting localizes how LLMs store facts learned during finetuning

ChenhaoTan · x · 2026-10-06

An arXiv paper proposes dynamic weight grafting: selectively grafting weight subsets from a finetuned model onto the pretrained model to localize where newly finetuned facts (new movies, new pope, etc.) live. The study finds two distinct retrieval pathways: 'enriching' the residual stream with relation information while processing entity tokens, and 'recalling' the fact at the final token position. Both pathways are sometimes jointly needed, otherwise either alone suffices, and the recall pathway is localized to specific components. The tweet also notes a related trick: finetuning the base model with next-token prediction on synthetic documents and applying that weight update directly to the post-trained model works.

Original post →

More from Research

Research channel →