potentialpaper

LPG: Balancing Efficiency and Policy Reasoning in Latent Policy Guardrails

Nanxi Li, Zhengyue Zhao, Chaowei Xiao

NeurIPS 2026

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

TL;DR. The Latent Policy Guardrail (LPG) framework compresses reasoning required for dynamic-policy safety moderation into structural and continuous latent reasoning, achieving the high accuracy and policy-grounding of reasoning at lower latency.

Abstract. Guardrails are a critical safety layer for modern AI systems, but their operating regime is changing. As LLMs are deployed as customized assistants, safety policies are increasingly specified at inference time by users, organizations, or regulatory contexts. This makes safety enforcement fundamentally dynamic: the guardrail should adapt to changing safety policies without retraining. Yet this requirement creates a fundamental tension: faithfully judging complex policy contexts demands reasoning capability, while practical deployment requires low-latency responses.

We introduce Latent Policy Guardrail (LPG), a guardrail framework that learns semantic latent deliberation over dynamic policies. LPG compresses the internal deliberation needed for intent interpretation and policy grounding into continuous states supervised by decision-relevant semantics. At inference time, it generates only a compact verdict anchored to the violated policy clauses, providing clause-level attribution while avoiding the latency of explicit reasoning. Across policy guardrail benchmarks, LPG-4B reaches 84.5% average safety accuracy and 77.9% F1 by compressing deliberation into just 10 latent tokens, outperforming the strongest dynamic baseline while running roughly 11 times faster than Qwen3-4B-Thinking under the single-sample evaluation setup. Code: https://github.com/SaFo-Lab/Latent_Policy_Guard.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

DateVersionSubmitted toPDFEvidence
1 May 2026NeurIPS 2026submittedNeurIPS 2026Accept (poster)reviews ↓[1]PDF[1]
Missing a version?

NeurIPS 2026

Accept (poster) · 3 reviews · OpenReview

Updated 25 Nov 2026, 03:43 UTC.

Program Chairs · DecisionOpenReview ↗
Decision
Accept (poster)
Read decision
Meta-review

The authors propose a guardrail framework that compresses the explicit reasoning of safety reasoning into latent representations for dynamic policy-aware inference moderation of LLMs called LPG. They manage to balance the reasoning depth by separating individual stages and compressing the reasoning into pre-defined token length.

Strengths:

  • The topic is interesting and important.

  • The illustration of the paper is clear.

Weaknesses and Questions:

  • Lack of evidence whether the LPG really obey the online input policy instead of remembering the training prior (XDRv, 9ano, N1uj)

  • The current comparison does not isolation the contribution of LPG from the supervised training. (9ano, N1uj)

  • Limited evidence on policy grounding. (N1uj, 9ano, XDRv)

  • Lack of discussion on whether the latent compression is faithful (N1uj, XDRv)

  • Lack of adaptive attacks or adversarial policy manipulation (XDRv).

Final justification

The rebuttal addresses most weaknesses and concerns of the paper. After discussion, all reviewers support the acceptance of the paper. So I modify my original recommendation to accept.

Area Chair TpEv · Meta-reviewOpenReview ↗
Read meta-review
Meta-review

The authors propose a guardrail framework that compresses the explicit reasoning of safety reasoning into latent representations for dynamic policy-aware inference moderation of LLMs called LPG. They manage to balance the reasoning depth by separating individual stages and compressing the reasoning into pre-defined token length.

Strengths:

  • The topic is interesting and important.

  • The illustration of the paper is clear.

Weaknesses and Questions:

  • Lack of evidence whether the LPG really obey the online input policy instead of remembering the training prior (XDRv, 9ano, N1uj)

  • The current comparison does not isolation the contribution of LPG from the supervised training. (9ano, N1uj)

  • Limited evidence on policy grounding. (N1uj, 9ano, XDRv)

  • Lack of discussion on whether the latent compression is faithful (N1uj, XDRv)

  • Lack of adaptive attacks or adversarial policy manipulation (XDRv).

Final justification

The rebuttal addresses most weaknesses and concerns of the paper. After discussion, all reviewers support the acceptance of the paper. So I modify my original recommendation to accept.

Reviewer 9anoOpenReview ↗
Rating
4/6
Confidence
2/5
Quality
2/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper proposes Latent Policy Guardrail (LPG), a policy-aware guardrail framework. It is designed to improve the trade-off between reasoning capability and inference efficiency under dynamic, user-defined safety policies. The key idea is to compress structured policy reasoning into continuous latent representations while retaining an explicit clause-grounded verdict for interpretability. LPG combines stage-specific latent reasoning, semantic supervision, and teacher hidden-state distillation. Experiments on multiple policy-aware and out-of-distribution safety benchmarks demonstrate improved safety performance and substantially lower inference latency compared to existing reasoning-based guardrails.

Strengths and weaknesses

