Safety-Constrained Test-Time Training: Post-Update Guarding for Aligned Language Models
Import ICLR 2027 submission 62qsX8Btgx: 3 notes
@openreview[bot] · 2026-11-22 20:21 UTC · 763fb38073b3
.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": "62qsX8Btgx"+ }+ ],+ "title": "Safety-Constrained Test-Time Training: Post-Update Guarding for Aligned Language Models",+ "authors": [],+ "abstract": "Test-time training (TTT) adapts a language model during inference, but an\nattacker can use the same update loop to erode safety alignment. We propose\nSafety-Constrained Test-Time Training (SC-TTT), which probes each\ncandidate update against a fixed behavioral reference. It retains the candidate\nonly when the harmful-side compliance change does not exceed the benign-side\nchange by more than a threshold. Otherwise, SC-TTT restores the preceding\nparameter state. Across Gemma-3-4B, Llama-3.2-3B, and Qwen3.5-4B, SC-TTT lowers mean attack\nsuccess from 19.8-50.3\\% under vanilla TTT to 0.1-5.8\\% over five random\nseeds. It retains 0.83-1.09 of the vanilla adaptation gain on BBH-H3 and\nmatches vanilla accuracy on ARC-AGI. A learning-rate analysis shows\nthat the criterion is reliable only within a calibrated working regime. A full-knowledge three-step pressure test still suppresses 47-70\\% of vanilla\nattack success despite optimizing the gate directly. These results establish\nstrong attack suppression, high utility retention, and an explicit operating\nregime for guarded test-time adaptation.",+ "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/62qsx8btgx/forms.json added
+++ b/reviews/openreview/62qsx8btgx/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/62qsx8btgx/notes/1q1o5kskoi.json added
+++ b/reviews/openreview/62qsx8btgx/notes/1q1o5kskoi.json@@ -0,0 +1,24 @@+{+ "schema": "review/1",+ "id": "1q1o5KsKoi",+ "replyTo": null,+ "kind": "review",+ "invitation": "Official_Review",+ "signature": "Reviewer CwCz",+ "content": {+ "paper_summary": "This paper proposes a defense against test-time training (TTT) attacks. In this threat, an adversary exploits the parameter updates induced by their own adaptation data to erode the model's safety alignment. The method snapshots the trainable parameters before each optimizer step and scores the resulting candidate on 6 harmful and 6 benign anchor prompts. It then computes the gap $g = \\Delta H - \\Delta B$ relative to the base model and rolls back any candidate whose gap exceeds a fixed threshold.",+ "presentation": 2,+ "informativeness": 1,+ "soundness": 1,+ "critical_strengths": "The topic is timely, and the security of test-time adaptation mechanisms is important for the community.",+ "critical_weaknesses": "- The criterion is structurally weak and, I would argue, easily bypassed. Because $\\Delta B$ is subtracted from$\\Delta H$, an attacker who raises harmful and benign compliance together passes the gate. Besides, the approach depends heavily on six anchors and a single compliance target per model. It is unclear whether these capture harmful drift outside the narrow distribution tested, for example other harm categories or targeted objectives. A category-held-out evaluation, with anchors and attack data drawn from different harm domains, would be needed to support any generalization claim.\n\n- Against naive harmful fine-tuning, the gate rejects nearly 100\\% of candidates. The defended model is therefore essentially the base model, and its ASR matches the no-TTT baseline almost by construction. A more informative setting would mix harmful and benign data in the adaptation stream. The evaluation is also shallow: it uses 32 harmful prompts of unspecified provenance and a single attack recipe, and the five seeds vary training noise rather than the prompt set.",+ "questions_for_authors": "How would the approach perform when the anchors and the attack data come from different harm categories/distributions? or when the adversary's harmful completions avoid the fixed compliance target? And how would the approach behave when harmful and benign examples are mixed in the setting?",+ "flag_for_ethics_review": "No",+ "rating": 1,+ "confidence": 4+ },+ "createdAt": "2026-10-21T17:22:14.529Z",+ "modifiedAt": "2026-11-06T12:17:14.653Z",+ "url": "https://openreview.net/forum?id=62qsX8Btgx¬eId=1q1o5KsKoi",+ "license": "CC-BY-4.0"+}
reviews/openreview/62qsx8btgx/notes/ks8hvpthdw.json added
+++ b/reviews/openreview/62qsx8btgx/notes/ks8hvpthdw.json@@ -0,0 +1,24 @@+{+ "schema": "review/1",+ "id": "kS8HvpthdW",+ "replyTo": null,+ "kind": "review",+ "invitation": "Official_Review",+ "signature": "Reviewer QSU4",+ "content": {+ "paper_summary": "The paper studies the problem of test-time training for adversarial robustness. The authors shift the defense from input-level detection to the stage following candidate parameter updates, thereby providing a more realistic defense setting. Additionally, the paper conducts experiments to validate the effectiveness of the proposed SC-TTT.",+ "presentation": 1,+ "informativeness": 2,+ "soundness": 1,+ "critical_strengths": "1. The topic is attractive and realistic.\n\n2. The motivation is clearly stated.\n\n3. The method is simple and easy to integrate into existing test-time training pipelines.",+ "critical_weaknesses": "1. The paragraphs are too fragmented, making it difficult for readers to follow the discussion.\n\n2. ASR is a metric where lower values indicate better performance. Please also consider over-rejection during defense. The following work may be relevant to your study:\n\n[1] Calibrating Inference Time Alignment with Sequence-level Risk Accumulation. ACL Main 2026.\n\n[2] Llms encode harmfulness and refusal separately. Neurips 2026.\n\n[3] Beyond I'm Sorry, I Can't: Dissecting Large-Language-Model Refusal. AAAI 2026.\n\n3. The baselines are relatively weak. Please consider comparisons with state-of-the-art test-time scaling baselines",+ "questions_for_authors": "Please refer to the critical weaknesses.",+ "flag_for_ethics_review": "No",+ "rating": 2,+ "confidence": 3+ },+ "createdAt": "2026-10-16T15:14:01.526Z",+ "modifiedAt": "2026-11-06T12:17:17.177Z",+ "url": "https://openreview.net/forum?id=62qsX8Btgx¬eId=kS8HvpthdW",+ "license": "CC-BY-4.0"+}
reviews/openreview/62qsx8btgx/notes/xnwwf807od.json added
+++ b/reviews/openreview/62qsx8btgx/notes/xnwwf807od.json@@ -0,0 +1,24 @@+{+ "schema": "review/1",+ "id": "xnWwf807od",+ "replyTo": null,+ "kind": "review",+ "invitation": "Official_Review",+ "signature": "Reviewer mNsf",+ "content": {+ "paper_summary": "This paper focuses on a practical security concern: how to prevent adversaries from undermining the safety alignment of large language models (LLMs) through test-time training (TTT). To address this issue, the authors propose SC-TTT, a safety-constrained framework that selectively accepts or rejects candidate parameter updates using a lightweight post-update behavioral gate. The authors evaluate SC-TTT across three LLM families (Qwen, Llama, and Gemma). Experimental results demonstrate that SC-TTT substantially reduces the attack success rate (ASR) while preserving the utility gains achieved through TTT.",+ "presentation": 2,+ "informativeness": 2,+ "soundness": 2,+ "critical_strengths": "1. The research problem is valuable. The authors propose a timely security concern: an adversary could manipulate the parameter-update during Test-Time Training to undermine the alignment of the LLM. \n\n2. The proposed framework is simple yet effective: the authors propose SC-TTT, which is based on behavioral probing and parameter rollback, without introducing extra training cost.\n\n3. The experimental results demonstrate the effectiveness of SC-TTT, reducing ASR while preserving utility performance.",+ "critical_weaknesses": "1. **The core design of the safety criterion needs further discussion.** The authors define $g = \\Delta H - \\Delta B$, and use $g \\leq \\tau$ to judge whether this update is safe. However, this design of $g$ can only constrain the relative increase of $B$ compared to $H$. For example, when $\\Delta H = 0.5$ and $\\Delta B = 0.5$ (i.e., $g=0$), or $\\Delta H = 1.5$ and $\\Delta B = 1.7$ (i.e., $g=-0.2$), SC-TTT would accept these updates while the harmful compliance is significantly increased.\n\n2. **Limited Evidence of Selective Adaptation.** As reported in Table 3, SC-TTT rejects nearly all harmful updates (97.5–100%), making its strong safety performance difficult to distinguish from simply preventing parameter adaptation. The authors should add more experiments to demonstrate the effectiveness of the proposed selective update mechanism.\n\n3. **Lack of essential ablation studies.** The paper lacks ablation studies to validate the necessity of its key design choices, particularly the harmful–benign contrast and fixed-reference criterion. Comparisons with simpler alternatives, such as a harmful-only gate and a moving-reference gate, would help clarify the individual contributions of these components to safety and utility.",+ "questions_for_authors": "1. I have concerns about some reported results. For example, in Table 1, the authors report that the results of Qwen and Llama are exactly identical (0.12±0.17 for ASR and 1.25±1.7 for ASR@10), the authors should further explain why the two models achieve the same results. \n\n2. The authors should report the absolute accuracy of the three models with any TTT, i.e., the accuracy of Non-TTT.\n\n3. Why is retaining the AdamW optimizer state preferable to fully restoring the training state after a rejected update? Could gradients from rejected malicious candidates indirectly affect subsequent updates through the retained moments?\n\n4. How does SC-TTT behave under mixed benign–malicious adaptation streams and longer update trajectories? The current evaluation separates harmful and benign episodes, while real-world deployments may involve interleaved updates within the same model state.",+ "flag_for_ethics_review": "No",+ "rating": 2,+ "confidence": 2+ },+ "createdAt": "2026-10-18T13:50:17.634Z",+ "modifiedAt": "2026-11-06T12:17:15.962Z",+ "url": "https://openreview.net/forum?id=62qsX8Btgx¬eId=xnWwf807od",+ "license": "CC-BY-4.0"+}
reviews/openreview/62qsx8btgx/submission.json added
+++ b/reviews/openreview/62qsx8btgx/submission.json@@ -0,0 +1,18 @@+{+ "schema": "submission/1",+ "id": "62qsX8Btgx",+ "venue": {+ "id": "ICLR.cc/2027/Conference",+ "name": "ICLR 2027",+ "url": "https://openreview.net/group?id=ICLR.cc%2F2027%2FConference"+ },+ "number": 9461,+ "keywords": [+ "test-time training",+ "safety alignment",+ "adversarial robustness",+ "parameter-efficient fine-tuning"+ ],+ "url": "https://openreview.net/forum?id=62qsX8Btgx",+ "license": "CC-BY-4.0"+}
versions/v_v8p2zayc.json added
+++ b/versions/v_v8p2zayc.json@@ -0,0 +1,21 @@+{+ "date": "2026-09-05",+ "kind": "submitted",+ "label": "ICLR 2027",+ "submissions": [+ {+ "venue": "ICLR 2027",+ "status": "under_review",+ "number": 9461,+ "url": "https://openreview.net/forum?id=62qsX8Btgx",+ "reviews": "openreview/62qsx8btgx",+ "evidence": [+ "https://openreview.net/forum?id=62qsX8Btgx"+ ]+ }+ ],+ "url": "https://openreview.net/forum?id=62qsX8Btgx",+ "evidence": [+ "https://openreview.net/forum?id=62qsX8Btgx"+ ]+}