TDG-LoRA: Token-Level Dynamic Gating for Mitigating Catastrophic Forgetting

计算机科学 遗忘 门控 人工智能 触电 神经生理学 控制理论(社会学) 控制系统 冗余(工程) 加速度
作者
Shushan Zhu,Shangqing Huang,Xingyuan Chen
出处
期刊:IEEE Access [Institute of Electrical and Electronics Engineers]
卷期号:14: 149792-149802
标识
DOI:10.1109/access.2026.3737439
摘要

Parameter-efficient fine-tuning (PEFT), particularly Low-Rank Adaptation (LoRA), is widely used to adapt large language models (LLMs) to specialized downstream domains. However, although the pretrained backbone remains frozen, a domain-adapted LoRA branch may interfere with the model’s original representations and predictions when applied to general-domain inputs, resulting in general capability degradation. To address this problem, we propose TDG-LoRA (Token-Level Dynamic Gating for Low-Rank Adaptation), which introduces a lightweight gating network into each adapted Transformer layer to regulate the contribution of a single LoRA branch according to contextualized token representations. During training, sequence-origin domain labels supervise the tokenwise gate outputs, while an asymmetric loss mask prevents general-domain language-modeling losses from directly updating the LoRA parameters. During inference, the learned gate suppresses unnecessary LoRA contributions on general-domain inputs. We evaluate TDG-LoRA on Llama-3.2-1B and Llama-3.1-8B across mathematical and medical domain adaptation settings using five random seeds. Under a predefined equivalence margin of ±1.0 percentage points, TDG-LoRA is statistically equivalent to standard LoRA on GSM8K and MedQA and to the corresponding base model reference on post-adaptation Massive Multitask Language Understanding (MMLU). On Llama-3.1-8B, TDG-LoRA achieves 58.92% accuracy on GSM8K while retaining 65.18% on MMLU, corresponding to a decrease of only 0.05 percentage points from the base model. These results demonstrate a favorable balance between target domain adaptation and general capability retention under the evaluated settings.

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
1秒前
华仔的应助被明亮晓旋采纳,获得30
1秒前
我是老大的应助被晚风采纳,获得10
2秒前
月亮发布了新的文献求助10
3秒前
3秒前
3秒前
3秒前
Ava的应助被苗条海莲采纳,获得10
3秒前
Carera发布了新的文献求助10
3秒前
万能图书馆的应助被张张采纳,获得10
4秒前
小晚风完成签到,获得积分10
5秒前
研友_Lw7MKL发布了新的文献求助10
5秒前
传奇3的应助被Yuan采纳,获得10
5秒前
Akim的应助被yulong采纳,获得10
5秒前
6秒前
科研通AI6.4的应助被Brollan采纳,获得10
6秒前
6秒前
chenzhaoyang发布了新的文献求助10
7秒前
无私青柏发布了新的文献求助10
7秒前
7秒前
8秒前
852的应助被百川采纳,获得10
8秒前
8秒前
雅琪完成签到,获得积分10
9秒前
醉在肩上发布了新的文献求助10
9秒前
Souvenir发布了新的文献求助10
9秒前
10秒前
李思超发布了新的文献求助50
10秒前
科研通AI6.4的应助被幽默孤菱采纳,获得10
10秒前
10秒前
今后的应助被le123zxc采纳,获得10
10秒前
李健的应助被姌姌采纳,获得10
11秒前
12秒前
12秒前
12秒前
大羊羊完成签到 ,获得积分10
12秒前
Lucas的应助被hotdx采纳,获得10
12秒前
TuTu完成签到,获得积分10
13秒前
顾矜的应助被StephenChen采纳,获得10
13秒前
kusiony完成签到,获得积分10
13秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
The Martian climate revisited : atmosphere and environment of a desert planet 600
Sex, Aging, and Death in a Medieval Medical Compendium: Trinity College Cambridge MS R.14.52, Its Texts, Language, and Scribe 450
Determination of Coagulation Factor Activities Using the One-Stage Clotting Assay 400
改訂11版 化学・バイオ特許の出願戦略 全文 400
《化学系特許明細書・意見書の書き方》全文 400
True Bugs of the World (Hemiptera, Heteroptera) Classification and Natural History (Second Edition) 300
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 计算机科学 工程类 有机化学 化学工程 生物化学 物理 复合材料 内科学 催化作用 光电子学 人工智能 细胞生物学 无机化学 物理化学 数学
热门帖子
关注 科研通微信公众号,转发送积分 8214069
求助须知:如何正确求助?哪些是违规求助? 9595310
关于积分的说明 21960412
捐赠科研通 7820314
什么是DOI,文献DOI怎么找? 3443816
关于科研通互助平台的介绍 2565801
邀请新用户注册赠送积分活动 2492185