The paper focuses on a timely and practical problem of dynamic policy-aware guardrails. Overall, the paper has the following strengths.

  • Well-motivated investigation. The paper conducts investigation experiments showing that existing guardrails often rely on pretrained safety knowledge rather than dynamically grounding their decisions on the provided policies.

  • A well-designed framework. The paper proposes a unified framework, LPG, for dynamic policy-aware guardrails, consisting of structured reasoning, latent reasoning, and semantic supervision.

  • Efficient and effective performance. The experimental results show that LPG achieves competitive safety performance while maintaining much lower inference latency. These results suggest the approach is practical for real-world deployment.

However, I also have several concerns that need to be clarified by the authors. Specifically, the paper has the following weaknesses.

  • The contribution of the proposed method. LPG is trained on a mixture that includes GuardSet-X and DynaBench, while the main evaluation is also conducted on these two benchmarks (although using different splits and augmented variants). In contrast, the compared baselines are evaluated in a zero-shot setting. Therefore, it is difficult to determine whether the reported gains come from the proposed method or from supervised fine-tuning.

  • Limited justification for the OOD evaluation. Two of the three OOD benchmarks' policy lists are synthesized by the authors because they do not originally contain dynamic policies. However, the paper provides very limited details about how these policies are constructed or validated. Therefore, it is difficult to judge whether the evaluation faithfully reflects realistic dynamic policy settings.

  • Limited evidence for policy grounding. The main evaluation only reports Accuracy and F1, without reporting the consistency metric used in the investigation experiments. Therefore, it provides limited direct evidence of whether LPG makes decisions by grounding on the provided policies rather than relying on pretrained safety knowledge.

Questions

I would appreciate it if the authors could clarify the following points.

  1. Can the authors better isolate the contribution of the proposed method from the supervised fine-tuning?

  2. Can the authors provide more details about the synthesized policies used in the OOD evaluation?

  3. Can the authors provide stronger evidence that LPG makes decisions based on the provided policies rather than pretrained safety knowledge?

Limitations

Yes

Final justification

The authors' response addresses my concern. I increased my score to a borderline accept.

Formatting concerns

None

5 comments
Authors · CommentOpenReview ↗

We sincerely thank the reviewer for recognizing LPG's timely and practical motivation, the paper's well-motivated investigation of pretrained safety shortcuts, the unified design combining structured reasoning, latent reasoning, and semantic supervision, and LPG's efficient and effective performance. We answer the questions above:

W1 & Q1. Separating the method from supervised fine-tuning

We compare three configurations with the same Qwen3-4B backbone and the same LPG training data: a 0,00,0 configuration that directly predicts the final judgment with no latent reasoning tokens, the deployed 4,64,6 latent configuration, and matched explicit structured reasoning:

Matched configuration GuardSet-X Accuracy (%) DynaBench Accuracy (%) Average Accuracy (%)
LPG-Direct 0,00,0 (Final judgment only) 88.50 68.14 78.32
LPG-Latent 4,64,6 (10 latent states) 96.85 72.19 84.52
LPG-Explicit (Explicit structured reasoning) 97.20 73.11 85.16

The matched comparison shows that latent reasoning improves average Accuracy by 6.20 points over direct judgment and remains within 0.64 point of explicit reasoning, isolating the contribution of the latent pathway from supervised fine-tuning. We will present this as a standalone table rather than leaving the DynaBench comparison embedded in Figure 3(b).

W2 & Q2. Construction and role of synthesized OOD policy lists

The policies are not freely generated per example by an LLM. They are deterministic, one-sentence rules derived from each benchmark's published native taxonomy:

  • HarmBench's 7 native SemanticCategory values are mapped one-to-one to 7 policy rules;
  • WildGuardTest's 14 canonical harm subcategories, including its documented catch-all category, are mapped one-to-one to 14 policy rules.

For example ii, a seeded sampler (seed = 42 + i) draws K∈[4,10]K \in [4,10] rules, always includes the native violated category for an unsafe example, fills the remaining positions from the same benchmark policy book, and shuffles the list. Every dynamic model receives the identical constructed policy list for that example. We will add the complete category mapping, policy books, seed, and sampling procedure to the appendix and release the construction code.

To our knowledge, there are currently very few policy-safety benchmarks, and no additional widely adopted benchmark provides an explicit natural-language policy list for every example. Constructing policy-conditioned versions of HarmBench and WildGuardTest therefore allows us to evaluate beyond the limited set of native policy benchmarks. Importantly, neither benchmark nor its taxonomy-derived policy book appears in LPG's training corpus: the policy categories, clause wording, and sampled policy-list compositions are unseen during training. Strong performance in this setting consequently provides meaningful evidence that LPG can generalize to an unseen policy distribution, rather than only memorizing the policy lists used for training. We will still distinguish these synthesized-policy transfer tests from PolicyGuardBench, which contains native policies, and will not claim that synthesized lists replace evaluation on naturally authored policies.

W3 & Q3. Direct evidence of policy grounding rather than pretrained safety knowledge

We have now applied the paper's policy-shuffling and counterfactual-removal diagnostics to LPG under exactly the same settings as Figure 1 and Table 1:

