Reproduce “BrainSurgery: Reproducible and Flexible Declarative Weight Manipulations for Model Editing and Upcycling” on OpenResearch

Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Gianluca Barmina, Annemette Broch Pirchert, Andrea Blasi Núñez, Lukas Galke Poech, Peter Schneider-Kamp

BrainSurgery applies planned edits to model tensors through reusable YAML plans that combine tensor selection and modification with assertions, diffs, and export. It runs by CLI or Web UI but does not choose the edit. In tested comparisons, it was indistinguishable from LLM-Pruner in 36/36 and LLM Neuroanatomy in 11/11; evidence is limited to tested tools, edits, models, and settings.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.