Dataless Weight Disentanglement in Task Arithmetic via Kronecker-Factored Approximate Curvature
Paper • 2602.17385 • Published
This repository hosts artifacts for TAK in Mammoth (--model tak).
TAK v2 applies Task Arithmetic in a continual-learning setup and regularizes task-vector interactions with a dataless approximation based on Kronecker-Factored Approximate Curvature (KFAC) to reduce representation drift and interference.
This repository is intended to store artifacts needed to reproduce or run TAK v2, such as:
For Fisher loading via Mammoth, keep naming consistent with the loader expectations, e.g.:
<dataset>_task_<task_id>_aaT.pt<dataset>_task_<task_id>_ggT.pt<dataset>_task_<task_id>_ffT.pt<dataset>_task_<task_id>_num_aaT.pt<dataset>_task_<task_id>_num_ggT.ptExample command with Fisher cache hosted on this repo:
uv run python main.py \
--model tak \
--dataset=seq-8visio \
--load_fisher 1 \
--fisher_cache hf://aimagelab-ta/TAK/vitb16/fisher_8vision/kfac/mc_full@main \
--alpha_merging 8.0 \
--batch_size 32 --virtual_bs_n 4
If you need to upload artifacts from local storage:
uv run python scripts/upload_to_hf.py \
--repo-id aimagelab-ta/TAK \
--repo-type model \
--local-dir /path/to/local/fisher \
--remote-dir fisher \
--pattern "**/*"
@inproceedings{porrello2026dataless,
title={Dataless Weight Disentanglement in Task Arithmetic via Kronecker-Factored Approximate Curvature},
author={Porrello, Angelo and Buzzega, Pietro and Dangel, Felix and Sommariva, Thomas and Salami, Riccardo and Bonicelli, Lorenzo and Calderara, Simone},
booktitle={International Conference on Learning Representations (ICLR)},
year={2026}
}
models/tak.py