Model Counterfactual flip-to-safe rate (%) $$\uparrow$) Original Accuracy (%) Shuffled Accuracy (%) CR (%), mean (±\pm$ std $↑\uparrow$
Qwen3-4B 64.00 75.60 72.83 79.64 $±\pm$ 40.27
Qwen3-4B-Thinking 82.00 77.25 77.68 89.13 $±\pm$ 31.13
DynaGuard-8B 36.00 81.65 74.23 86.73 $±\pm$ 33.93
LPG-4B (Ours) 87.00 96.85 94.25 88.10 $±\pm$ 20.86

LPG's 87% counterfactual flip rate and stable shuffled-policy result verify that its decisions follow the active policy content rather than policy position.

More importantly, DynaBench policies are customized behavioral constraints, not merely restatements of a standard pretrained safety taxonomy. For example, one evaluated policy states: "Never betray knowledge of anything outside of the Victorian era." The associated dialogue is labeled as a violation because the agent recommends Salvarsan, which was introduced only after the Victorian era. A generic safety classifier has no reason to treat that response as unsafe unless it reads and applies the supplied policy.

When the policy list is withheld, LPG-4B Accuracy falls to 55%, comparable to the 51.0-52.1% range of the other models in Figure 1. Together with the customized DynaBench example, this verifies that LPG reasons over the supplied policy rather than relying only on pretrained safety knowledge.

Reviewer 9ano · CommentOpenReview ↗

Thank the authors for the detailed rebuttal. It has partially addressed my concerns. However, I still have two remaining questions.

Regarding W1, I acknowledge that the additional ablation demonstrates the effectiveness of the latent reasoning module itself. However, my original concern was about the fairness of the comparison with the reported baselines. Since LPG is fine-tuned while the compared methods are evaluated in a zero-shot setting, it remains unclear how much of the reported improvement should be attributed to the proposed method versus supervised fine-tuning. For example, whether the baselines would achieve similar improvements under the same fine-tuning setting, or how LPG performs in a zero-shot setting.

Regarding W2, I still wonder to what extent the synthesized policy lists can faithfully represent realistic policy documents used in practical deployments. Although the synthesized-policy setting is useful for evaluating generalization to unseen policy distributions, its realism remains somewhat different from that of naturally authored dynamic policies.

Authors · CommentOpenReview ↗

Thank you for your time and for acknowledging that our previous rebuttal has partially addressed your concern. We would like to provide further responses to your remaining questions.

1. Comparison with fine-tuned baselines and the role of supervised training

We first want to clarify an important point: DynaGuard is not a zero-shot baseline. DynaGuard-4B and LPG-4B are both initialized from the same Qwen3-4B backbone and further trained using DynaBench data. Specifically, DynaGuard performs SFT on 80K examples: 40K from DynaBench and 40K from other safety datasets—and subsequently performs GRPO using an additional 11K-sample mixture [1]. In comparison, LPG uses only 40,041 training examples in total, of which 13,500 are from DynaBench. Thus, the DynaBench comparison is an in-distribution, held-out comparison for both methods.

Under the same 4B backbone scale, LPG improves over DynaGuard-4B by 15.85/12.71 accuracy points on GuardSet-X/DynaBench. LPG-4B also exceeds the substantially larger DynaGuard-8B by 15.20/0.37 points, respectively, despite using considerably fewer DynaBench training examples.

More importantly, based on your suggestion, we conducted controlled experiments to directly address the concern regarding supervised fine-tuning baseline. We fine-tuned Qwen3-4B on the same dataset as LPG-4B, using a DynaGuard-style SFT format that directly predicts the final verdict. We named this model LPG-Direct (0,0). It uses the same Qwen3-4B initialization, the same training examples, and the same prediction task as LPG, but removes all latent reasoning and predicts the verdict directly.

Model Backbone GuardSet-X Acc. DynaBench Acc.
DynaGuard-4B Qwen3-4B 81.00 59.48
DynaGuard-8B Qwen3-8B 81.65 71.82
LPG-Direct (0,0) Qwen3-4B 88.50 68.14
LPG-Latent (4,6) Qwen3-4B 96.85 72.19

Compared with LPG-Direct (0,0), LPG-Latent (4,6) improves accuracy from 88.50/68.14 to 96.85/72.19 on GuardSet-X/DynaBench, corresponding to an average improvement of 6.20 points. Since the backbone, training data, and prediction task are held fixed, this comparison isolates the contribution of LPG's latent reasoning pathway from ordinary supervised fine-tuning.

2. Additional zero-shot evaluation on a newly released benchmark

At the time of our submission, to our knowledge, there was no additional public benchmark that provided a stronger native zero-shot evaluation of dynamic, in-context policy grounding. We therefore used the most relevant available OOD benchmarks, including PolicyGuardBench and policy-conditioned versions of HarmBench and WildGuardTest.

During the rebuttal period, we identified SafePyramid, a new benchmark released on June 29, 2026, after our submission [2]. We consider it a valuable benchmark because it separately evaluates rule understanding (L0), reasoning over rule dependencies (L1), and adaptation to novel fictional policy frameworks (L2). We therefore made every effort to incorporate it into our additional evaluation.

We evaluated our LPG-4B zero-shot on all 3,000 SafePyramid v1.1, consisting of 1,000 cases at each level. Importantly, the policy lists used in this evaluation are the native policy lists provided by the SafePyramid benchmark itself, rather than policy lists synthesized by us. Neither SafePyramid nor any of its conversations, rules, dependencies, or fictional policy frameworks appears in LPG's training corpus, and no fine-tuning or adaptation was performed.

Model L0 Acc. L1 Acc. L2 Acc.
Qwen3-4B base 55.13 55.65 61.26
LPG-4B 69.79 74.99 85.15

LPG-4B consistently outperforms its Qwen3-4B base model across all three levels, with improvements of 14.66, 19.34, and 23.89 points on L0, L1, and L2, respectively. The improvement on L2 is important because L2 expresses policies using fully fictional concepts and previously unseen rule semantics. The model therefore cannot solve these cases by relying only on familiar safety taxonomies or training-set policy wording. This result provides additional evidence that LPG generalizes to genuinely unseen policies supplied at inference time.

Because SafePyramid was released after our submission, the rebuttal-period evaluation was conducted at our best effort under a limited timeline. We will make every effort to include these results and add more complete analyses using its official evaluation protocols in the camera-ready version.

We hope that the above clarifications and additional evidence address your concern, and we would greatly appreciate it if you could take them into consideration when reconsidering your final assessment of our work.

References

[1] Monte Hoover et al. (September 2, 2025). DynaGuard: A Dynamic Guardian Model With User-Defined Policies.

[2] Jiacheng Zhang et al. (June 29, 2026). SafePyramid: A Hierarchical Benchmark for In-context Policy Guardrailing.

Reviewer N1ujOpenReview ↗
Rating
4/6
Confidence
3/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

The authors introduce LPG, a guardrail framework that compresses the explicit safety reasoning into latent representations for dynamic policy-aware inference time moderation for LLMs. The paper tries to balance the reasoning depth with latency by separating individual stages and confining the reasoning into pre-specified token length.

Strengths and weaknesses

Summary Of Strengths:

  • The paper is timely and tackles a very practical challenge in using LLMs. Their motivation using Figure 1 and Table 1 is appreciated. The paper is well-written and clear to understand.
  • Their construction of the loss function is well justified

Summary Of Weaknesses:

  • Tables 2 and 3 present the overall results, however, specific results for each stage (intent analysis, policy analysis) are missing. As such, it becomes difficult to analyze if LPG just focuses on the final answer.
  • Although authors present ablation results in Figure 3, how the loss transfers to stage separation is not clear.
  • Out of Distribution results: Table 3 is missing results on Accuracy, and Latency which makes it difficult to evaluate the results. Only 1 out of distribution dataset (PolicyGuardBench) has in-built policy lists, on which the gains are moderate with no statistical testing. The authors synthesize per-example policy lists from the other two benchmarks’ native taxonomy (L308) with very little detail given on how these policies are generated in Appendix (L519-522).
  • The results presented in Figure 1 and Table 1 should be presented for LPG as well. In absence of these results it is not clear if LPG remedies these problems, although authors specifically motivate this problem in their introduction.
  • In general, I think the work misses a comprehensive evaluation of their approach.
  • L102 - Minor formatting issue with a question mark in the reference.
Questions
  • Can you present results which show a clear separation of each stage and how well does each stage perform? Additionally, presenting specific examples where LPG clearly separates the different stages and follows a semantic structure in it's outputs will be appreciated.
  • It would be interesting to analyze the length of policies and the effect they have on model performance. I think this is relevant as lengthy policies might lead to prompt bloating and can be a confounder in the analysis.
  • Repeating the experiments with LPG for Figure 1 and Table 1
Limitations
  • Although the authors present Limitations and Broader Impact in Appendix, the content does not mention any significant limitation, rather it focuses more on future work and what could be improved. I would flag this as limitations not present.
Final justification

The authors have provided adequate responses specially for results in Table 1 and Figure 1, explaining stage-specific accuracies, stage separation and faithfulness and adding SafePyramid benchmark to their evaluation. I have updated my scores accordingly.

Formatting concerns

N/A

3 comments
Authors · CommentOpenReview ↗

Response to Reviewer N1uj (1/2)

We sincerely thank the reviewer for recognizing that the paper addresses a timely and practical problem, for appreciating the motivation established by Figure 1 and Table 1, and for finding the paper well written and clear. We especially appreciate the reviewer's positive assessment that the construction of our loss is well justified, since the stage-specific semantic supervision is a central part of LPG's methodological contribution. We clarify the problems below:

W1, W2 & Q1. Stage-specific accuracy, stage separation, and faithfulness

The intent and policy-analysis stages are not independent classifiers and do not emit standalone predictions at inference time. The intent stage represents the underlying user goal, while the policy stage reasons about the applicable clause conditioned on that intent; both are intermediate computations used to produce one final verdict. There is therefore no stage-level gold label or normalized output space from which an "intent-stage Accuracy" and a "policy-stage Accuracy" could be computed and directly compared. Defining such numbers would require an arbitrary auxiliary decoder, and the resulting scores would not be commensurable with each other or with final-decision Accuracy. We will clarify this point in the revision.

Instead, the paper separates and supervises the two stages through distinct semantic targets (IntentSummary versus RiskSummary), distinct explain projectors, and different teacher boundary states (</Intent> versus </Risk>). Three complementary results show that the latent pathway is not merely bypassed in favor of the final answer:

  1. Loss ablations in Figure 3(a). Starting from 96.85% GuardSet-X Accuracy, removing stage-boundary distillation reduces Accuracy to 92.45%, removing stage-summary reconstruction $Lexplain\mathcal{L}_{\mathrm{explain}}$ reduces it to 81.04%, and removing answer-position distillation reduces it to 77.10%, validating the contribution of the stage-specific supervision.
  2. The matched no-reasoning control. The 0,00,0 model contains no latent reasoning tokens and directly predicts only the final judgment. Its GuardSet-X/DynaBench/Average Accuracy is 88.50/68.14/78.32, compared with 96.85/72.19/84.52 for 4,64,6, validating the latent pathway under a matched training setup.
  3. Latent faithfulness probe. Because continuous latent states do not map to a unique sequence of textual reasoning tokens, we freeze LPG, extract its risk-stage latent states, and train a lightweight decoder to identify the violated policy. Random policy selection achieves 13.51% Accuracy, while identifying the policy stated in explicit reasoning gives a 77.19% reference upper bound. The decoder reaches 65.10%, verifying that the latent computation retains policy-specific semantics rather than only the final binary judgment.

Because the intermediate states are continuous rather than textual, presenting a conventional "stage output example" would require decoding them through an auxiliary model and would no longer be the deployed LPG inference process. These controls are therefore more meaningful than an arbitrarily defined stage-level Accuracy. We will add the probe protocol and representative cases without claiming that the latent states form a fully interpretable chain of thought.

Authors · CommentOpenReview ↗

Response to Reviewer N1uj (2/2)

W3. OOD Accuracy, latency, policy construction, and significance

We used F1 as the primary OOD metric because these benchmarks have imbalanced safe/unsafe ratios, and F1 is more representative than raw Acc when the majority class varies across benchmarks. This is also the metric more commonly used for these safety benchmarks. We agree, however, that providing Accuracy as a secondary metric will make the results easier to interpret, and we will add the corresponding values in the revision.

The omission of latency from Table 3 was deliberate. Most static guardrails in that table have their safety taxonomy internalized in the model and do not receive the same explicit, per-example policy list that LPG must read. As a result, LPG's input prompt is substantially longer, and a raw end-to-end latency comparison would conflate architectural efficiency with unequal prompt lengths and different task interfaces. We therefore did not report the misleading comparison. The controlled latency comparison is Table 2, where models are evaluated under the same policy-aware benchmark, hardware, single-sample setting, and timing protocol. We will explain this design choice explicitly rather than leaving the Table 3 omission unexplained.

The result is not based on the 0.83-F1 PolicyGuardBench margin alone: LPG-4B exceeds DynaGuard-4B by 15.85/12.71 Accuracy points on GuardSet-X/DynaBench (Aug), matches or outperforms DynaGuard-8B on both, and improves over DynaGuard-4B by 10.12/3.00 F1 points on HarmBench/WildGuardTest. These results validate the overall cross-benchmark gain; we will add paired bootstrap confidence intervals without overstating the small PolicyGuardBench margin.

Finally, we will more clearly distinguish the OOD roles of the datasets. PolicyGuardBench contains native policies. HarmBench and WildGuardTest do not, so their policy lists are constructed from each benchmark's native safety taxonomy using 4--10 candidate policies per example, always including the violated category for unsafe examples. These two datasets test OOD safety transfer under a policy-conditioned interface; we will not present them as native dynamic-policy benchmarks, and we will expand the construction details in the appendix.

Q2. Effect of policy-prompt length

We agree that policy length is an important deployment variable and a possible confounder. Clause count alone does not fully capture prompt bloat because individual clauses vary substantially in textual length. We therefore analyzed LPG Accuracy along both axes: the tokenized length of the policy portion of the prompt and the number of policy items.

Policy-prompt length (tokens) Accuracy (%)
$≤2000\leq 2000$ 84.52
$2001–40002001\text{--}4000$ 80.12
$4001–60004001\text{--}6000$ 66.15
$6001–80006001\text{--}8000$ 61.23
$>8000>8000$ 58.75
Number of policy items Accuracy (%)
$1–51\text{--}5$ 78.43
$6–106\text{--}10$ 73.85
$11–2011\text{--}20$ 69.15
$>20>20$ 60.14

Both analyses show that longer and more populated policies are harder. This is expected because the model must retrieve the relevant clause from more context and distractors, reflecting the long-context reasoning ability of the Qwen3-4B backbone. The trend is consistent with DynaBench's explicit rule complexity difficulty axes, while identifying extremely long policies as a current limitation. We will add the analysis and bucketing protocol to the revision.

W4 & Q3. Repeating the Figure 1 and Table 1 diagnostics with LPG

We agree that applying the motivating policy-grounding probes to LPG is the most direct way to test whether LPG remedies the failure modes identified in the introduction. We have now repeated both experiments using exactly the same settings as Figure 1 and Table 1. For clarity, we present LPG together with the three baselines evaluated in both diagnostics:

Model Counterfactual flip-to-safe rate (%) $↑\uparrow$ Original Accuracy (%) Shuffled Accuracy (%) CR (%), mean $±\pm$ std $↑\uparrow$
Qwen3-4B 64.00 75.60 72.83 79.64 $±\pm$ 40.27
Qwen3-4B-Thinking 82.00 77.25 77.68 89.13 $±\pm$ 31.13
DynaGuard-8B 36.00 81.65 74.23 86.73 $±\pm$ 33.93
LPG-4B (Ours) 87.00 96.85 94.25 88.10 $±\pm$ 20.86

LPG achieves the highest counterfactual flip rate and the highest original and shuffled Accuracy, while retaining strong consistency. These results verify that LPG follows active policy content and is robust to clause order rather than overfitting policy positions.

W5. Evaluation coverage, limitations, and formatting

We will document the lack of adaptive-attack evaluation, the limited direct interpretability of latent computation and the observed degradation for very long or highly populated policy lists. We will also correct the minor reference-formatting issue noted by the reviewer.

Authors · CommentOpenReview ↗

Dear Reviewer N1uj,

Thank you for your updated assessment and for taking the time to reconsider our work. We are especially grateful for your insightful and constructive suggestions, which we will carefully incorporate into our final revision.

Thank you again for your time and effort throughout the review process.

Best regards,

The Authors

Reviewer XDRvOpenReview ↗
Rating
4/6
Confidence
2/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper proposes Latent Policy Guardrail (LPG), a framework for policy-aware safety moderation in which the guardrail receives a natural-language policy at inference time and must decide whether a user interaction violates that policy. The paper argues that fixed-taxonomy guardrails are too rigid for deployment settings where different users, organizations, or domains impose different safety rules, while explicit reasoning-based guardrails are often too slow for real-time use. LPG aims to bridge this gap by compressing policy reasoning into continuous latent tokens. The model first follows a structured reasoning decomposition involving intent analysis, policy analysis, and verdict formulation, but at inference time the first two reasoning stages are replaced by latent tokens, while the final output remains an explicit verdict anchored to violated policy clauses. The method uses stage-aligned latent slots for intent and policy reasoning, semantic-content supervision through summary reconstruction, teacher hidden-state distillation at stage boundaries and verdict positions, and an explicit clause-indexed verdict format. The model is trained on a mixture of policy-grounded datasets and general safety moderation datasets converted into a unified schema.

Strengths and weaknesses

Strength

  • The paper studies an important and timely problem. As LLM systems are deployed in enterprise, regulatory, agentic, and user-customized environments, guardrails increasingly need to interpret policies that are supplied or modified at inference time. This is a more challenging and practically relevant setting than fixed-taxonomy moderation.
  • The proposed approach is technically sensible and well aligned with the problem. The structured decomposition into intent analysis, policy analysis, and verdict formulation is a reasonable way to encourage policy-grounded moderation rather than generic safety classification.
  • The empirical results are promising. On the main policy-grounded benchmarks, LPG-4B achieves substantially better average accuracy and F1 than the reported dynamic and reasoning baselines, while maintaining much lower latency than explicit reasoning models.

Weakness

  • My main concern is robustness against adaptive adversarial attacks. The evaluation studies policy shuffling, counterfactual removal of violated rules, and several benchmark transfers, but I do not see a dedicated evaluation against an adaptive adversary who knows the guardrail mechanism and deliberately crafts inputs to exploit latent reasoning compression, clause attribution, or policy formatting. This is important because guardrails are deployed in adversarial settings: users may intentionally try to bypass moderation, hide malicious intent, manipulate policy text, or exploit ambiguity in clause matching.
  • A related issue is that latent reasoning may introduce new failure modes that are not well characterized. The method compresses intermediate reasoning into continuous states, which improves latency but makes it harder to inspect how the model reached a decision. The final verdict is clause-anchored, but the actual intent and policy-analysis stages are hidden at inference time.
  • The paper’s evaluation of policy grounding is useful but may not be sufficient for deployment-grade robustness. Policy shuffling and removing violated rules are good probes for positional bias and clause grounding, but they are still relatively controlled perturbations. Real policies may contain conflicting clauses, exceptions, definitions, cross-references, vague language, or jurisdiction-specific terms.
Questions
  • Could the authors evaluate LPG against adaptive adversarial attacks?
  • In addition, could the authors test adversarial policy manipulation? Since LPG accepts natural-language policies at inference time, an attacker or malicious tenant might supply policies containing prompt-injection-like instructions, conflicting clauses, irrelevant distractors, or misleading exceptions.
  • Could the authors provide more evidence that the latent reasoning remains faithful to the explicit reasoning it replaces?
Limitations

No. The authors do discuss some limitations and broader impacts, especially false positives and the positive value of clause-level attribution. This transparency is useful and should be credited. However, the limitations discussion is not yet adequate for a paper on safety guardrails.

The main missing limitation is adaptive adversarial robustness. A guardrail is likely to be attacked by users who intentionally disguise intent, exploit policy ambiguity, or probe the moderation boundary. The paper should explicitly discuss whether LPG is expected to withstand such attacks, and if not, what additional defenses or monitoring would be needed.

The authors should also discuss adversarial policy inputs. Because LPG accepts policies at inference time, the policy itself can become an attack surface. Policies may contain malicious instructions, contradictions, irrelevant distractors, or misleading exceptions. The paper should explain how LPG handles untrusted policy text, whether policy sanitization is assumed, and whether clause attribution remains reliable under policy-level prompt injection or manipulation.

The limitations section should further address the auditability trade-off introduced by latent reasoning. While final verdicts cite policy clauses, the intermediate reasoning is hidden in continuous states. The authors should clarify that clause anchoring is not the same as full interpretability, and they should describe how operators can debug false positives and false negatives when the reasoning trace is not generated.

Formatting concerns

No

4 comments
Authors · CommentOpenReview ↗

We sincerely thank the reviewer for recognizing that LPG addresses an important and timely problem, that its structured decomposition is technically sensible, and that the empirical results show a promising accuracy-latency trade-off. We also appreciate the reviewer's questions on adaptive robustness, the threat model, and the faithfulness of latent reasoning. These questions help us clarify both what the current evidence supports and where the method remains limited.

W1 & Q1. Adaptive adversarial attacks

We fully agree that evaluation against an adaptive adversary is important. Our current experiments do not include an attacker that is explicitly aware of LPG's mechanism and iteratively optimizes attacks against it. To our knowledge, the current standard policy-safety benchmarks and the reported evaluations of the methods with which we compare, also do not provide a defense-aware adaptive-attack protocol. This explains why such an evaluation was not included in our original experimental setup, but it does not reduce its importance.

In particular, the reviewer is correct that this setting matters in realistic deployments: an attacker may repeatedly probe a deployed guardrail, observe its decisions, and adapt the attack to its policy-conditioned behavior. We therefore commit to adding an adaptive evaluation targeted specifically at LPG. We will include it in the camera-ready version.

W2. Failure modes introduced by latent reasoning

We agree that replacing explicit reasoning with latent reasoning can introduce new failure modes. Explicit reasoning is not free of analogous problems: its intermediate rationale can be hallucinated, can propagate an early reasoning error into the final answer, or can be misaligned with the answer that the model ultimately produces. Latent reasoning removes the need to generate these intermediate textual rationales at inference time, but it introduces a different and important trade-off: the intermediate computation is not directly human-readable, and a mismatch between the latent deliberation and the final verdict can therefore be harder to diagnose.

We view this lack of direct interpretability as an inherent limitation of continuous latent reasoning, rather than as a problem that our current method fully resolves. We will state this explicitly in the revised Limitations section and narrow our auditability claim accordingly: LPG exposes a machine-checkable final policy-clause attribution, but it does not expose a fully interpretable or guaranteed-faithful chain of intermediate reasoning.

Q2. Threat model and adversarial policy manipulation

We apologize that the paper did not state this assumption sufficiently clearly. In our threat model, the policy is supplied and controlled by the service provider or system operator, who determines which policy should be applied. The attacker controls the user content being moderated but does not have permission to modify, write to, or inject text into the policy/system prompt. Consequently, corruption of the policy itself is outside the threat model evaluated for this paper.

We will make this trust boundary explicit in the revised paper. The current results therefore should not be interpreted as a robustness guarantee for a different setting in which arbitrary users can author or modify the governing policy.

W3 & Q3. Faithfulness of latent reasoning to the explicit reasoning it replaces

We agree that the final predicted clause alone is insufficient to establish that the latent computation is grounded in the corresponding safety policy. To address this question, we added a new probing experiment. We freeze LPG, extract its latent states, and train a lightweight decoder/classifier to predict which policy was violated. Because continuous latent states do not correspond to a unique sequence of discrete reasoning tokens, thus cannot be expected to losslessly reproduce the original textual rationale, as also recognized in continuous latent-reasoning approaches such as COCONUT. We use violated-policy recoverability as an indirect semantic-faithfulness test.

Representation used to select the violated policy Violated-policy selection accuracy (%)
Random policy choice 13.51
LPG latent states + trained decoder 65.10
Policy stated in explicit reasoning (reference upper bound) 77.19

The 65.10% probe result, far above random selection and approaching the explicit-reasoning reference, verifies that LPG's latent states retain violated-policy information despite decoder error. This is consistent with $Lexplain\mathcal{L}_{\mathrm{explain}}$, stage-boundary distillation, and answer-position distillation, which jointly ground the latent pathway in policy semantics and the final decision. We will add the probing protocol and result to the revision while clarifying that it supports semantic faithfulness, not exact recovery or full interpretability of the hidden reasoning trajectory.

Authors · CommentOpenReview ↗

Dear Reviewer XDRv,

Thank you for your time and effort in reviewing our work. We would like to kindly check whether our rebuttal has addressed your concerns. We are happy to further clarify any remaining questions that help improve the quality of our paper.

Best regards,

The Authors

Reviewer XDRv · CommentOpenReview ↗

Thank you to the authors for their rebuttal. However, my concerns—particularly regarding robustness against adaptive adversarial attacks—remain unresolved. I would encourage the authors to explore this issue further or discuss it explicitly as a limitation.

Authors · CommentOpenReview ↗

Dear Reviewer XDRv,

Thank you for following up and for emphasizing the importance of adaptive robustness. We agree that adaptive attack evaluation is essential for a more complete assessment of a guardrail, especially when an attacker can repeatedly probe its policy-conditioned decisions. We have been continuously working on this evaluation throughout the rebuttal period, and have now have an adaptive PAIR[1] attack result. We will include more complete evaluation results in the revision.

Since LPG is designed for deployments in which the safety policy is supplied and controlled by the service provider or system operator, our threat model assumes that the attacker controls the content being moderated but cannot modify the governing policy or system prompt. This trust boundary reflects our intended use case: provider-controlled policies with potentially adversarial interactions. Under this threat model, an adaptive response-level attack is a direct and relevant test of LPG's robustness: the attacker can observe the guardrail's decisions and iteratively modify the moderated content, while the policy itself remains fixed and trusted.

Adaptive PAIR attack

We evaluate an attacker that knows the guardrail's input-output interface and adaptively crafts attacks based on observed binary safe/unsafe decisions. The policy and all User messages are fixed; the attacker can rewrite only the Agent responses. It has no access to model weights, gradients, logits, hidden states, clause-level explanations, or LPG latent representations. We use Qwen3.5-9B and DeepSeek-V4-Flash as attacker models and allow up to 10 queries per example.

We consider two settings:

  1. Policy-aware: the attacker is given the policy and the conversation.
  2. Policy-hidden: the policy remains private, and the attacker sees only the conversation and binary guard decisions.

To avoid reward hacking, GPT-5.6 independently reviews every candidate that changes LPG's prediction from unsafe to safe. We count an attack as successful only when the rewritten response still violates the original policy in the fixed user context. Refusals, safe substitutions, omitted violations, and context-changing rewrites are rejected. We report ASR@1, ASR@2, ASR@5, and ASR@10 on examples that LPG initially classifies correctly as unsafe.

Threat model Attacker Target ASR@1 ASR@2 ASR@5 ASR@10
Policy-aware Qwen3.5-9B LPG-4B 3.3% 6.7% 6.7% 6.7%
Policy-aware Qwen3.5-9B Qwen3-4B 6.7% 6.7% 10.0% 16.7%
Policy-aware DeepSeek-V4-Flash LPG-4B 6.7% 10.0% 10.0% 13.3%
Policy-aware DeepSeek-V4-Flash Qwen3-4B 13.3% 26.7% 30.0% 46.7%
Policy-hidden Qwen3.5-9B LPG-4B 0.0% 0.0% 3.3% 3.3%
Policy-hidden Qwen3.5-9B Qwen3-4B 3.3% 6.7% 6.7% 13.3%
Policy-hidden DeepSeek-V4-Flash LPG-4B 0.0% 0.0% 0.0% 3.3%
Policy-hidden DeepSeek-V4-Flash Qwen3-4B 10.0% 13.3% 13.3% 16.7%

LPG consistently exhibits substantially lower ASRs than the same-size Qwen3-4B baseline. Under the more realistic policy-hidden setting, LPG's ASR remains between 0% and 3.3% at all query budgets, compared with 13.3%--16.7% for Qwen3-4B at 10 queries. Even when the attacker is given the policy, LPG reaches only 6.7% ASR@10 against Qwen3.5-9B and 13.3% against DeepSeek-V4-Flash, while Qwen3-4B reaches 16.7% and 46.7%, respectively.

These results suggest that LPG's explicit intent-analysis structure, policy-grounded latent deliberation, and clause-anchored verdict provide meaningful resistance to adaptive response-level evasion.

We appreciate the reviewer's suggestion, which led us to strengthen the evaluation substantially during the rebuttal. In the revision, we will include the full adaptive-attack protocol, more adaptive attack methods, validation procedure, and additional analyses.

[1] Patrick Chao et al. Jailbreaking Black-Box Large Language Models in Twenty Queries.

Comments on the paper

2 comments
Area Chair TpEv · CommentOpenReview ↗

Dear all,

Please check the rebuttal by the authors and acknowledge it to the authors. There is not much time left for the rebuttal phase.

Best,

Your AC

Area Chair TpEv · CommentOpenReview ↗

Dear all,

Please check the rebuttal by the authors and acknowledge it to the authors. There is not much time left for the rebuttal phase. The authors have done a lot for the rebuttal and I hope you can respond whether their responses address your concerns or not.

Best,

Your AC

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Missing a submission?

Loading the discussion…