ACL 2025finding0 citations

Task Knowledge Injection via Interpolations and Reinstatement for Large Language Model Generalization

Yukun Zhao, Lingyong Yan, Zhenyang Li, Shuaiqiang Wang, Zhumin Chen, Zhaochun Ren, Dawei Yin

Abstract

Large language models have shown tremendous potential across various NLP tasks, and instruction tuning has been widely adopted to elicit their superior performance. However, instruction tuning may overly tailor the models to task-specific formats, potentially compromising their generalization on unseen tasks. We attribute the issue to the spurious correlations learned between inputs and targets. We propose explicit task knowledge injection to mitigate these shortcuts with latent task adaptation and knowledge reinstatement. Latent tasks serve as interpolations between new tasks and facilitate knowledge sharing with joint adaptation enabling the model to build task knowledge more smoothly. Knowledge reinstatement helps optimize building new knowledge with prior knowledge. Specifically, we retrieve input-relevant latent tasks and jointly learn the task and the relevant latent tasks. Moreover, we prompt the model to recall the forms of inputs corresponding to the target and build the task knowledge through the reinstatement of prior knowledge while learning the new task.We conduct extensive experiments on state-of-the-art large language models including Llama3.1-8B and Vicuna-13B across 1000+ instruction-following tasks to demonstrate the effectiveness of our method. The results demonstrate our method improves generalization on both in-domain and out-of-domain unseen tasks.

BibTeX
@inproceedings{zhao-etal-2025-task,
    title = "Task Knowledge Injection via Interpolations and Reinstatement for Large Language Model Generalization",
    author = "Zhao, Yukun  and
      Yan, Lingyong  and
      Li, Zhenyang  and
      Wang, Shuaiqiang  and
      Chen, Zhumin  and
      Ren, Zhaochun  and
      Yin, Dawei",
    editor = "Che, Wanxiang  and
      Nabende, Joyce  and
      Shutova, Ekaterina  and
      Pilehvar, Mohammad Taher",
    booktitle = "Findings of the Association for Computational Linguistics: ACL 2025",
    month = jul,
    year = "2025",
    address = "Vienna, Austria",
    publisher = "Association for Computational Linguistics",
    url = "https://aclanthology.org/2025.findings-acl.780/",
    doi = "10.18653/v1/2025.findings-acl.780",
    pages = "15070--15080",
    ISBN = "979-8-89176-256-5"
}
Task Knowledge Injection via Interpolations and Reinstatement for Large Language Model Generalization · ACL 2025