← Publications / Safety Post-Training & Alignment

SafeTune: A Unified, Faithful Library for Auditing and Repairing Safety Drift in Fine-Tuned LLMs

Pratinav Seth*, Saisab Sadhu*, Anshul Kaushal*, Vinay Kumar Sankarapu

* Equal contribution

EMNLP 2026 System Demonstrations2026My role: LedDemo
SafeTune overview: choose one intervention (harden, recover, unlearn or steer) by how far the model has drifted, with interpretability and safety-plus-capability evaluation as shared instrumentation

In plain words

Methods for repairing safety drift after fine-tuning are scattered across incompatible code and evaluation setups. SafeTune brings four approaches together, weight recovery, safety-constrained fine-tuning, gradient-based unlearning and inference-time steering, in one configuration-driven workflow with shared interpretability, evaluation and deployment tools. It is demonstrated on finance and medical case studies.

Abstract

Methods for addressing safety drift in fine-tuned Large Language Models (LLMs) are scattered across incompatible implementations, lifecycle stages, and evaluation protocols, making them difficult to adopt and compare. We introduce SafeTune, a source-available library that unifies four intervention paradigms: post-hoc weight recovery, safety-constrained fine-tuning, gradient-based unlearning, and inference-time steering, alongside shared interpretability, evaluation, and deployment utilities. SafeTune provides a consistent configuration-driven workflow while preserving the distinct inputs and intervention points each paradigm requires. Its modular registry supports new methods, benchmarks, judges, models, and fine-tuning domains without redesigning the surrounding pipeline. We demonstrate SafeTune through controlled comparisons and finance and medical deployment case studies, showing how it characterizes safety drift, evaluates feasible interventions on common refusal-behavior and capability evaluations, and supports calibrated or layered mitigation.

Code · OpenReview

Cite

@inproceedings{seth2026safetune,
  title         = {{SafeTune: A Unified, Faithful Library for Auditing and Repairing Safety Drift in Fine-Tuned LLMs}},
  author        = {Pratinav Seth and Saisab Sadhu and Anshul Kaushal and Vinay Kumar Sankarapu},
  booktitle     = {EMNLP 2026 System Demonstrations},
  year          = {2026},
  eprint        = {2609.22153},
  archivePrefix = {arXiv},
  url           = {https://aclanthology.org/2026.emnlp-demos.73/}
}
All →