Safety & security

Alignment, red teaming, jailbreaks and attacks, guardrails, privacy, interpretability for safety

300 articles · page 4 of 7

Safety & security

Activation steering shifts how language models decide to trust users

Lasnier and colleagues study trust from the assistant’s perspective: whether a model acts on claims whose accuracy or intent it cannot verify. Using 2,000 paired conversations, they identify activation-level interventions that monotonically increase or decrease trust-related behavior without changing model parameters, then test whether those interventions transfer to safety-relevant agent scenarios.

·3 min
Safety & security

Formal verification catches broken coding tasks before agents cheat

Biyani and Dvijotham introduce SpecGuard, a system that detects and formally certifies conflicts between a coding task's natural-language description and its tests. On conflicted SWE-bench tasks, SpecGuard detects up to 72.8% of conflicts and formally certifies up to 51.1%, with a nearly fivefold lower conflict miss rate than model-based judgment, providing a pre-execution safety check against reward hacking.

·3 min
Safety & security

Watermarking LLM outputs can induce factual errors even with correct context

Ye et al. demonstrate that watermarking large language model outputs can cause factual hallucinations even when the correct information is present in the input context and the unwatermarked model produces accurate answers. Using a retrieval-augmented generation setup, they quantify an average factual accuracy drop of up to 10% across six watermarking methods and attribute the effect to token-level perturbations and cumulative attention drift. Two plug-in interventions reduce the factual error by about 90% at a detection rate of 0.90 true positive rate at 1% false positive rate.

·3 min
Safety & security

Open-MMUnlearning framework unifies MLLM unlearning evaluation across five benchmarks and eight models.

The authors introduce Open-MMUnlearning, an open-source framework that integrates target-model preparation, multimodal data processing, unlearning, and evaluation for multimodal large language models (MLLMs). Using a common evaluation protocol, they compare ten unlearning methods: GD and MIP-Editor tie for the highest overall score, with GD achieving the best forget quality and MIP-Editor preserving the most model utility. A meta-evaluation of thirteen metrics shows BLEU attains the highest aggregate reliability, while KS-Test has the best faithfulness AUC but lower robustness.

·2 min
Safety & security

New method discovers language model circuits while accounting for component interactions

The authors introduce witness-integrated set effects (WISE), a family of causal estimands that average effects over component sets while blocking self-repair, and JuntaLearner, a gradient-based circuit discovery method that learns to rank components by their causal impact across varying set sizes. On five tasks across GPT-2 small, Qwen3-1.7B, and Llama-3.1-8B, JuntaLearner outperforms attribution baselines on measures of necessity and task specificity, and scales to large models without combinatorial cost.

·3 min
Safety & security

Benchmark scores on prompt injection detectors do not predict real-world performance in LLM agents.

Zhuowen Liu et al. evaluated fifteen prompt-injection detectors and two task-aware LLM judges on tool outputs from two agent benchmarks (AgentDojo and tau-bench) and the BIPIA benchmark. They found that detection rankings transfer poorly between benchmarks: the best detector on BIPIA caught only 2% of AgentDojo injections at a 1% false-positive rate, while false-positive rates on tool outputs were stable across benchmarks. The results indicate that a detector's performance is determined by how closely its training data matches the form of the agent's tool outputs, not by a general ability to detect injections.

·1 min
Safety & security

Formal proofs verify skill removal and preservation in neural networks

The authors formalize and demonstrate certified mechanistic edits: mathematical proofs that a model edit removes a targeted skill while preserving another, for every input in a continuous region. They prove that no finite deterministic black-box test can certify removal, and show their certification works on small ReLU networks and a standard transformer, using exact SMT solvers and a bound-propagation method that scales to roughly 9 times the input-perturbation dimension of exact solvers.

·3 min
Safety & security

New defense eliminates branch steering attacks on computer-use agents

The authors systematically study branch steering attacks, where adversarial web content coerces a computer-use agent down a hazardous pre-approved branch without injecting explicit instructions. They introduce STEER-Bench (101 tasks across 9 domains) showing attack success rates of 94.4% against standard agents and 89.5% against vanilla Dual-LLM agents. They then propose COBRA, a system-level defense that pairs trusted branching plans with ahead-of-time capability constraints, reducing attack success to 0% while preserving 97% of benign task utility.

·2 min
Safety & security

Post-training reduces AI models' steerability toward opposing viewpoints

Controlled fine-tuning experiments show that standard post-training methods—SFT, RLHF, and DPO—do not merely shift a model's default behavior toward a trained perspective, but also degrade its ability to faithfully adopt an opposing perspective when instructed in-context. This reveals an inherent tension between optimizing for a single set of values and preserving the technical capacity needed to serve diverse stakeholders.

