Value Locking: Preserving Safety Alignment via Orthogonal Gradient Projection During Post-Deployment Fine-Tuning

The rapid deployment of open-weight Large Language Models (LLMs) has introduced a critical vulnerability: when edge users fine-tune these models on local data, the deterministic safety guardrails (RLHF/DPO alignment) embedded during pre-training are rapidly degraded or entirely overwritten. Value Locking is proposed as a formal mathematical framework to preserve safety alignment during post-deployment continual learning. By extracting the geometric "safety Gestalt"—the principal activation subspaces corresponding to aligned rejection behaviors—it is demonstrated how downstream parameter updates can be continuously projected onto the orthogonal complement of this safety manifold. Using Orthogonal Gradient Projection (OGP), fine-tuning gradients that attempt to overwrite established safety boundaries are strictly nullified. This provides a deterministic structural constraint that prevents gradient updates from modifying the identified safety subspace, formally guaranteeing retention for activations within the estimated span(U_safety), without requiring the fine-tuner to store or process the original safety dataset.

Authors

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-08-25
DOI
https://doi.org/10.5281/zenodo.22099377
Primary Topic
Adversarial Robustness in Machine Learning
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
preprint

Value Locking: Preserving Safety Alignment via Orthogonal Gradient Projection During Post-Deployment Fine-Tuning

Jero Lemos
Zenodo (CERN European Organization for Nuclear Research)
Adversarial Robustness in Machine Learning
preprint

Value Locking: Preserving Safety Alignment via Orthogonal Gradient Projection During Post-Deployment Fine-Tuning

Jero Lemos
preprint en

Abstract

The rapid deployment of open-weight Large Language Models (LLMs) has introduced a critical vulnerability: when edge users fine-tune these models on local data, the deterministic safety guardrails (RLHF/DPO alignment) embedded during pre-training are rapidly degraded or entirely overwritten. Value Locking is proposed as a formal mathematical framework to preserve safety alignment during post-deployment continual learning. By extracting the geometric "safety Gestalt"—the principal activation subspaces corresponding to aligned rejection behaviors—it is demonstrated how downstream parameter updates can be continuously projected onto the orthogonal complement of this safety manifold. Using Orthogonal Gradient Projection (OGP), fine-tuning gradients that attempt to overwrite established safety boundaries are strictly nullified. This provides a deterministic structural constraint that prevents gradient updates from modifying the identified safety subspace, formally guaranteeing retention for activations within the estimated span(U_safety), without requiring the fine-tuner to store or process the original safety dataset.

Zenodo (CERN European Organization for Nuclear Research)
Adversarial Robustness in Machine Learning
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Value Locking: Preserving Safety Alignment via Orthogonal Gradient Projection During Post-Deployment Fine-Tuning — Jero Lemos · Zenodo (CERN European Organization for Nuclear Research) (2026) | TGRS Research Map | TGRS