Anúncio

SRExpert

Pare de alternar entre 6 ferramentas de Kubernetes.

Monitoramento, alertas, segurança, deploys Helm e operações com IA numa só plataforma.

Testar 30 dias grátis

Does the Unsafe Gradient Survive a Conversation? On the Fragility of Gradient-Based Jailbreak Detection in Multi-Turn Dialogue

arXiv AI Papersen

2mês

Idade

Publicado
Coletado

Safety-aligned language models are commonly deployed as multi-turn assistants, which lets adversaries spread unsafe intent across several user turns instead of a single prompt. Gradient-based jailbreak detectors such as GradSafe were developed for single prompts: they score an input by the alignment between its induced gradient and a fixed unsafe reference direction, and their effectiveness in multi-turn dialogue remains unclear. We conduct a controlled evaluation of gradient-based jailbreak detection in multi-turn settings. We extend GradSafe with a Context Window Scanner that applies the detector to fixed-size windows of user turns and uses the maximum window score as the conversation-level score. We evaluate different window sizes, attack families, benign conversation distributions, and target models. The results differ sharply between synthetic and realistic benign settings. Against synthetic benign conversations, the detector achieves an ROC-AUC of 0.98 on human-authored multi-turn jailbreaks. On WildChat benign conversations, ROC-AUC drops to 0.76, and a threshold calibrated on synthetic data flags more than 90% of benign conversations as unsafe. Under realistic benign distributions, single-turn windows give the highest separability, whereas longer windows and accumulated contexts reduce performance. The detector is also sensitive to the attack-generation method and target model: successful Crescendo attacks receive scores comparable to or lower than benign conversations, and Qwen2.5-7B-Instruct yields near-random separability with a different optimal window size. These findings show that gradient-based signals can support multi-turn jailbreak detection, but reliable deployment requires calibration on realistic benign conversations, short-window scoring, length-aware thresholds, and evaluation across attack types and model architectures.

Autores

Omar Sheta, Rinku Deuja, Hadi Masoudi, Minghong Fang

Categorias

  • cs.CR
  • cs.AI
  • cs.IR
  • cs.LG
Leia o artigo completo em arxiv.org

O overfeed.news indexa e aponta. Publicamos um trecho curto — o artigo completo fica em arXiv AI Papers.

Entre para seguir esta fonte
arXiv AI Papers

EgoCo: From Egocentric Perception to Object-Centric Collaborative Carrying

Two humanoids carrying a long object through unfamiliar rooms must navigate narrow passages, coordinate their motions, and maintain stable support. Existing methods typically rely on external tracking or prescribed motion guidance. We propose EgoCo, a hierarchical framework that organizes navigation and coordination around the shared object using onboard LiDAR, proprioception, and inter-robot communication. A situation-centric planner selects object waypoints from egocentric perception through privileged imitation and reinforcement learning, without requiring a prior map or route. For coordination, Kinematic-Consensus RL combines object-motion proposals and uses rigid-body kinematics to derive compatible robot commands, with learned corrections for slippage and tracking errors. A low-level controller trained for carrying executes these commands while maintaining balance and steady load support. Experiments on 2,000 simulated routes across ten multi-room layouts, together with real-world deployment on two Unitree G1 humanoids, demonstrate the effectiveness of EgoCo without external tracking.

en
arXiv AI Papers

Grounded Policy Learning for Computer Use Agents

Multi-modal large language models have given rise to computer use agents (CUAs) that perceive screenshots and operate real desktop applications over long horizons. However, these agents frequently take actions that are plausible for the task at hand but not grounded in the given screen. We attribute this behavior to imitation learning on human demonstrations, in which nearly every action has its intended effect. The agent can therefore predict the next action from the instruction and its previous actions without reading the current screen. To address this, we introduce Grounded Policy Learning (GPL), a simple, yet effective reinforcement learning framework that rewards a CUA for actions that match the current screen rather than for actions that are merely plausible for the given task. Specifically, to prevent the agent from earning this reward without reading the screen, GPL first constructs counterfactual state pairs and then trains the agent using the pairs. Each pair keeps the instruction and previous actions the same and contrasts a screenshot and the screen description that the agent writes before acting with a realistic variant. The variant replaces either one sentence of the description with a sentence that describes the previous or next screen, or one interface element in the screenshot with a similar element from another screenshot. We also introduce a new benchmark called CUASense, whose screen sensitivity index measures how much the actions of a CUA change when only the current screenshot is edited. With only 1K AgentNet demonstrations, GPL improves the OSWorld-Verified success rate from 37.6% to 48.0% on Qwen3.5-9B and from 63.6% to 68.3% on UI-Venus-2-9B, while increasing screen sensitivity index from 54.7 to 63.0 on Qwen3.5-9B.

en
arXiv AI Papers

FLIP: Fast and Accurate Global Lipschitz Estimation for Large Feedforward Networks

The Lipschitz constant of neural networks is widely used in robustness, control, generalization bounds, and training stability. As modern neural networks continue to scale, existing methods for Lipschitz estimation are either very time-consuming or overly loose. In this work, we focus on both fast and accurate Lipschitz estimation for large feedforward neural networks. We first reformulate the well-known semidefinite program (SDP) framework into an explicit recursive form, and introduce a key theoretical result, bound backpropagation: the SDP objective has upper and lower bounds that can be propagated backward along the recursive computation graph and depend only on partial variables. Leveraging this property, we decompose the original SDP into a sequence of small subproblems, each minimizing a combination of upper and lower bounds over partial variables. We prove that each subproblem is one-dimensional and convex, enabling fast solution via the secant method. Finally, we present the full FLIP algorithm and its complexity, yielding fast and tight Lipschitz estimation for large feedforward networks. Experiments on both randomly generated and trained networks show that FLIP improves speed and tightness by several orders of magnitude over prior methods, giving the tightest Lipschitz estimates for 100M-parameter networks in seconds. Our code is available at: https://github.com/hongboc616/FLIP.

en
arXiv AI Papers

Double Conditioning Architecture: A Hybrid Neural Approach for Refining Multi-Horizon Demand Forecasts

Multi-horizon demand forecasting presents challenges related to temporal accuracy and cumulative demand volume estimation, even when forecasts are already available. This study proposes Double Conditioning Architecture (DCA), a hybrid and modular neural architecture designed to refine existing forecasts through double conditioning, volumetric adjustment, and deviation control relative to an external predictive signal. The evaluation involved nine heterogeneous datasets, three temporal partitions, and a twelve-period forecasting horizon, considering three neural configurations: DNN- LSTM-DCA, TCN-Transformer-DCA, and TSMixer-TimeXer-DCA. The initial predictive signal was obtained using Overall Weighted Average (OWA) selection. Performance was assessed using Global Relative Accuracy (GRA), an indicator of agreement between cumulative forecasted and observed demand volumes, together with WAPE and sMAPE. The results showed consolidated descriptive improvements in GRA and statistically significant aggregate reductions in WAPE and sMAPE, although performance varied across demand characteristics. These findings support the potential of DCA as an extensible architecture for refining multi-horizon forecasts. Its design allows predictive signals generated by different forecasting methods to be incorporated through conditioned neural mechanisms and controlled volumetric corrections.

en