potentialpaper

ADTGuard: Adaptive Depth-Time Safeguard for Streaming Inference in Large Language Models

Import ICLR 2027 submission 0eZRx3TrCU: 3 notes

@openreview[bot] · 2026-11-22 19:26 UTC · 5b27e94a7b80

Evidence

.gitattributes added

+++ b/.gitattributes
@@ -0,0 +1,10 @@
+# PDFs and pictures are kept with Git LFS (https://git-lfs.com). With it installed (`git lfs install`),
+# a clone has the files, and `git add` of one stores a pointer. This file is the same on every page.
+/.potentialpaper/*.pdf filter=lfs diff=lfs merge=lfs -text
+/versions/*.pdf filter=lfs diff=lfs merge=lfs -text
+/thumbnail.png filter=lfs diff=lfs merge=lfs -text
+/thumbnail.jpg filter=lfs diff=lfs merge=lfs -text
+/thumbnail.jpeg filter=lfs diff=lfs merge=lfs -text
+/thumbnail.gif filter=lfs diff=lfs merge=lfs -text
+/thumbnail.webp filter=lfs diff=lfs merge=lfs -text
+/thumbnail.avif filter=lfs diff=lfs merge=lfs -text

.potentialpaper/metadata.json added

+++ b/.potentialpaper/metadata.json
@@ -0,0 +1,19 @@
+{
+ "layout": 5,
+ "identifiers": [
+ {
+ "scheme": "openreview",
+ "value": "0eZRx3TrCU"
+ }
+ ],
+ "title": "ADTGuard: Adaptive Depth-Time Safeguard for Streaming Inference in Large Language Models",
+ "authors": [],
+ "abstract": "Large Language Models (LLMs) can generate fluent responses to diverse user requests, yet streaming may expose users to harmful content before generation is complete. Existing guardrails face two limitations in this setting. First, post-hoc moderation at response or chunk boundaries delays intervention, risking harmful exposure when content is released before verification. Second, even with token-level detection, coarse response-level supervision does not specify when harmful content begins, while fixed-layer readouts may miss relevant safety signals at other depths. To address these limitations, we introduce ADTGuard, which checks each token before release, progressively refines token-level training targets, and adapts layer selection to the current prefix. ADTGuard models risk across depth and time through Depth-Time Safety Dynamics (DTSD), which integrates safety evidence across layers at each token and uses it to guide risk accumulation over successive tokens. To adapt the choice of observation layers to the current prefix, we propose the Causal Depth Router (CDR). With only response-level labels available, we further develop Risk-Onset Target Refinement (RTR) to progressively construct token-level training targets for both components. Through extensive experiments across multiple safety benchmarks, we demonstrate that ADTGuard consistently achieves strong streaming detection performance, matching or surpassing state-of-the-art safeguards while requiring only 16M trainable parameters and maintaining competitive per-token latency.",
+ "year": 2027,
+ "venue": "ICLR 2027 (under review)",
+ "source": "openreview",
+ "license": {
+ "metadata": "CC0-1.0",
+ "abstract": "CC0-1.0"
+ }
+}

community/10-tl-dr.md added

+++ b/community/10-tl-dr.md

community/20-summary.md added

+++ b/community/20-summary.md

community/30-why-it-matters.md added

+++ b/community/30-why-it-matters.md

community/40-critique.md added

+++ b/community/40-critique.md

community/50-errata.md added

+++ b/community/50-errata.md

community/60-reproductions.md added

+++ b/community/60-reproductions.md

community/70-follow-ups.md added

+++ b/community/70-follow-ups.md

owners/10-tl-dr.md added

+++ b/owners/10-tl-dr.md

owners/20-overview.md added

+++ b/owners/20-overview.md

owners/30-results.md added

+++ b/owners/30-results.md

owners/40-demos.md added

+++ b/owners/40-demos.md

owners/50-code-and-data.md added

+++ b/owners/50-code-and-data.md

owners/60-talks.md added

+++ b/owners/60-talks.md

prek.toml added

+++ b/prek.toml
@@ -0,0 +1,36 @@
+# Checks run before each commit, with prek (https://prek.j178.dev): `prek install` once in this clone.
+# The site checks every push again; these catch mistakes before you commit. The same on every page.
+
+[[repos]]
+repo = "builtin"
+hooks = [
+ { id = "check-json" },
+ { id = "pretty-format-json", args = ["--autofix", "--no-sort-keys", "--no-ensure-ascii"], exclude = '^demos/' },
+ { id = "end-of-file-fixer", exclude = '^demos/' },
+ { id = "trailing-whitespace", args = ["--markdown-linebreak-ext=md"], exclude = '^demos/' },
+ { id = "check-case-conflict" },
+ { id = "check-illegal-windows-names" },
+ { id = "check-added-large-files", args = ["--maxkb=256"], exclude = '^demos/' },
+]
+
+# Each JSON file against its schema (https://papers.potentialhedge.com/schemas/).
+[[repos]]
+repo = "https://github.com/python-jsonschema/check-jsonschema"
+rev = "0.39.0"
+hooks = [
+ { id = "check-jsonschema", name = "author section plugins files", files = '^owners/plugins\.json$', args = ["--schemafile", "https://papers.potentialhedge.com/schemas/authorPlugins.json"] },
+ { id = "check-jsonschema", name = "venue files", files = '^venue\.json$', args = ["--schemafile", "https://papers.potentialhedge.com/schemas/venue.json"] },
+ { id = "check-jsonschema", name = "topic files", files = '^topic\.json$', args = ["--schemafile", "https://papers.potentialhedge.com/schemas/topic.json"] },
+ { id = "check-jsonschema", name = "organisation files", files = '^org\.json$', args = ["--schemafile", "https://papers.potentialhedge.com/schemas/org.json"] },
+ { id = "check-jsonschema", name = "link files", files = '^links/[^/]+\.json$', args = ["--schemafile", "https://papers.potentialhedge.com/schemas/link.json"] },
+ { id = "check-jsonschema", name = "version files", files = '^versions/[^/]+\.json$', args = ["--schemafile", "https://papers.potentialhedge.com/schemas/version.json"] },
+ { id = "check-jsonschema", name = "picture files", files = '^thumbnail\.json$', args = ["--schemafile", "https://papers.potentialhedge.com/schemas/thumbnail.json"] },
+]
+
+# Sections formatted the way the web editor formats them.
+[[repos]]
+repo = "https://github.com/rbubley/mirrors-prettier"
+rev = "v3.9.9"
+hooks = [
+ { id = "prettier", files = '^(owners|community)/.*\.md$' },
+]

reviews/openreview/0ezrx3trcu/forms.json added

+++ b/reviews/openreview/0ezrx3trcu/forms.json
@@ -0,0 +1,183 @@
+{
+ "schema": "forms/1",
+ "forms": {
+ "Meta_Review": {
+ "label": "Meta-review",
+ "fields": [
+ {
+ "key": "metareview",
+ "label": "Meta-review",
+ "type": "text"
+ },
+ {
+ "key": "summary",
+ "label": "Summary",
+ "type": "text"
+ },
+ {
+ "key": "additional_comments_on_reviewer_discussion",
+ "label": "Reviewer discussion",
+ "type": "text"
+ },
+ {
+ "key": "recommendation",
+ "label": "Recommendation",
+ "type": "choice"
+ }
+ ]
+ },
+ "Decision": {
+ "label": "Decision",
+ "fields": [
+ {
+ "key": "title",
+ "label": "Title",
+ "hidden": true
+ },
+ {
+ "key": "decision",
+ "label": "Decision",
+ "type": "choice"
+ },
+ {
+ "key": "comment",
+ "label": "Comment",
+ "type": "text"
+ }
+ ]
+ },
+ "Official_Comment": {
+ "label": "Comment",
+ "fields": [
+ {
+ "key": "title",
+ "label": "Title",
+ "type": "choice"
+ },
+ {
+ "key": "comment",
+ "label": "Comment",
+ "type": "text"
+ }
+ ]
+ },
+ "Public_Comment": {
+ "label": "Public comment",
+ "fields": [
+ {
+ "key": "title",
+ "label": "Title",
+ "type": "choice"
+ },
+ {
+ "key": "comment",
+ "label": "Comment",
+ "type": "text"
+ }
+ ]
+ },
+ "Withdrawal": {
+ "label": "Withdrawal",
+ "fields": [
+ {
+ "key": "withdrawal_confirmation",
+ "label": "Confirmation",
+ "hidden": true
+ }
+ ]
+ },
+ "Desk_Rejection": {
+ "label": "Desk rejection",
+ "fields": [
+ {
+ "key": "desk_reject_comments",
+ "label": "Reason",
+ "type": "text"
+ }
+ ]
+ },
+ "Official_Review": {
+ "label": "Official review",
+ "summary": [
+ "rating",
+ "confidence",
+ "soundness",
+ "presentation",
+ "informativeness"
+ ],
+ "fields": [
+ {
+ "key": "rating",
+ "label": "Rating",
+ "type": "score",
+ "min": 1,
+ "max": 4
+ },
+ {
+ "key": "confidence",
+ "label": "Confidence",
+ "type": "score",
+ "min": 1,
+ "max": 4
+ },
+ {
+ "key": "soundness",
+ "label": "Soundness",
+ "type": "score",
+ "min": 1,
+ "max": 3
+ },
+ {
+ "key": "presentation",
+ "label": "Presentation",
+ "type": "score",
+ "min": 1,
+ "max": 3
+ },
+ {
+ "key": "informativeness",
+ "label": "Informativeness",
+ "type": "score",
+ "min": 1,
+ "max": 3
+ },
+ {
+ "key": "paper_summary",
+ "label": "Summary",
+ "type": "text"
+ },
+ {
+ "key": "critical_strengths",
+ "label": "Strengths",
+ "type": "text"
+ },
+ {
+ "key": "critical_weaknesses",
+ "label": "Weaknesses",
+ "type": "text"
+ },
+ {
+ "key": "questions_for_authors",
+ "label": "Questions for the authors",
+ "type": "text"
+ },
+ {
+ "key": "flag_for_ethics_review",
+ "label": "Flag for ethics review",
+ "type": "choice",
+ "omitWhen": [
+ "No",
+ "No ethics review needed."
+ ]
+ },
+ {
+ "key": "details_of_ethics_concerns",
+ "label": "Ethics concerns",
+ "type": "text"
+ }
+ ]
+ }
+ },
+ "url": "https://openreview.net/group?id=ICLR.cc%2F2027%2FConference",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/0ezrx3trcu/notes/dc6xgagqyd.json added

+++ b/reviews/openreview/0ezrx3trcu/notes/dc6xgagqyd.json
@@ -0,0 +1,24 @@
+{
+ "schema": "review/1",
+ "id": "DC6XGagqyd",
+ "replyTo": null,
+ "kind": "review",
+ "invitation": "Official_Review",
+ "signature": "Reviewer qyBP",
+ "content": {
+ "paper_summary": "ADTGuard performs token-by-token safety detection over a frozen LLM. The Causal Depth Router (CDR) selects a Top-K subset of layers conditioned on the prompt and response prefix. Depth-Time Safety Dynamics (DTSD) uses separate state-space branches to aggregate depth-wise evidence and track temporal risk, with the depth output modulating the temporal update. Risk-Onset Target Refinement (RTR) constructs token-level soft targets from positive increments in the preceding epoch's cached risk trajectory, progressively replacing broadcast response labels.\nThe evaluation covers three backbones and five safety datasets.",
+ "presentation": 3,
+ "informativeness": 2,
+ "soundness": 2,
+ "critical_strengths": "1 Practical motivation \nReusing a frozen generator's hidden states avoids invoking an additional large moderation model for every prefix. Combining evidence across model depth with a temporal risk state is also reasonably motivated. \n\n2 Broad classification gains and an empirical benefit from RTR\nIn Table 1, ADTGuard achieves the highest Streaming F1 in 14 of 15 backbone-dataset settings. In Table 3, adding RTR increases Streaming F1 from 87.51 to 93.58. These results support the practical value of addressing the mismatch between response-level labels and prefix-level supervision",
+ "critical_weaknesses": "1. Comparison robustness\n The comparisons differ in training budget, context length, and check frequency: ADTGuard is trained for five epochs versus one for Kelp and the dedicated guards, SIREN uses a 512-token limit versus 4,096 for ADTGuard, and dedicated guards check every ten tokens on SGB versus every token for ADTGuard. Their effects remain unresolved. Moreover, three gains over Qwen3Guard-Stream are below one percentage point, while Public WildGuard performance is 4.42 points lower. \n\n 2. Unclear independent benefit of adaptive layer selection\n Table 3 shows that adding CDR changes Streaming F1 only from 86.05 to 86.09, with larger gains appearing after DTSD and RTR are introduced. This does not isolate the benefit of adaptive routing. Since component interactions may matter, the key missing control is a fixed Top-K readout with DTSD, RTR, and the training setup retained.\n\n 3. Limited conceptual grounding of risk-onset refinement\n RTR treats positive increments in the model’s historical risk scores as evidence of harmful onset, but the conceptual link between these quantities is insufficiently justified. Such increments could reflect model uncertainty rather than the emergence of harmful content. The KL characterization establishes the interpolation rule for a target profile; it does not establish that the profile captures meaningful information rather than reinforcing the model’s existing biases.",
+ "questions_for_authors": "1. Do the reported advantages persist with trained baselines, comparable context coverage, and matched check frequencies? Please also provide uncertainty estimates for the closest comparisons.\n\n 2. With DTSD retained, how does CDR compare with a fixed Top-K layer subset selected using only training or validation data under the same setup?\n\n 3. What assumption links positive risk-score increments to actual harmful onset? Can prefix annotations verify that RTR improves temporal localization beyond changing the detector’s calibration?",
+ "flag_for_ethics_review": "No",
+ "rating": 2,
+ "confidence": 4
+ },
+ "createdAt": "2026-10-21T11:29:26.786Z",
+ "modifiedAt": "2026-11-06T12:21:21.625Z",
+ "url": "https://openreview.net/forum?id=0eZRx3TrCU&noteId=DC6XGagqyd",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/0ezrx3trcu/notes/og6fkgb6y6.json added

+++ b/reviews/openreview/0ezrx3trcu/notes/og6fkgb6y6.json
@@ -0,0 +1,24 @@
+{
+ "schema": "review/1",
+ "id": "OG6fkGb6y6",
+ "replyTo": null,
+ "kind": "review",
+ "invitation": "Official_Review",
+ "signature": "Reviewer vKpe",
+ "content": {
+ "paper_summary": "This paper aims to address two core issues: first, feature representation-based methods read in a fixed number of layers, but the safety signals are not fixed within those layers; second, how to refine the response-level supervision signals to the token level as training progresses. The authors use CDR to implement dynamic layer selection, DSD and TSD to implement dynamic context selection, and RTR to refine labels as training progresses.",
+ "presentation": 2,
+ "informativeness": 2,
+ "soundness": 2,
+ "critical_strengths": "I believe RTR has been very insightful to me. In the early stages of model training, it relies on response-level supervision signals to shape potential safety judgments, and then gradually reduces its dependence on these signals, which aligns well with the intuition behind incremental learning.",
+ "critical_weaknesses": "- Why does CDR use the current layer selection method? I understand the rationale behind dynamic layer selection, but since CDR currently scores each layer based on prefix representations, I’m curious why it doesn’t simply use the current hidden states of each layer (or perform another MLP mapping) for attention, followed by weighted fusion or Top-K selection (or some other similar, simpler approach)?\n\n- It makes sense to consider both model depth and generation history. However, the implementation involves two state-space branches, with the depth summary also adjusting the update step size of the time branch. I’d like to understand which of these design elements is most critical: the sequential processing of cross-layer information, cross-token memory, or the coupling between the two? For example, how much worse would the performance be if we simply appended a temporal module to a multi-layer fusion network, or fed the deep summary into the temporal branch via concatenation or gating? Such comparisons might better illustrate why the current architecture is worth adopting.\n\n- Based on the ablation results, the flow metrics improved significantly after incorporating RTR, so I’m curious: if we apply the same target refinement method to a simpler detector, how much improvement can we achieve? Additionally, since RTR uses the risk changes from the previous prediction cycle to guide the next training cycle, if the previous cycle incorrectly identified the location of the risk, is it possible that subsequent training could reinforce this bias? Would using a small number of manually annotated prefixes or risk origins help verify whether the refined targets are closer to reality?\n\n- Streaming F1 counts a detection as successful as long as it is triggered at any point in the response. However, there is a significant difference in effectiveness between intercepting harmful content as soon as it appears and intercepting it only after a substantial amount has already been output. Triggering the system prematurely at the start of a normal response may also negatively impact the user experience. Therefore, I would like to know if tests have been conducted to measure detection latency, the amount of harmful content released before interception, and false positives on normal content prefixes. These results can also help determine whether RTR has improved the identification of where risks occur.\n\n- Judging by the results, the performance of this paper is close to that of Qwen3Guard-Stream. If Qwen3Guard-Stream is already effective enough, why is there a need for a method like the one described in this paper, which is so meticulously designed and, to me, extremely complex?",
+ "questions_for_authors": "See the weaknesses above.",
+ "flag_for_ethics_review": "No",
+ "rating": 2,
+ "confidence": 3
+ },
+ "createdAt": "2026-10-20T09:44:58.223Z",
+ "modifiedAt": "2026-11-06T12:21:22.982Z",
+ "url": "https://openreview.net/forum?id=0eZRx3TrCU&noteId=OG6fkGb6y6",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/0ezrx3trcu/notes/vgolm1npv6.json added

+++ b/reviews/openreview/0ezrx3trcu/notes/vgolm1npv6.json
@@ -0,0 +1,24 @@
+{
+ "schema": "review/1",
+ "id": "vgoLm1npv6",
+ "replyTo": null,
+ "kind": "review",
+ "invitation": "Official_Review",
+ "signature": "Reviewer kbM5",
+ "content": {
+ "paper_summary": "This paper proposes ADTGuard, a small add-on module that sits on a frozen LLM and checks each response prefix for harmful content before the token is shown to the user. It picks a few layers to read at each token, combines them with two Mamba-style scans (one across layers, one across tokens), and trains on token-level targets that it builds from its own risk curves from the previous epoch, since the datasets only label whole responses. On five safety benchmarks and three base models, it beats the probe-based baselines SIREN and Kelp and is roughly on par with fine-tuned guard models like Qwen3Guard-Stream, at about 2.3 ms of extra latency per token.",
+ "presentation": 1,
+ "informativeness": 1,
+ "soundness": 1,
+ "critical_strengths": "The refined targets cut false alarms on safe responses from 137 to around 38, which shows a real flaw in copying the response label onto every token and offers a cheap fix. The gains over other probe methods are consistent across the base model and datasets, and the experiments are documented carefully, with latency confidence intervals and released code.",
+ "critical_weaknesses": "The method stacks several known techniques, and the paper rarely says why each one is there or tests whether it’s needed, since the ablation only adds components one at a time. Some choices even work against the paper’s own argument. For example, the prompt summary uses a uniform average over all layers, exactly the kind of fixed readout the router is supposed to replace. The one formal result for the refined targets just restates that cross-entropy is linear in its target. It doesn’t argue that the targets move toward where the harm actually starts rather than reinforcing the model’s early guesses.\n\nAgainst the fine-tuned guards, ADTGuard wins Response F1 on only one of five datasets, and most of its Streaming F1 wins are under 1pp, even though those baselines got one training epoch to its five. The adaptive routing in the title adds 0.04 Streaming F1 in the ablation. The paper is motivated by catching harm early, but Streaming F1 gives full credit for an alarm on the last token. Each detector is also trained and tested on a single dataset, everything is from one seed. So it’s hard to say how well this holds up in practice.",
+ "questions_for_authors": "Why is the prompt summary $s_0$ a uniform average over all L layers, when the paper’s main argument is that uniform readouts across depth are inadequate? How does it compare with the final prompt token’s representation, a single mid-depth layer, or running the router over the prompt as well?\n\nWhy does the router use only embedding-layer features of the response? Did you try routing from a deeper layer, and how much does the cost actually change?\n\nWhat does the depth SSM gain over a learned weighted sum or a small attention layer over the K selected layers? Separately, what happens if you remove the $\\gamma(d_t)$ coupling and simply concatenate the depth summary with the temporal input?\n\nCan you show the effect of each component on its own rather than only cumulatively? In particular: DTSD with a fixed set of layers, DTSD with all layers and learned static weights, and the MLP baseline trained with RTR targets. Those would show whether the routing or the architecture is doing the work.\n\nDoes RTR actually move toward the true onset, or does it lock in the epoch-1 notion of what’s distinguishable from safe responses? A cross-fitted teacher (each example’s curve comes from a model that never trained on it), a fixed linear-ramp target, and recomputing the curve at the end of each epoch instead of caching it mid-training with dropout on would all help. Also, how is the first increment defined in the normalisation? That decides whether harm from the very first token can be represented.\n\nCan you report when alarms fire, not just whether they fire? For example, the distribution of first-alarm positions with and without RTR, and alarm position relative to the onset on data that has onset or sentence-level annotations.\n\nHow do results change over several seeds, and with Kelp and the LoRA guards trained for the same number of epochs with the same schedule as ADTGuard?\n\nHow does a detector trained on one dataset do on the others? How does the method do on instruct backbones that are monitoring their own generations?\n\nCan you report AUROC or the false-positive rate at a fixed recall on safe responses, and compare ADTGuard’s latency with Kelp and a simple linear probe? That would back up the “competitive latency” claim.",
+ "flag_for_ethics_review": "No",
+ "rating": 1,
+ "confidence": 4
+ },
+ "createdAt": "2026-10-21T18:08:44.058Z",
+ "modifiedAt": "2026-11-06T12:21:20.257Z",
+ "url": "https://openreview.net/forum?id=0eZRx3TrCU&noteId=vgoLm1npv6",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/0ezrx3trcu/submission.json added

+++ b/reviews/openreview/0ezrx3trcu/submission.json
@@ -0,0 +1,18 @@
+{
+ "schema": "submission/1",
+ "id": "0eZRx3TrCU",
+ "venue": {
+ "id": "ICLR.cc/2027/Conference",
+ "name": "ICLR 2027",
+ "url": "https://openreview.net/group?id=ICLR.cc%2F2027%2FConference"
+ },
+ "number": 17960,
+ "keywords": [
+ "LLM Safety",
+ "Safeguard",
+ "Adaptive",
+ "Streaming Inference"
+ ],
+ "url": "https://openreview.net/forum?id=0eZRx3TrCU",
+ "license": "CC-BY-4.0"
+}

versions/v_8hwkf2nq.json added

+++ b/versions/v_8hwkf2nq.json
@@ -0,0 +1,21 @@
+{
+ "date": "2026-09-14",
+ "kind": "submitted",
+ "label": "ICLR 2027",
+ "submissions": [
+ {
+ "venue": "ICLR 2027",
+ "status": "under_review",
+ "number": 17960,
+ "url": "https://openreview.net/forum?id=0eZRx3TrCU",
+ "reviews": "openreview/0ezrx3trcu",
+ "evidence": [
+ "https://openreview.net/forum?id=0eZRx3TrCU"
+ ]
+ }
+ ],
+ "url": "https://openreview.net/forum?id=0eZRx3TrCU",
+ "evidence": [
+ "https://openreview.net/forum?id=0eZRx3TrCU"
+ ]
+}