arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2611.20258cs.LGcs.AI
收藏

微适配(Microfitting):通过缓存测试时训练的持续学习方法

Microfitting: Continual Learning via Cached Test-Time Training

Interval

Nick Ryan, Peter A. Devine, Ben Sirb, Hannah Sansford, Alex Chiocchi

AI总结:

提出微适配(Microfitting)方法,通过为每个文档训练缓存小型适配器并复用,在DeepSeek V4 Flash和EDO数据集上大幅提升问答准确率,实现低成本持续适配且避免灾难性遗忘。

摘要:

持续学习是使语言模型适配组织私有数据的有前景方法,但现有方法存在灾难性遗忘等缺陷,即新训练更新会覆盖先前知识。本文提出微适配(Microfitting),该方法为每个文档训练并缓存一个小型适配器,每个适配器仅在离线状态下,针对基础模型已显现的缺陷生成的合成问题进行一次训练,在查询对应文档时即可复用。此方法借鉴测试时学习文献,通过参数隔离规避持续学习问题,使系统能适配新数据而不覆盖先前知识。生成适配器训练数据的过程也会随时间优化,依据先前结果和目标工作负载的新示例调整生成规则。在DeepSeek V4 Flash模型上,微适配方法较基础模型大幅提升准确率;在企业文档操作(EDO,针对真实企业文档的开卷问答环境)中,该方法较基础模型性能实现38.2%的相对提升。微适配使持续适配兼具实用性与成本效益:冻结的模型可在本地硬件上于一夜之间适配不断更新的私有语料库,无需修改基础模型或先前缓存的适配器。

英文摘要:

Continual learning is a promising approach to specialize language models to an organization's private data. However, current methods exhibit a number of drawbacks including catastrophic forgetting, where new training updates overwrite prior knowledge. We present microfitting, which trains and caches a small adapter for each document. Each adapter is trained once, offline, on synthetic questions targeted at demonstrated base-model shortcomings and reused whenever that document is queried. This method borrows from test-time learning literature and sidesteps the problem of continual learning through parameter isolation, allowing the system to specialize on new data without overwriting prior knowledge. The process that generates adapter training data also improves over time, revising its recipe from previous outcomes and fresh examples of the target workload. On DeepSeek V4 Flash, microfitting substantially improves accuracy over the base model. In Enterprise Document Operations (EDO), an open-book Q&A environment over real-world enterprise documents, our method achieves a 38.2% relative improvement over base-model performance. Microfitting makes continual specialization practical and cost-efficient: a frozen model can adapt to an evolving private corpus overnight on local hardware, without modifying the base model or previously cached adapters.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