Reproduce “Escaping Optimization Stagnation: Taking Steps Beyond Task Arithmetic via Difference Vectors” 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
Jinping Wang, Zhiqiang Gao, Dinggen Zhang, Zhiwu Xie
The paper introduces the Difference Vector-based Anisotropic Scaling Iterative (DV-BASI) algorithm to overcome optimization stagnation in task arithmetic for large pre-trained models. This iterative framework allows continuous optimization by leveraging generalized difference vectors and anisotropic scaling, leading to state-of-the-art performance in task negation and addition, often surpassing individually fine-tuned models.
Key insights
- Difference vectors inherently possess an "escapability" property and directional advantage, acting as guided perturbations to move models out of local optima, unlike random perturbations.
- Anisotropic scaling provides more flexible and expressive search directions compared to isotropic scaling, leading to better model performance by allowing controlled exploration across different parameter blocks.
- Continuous optimization within task arithmetic, driven by difference vectors, can enable merged models to not only achieve but sometimes exceed the performance of models fine-tuned individually on single tasks.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.