Appearance
Why multi-turn jailbreaks keep working
A model that refuses "how do I build X" in one turn will often answer the same question spread across six. The request gets broken into pieces that each look harmless, and by the time the payload lands, the conversation has already established a cooperative frame.
ShallowDefend's diagnosis is mechanistic. Safety behavior concentrates in the first few output tokens. The model commits to a trajectory almost immediately, and everything after that is autocomplete on a decision it already made. Alignment training reinforces the surface form of the refusal without ever giving the model an explicit safety judgment to learn. So it learns the shape of a refusal, not the reasoning behind one.
That also explains why existing defenses inherit the weakness. If your training signal is "the reply starts with a refusal phrase," you've taught a prefix. Nothing in the loss function says the model evaluated intent.
The paper treats shallowness as an asset. If a short span determines where the response goes, that span is the cheapest place to intervene. The defender can get there first.
Give the model a decision to make
Assess → Decide → Respond. The model reads intent across the whole conversation, emits a parseable safety label, and only then generates a reply conditioned on that label. The label is a token span, which means it can be checked by a rule instead of a judge.
The reward design is the part I'd steal for other work. Because the training conversation has a known nature, you can check the committed label against ground truth you already have. No judge model, no human annotation, no reward hacking through a proxy. The same format also accepts an LLM-as-judge reward over a graded decision space with safe redirection, which matters if binary refuse/answer is too blunt for your product.
Two model families and fourteen benchmarks is a wider evaluation than most safety papers ship. In the controlled comparison the defender holds the strongest multi-turn safety while keeping utility flat. The cost lands on helpfulness, which is what you'd expect: a model that commits to a label early will occasionally be curt with a benign edge case. If you deploy this, plan for that. The graded decision space is the mitigation, and it's the right default.
Quick Take: All four papers converge on the same lesson. Safety and provenance signals have to be built into the generation process, because anything appended afterward gets diluted, bypassed, or stripped by the serving stack.
English-only safety evals are lying to you
The template pipeline behind MSafeTemp is simple enough for one sentence. Take a harmful prompt, strip the specific entities, keep the frame, translate the frame into the target language, then refill the slots with entities that are plausible in that locale, both harmful and benign. Do it at scale and you get a corpus of 60 languages.
The finding that matters for anyone shipping a multilingual product: English refusal rates are not a proxy for safety. The paper reports attacks that fail cleanly in English and succeed once translated. Localized variants, with local names, institutions, and slang, expose failures that translation alone misses because a translated prompt still reads like an English prompt wearing a costume.
Sixty languages is more than most teams will ever evaluate on, and that's fine. The pipeline is the reusable part. If you support eight languages, run the extraction, translation, and slot-fill loop for those eight with native speakers validating the entities. That is a week of work and it will find things your English red team never touches.
| Work | Failure it targets | Mechanism | What it costs you |
|---|---|---|---|
| ShallowDefend | Multi-turn jailbreaks | Explicit label committed before generation, RL at the payload turn | Modest helpfulness drop |
| MSafeTemp | Multilingual alignment gap | Template extraction, translation, localized slot filling across 60 languages | Native-speaker validation per locale |
| TextSeal2 | Watermark loss under speculative decoding | Virtual key via Gaussian copula, extra exponential race on draft leftovers | Key management across deployments |
| TSC / RMC | Diffusion training-set membership | Calibrate across diffusion time (TSC) or training time (RMC) | RMC needs an earlier checkpoint |
A watermark that survives your serving stack
Watermarking LLM output usually means nudging logits at sampling time toward a keyed pseudo-random set. It works until someone turns on speculative decoding. Then the draft model proposes tokens, the target model rejects some, and the replacements never saw your key.
The predecessor scheme, TextSeal, routes each token to one of two keys with a coin flip. That restores output diversity, which the plain Gumbel-max approach damages. The detector then averages scores from both keys without knowing which one was used. Half the signal is noise by construction.
TextSeal2 merges the keys instead. Two or more keys collapse into a single virtual key, coupled to fresh noise through AutoMark's Gaussian copula. Merging any number of keys, including publicly shared ones, doesn't dilute detection.
Speculative decoding gets one more exponential race. The draft races leave leftovers, the verifier runs an additional keyed race on them, and by memorylessness that race reproduces block verification exactly. The output distribution follows the target model. Acceptance rate is unchanged, so you don't pay for the watermark in throughput, and the paper reports no measurable added latency.
At equal output diversity, TextSeal2 detects 8 to 22 percentage points more 100-token answers than TextSeal at a 10⁻³ false-positive rate, and matches textGrain without any post-logits optimization. Under speculative decoding it detects 18 and 22 percentage points more 200-token answers than TextSeal and textGrain respectively, at the same acceptance rate.
In serving terms: a 10⁻³ false-positive rate is one wrongful accusation per thousand flagged documents, which is the threshold where a watermark can go into a contract. An 18-point swing in detection at 200 tokens is the gap between an audit that holds up and one that hands the other side plausible deniability.
A watermark that breaks under your serving stack is a watermark you don't have.
Is this image memorized, or just easy?
Membership inference on diffusion models asks whether a specific image was in the training set. The default attack scores an image by reconstruction loss and calls low loss a member. That fails for a boring reason. A clean, simple, well-lit photo reconstructs easily whether or not the model ever saw it, so it can score lower than a genuinely memorized image that happens to be visually busy.
Difficulty calibration pulls those two things apart. The paper does it along two axes of time.
RMC compares a fine-tuned model's loss against an earlier checkpoint. Whatever the base model already handled gets subtracted out, so the score reflects what the fine-tune newly memorized. It gives near-perfect auditing and doesn't need captions. The catch is that you need the earlier checkpoint, which you usually don't have for a model someone else trained.
TSC needs only the model you're auditing. An image's difficulty persists across noise levels while memorization is localized in time. Compare the loss at a target timestep against neighboring timesteps from the same model and the image's intrinsic difficulty cancels, leaving the memorization signal.
TSC also generalizes across x-, v-, and ε-prediction parameterizations, which most existing attacks don't. If you've ever re-tuned a membership attack for a v-prediction model and watched the numbers dissolve, that generalization is the useful part. The code is at github.com/MichaelJoseph777/TSC.
60 languages in MSafeTemp. 14 benchmarks across two model families for ShallowDefend. 8 to 22 percentage points more 100-token answers detected by TextSeal2 at a 10⁻³ false-positive rate. 18 and 22 percentage points more 200-token answers under speculative decoding, at unchanged acceptance rate.
What trips people up
Supervising the refusal string instead of the decision. If your training signal is "the response opens with 'I can't help with that,'" you've taught a prefix and nothing else. ShallowDefend's contribution is that the label has to be a span you can parse and reward. Build the reward around the judgment, not the tone.
Red-teaming multilingual safety by machine-translating the English set. Translation gets you partway, and the MSafeTemp results show exactly where it stops. Localized variants fail in ways translations don't, because the translated prompt still carries English framing. Reserve budget for native speakers to fill the slots.
Watermarking after sampling. Post-hoc logits surgery costs diversity and latency, and it disappears the moment you enable speculative decoding. If your serving stack uses drafts, pick a scheme with race-based verification or accept that your detector's signal degrades silently.
Flagging membership on raw reconstruction loss. Easy images outrank hard training images, so your false-positive rate climbs with image simplicity, not with anything about training data. Calibrate against a checkpoint or against neighboring timesteps before you publish an audit.
Assuming a membership attack transfers across parameterizations. Most were tuned for ε-prediction and degrade on v-prediction. Re-validate on the architecture you're actually auditing, or use a method that was built to generalize.
One Thing to Remember
Every result here says the same thing about where to put the control point. The safety label belongs before the response, in the first few tokens where the model has already committed anyway. The watermark belongs inside the sampling race, not after it. The membership signal belongs in a difference across checkpoints or timesteps, not in an absolute loss. In each case the useful signal is a comparison or a commitment made early, and the failure mode is measuring an absolute quantity at the end.
The Bottom Line
- If you're shipping a chat product with tool access, assume your single-turn refusal rate overstates your safety. Build a multi-turn red team that splits each harmful request across four to six benign turns, and consider a decision-commit architecture so the model forms a judgment instead of reciting a policy.
- If you serve users outside your training language mix, don't sign off on safety from English evals. Run the template pipeline for every language you support, validate the entities with native speakers, and treat translated red-team sets as a floor rather than a ceiling.
- If you need output provenance and you run speculative decoding, pick a watermark designed for it. A scheme that only works on vanilla sampling will fail silently in production, and 18 to 22 points of detection is not a gap you can tune your way out of after the fact.