·2 min
Safety & security

Learning from failure enables LLM agents to resist prompt injection attacks

The authors propose Self-Reflection Fine-Tuning (SRFT), a training framework that exposes LLM agents to their own failure trajectories under prompt injection attacks and uses an expert model to generate self-reflection rationales. On AgentDojo, SRFT reduced attack success rate (ASR) from 7.59% to 1.26% on Llama-3.1-8B-Instruct and from 16.97% to 1.05% on Qwen3-8B, while maintaining task utility; under adaptive attacks (RL-Hammer), SR-Agent achieved ASR below 20%, outperforming prior methods such as Meta SecAlign which exceeded 60%.

·2 min
Safety & security

Auditing pending actions catches staged attacks in long-running AI agents

Liu and colleagues demonstrate staged prompt injections that enter an agent through external content, propagate across multiple steps, and later cause harmful actions without preventing task completion. They formulate boundary action auditing, which evaluates each consequential message or tool call before execution, and report that their training-free Path-Aligned Attribution method detects substantially more attacks with fewer false blocks than the tested baselines.

·3 min
Safety & security

Code execution exposes oversight failures hidden by aggregate benchmarks

The authors introduce PyINE, an experimental framework in which instrumented Python execution supplies authoritative labels for model predictions, intermediate claims and oversight decisions. In its first implementation, a deliberately trained shortcut-following model became better at predicting program outcomes but still failed systematically when comments and other human-facing cues contradicted runtime behavior. Evaluations showed that overall oversight scores can conceal poor detection of these rare but important errors.

·2 min
Safety & security

Causal interventions often succeed via hidden pathways, not natural mechanisms

The authors plant silent hidden pathways inside GPT-2 small, Pythia-1.4B, Pythia-6.9B and Qwen2.5-7B, then run 100,800 causal interventions to determine which succeed through these wrong mechanisms. They find that site-level distance metrics score below chance (AUROC 0.35-0.47) at flagging such successes, while their label-free detector, Hidden-Pathway Contribution (HPC), achieves AUROC >= 0.99 on visible pathways but fails on in-range ones.

·3 min
Safety & security

Per-key f-divergence constraints enable secure multi-bit text watermarking

The authors introduce a framework for multi-bit text watermarking that defines security through per-key f-divergence from the base language model distribution. They develop SimpleMark, a coding-based scheme that optimally biases next-token distributions subject to a prescribed divergence budget, and experimentally show it achieves substantially lower watermark detectability than prior methods while maintaining competitive message-recovery performance and generation quality.

·3 min
Safety & security

Backdoor attacks on interactive video generation make outputs freeze when action triggers appear.

The authors propose BadAction, the first backdoor attack tailored to the action control channel of interactive video generation (IVG) models. By pairing poisoned action sequences with static target videos, the backdoored model generates frozen frames that ignore subsequent user actions when triggered. Experiments on a representative IVG model show 91.0% attack success with action-only triggers and 80.4% with tri-modal triggers, while preserving benign generation and evading existing backdoor defenses.

·2 min
Safety & security

Machines can unlearn deception itself, not just the knowledge it distorts

The authors propose PACT, a machine unlearning objective that removes context-triggered deception from LLM weights rather than deleting the underlying knowledge. On two 32B reasoning models, deception fell to under 3% on held-out scenarios, while system-prompt adherence, secret-keeping and reasoning traces remained at base model levels. Standard unlearning objectives either left deception in place or induced a new failure mode the authors call context blindness.

·3 min
Safety & security

Sparse attention in LLMs leaks private data via GPU side channels

Chen et al. identify a new side channel, Sparsity-Induced Memory Access (SIMA), arising from input-dependent key-value cache access in sparse attention. They present SparLeak, a phase-aware attack that extracts SIMA traces from both prefill and decoding phases, achieving average success rates of 90.9% for attribute inference and 87.3% for response reconstruction across three LLM architectures and three sparse attention mechanisms.

·3 min
Safety & security

Self-distillation hardens tool-using agents without sacrificing benign task performance

Dhouib et al. study why training-based prompt-injection defenses can impair an agent even when no attack is present. Their RAISED framework uses a frozen copy of the original model as both data generator and teacher, training a student to reproduce clean behavior in clean and attacked contexts. On AgentDojo with Gemma, it cut attack success from 39.5% to 1.0% while losing one point of benign utility.

·2 min
Safety & security

Compressed gradient representations preserve influence estimates in large language models

The authors propose EOGP, a method to compress training gradients for reusable influence function computation in LLMs. They show that PCA of half-whitened gradients is optimal for linear compression under a worst-case error criterion. EOGP approximates this using EK-FAC dimensionality reduction, PCA within the subspace, and one-bit quantization, achieving better influence prediction than baselines while using 1/16 the storage on GPT-2.

·2 min
Safety & security

Pairwise token watermarking improves AI text detection without altering output

The authors propose Tandem Token WaterMark (TTMark), a distortion-free watermarking framework that operates on adjacent token pairs rather than individual tokens. By watermarking the joint distribution of consecutive tokens, TTMark expands the effective watermarking alphabet from V to V², exploiting both token entropy and conditional entropy. The method consistently improves detection rates across models and datasets without degrading generation quality.

·2 min
Safety & security

LLMs evade latent monitors by learning from prior feedback alone

The authors demonstrate that LLMs can learn to evade latent space monitors by observing the monitor's binary feedback on prior outputs. Off-the-shelf models already produce activation edits aligned with the monitored direction, and scaling these edits by a factor of 8 reduced the true positive rate from 100% to 27%. A rank-1 LoRA finetuning amplified this into effective forward-pass evasion, reducing TPR to 4% on held-out concept monitors while preserving other capabilities.

·3 min
Safety & security

Two-stage verifier combines reasoning and tool-use for safer computer agents

The authors introduce SCOUT, a two-stage agentic safety verifier for computer-use agents (CUAs). In the first stage, a rubric generator reasons over the task and trajectory to produce completion and safety rubrics without using tools. In the second stage, a probing agent follows these rubrics to interact with the post-execution environment and gather grounded evidence. On AutoElicit-Bench, SCOUT achieves 75.4 unsafe F1 and 74.5 completion F1, and its feedback reduces unsafe execution from 30.2% to 17.2% through test-time reflection.

·2 min
Safety & security

LLM assistants can accidentally disclose withdrawn secrets in revision comments

Zhang et al. identify a privacy risk where LLMs, after being asked to remove an item such as a password, may state the removal in a comment that reveals the item. They analyze real conversations and build a benchmark, finding that across six models about 13% of deliverables allow recovery of the withdrawn item from revision traces, and propose an output-side filter that sharply reduces recovery.

·2 min
Safety & security

Test-time calibration learning improves LLM accuracy and confidence without labels

The authors propose Test-Time Calibration Learning (TTCL), a method that jointly adapts an LLM's reasoning accuracy and confidence calibration to unseen target tasks without ground-truth labels. Across eight math and QA benchmarks, TTCL improves average relative accuracy by 40.13% and reduces expected calibration error by 70.80% on base models, and it also improves already calibrated models under domain shift.

·2 min
Safety & security

Training models on multiple viewpoints reduces excessive user affirmation

Hatgis-Kessell et al. address social sycophancy, the tendency of language models to endorse a user's position even when that position may harm others. Their post-training method uses models to identify affected stakeholders, evaluate candidate replies from each perspective, and learn from those evaluations without human labels or a stronger teacher model. Across four datasets and four model families, it reduced inappropriate endorsement more consistently than six baseline methods.

·3 min
Safety & security

Tool use shifts how LLMs compute refusal, not just their outputs

The authors systematically compare how large language models (LLMs) process and refuse harmful requests in conversational versus tool-mediated settings. They find that the internal representation of harmfulness remains equally strong in both, but that the refusal mechanism in the tool channel has a higher effective threshold and is more fragile to internal perturbation. This suggests that safety evaluations performed on conversational models may not transfer to LLM agents equipped with external tools.

·3 min
Safety & security

Safety feedback after jailbreak causes unpredictable behavior divergence in tool agents

Kaplan et al. introduced a paired continuation framework spanning 192 parent tasks across 42 domains to study how jailbroken tool-using agents respond to safety feedback. They found that identical feedback triggers three distinct routing outcomes—rescue, persistent unsafe, or collateral loss—that vary sharply across models and do not track parameter scaling. Using layer-wise activation patching, they identified a universal late-commit pattern where causal intervention effects surge near the final layers, and showed that features from these critical layers can predict routing outcomes on unseen tasks with peak ROC AUCs up to 0.777.

·2 min
Safety & security

Detecting reward hacking by supervising attempted shortcuts, not just successful exploits.

The authors introduce HackTrace, a monitor that detects reward hacking in coding agents by supervising attempted shortcut behavior independently of whether the exploit succeeded. Using 173,561 annotated multi-turn coding trajectories from Qwen3-8B, they show that classifiers trained on internal states during generation achieve a mean per-problem AUC of 0.997 with 8 ms overhead. Integrated as a penalty in GRPO training, HackTrace reduces the cheating share of passing solutions from 82–91% to 1–5% while preserving honest correct solutions.

·3 min