Task Vector Definition
Given a pre-trained base model theta_pre and a fine-tuned model theta_ft:Linear Combinations
Multiple task vectors can be combined with scalar coefficients:Adding Skills
To add a skill, set the corresponding alpha to a positive value:Forgetting and Negation
To remove a bias or unwanted behavior, negate the task vector:Combination Rules
Preconditions
All task vectors must be derived from the same theta_pre. Merging task vectors from different base models is undefined and produces INVALID.Failure Modes
Cross-Links
- Merge Math for shared notation and weight shapes.
- Merge Strategies for when Task Arithmetic is selected.
- Catastrophic Forgetting Controls for forgetting mitigation.
- Tensor Operations for the TensorEngine implementation.