atlas

Research map / Large language models / Language, safety and interpretability

Safety Depth in Large Language Models: A Markov Chain Perspective

NeurIPS 2025 · Large language models › Language, safety and interpretability · approach: Safety alignment of LLMs · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Frames autoregressive LLM safety alignment as a Markov chain with refusal states made absorbing via iterative biased transition updates, extends to cyclic group data augmentation and ensembles, and validates with toy chains and small open LLMs judged by Llama 3.2 1B.

Problem

Determining how deep safety alignment should extend (beyond initial output tokens) so harmful content probability is bounded, given that shallow alignment is fragile to jailbreaks and benign fine-tuning.

Approach

Model autoregressive LLM fine-tuning as iterative updates to a Markov transition matrix Q_t = Q_0 + alpha*gamma^t*B, derive conditions under which refusal states become delta-absorbing, extend with cyclic-permutation data augmentation and ensembles with union/average/majority aggregation.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Apply shallow safety alignment instead of no safety alignmentGemma 2B · HEx-PHIsafety score: 0.35 ± 0.05 -> 0.42 ± 0.06Helped
Use deep instead of shallow safety alignmentGemma 2B · HEx-PHIsafety score: 0.42 ± 0.06 -> 0.46 ± 0.05Helped
Use cyclic group augmentation instead of deep safety alignmentGemma 2B · HEx-PHIsafety score: 0.46 ± 0.05 -> 0.61 ± 0.06Helped
Use cyclic group augmentation instead of shallow safety alignmentGemma 2B · HEx-PHIsafety score: 0.42 ± 0.06 -> 0.61 ± 0.06Helped

Surprising findings

Limitations

Experimental setup

Datasets: MaliciousInstruct HEx-PHI

Benchmarks: HEx-PHI

Metrics: safety score

Baselines: shallow alignment deep alignment

Builds on: shallow safety alignment data augmentation Markov chain view of autoregressive LLMs neural tangent kernel

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy