计算机科学 ›› 2026, Vol. 53 ›› Issue (11A): 251100108-241.doi: 10.11896/jsjkx.251100108
冯皓南, 颜志国, 段娜, 沈松雨, 张喜乐, 谢绮薇, 王征, 杨毅林, 代娟, 高瑞之, 王登朵
FENG Haonan, YAN Zhiguo, DUAN Na, SHEN Songyu, ZHANG Xile, XIE Qiwei, WANG Zheng, YANG Yilin, DAI Juan, GAO Ruizhi, WANG Dengduo
摘要: 针对特定领域多任务数据敏感性较强、数据标注成本高,导致多任务模型效果不佳和模型结构冗余,进而导致消耗资源较大的问题,文中提出一种融合LoRA微调与合成数据增强的多任务分类框架,通过低秩自适应(LoRA)技术对预训练语言模型进行参数高效微调,结合模板化数据生成策略构建领域增强数据集,实现文本中“事件类别-人员-地址-时间-物品”等多维度信息的联合抽取与分类,有效提升了多任务模型效果,并显著降低了多任务计算成本。关键技术贡献包括:1)领域适配数据增强,利用大语言模型生成符合特定领域场景的合成文本;2)多任务参数协调,采用分层LoRA适配器,提升模型泛化能力,采用动态门控混合场景独立专家分层架构,保证模型分类效果。
中图分类号:
| [1] LIU Y,GUO Q,YANG C,et al.TIPS:Tailored Information Extraction in Public Security Using Domain-Enhanced Large Language Model[J].Computers,Materials & Continua,2025,83(2). [2] HU E J,SHEN Y,WALLIS P,et al.Lora:Low-rank adaptationof large language models[J].ICLR,2022,1(2):3. [3] RUAN W,CHEN W,DANG X,et al.ST-LoRA:Low-Rank Adaptation for Spatio-Temporal Forecasting[C]//Joint European Conference on Machine Learning and Knowledge Discovery in Databases.Cham:Springer Nature Switzerland,2025:345-361. [4] LIANG B H,ZHANG C G,YUAN M M.Large Model Driven AI Application Service Platform[J].Computer Science,2025,52(S1):76-79. [5] CONG Y N,HAN L R,MA J Y,et al.Research on Intelligent Judgment of Criminal Cases Based on Large Language Models[J].Computer Science,2025,52(5):248-259. [6] MAO Y,GE Y,FAN Y,et al.A survey on lora of large language models[J].Frontiers of Computer Science,2025,19(7):197605. [7] YANG S,ALI M A,WANG C L,et al.Moral:Moe augmented lora for llms' lifelong learning[J].arXiv:2402.11260,2024. [8] GUO Y Y,SHI L,LIU H,et al.Construction of a Large Language Model for History Based on Domain Adaptation and Dynamic Retrieval Augmentation[J/OL].Computer Science,1-12[2025-10-30].https://link.cnki.net/urlid/50.1075.TP.20251017.1429.008. [9] YU T,KUMAR S,GUPTA A,et al.Gradient surgery for multi-task learning[J].Advances in neural information processing systems,2020,33:5824-5836. [10] LIU B,LIU X,JIN X,et al.Conflict-averse gradient descent for multi-task learning[J].Advances in Neural Information Processing Systems,2021,34:18878-18890. [11] KENDALL A,GAL Y,CIPOLLA R.Multi-task learning using uncertainty to weigh losses for scene geometry and semantics[C]//Proceedings of the IEEE conference on computer vision and pattern recognition.2018:7482-7491. [12] LEI X,ZHANG X,WANG D.MGDA:Model-based Goal DataAugmentation for Offline Goal-conditioned Weighted Supervised Learning[C]//Proceedings of the AAAI Conference on Artificial Intelligence.2025:18172-18180. [13] LAI Y X,ZHANG Y W,ZHUANG J X.Construction and Generation of SOR Label System for Learner Personalized Portrait[J/OL].Computer Science,1-14[2025-10-30].https://link.cnki.net/urlid/50.1075.tp.20251017.1502.024. [14] ZHANG Z L,XIA H.LSQ-RAG:Retrieval-enhanced Generation Framework Based on LLM-enhanced Ranker[J/OL].Computer Science,1-13[2025-10-30].https://link.cnki.net/urlid/50.1075.TP.20251017.1626.033. [15] EVLIN J,CHANG M W,LEE K,et al.Bert:Pre-training of deep bidirectional transformers for language understanding[C]//Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics:Human Language Technologies(long and short papers).2019:4171-4186. [16] CHEN H,MA Q,LIN Z,et al.Hierarchy-aware label semantics matching network for hierarchical text classification[C]//Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing(Volume 1:Long Papers).2021:4370-4379. [17] JOULIN A,GRAVE E,BOJANOWSKI P,et al.Bag of tricksfor efficient text classification[J].arXiv:1607.01759,2016. [18] SUN C,QIU X,XU Y,et al.How to fine-tune bert for text clas-sification?[C]//China national conference on Chinese computational linguistics.Cham:Springer International Publishing,2019:194-206. [19] ZHOU A.Compositional Subspace Representation Fine-tuningfor Adaptive Large Language Models[J].arXiv:2503.10617,2025. [20] BIDERMAN D,PORTES J,ORTIZ J J G,et al.Lora learns less and forgets less[J].arXiv:2405.09673,2024. [21] WANG Y,LIN Y,ZENG X,et al.Multilora:Democratizing lora for better multi-task learning[J].arXiv:2311.11501,2023. [22] SHAZEER N,MIRHOSEINI A,MAZIARZ K,et al.Outra-geously large neural networks:The sparsely-gated mixture-of-experts layer[J].arXiv:1701.06538,2017. |
|
||