- Rating
- 4
- Clarity
- 3
- Confidence
- 3
- Originality
- 3
- Quality
- 3
- Significance
- 3
Read review
Summary
This paper introduces WURI, a lightweight prefix-level monitoring framework designed to detect safety hazards in multi-step LLM agent trajectories. By utilizing a frozen text encoder, an atom-adapted trajectory representation, and a geometric prototype-margin rule, WURI achieves efficient early risk detection without invoking external LLM-as-judge calls or accessing agent weights. The approach demonstrates a 100x+ wall-clock speedup and solid detection performance across five generalization scenarios.
Strengths and weaknesses
This paper introduces WURI, a lightweight prefix-level monitoring framework that demonstrates strong early-detection capabilities via geometric matching over prefix representations across various generalization settings. The overall framework design is clear and well-justified, and the empirical evaluation is exceptionally comprehensive. However, WURI is primarily framed as a safety hazard monitor, leaving its performance in active intervention mechanisms unclarified. Additionally, the generalizability and representativeness of the trained prototype vectors remain fully unproven. Lastly, the framework's effectiveness against specific adversarial scenarios—such as stealthy attacks where individual steps present low risk but cumulatively pose a severe hazard—requires further investigation.
Questions
- The paper primarily presents WURI as a lightweight monitoring system. However, the ultimate goal of early detection lies in real-time, active mitigation. Can the WURI system perform timely, early interventions based on its monitoring signals? If so, how should the intervention thresholds be systematically determined and adjusted?
- WURI relies on learned prototype vectors and margin rules for geometric matching in the embedding space. Given the vast diversity of agent behavior spaces and the rapid evolution of attack vectors, how do the authors guarantee that these fixed prototypes can sufficiently represent complex "harmful" vs. "benign" trajectory distributions? Furthermore, does the representativeness of these fixed prototypes degrade when facing out-of-distribution (OOD) attacks that severely deviate from the training distribution?
- In the last paragraph of Section 2 (Problem Setup), the usage of the term "positive" introduces semantic ambiguity. In a security and defense context, "positive" can easily confuse readers as to whether it refers to "harmful (a positive detection/sample in safety)" or "benign (positive/good behavior in literal terms)". To avoid misleading the readers and enhance scientific rigor, it is highly recommended to replace this with explicit terms such as harmful / malicious or benign.
- In real-world adversarial settings, attackers frequently employ "slicing" tactics, decomposing a high-risk malicious goal into multiple atomic steps that appear entirely harmless or low-risk in isolation (e.g., individual steps look like routine database queries, but collectively constitute data exfiltration). Since WURI relies on single-step encoding and adaptive fusion, how does the system effectively counter this stealthy "low individual risk, high cumulative hazard" effect? As the trajectory length extends, is there a risk that the critical malicious intent gets diluted by dominant benign prefix representations, thereby leading to false negatives (missed detections)?
Limitations
The same as the question part
Paper formatting concerns
No
Final justification
I appreciate the authors’ careful responses to my comments, as well as the additional clarifications and discussions provided. After reconsidering my review in light of the rebuttal and the other reviewers’ comments, I maintain my original score.
We thank the reviewer for recognizing WURI’s practical relevance and for the thoughtful questions on intervention, OOD transfer, terminology, and slicing.Below, we address these points in turn with targeted clarifications, controlled analyses, and additional experiments.
Question 1: How can WURI support active intervention, and how are operating thresholds selected systematically?
Direct answer. WURI supports online intervention by updating the max-prefix risk score after every observed interaction step and triggering an alarm once that score exceeds a threshold selected exclusively from benign calibration trajectories.
Experimental logic. ToolBench five-fold cross-fitting measures calibration stability, while source-native ATBench calibration measures LOHO detection at the same FPR targets.
0.01030.0530 [0.0462, 0.0615]0.0974For source-native calibration, we use five independently initialized WURI models and five family-grouped ATBench folds. Training, checkpoint validation, threshold calibration, and held-out benign evaluation use separate trajectory families.
0.0184±0.0037 [0.0114, 0.0684]0.5953±0.0395 [0.5106, 0.8059]0.0632±0.0039 [0.0421, 0.1070]0.8506±0.0287 [0.6741, 0.9400]0.1009±0.0062 [0.0772, 0.1439]0.9200±0.0122 [0.8118, 0.9906]Result. Cross-fitting tracks all three target FPRs; at the 5% target, source-native calibration gives FPR
0.0632and LOHO TPR0.8506.Question 2: Do the fixed harmful and benign prototypes remain informative under OOD shift?
Direct answer. Yes. With the released checkpoint, unchanged harmful and benign prototypes, and the same max-prefix readout, WURI retains useful prefix-level separation across all four shifted evaluation settings.
Experimental logic. We freeze the released monitor and change only the evaluation distribution.
0.9739190.9443470.7236970.7457170.9120250.9057840.74680.7602Targeted controls. The same fixed monitor obtains
0.912025 [0.899463, 0.923707]on SDB-ZH with a translated Chinese benign reference and0.905784 [0.891215, 0.919350]after additional length+step+format matching. Under conservative prefix controls, LOHO reaches matched AUDC0.7468, while AgentHarm reaches strict common-prefix AUDC0.7602.Result. The unchanged prototype geometry achieves AUDC
0.723697-0.973919across the four shifted settings. High SDB separation persists under same-language and structural controls, while LOHO and AgentHarm retain AUDC above0.74under their targeted controlled evaluations.Question 3: What exactly does “positive trajectory” or “positive prefix” mean?
Direct answer. We replace “positive prefix” with “harmful-trajectory-associated prefix.” This denotes a prefix belonging to a harmful trajectory; mt and r<=k denote the step margin and prefix score.
Result. Labels and model scores are defined separately.
Question 4: How does WURI behave when harmful intent is sliced across steps or surrounded by benign content?
Direct answer. WURI can incorporate risk evidence that emerges in later steps, although splitting the same content into smaller observations causes a modest reduction in AUDC. Benign prefixes can delay detection within a fixed horizon, but once informative content has appeared, max-prefix preserves the strongest observed signal.
Question 4a: Can WURI use harmful evidence that appears only gradually or in later steps?
Direct answer. Across the five evaluation settings, four show higher final-prefix AUC than step-1 AUC. The equal-setting macro AUC increases from
0.781393at step 1 to0.846403at step 2 and0.894393at the final prefix.Experimental logic. We freeze the released checkpoint and max-prefix readout, compute AUC independently within each setting at step 1, step 2, and the pre-specified final horizon, and average the five setting-level results with equal weight. We additionally evaluate an ATBench subset whose injection onset is defined independently of WURI scores.
4/50.781393 → 0.846403 → 0.8943930.113000 [0.094153, 0.132289]0.157646 [0.094369, 0.227724]Result. Final-prefix AUC is higher in four of the five settings, and the positive macro trend is reproduced across five training seeds. The independently marked onset subset provides complementary evidence that later observations can add prototype-aligned risk evidence. AgentHarm is the one setting in which aggregate ranking decreases over later prefixes.
Question 4b: What happens when the same harmful content is split into smaller observations?
Experimental logic. We losslessly split unchanged source content into smaller observation units.
-0.059316 [-0.065407, -0.053465]-0.043848 [-0.059829, -0.029702]-0.016083 [-0.021453, -0.011406]Result. AUDC changes by
0.016–0.059across SDB-EN, LOHO, and AgentHarm.Question 4c: Can benign prefixes dilute an already observed harmful signal?
Direct answer. Once informative content has been observed, benign prefixes do not reduce the stored max-prefix score.
Experimental logic. We prepend three benign observations and compare the finite-horizon and complete-trajectory scores.
-0.067676 [-0.076500, -0.058562]-0.147038 [-0.179290, -0.112484]-0.081010 [-0.082048, -0.079743]Result. Benign prefixes delay when informative content enters a fixed horizon. Across
2,966eligible harmful trajectories, the maximum per-trajectory change in the complete-trajectory max score is4.77e-7, within floating-point precision.