Proceedings

Representation-Aware Modularity: Efficient Cross-Task Generalization for LLMs

Download BibTeX Cite

Proceedings of the Thirty-Fifth International Joint Conference on Artificial Intelligence. Main Track. Pages 5729-5738.

https://doi.org/10.24963/ijcai.2026/638

Abstract

Cross-task generalization (CTG) enables large language models (LLMs) to handle unseen tasks proficiently, enhancing their adaptability in real-world scenarios. However, existing methods relying on per-token dynamic routing to multiple trained LoRA adapters face high computational and GPU memory costs. Recent Representation Fine-Tuning (ReFT) enhances efficiency for single-task adaptation by editing only prefix and suffix token representations. However, the semantic ambiguity of tokens and absence of a self-guided mechanism for parameter selection in unseen tasks limits their application to CTG. To this end, we propose RaMod, a Representation-Aware Modularity framework to extend the ReFT paradigm to CTG through two novel components: (i) Dual-Modular Representation & Parameter Fine-tuning, which manipulates only a strategically chosen subset of hidden representations with modular interventions to guide the model toward solving unseen tasks; and (ii) Asynchronous Orchestrator, which proactively allocates and releases GPU memory for selected interventions, thereby minimizing storage overhead. Extensive experiments demonstrate that RaMod not only achieves superior CTG performance but also substantially reduces the overhead of the latest CTG baseline, achieving 83%, 100%, and 79% reduction in its additional prefill time, generation delays, and memory consumption relative to original LLMs.

  1. [Austin et al., 2021] Jacob Austin, Augustus Odena, Maxwell Nye, Maarten Bosma, Henryk Michalewski, David Dohan, Ellen Jiang, Carrie Cai, Michael Terry, Quoc Le, et al. Program synthesis with large language models. arXiv preprint arXiv:2108.07732, 2021.
  2. [Belofsky, 2023] Joshua Belofsky. Token-level adaptation of lora adapters for downstream task generalization. In Pro- ceedings of the 2023 6th Artificial Intelligence and Cloud Computing Conference, pages 168-172, 2023.
  3. [Bisk et al., 2020] Yonatan Bisk, Rowan Zellers, Jianfeng Gao, Yejin Choi, et al. Piqa: Reasoning about physi- cal commonsense in natural language. In Proceedings of the AAAI conference on artificial intelligence, number 05, pages 7432-7439, 2020.
  4. [Charakorn et al., 2025] Rujikorn Charakorn, Edoardo Cetin, Yujin Tang, and Robert Tjarko Lange. Text-to- loRA: Instant transformer adaption. In Forty-second International Conference on Machine Learning, 2025.
  5. [Clark et al., 2018] Peter Clark, Isaac Cowhey, Oren Etzioni, Tushar Khot, Ashish Sabharwal, Carissa Schoenick, and Oyvind Tafjord. Think you have solved question answer- ing? try arc, the ai2 reasoning challenge. arXiv preprint arXiv:1803.05457, 2018.
  6. [Clark et al., 2019] Christopher Clark, Kenton Lee, Ming- Wei Chang, Tom Kwiatkowski, Michael Collins, and Kristina Toutanova. Boolq: Exploring the surprising dif- ficulty of natural yes/no questions. In Proceedings of the 2019 Conference of the North American Chapter of ACL: Human Language Technologies, Volume 1 (Long and Short Papers), pages 2924-2936, 2019.
  7. [Gabrielsson et al., 2024] Rickard Brüel Gabrielsson, Ji- acheng Zhu, Onkar Bhardwaj, Leshem Choshen, Krist- jan Greenewald, Mikhail Yurochkin, and Justin Solomon. Compress then serve: Serving thousands of lora adapters with little overhead. In Forty-second International Con- ference on Machine Learning, 2024.
  8. [Geiger et al., 2021] Atticus Geiger, Hanson Lu, Thomas Icard, and Christopher Potts. Causal abstractions of neural networks. Neurips, 34:9574-9586, 2021.
  9. [Ghaeini et al., 2018] Reza Ghaeini, Xiaoli Fern, and Prasad Tadepalli. Interpreting recurrent and attention-based neu- ral models: a case study on natural language inference. In Proceedings of the 2018 Conference on EMNLP, pages 4952-4957, 2018.
  10. [Golub and Van Loan, 2013] Gene H Golub and Charles F Van Loan. Matrix computations. JHU press, 2013.
  11. [Golub et al., 1987] Gene H Golub, Alan Hoffman, and Gilbert W Stewart. A generalization of the eckart-young- mirsky matrix approximation theorem. Linear Algebra and its applications, 88:317-327, 1987.
  12. [Gong and Sun, 2024] Zheng Gong and Ying Sun. Graph reasoning enhanced language models for text-to-sql. In Proceedings of the 47th International ACM SIGIR Con- ference on Research and Development in Information Re- trieval, pages 2447-2451, 2024.
  13. [Houlsby et al., 2019] Neil Houlsby, Andrei Giurgiu, Stanis- law Jastrzebski, Bruna Morrone, Quentin De Laroussilhe, Andrea Gesmundo, Mona Attariyan, and Sylvain Gelly. Parameter-efficient transfer learning for nlp. In Interna- tional conference on machine learning, pages 2790-2799.
  14. PMLR, 2019.
  15. [Hu et al., 2022] Edward J Hu, Yelong Shen, Phillip Wallis, Zeyuan Allen-Zhu, Yuanzhi Li, Shean Wang, Lu Wang, and Weizhu Chen. LoRA: Low-rank adaptation of large language models. In International Conference on Learn- ing Representations, 2022.
  16. [Huang et al., 2024] Chengsong Huang, Qian Liu, Bill Yuchen Lin, Tianyu Pang, Chao Du, and Min Lin. Lorahub: Efficient cross-task generalization via dy- namic lora composition. In First Conference on Language Modeling, 2024.
  17. [Huang et al., 2025a] Chenxi Huang, Shaotian Yan, Liang Xie, Binbin Lin, Sinan Fan, Yue Xin, Deng Cai, Chen Shen, and Jieping Ye. Enhancing chain-of-thought reason- ing with critical representation fine-tuning. In Proceedings of the 63rd Annual Meeting of ACL (Volume 1: Long Pa- pers), pages 23173-23195, 2025.
  18. [Huang et al., 2025b] Weizhong Huang, Yuxin Zhang, Xi- awu Zheng, Jing Lin, Yiwu Yao, Rongrong Ji, et al. Dy- namic low-rank sparse adaptation for large language mod- els. In The Thirteenth International Conference on Learn- ing Representations, 2025.
  19. [Lee et al., 2024] Wonbeom Lee, Jungi Lee, Junghwan Seo, and Jaewoong Sim. {InfiniGen}: Efficient generative in- ference of large language models with dynamic {KV} cache management. In 18th USENIX Symposium on Op- erating Systems Design and Implementation (OSDI 24), pages 155-172, 2024.
  20. [Li and Liang, 2021] Xiang Lisa Li and Percy Liang. Prefix- tuning: Optimizing continuous prompts for generation. In Proceedings of the 59th Annual Meeting of ACL and the 11th International Joint Conference on Natural Language Processing (Volume 1: Long Papers), pages 4582-4597, 2021.
  21. [Lin et al., 2025] Tianwei Lin, Jiang Liu, Wenqiao Zhang, Yang Dai, Haoyuan Li, Zhelun Yu, Wanggui He, Juncheng Li, Jiannan Guo, Hao Jiang, Siliang Tang, and Yueting Zhuang. Teamlora: Boosting low-rank adaptation with ex- pert collaboration and competition. In Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), ACL 2025, Vienna, Austria, July 27 -August 1, 2025, pages 13622-13637. As- sociation for Computational Linguistics, 2025.
  22. [Liu et al., 2022a] Haokun Liu, Derek Tam, Mohammed Muqeeth, Jay Mohta, Tenghao Huang, Mohit Bansal, and Colin A Raffel. Few-shot parameter-efficient fine-tuning is better and cheaper than in-context learning. Neurips, 35:1950-1965, 2022.
  23. [Liu et al., 2022b] Xiao Liu, Kaixuan Ji, Yicheng Fu, Weng Tam, Zhengxiao Du, Zhilin Yang, and Jie Tang. P-tuning: Prompt tuning can be comparable to fine-tuning across scales and tasks. In Proceedings of the 60th Annual Meet- ing of ACL (Volume 2: Short Papers), pages 61-68, 2022.
  24. [Liu et al., 2023a] Jiawei Liu, Chunqiu Steven Xia, Yuyao Wang, and Lingming Zhang. Is your code generated by chatgpt really correct? rigorous evaluation of large lan- guage models for code generation. Neurips, 36:21558- 21572, 2023.
  25. [Liu et al., 2023b] Zichang Liu, Jue Wang, Tri Dao, Tianyi Zhou, Binhang Yuan, Zhao Song, Anshumali Shrivastava, Ce Zhang, Yuandong Tian, Christopher Re, et al. Deja vu: Contextual sparsity for efficient llms at inference time. In International Conference on Machine Learning, pages 22137-22176. PMLR, 2023.
  26. [Longpre et al., 2023] Shayne Longpre, Le Hou, Tu Vu, Al- bert Webson, Hyung Won Chung, Yi Tay, Denny Zhou, Quoc V Le, Barret Zoph, Jason Wei, et al. The flan collec- tion: Designing data and methods for effective instruction tuning. In International Conference on Machine Learning, pages 22631-22648. PMLR, 2023.
  27. [Luo et al., 2018] Ling Luo, Xiang Ao, Feiyang Pan, Jin Wang, Tong Zhao, Ningzi Yu, and Qing He. Beyond polar- ity: Interpretable financial sentiment analysis with hierar- chical query-driven attention. In IJCAI, pages 4244-4250, 2018. IJCAI
  28. [Mihaylov et al., 2018] Todor Mihaylov, Peter Clark, Tushar Khot, and Ashish Sabharwal. Can a suit of armor conduct electricity? a new dataset for open book question answer- ing. In Proceedings of the 2018 Conference on EMNLP, pages 2381-2391, 2018.
  29. [Mishra et al., 2022] Swaroop Mishra, Daniel Khashabi, Chitta Baral, and Hannaneh Hajishirzi. Cross-task gener- alization via natural language crowdsourcing instructions. In Proceedings of the 60th Annual Meeting of ACL (Vol- ume 1: Long Papers), pages 3470-3487, 2022.
  30. [Ostapenko et al., 2024] Oleksiy Ostapenko, Zhan Su, Edoardo Ponti, Laurent Charlin, Nicolas Le Roux, Lucas Caccia, and Alessandro Sordoni. Towards modular llms by building and reusing a library of loras. In International Conference on Machine Learning, pages 38885-38904.
  31. PMLR, 2024.
  32. [Ponti et al., 2023] Edoardo Maria Ponti, Alessandro Sor- doni, Yoshua Bengio, and Siva Reddy. Combining parameter-efficient modules for task-level generalisation. In Proceedings of the 17th Conference of the European Chapter of ACL, pages 687-702, 2023.
  33. [Sakaguchi et al., 2021] Keisuke Sakaguchi, Ronan Le Bras, Chandra Bhagavatula, and Yejin Choi. Winogrande: An adversarial winograd schema challenge at scale. Commu- nications of the ACM, 64(9):99-106, 2021.
  34. [Sanh et al., 2022] Victor Sanh, Albert Webson, Colin Raf- fel, Stephen Bach, Lintang Sutawika, Zaid Alyafeai, An- toine Chaffin, Arnaud Stiegler, Arun Raja, Manan Dey, et al. Multitask prompted training enables zero-shot task generalization. In International Conference on Learning Representations, 2022.
  35. [Suzgun et al., 2023] Mirac Suzgun, Nathan Scales, Nathanael Schärli, Sebastian Gehrmann, Yi Tay, Hyung Won Chung, Aakanksha Chowdhery, Quoc V Le, Ed H Chi, Denny Zhou, et al. Challenging big-bench tasks and whether chain-of-thought can solve them. In ACL (Findings), 2023.
  36. [Vu et al., 2022] Tu Vu, Brian Lester, Noah Constant, Rami Al-Rfou, and Daniel Cer. Spot: Better frozen model adap- tation through soft prompt transfer. In Proceedings of the 60th Annual Meeting of ACL (Volume 1: Long Papers), pages 5039-5059, 2022.
  37. [Wang et al., 2023] Yizhong Wang, Hamish Ivison, Pradeep Dasigi, Jack Hessel, Tushar Khot, Khyathi Chandu, David Wadden, Kelsey MacMillan, Noah A Smith, Iz Beltagy, et al. How far can camels go? exploring the state of in- struction tuning on open resources. Neurips, 36:74764- 74786, 2023.
  38. [Wu et al., 2024a] Xun Wu, Shaohan Huang, and Furu Wei. Mixture of lora experts. In The Twelfth International Con- ference on Learning Representations, 2024.
  39. [Wu et al., 2024b] Zhengxuan Wu, Aryaman Arora, Zheng Wang, Atticus Geiger, Dan Jurafsky, Christopher D Man- ning, and Christopher Potts. Reft: Representation finetun- ing for language models. Neurips, 37:63908-63962, 2024.
  40. [Xin et al., 2025] Haoran Xin, Ying Sun, Chao Wang, and Hui Xiong. Llmcdsr: Enhancing cross-domain sequential recommendation with large language models. ACM Trans- actions on Information Systems, 43(5):1-33, 2025.
  41. [Xu et al., 2025] Jingwei Xu, Junyu Lai, and Yunpeng Huang. Meteora: Multiple-tasks embedded lora for large language models. In The Thirteenth International Confer- ence on Learning Representations, 2025.
  42. [Ye et al., 2021] Qinyuan Ye, Bill Yuchen Lin, and Xiang Ren. Crossfit: A few-shot learning challenge for cross-task generalization in nlp. In Proceedings of the 2021 Confer- ence on EMNLP, pages 7163-7189, 2021.
  43. [Zellers et al., 2019] Rowan Zellers, Ari Holtzman, Yonatan Bisk, Ali Farhadi, and Yejin Choi. Hellaswag: Can a ma- chine really finish your sentence? In Proceedings of the 57th Annual Meeting of ACL, pages 4791-4800, 2019.
  44. [Zhang et al., 2023] Qingru Zhang, Minshuo Chen, Alexan- der Bukharin, Pengcheng He, Yu Cheng, Weizhu Chen, and Tuo Zhao. Adaptive budget allocation for parameter- efficient fine-tuning. In The Eleventh International Con- ference on Learning Representations, 2023.
  45. [Zhang et al., 2025] Mingxu Zhang, Dazhong Shen, Qi Zhang, and Ying Sun. Chematp: A training-free chemical reasoning framework for large language models. arXiv preprint arXiv:2512.19240, 2025.

References were extracted automatically from the PDF and may contain errors.

Welcome Future Conferences AI Journal Division IJCAI Proceedings About IJCAI IJCAI Awards