At a glance
An unsafe behavior can travel through a network rather than reside in one isolated neuron. TraceRouter++ identifies safety-relevant routes and changes how their activations are distributed. The aim is to steer those routes toward safe-reference behavior while limiting the disturbance introduced at the intervention point.
The journal extension adds optimal-transport-based soft realignment to the Discover–Trace–Realign pipeline. It uses tractable coordinate-wise quantile mappings: this aligns selected marginals, rather than solving a general joint transport problem.
- Mean LLaMA3 defense success rate
- 99.5%
- LLMs, MLLMs, and diffusion models
- 3 model families
- Soft activation realignment
- Optimal transport
Research question
Suppressing an isolated feature can leave alternative propagation routes available and can also disturb useful computation. A route-level intervention makes both the location and the form of the modification explicit: where safety-relevant information travels, and how the selected activations should change.
Method
- Discover a sensitive onset layer from attention divergence, then use a sparse autoencoder to isolate interpretable routing features.
- Trace downstream causal influence with feature influence scores, selecting routes supported by intervention evidence.
- Realign the selected activation marginals toward safe-reference marginals with an optimal transport approximation, leaving unselected coordinates unchanged at that intervention point.
Enlarge ↗
The original framework links onset localization, sparse routing features, causal influence tracing, and optimal transport realignment.
Paper, p. 3Evidence
On the reported LLM attack suite, average defense success rates reach 99.5 ± 0.3% for LLaMA3-8B-Instruct and 98.8 ± 0.3% for Mistral-7B-Instruct. The paper also evaluates multimodal language models and diffusion models.
Utility measurements accompany the safety results: Global-MMLU-Lite changes by −0.4 and −0.6 percentage points on the two language models. These empirical trade-offs are distinct from the local guarantee that unselected activation coordinates are preserved.
Enlarge ↗
The table reports defense success rates, including 99.5 ± 0.3% and 98.8 ± 0.3% averages on the two evaluated LLMs.
Paper, p. 8
Enlarge ↗
The ablation compares routing realignment with isolated neuron suppression across language, multimodal, and diffusion settings.
Paper, p. 12Takeaways
The insight is to treat safety control as a problem of shaping information flow. Causal tracing identifies a target for intervention, while distributional realignment provides an alternative to simply deleting the target signal. This connects mechanistic analysis with a more selective control objective.
The boundary is equally informative. Coordinate-wise transport does not generally preserve joint dependencies, and later layers can mix selected and unselected coordinates. Safety and utility therefore remain outcomes to measure, rather than consequences guaranteed by local sparsity alone.
Identifying a harmful route and deciding how to change its activation are complementary parts of safety intervention.
Paper and resources
TraceRouter++: Causal Semantic Routing Realignment via Optimal Transport
Paper contact · cshi0459@uni.sydney.edu.au