跳到正文
arXiv (AI + Vision + Imaging)· Yilin Luo, Jin Hwa Lee, Andrew M. Saxe, Antonio Sclocchi·· 4 小时前AI 评分22

语言模型微调中的两种遗忘时间尺度:快速行为抑制与缓慢表征漂移

Two Timescales of Forgetting in Fine-tuning of Language Models: Fast Behavioral Suppression and Slow Representational Drift

AI 导读

研究在受控上下文无关文法(Random Hierarchy Model)上预训练Transformer并用受限规则子集做监督微调,发现被删除规则的生成能力在快速时间尺度上退化,速度与token-隐变量相关性大小成反比,而对应内部表征仍保持完整。

正文 · 原文

arXiv:2611.33302v1 Announce Type: new Abstract: Today, a core pipeline of artificial intelligence systems is pretraining on a broad range of text corpora and then fine-tuning on specific tasks or desired behaviors. Yet we still have limited understanding of how fine-tuning on a restricted data distribution modifies representations acquired during pretraining. In particular, it remains unclear whether surface behavioral suppression happens together with the erasure of latent representations that support it. In this work, we study supervised fine-tuning (SFT) by pretraining transformers on a controlled context-free grammar with hierarchical latent structure, the Random Hierarchy Model (RHM), and fine-tuning with a restricted subset of its generative rules. While during pretraining the model's ability to generate with the correct grammar rules coincides with building the internal representations of the corresponding latent, we find that SFT exhibits a very different dynamics: (i) the generation of deleted rules changes on a fast timescale inversely proportional to the magnitude of the token-latent correlation; meanwhile, their corresponding representations stay intact; (ii) the hidden representations of the deleted rules become forgotten on a much longer timescale, associated with a slow drift of the network parameters. Finally, we observe analogous results in a realistic setup with natural language, suggesting that this timescale separation in forgetting is a more general phenomenon of fine-tuning language models.

来源:arXiv (AI + Vision + Imaging) · arxiv.org