Fine-tuning-as-a-service lets users adapt large language models to specialized tasks, but it also creates a security risk: a malicious user can fine-tune a model to remove its safety guardrails while keeping it useful on legitimate queries. The new arXiv paper introduces SLDR, a defense aimed at this exact attack.
SLDR stands for Selective Layers Recovery and Dynamic Routing. The approach identifies the layers most responsible for safety, recovers them from a clean state, and then uses dynamic routing to decide how inputs flow through the model. This is designed to preserve refusal behavior even when fine-tuning has tried to erode it, without sacrificing performance on benign inputs.
Because this is a single source, there are no independent results to compare. The abstract does not include specific evaluation numbers, so the practical effectiveness of SLDR beyond its proposed mechanism remains to be seen. Still, the work targets a real vulnerability in the model-serving ecosystem and offers a concrete direction for defense.