Crimson AI NewsA CrimsonLingua Network service
EN ع
← Back to news
Research paper Hugging Face

MemSFT: External Parametric Memory Cuts Alignment Tax in Domain Fine-Tuning

AI By Crimson AI Hugging Face Papers 4 August 2026 · 00:00 20 views
Share: X Telegram

Hugging Face researchers propose MemSFT, a method that uses an external parametric memory to adapt LLMs to specialized domains without updating the backbone, reducing catastrophic forgetting and preserving general performance.

MemSFT: External Parametric Memory Cuts Alignment Tax in Domain Fine-Tuning

Key points

Adapting large language models (LLMs) to specialized domains often comes with a hidden cost: the so-called "alignment tax." Fine-tuning on domain-specific tasks can trigger catastrophic forgetting, where the model loses its general capabilities. A new paper from Hugging Face researchers introduces MemSFT, a method designed to sidestep this trade-off by decoupling domain specialization from backbone parameter updates.

Instead of modifying the core model, MemSFT trains an external parametric memory to mimic the behavior of a non-parametric retriever over domain data. This memory effectively captures the knowledge and patterns that would otherwise be accessed via retrieval. During generation, a learned router dynamically fuses the output distributions of the memory and the backbone at each decoding step, allowing domain expertise to be invoked selectively without disturbing the base model's general knowledge.

The researchers evaluated MemSFT across three domains—biology, geoscience, and law—using models ranging from Qwen3-8B to Qwen3-235B-A22B. Results show that MemSFT consistently improves domain performance with negligible degradation in general performance, whereas full supervised fine-tuning (SFT) suffers severe forgetting on general tasks.

A notable advantage is reusability: a single domain-specific 8B memory can be applied across different Qwen3 backbones, from 8B to 235B-A22B. The paper also reports that adapting four backbones with MemSFT requires only 0.22 times the FLOPs of full SFT, highlighting its computational efficiency.

DomainModelsMemSFT PerformanceFull SFT Performance
BiologyQwen3-8B to 235B-A22BImproved domain performance, negligible general degradationSevere forgetting on general tasks
GeoscienceQwen3-8B to 235B-A22BImproved domain performance, negligible general degradationSevere forgetting on general tasks
LawQwen3-8B to 235B-A22BImproved domain performance, negligible general degradationSevere forgetting on general tasks
Source
Hugging Face · Hugging Face Papers
Related news
Research paper
Hugging Face 15 Oct 2026

New Survey Maps How Multimodal AI Agents Remember and Evolve

A Hugging Face survey proposes a two-axis framework for multimodal agent memory, separating how information is formed and represen...

14
Research paper
Hugging Face 15 Oct 2026

CriticOPD Fixes On-Policy Distillation by Letting Teachers Critique Student Errors

Hugging Face researchers introduce CriticOPD, a method that restores the teacher's ability to recover from student mistakes during...

15
Research paper
Hugging Face 15 Oct 2026

ActionOPD: Distilling Agent Decisions, Not Tokens

A new Hugging Face paper proposes ActionOPD, an action-level on-policy distillation method that aligns a student agent's decisions...

16