> ## Content Index
> Fetch the complete content index at: https://www.notatechguy.com/llms.txt
> Use this file to discover other available public pages before exploring further.

# Zhejiang cuts LLM attack success 70% with 1% of parameters
- URL: https://www.notatechguy.com/zhejiang-cuts-llm-attack-success-70-with-1-of-parameters/
- Published: 2026-12-04T08:37:50.000Z
- Updated: 2026-12-04T08:37:50.000Z
- Description: A preprint from Zhejiang University pinpoints the 1% of parameters that govern LLM safety, cutting attack success by over 70%.
- Author: Marcello Babbili
- Tags: Technology & AI, AI Models, OpenAI

Zhejiang University researchers cut the attack success rate of under-aligned language models by over 70% by updating just 1% of their parameters, according to a preprint not yet independently verified ([arXiv preprint (cs.CR, q-fin.GN)](https://arxiv.org/abs/2612.05693v1?ref=notatechguy.com)). The result suggests a model's safety behaviour may be concentrated in a small, locatable set of weights. That cuts against the assumption that safety requires broad retraining or guardrails bolted on after the fact.

**What it means:** The 70% figure and the 0.5% safety-degradation ceiling are self-reported in a non-peer-reviewed preprint by a single research group S¹. No one outside the authors' lab has reproduced these numbers, and the terms "under-aligned" and "aligned" are the authors' own, not industry-standard categories. The claim worth watching is whether the two tuning methods, SET and SPA, hold up on architectures beyond those the authors tested. The codebase is public on GitHub with 13 stars ([ZJU-LLM-Safety/SafeWeights-ACL](https://github.com/ZJU-LLM-Safety/SafeWeights-ACL?ref=notatechguy.com)), giving other labs a starting point to check.

## The problem: safety breaks when you change anything else

When a team fine-tunes a language model for a new task, the safety training baked in during alignment often degrades. The model starts answering questions it was trained to refuse. This is well-documented: as we found when [AI safety failed in multi-turn chats](https://www.notatechguy.com/ai-safety-fails-in-multi-turn-chats-shallowdefend-flips-the-weakness/), safety mechanisms can break under surprisingly mild pressure.

Fixing it is expensive. Broad retraining costs compute and risks breaking the model's general capabilities. Existing methods try to find which parameters matter most for safety using gradient-based importance attribution, asking which weights, if changed, would most affect the model's safety behaviour. But these methods have a blind spot. They rely on gradients from generic training objectives, which measure how far the model's output is from a target response pattern, not whether the output is actually safe S¹. They also ignore how parameters vary across different layers and modules. And a single gradient cannot capture the local geometry around a parameter, how the loss surface bends in its neighbourhood S¹.

For multimodal models, which process images alongside text, the picture is even less clear. Safety-critical parameters in these models remain largely unexplored S¹.

## What the researchers built

The team, from Zhejiang University's State Key Laboratory of Blockchain and Data Security, includes Zefeng Wu, Weiwei Qi, Wei Gu, Tianhang Zheng, Zikang Zhang, Zhan Qin, and Kui Ren ([arxiv.org](https://arxiv.org/abs/2612.05693?ref=notatechguy.com)). They proposed a measure called the Multimodal Safety Index (MSI), which quantifies output safety directly using the expected safety value of a model's responses, rather than proxy measures like response-pattern matching S¹.

They then extended MSI to Neighborhood-Consensus MSI (NC-MSI). The idea is to aggregate gradients across slightly perturbed versions of the model, capturing the local geometry that a single gradient misses S¹. Using NC-MSI, they identified distinct distributions of safety-critical parameters in both text-only LLMs and multimodal models S¹.

Two interventions follow from that mapping.

## Two tuning methods, two directions

Safety Enhancement Tuning (SET) targets models that are already unsafe, what the authors call "under-aligned." SET updates only the safety-critical parameters NC-MSI identifies, leaving the rest frozen. The authors report that SET reduced attack success rates by over 70% in just 100 steps, touching roughly 1% of the model's parameters S¹.

Safety-Preserving Adaptation (SPA) works the other way. It takes a model that is already safe and fine-tunes it for a new task while freezing the safety-critical parameters so they cannot drift. SPA uses a custom optimizer the authors call SafeAdamW S¹. After 1,000 steps of fine-tuning, SPA held safety degradation to within 0.5% on average S¹.

SET is a repair tool for models that have already been broken. SPA is a preventive measure, designed to keep safety intact when a team adapts a model for a new domain. Both share the same foundation: the claim that safety lives in a small, identifiable subset of weights.

## What is unverified

The paper is a preprint, not peer-reviewed S¹. Every efficacy number comes from the authors' own experiments, and no third-party benchmark or independent replication appears in the evidence. The 70% reduction and the 0.5% degradation limit are specific to the authors' experimental setup, which may not transfer to other model families, datasets, or deployment conditions. The terms "under-aligned" and "aligned" are the authors' definitions, not standardised across the field.

SafeAdamW, the optimizer SPA relies on, has not been adopted or tested outside this study S¹.

The GitHub codebase, published under the ZJU-LLM-Safety organisation, carries an ACL-2026 tag and describes an "ESI framework" for locating safety-critical weights, alongside the same SET and SPA tuning methods P³. It had 13 stars and one fork at the time of writing. The repo covers the LLM-only version of the approach. The arXiv preprint extends the work to multimodal models. The framework name differs between the repo (ESI) and the preprint (MSI and NC-MSI), which may reflect an evolution of the method between submissions.

## Who would use this first

The most immediate audience is teams working with open-weight models, where parameter-level access is possible. A company fine-tuning Llama or Mistral for a specialised domain like legal document analysis or medical triage could use SPA to freeze safety-critical weights during task training. That would reduce the risk that the adapted model starts producing harmful outputs. The same team could use SET to repair a model that has already been jailbroken or had its safety training stripped.

The approach is less applicable to teams using closed models through APIs, where internal parameters are not accessible. For those teams, safety still depends on the provider's alignment work and external filters, the kind of shared safety metric that [OpenAI proposed in November](https://www.notatechguy.com/openai-publishes-perplexity-scores-proposes-shared-ai-safety-metric/) rather than parameter-level intervention.

The question for any team considering this: does the 1% figure hold on your model and your data? The authors' code is public, so the first check is to run NC-MSI on your own model, identify the safety-critical parameters it flags, and test whether SET or SPA produces the same safety gains on your workload. If the parameter distribution looks different, the method may need recalibration before it is trustworthy.

The next checkpoint is whether the work appears in the ACL 2026 proceedings, which would signal peer review and wider uptake. The arXiv preprint is dated 3 December 2026 S¹.

---

*Sources: [S1 — Safety-Critical Parameters in LLMs and MLLMs: Identification, Characte](https://arxiv.org/abs/2612.05693v1?ref=notatechguy.com) · [P2 — Safety-Critical Parameters in LLMs and MLLMs: Identification, Characte](https://arxiv.org/abs/2612.05693?ref=notatechguy.com) · [P3 — ZJU-LLM-Safety/SafeWeights-ACL](https://github.com/ZJU-LLM-Safety/SafeWeights-ACL?ref=notatechguy.com) · [P4 — Safety-Critical Parameters in LLMs and MLLMs: Identification, Characte](https://arxiv.org/html/2612.05693?ref=notatechguy.com) · [P5 — stanfordnlp/pyvene](https://github.com/stanfordnlp/pyvene/?ref=notatechguy.com)*

## Related reading

- [LLMs as numerical optimizers: close answers, broken rules](https://www.notatechguy.com/llms-as-numerical-optimizers-close-answers-broken-rules/) — our technology desk, 2026-10-31
- [OpenAI publishes perplexity scores, proposes shared AI safety metric](https://www.notatechguy.com/openai-publishes-perplexity-scores-proposes-shared-ai-safety-metric/) — our technology desk, 2026-11-22
- [AI safety fails in multi-turn chats, ShallowDefend flips the weakness](https://www.notatechguy.com/ai-safety-fails-in-multi-turn-chats-shallowdefend-flips-the-weakness/) — our technology desk, 2026-10-30