{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/lottery-ticket-adaptation-mitigating","title":"Lottery Ticket Adaptation: Mitigating Destructive Interference in LLMs","arxiv_id":"2406.16797","date":"2024-06-24","proceeding":null,"authors":["Ashwinee Panda","Berivan Isik","Xiangyu Qi","Sanmi Koyejo","Tsachy Weissman","Prateek Mittal"],"abstract":"Existing methods for adapting large language models (LLMs) to new tasks are not suited to multi-task adaptation because they modify all the model weights -- causing destructive interference between tasks. The resulting effects, such as catastrophic forgetting of earlier tasks, make it challenging to obtain good performance on multiple tasks at the same time. To mitigate this, we propose Lottery Ticket Adaptation (LoTA), a sparse adaptation method that identifies and optimizes only a sparse subnetwork of the model. We evaluate LoTA on a wide range of challenging tasks such as instruction following, reasoning, math, and summarization. LoTA obtains better performance than full fine-tuning and low-rank adaptation (LoRA), and maintains good performance even after training on other tasks -- thus, avoiding catastrophic forgetting. By extracting and fine-tuning over lottery tickets (or sparse task vectors), LoTA also enables model merging over highly dissimilar tasks. Our code is made publicly available at https://github.com/kiddyboots216/lottery-ticket-adaptation.","url_abs":"https://arxiv.org/abs/2406.16797v2","url_pdf":"https://arxiv.org/pdf/2406.16797v2.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"abstracts"},"code_links":[{"paper_slug":"lottery-ticket-adaptation-mitigating","repo_url":"https://github.com/kiddyboots216/lottery-ticket-adaptation","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"Apache-2.0"}}],"tasks":[{"task_slug":"instruction-following","task_name":"Instruction Following"},{"task_slug":"math","task_name":"Math"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2406.16797","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2406.16797"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/kiddyboots216/lottery-ticket-adaptation","reach":{"status":"ok","spdx":"Apache-2.0"}}],"summary":{"ran":6,"ran_draft_wrong":2,"unverified":1},"by_repo_kind":{"official":{"samples":9,"ran":8,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted","community":"Not in the archive's code links for this paper; a community repository Syntology harvested"},"n_pointer_only_for_licence":0,"samples":[{"code_sha256_prefix":"6619147dea2d2ff6","entry":"compute_accuracy","repo":"kiddyboots216/lottery-ticket-adaptation","repo_kind":"official","path":"rlaif/eval_model_all.py","file_url":"https://github.com/kiddyboots216/lottery-ticket-adaptation/blob/HEAD/rlaif/eval_model_all.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"6619147dea2d2ff6"}},{"code_sha256_prefix":"16a2450aff4a3577","entry":"dpo_loss","repo":"kiddyboots216/lottery-ticket-adaptation","repo_kind":"official","path":"rlaif/single_gpu_trainers.py","file_url":"https://github.com/kiddyboots216/lottery-ticket-adaptation/blob/HEAD/rlaif/single_gpu_trainers.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"16a2450aff4a3577"}},{"code_sha256_prefix":"bd0cc71c62b4a212","entry":"extract_answer","repo":"kiddyboots216/lottery-ticket-adaptation","repo_kind":"official","path":"rlaif/eval_model_all.py","file_url":"https://github.com/kiddyboots216/lottery-ticket-adaptation/blob/HEAD/rlaif/eval_model_all.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"bd0cc71c62b4a212"}},{"code_sha256_prefix":"e5839cde967af922","entry":"extract_answer_commonsense","repo":"kiddyboots216/lottery-ticket-adaptation","repo_kind":"official","path":"rlaif/eval_model_all.py","file_url":"https://github.com/kiddyboots216/lottery-ticket-adaptation/blob/HEAD/rlaif/eval_model_all.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"e5839cde967af922"}},{"code_sha256_prefix":"12f6803880f9b17e","entry":"extract_anthropic_prompt","repo":"kiddyboots216/lottery-ticket-adaptation","repo_kind":"official","path":"rlaif/preference_datasets.py","file_url":"https://github.com/kiddyboots216/lottery-ticket-adaptation/blob/HEAD/rlaif/preference_datasets.py","link_basis":"harvester_set","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"12f6803880f9b17e"}},{"code_sha256_prefix":"2ed16fcdc14ad951","entry":"find_layers","repo":"kiddyboots216/lottery-ticket-adaptation","repo_kind":"official","path":"rlaif/save_mask.py","file_url":"https://github.com/kiddyboots216/lottery-ticket-adaptation/blob/HEAD/rlaif/save_mask.py","link_basis":"harvester_set","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"2ed16fcdc14ad951"}},{"code_sha256_prefix":"f197c6d6b08d51d6","entry":"get_global_sparsity_masks","repo":"kiddyboots216/lottery-ticket-adaptation","repo_kind":"official","path":"rlaif/save_mask.py","file_url":"https://github.com/kiddyboots216/lottery-ticket-adaptation/blob/HEAD/rlaif/save_mask.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"f197c6d6b08d51d6"}},{"code_sha256_prefix":"5c52580792c440fc","entry":"get_random_sparsity_masks","repo":"kiddyboots216/lottery-ticket-adaptation","repo_kind":"official","path":"rlaif/save_mask.py","file_url":"https://github.com/kiddyboots216/lottery-ticket-adaptation/blob/HEAD/rlaif/save_mask.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"5c52580792c440fc"}},{"code_sha256_prefix":"e34197d16076c994","entry":"dump_files","repo":"kiddyboots216/lottery-ticket-adaptation","repo_kind":"official","path":"rlaif/generate_samples.py","file_url":"https://github.com/kiddyboots216/lottery-ticket-adaptation/blob/HEAD/rlaif/generate_samples.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"e34197d16076c994"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}