Safe Alone, Unsafe Together: Compositional Curvature Safety Alignment for Prompt Robustness
Asim Khan, Abhijit Das, Rishabh Lalla, Behzad Bozorgtabar, Dwarikanath Mahapatra
ICLR 2027
TL;DR. Individually safe prompt transformations can interact to produce unsafe behavior; C\(^2\)SA controls adverse safety curvature to improve robustness to unseen compositions while providing certified composition-order guarantees
Abstract. Safety-aligned language models are typically evaluated against isolated prompt transformations or sampled attack compositions. We identify a distinct failure mode in which transformations that preserve appropriate behavior individually interact to cross the model's safety boundary. We formalize compositional prompt safety over a lattice of policy-preserving factors and introduce \emph{adverse safety curvature}, the negative part of the mixed discrete derivative of a sequence-level appropriate-response margin. We show that factor-pair-specific curvature bounds yield a lower bound on every composed margin and a certified composition order on an exhaustively verified finite lattice. Guided by this result, we propose , which discovers violated base-margin, singleton, curvature, and utility conditions and applies minimum-change updates in an editable parameter subspace. During alignment, evaluates curvature contexts of size at most three, requiring lattice nodes only through order five; orders six through eight are reserved exclusively for higher-order extrapolation. Across three open-weight model families and eight prompt factors, of harmful requests that are safe under every singleton transformation fail at one or more test-only orders. Adverse curvature predicts these failures with an AUROC of . Relative to the strongest curvature-hinge baseline, reduces ASR across orders six through eight from to and SCFR from to , while changing benign helpfulness by only points. Pair-specific certification covers of test prompts through order three, and the robustness gains persist under unseen factor realizations, held-out factor families, factor-order permutations, and adaptive post-repair attacks. These results establish adverse safety curvature as a measurable and controllable source of compositional alignment failure.
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 paperedit · history
ICLR 2027
Withdrawn · 3 reviews · OpenReview
Updated 24 Nov 2026, 17:20 UTC.
- Rating
- 1/4
- Confidence
- 3/4
- Soundness
- 1/3
- Presentation
- 1/3
- Informativeness
- 1/3
- Flag for ethics review
- Yes
Read review
Summary
Strengths
- The problem is real and motivated. Solving compositional attacks is important and challenging.
- The curvature-based framing of compositional attack offers an interesting theoretical perspective in understanding the mechanism of compositional attack.
Weaknesses
- The paper is poorly written. Specifically, this paper contains
- A lot of undefined variables/terminologies. For example, the meaning of in line 148, in Line 149, LME in line 157. It also does not provide a detailed explanation of why in line 152, why in line 166 etc. Making it extremely hard to understand the theory in Section 3 and hard to understand the results in the later sections. I also don't understand what the meaning of "policy-preserving" in line 145, since policy can refer to both "language model as the policy model " and "the safety constraints that the model should follow.
- The threat model is never stated, and the theoretical contribution reads hollow. Computing the bound requires margins at all nodes and may be hard for large .
- The reported numbers seem weird. I don't understand why most of the numbers in Table 1, Table 3, Table 8, and Table 9 end with .0 and .5. Most importantly, in Table 8 and Table 9 (in the supplementary material), for almost every method, the gap between Llama, Qwen, and Gemma is the same. See the table below
Table 8: SCFR 6:8 (%)
| Method | Llama | Qwen | Gemma | Llama→Qwen | Qwen→Gemma |
|---|---|---|---|---|---|
| Base model | 18.5 | 21.5 | 25.1 | +3.0 | +3.6 |
| Single-factor tuning | 16.0 | 18.8 | 22.2 | +2.8 | +3.4 |
| Pairwise training | 13.5 | 16.0 | 18.5 | +2.5 | +2.5 |
| Random composition | 11.5 | 14.0 | 16.5 | +2.5 | +2.5 |
| Hard-negative training | 10.5 | 13.0 | 15.5 | +2.5 | +2.5 |
| ASCOT-inspired | 9.5 | 12.0 | 14.5 | +2.5 | +2.5 |
| Margin hinge | 10.5 | 13.0 | 15.5 | +2.5 | +2.5 |
| Active margin projection | 8.5 | 11.0 | 13.5 | +2.5 | +2.5 |
| Curvature hinge | 7.0 | 9.5 | 12.0 | +2.5 | +2.5 |
| C2SA | 5.0 | 7.5 | 10.0 | +2.5 | +2.5 |
Table 9: ASR 6:8 (%)
| Method | Llama | Qwen | Gemma | Llama→Qwen | Qwen→Gemma |
|---|---|---|---|---|---|
| Base model | 37.0 | 40.5 | 44.3 | +3.5 | +3.8 |
| Single-factor tuning | 34.5 | 38.0 | 41.5 | +3.5 | +3.5 |
| Pairwise training | 30.5 | 34.0 | 37.5 | +3.5 | +3.5 |
| Random composition | 27.5 | 31.0 | 34.5 | +3.5 | +3.5 |
| Hard-negative training | 25.5 | 29.0 | 32.5 | +3.5 | +3.5 |
| ASCOT-inspired | 24.0 | 27.5 | 31.0 | +3.5 | +3.5 |
| Margin hinge | 25.0 | 28.5 | 32.0 | +3.5 | +3.5 |
| Active margin projection | 22.0 | 25.5 | 29.0 | +3.5 | +3.5 |
| Curvature hinge | 18.5 | 22.0 | 25.5 | +3.5 | +3.5 |
| C2SA | 14.5 | 18.0 | 21.5 | +3.5 | +3.5 |
| Given this, I feel not confident in trusting the numbers reported in the paper and think the paper should be clearly rejected. |
Questions for the authors
I have listed my questions in the weaknesses section.
Ethics concerns
The reported numbers may be fabricated. See weakness above.
- Rating
- 2/4
- Confidence
- 2/4
- Soundness
- 2/3
- Presentation
- 2/3
- Informativeness
- 2/3
Read review
Summary
The paper studies singleton-safe, composition-unsafe failure mode in LLMs. Specifically, a model may react safely against one harmful attack but cannot show the same robustness level when the attacks become compositional. The paper therefore formalizes the safe behavior as a set function over a controlled lattice of policy-preserving prompt factors. Then, authors also introduce a compositional curvature safety alignment method that identifies and optimizes for the most violable factor/adverse curvature at each iteration. The experiments show to be affective in reducing ASR and SCFR while maintaining helpfulness levels.
Strengths
- The paper researched on an important problem that being robust to one prompt transformation does not naturally imply being robust to their compositions.
- The experimental results and ablations are relatively comprehensive and demonstrated the effectiveness of .
Weaknesses
- In the related work, multiple defenses are mentioned and cited, including ASCot, but it is not very clear to me how are they used in the experiments. For example, Table 1 covers Single-factor tuning, Pairwise training, Random composition, Hard-negative training, ASCpT-inspired, but does it mean authors used these literature's exact algorithms/codes to produce these results? if not, why and what changes have been done compared to their individual algorithms.
- Similar to above, there are reporting of H4RM3L- and CHIMERA-style attacks
- The paper only mentioned that they use about the same compute for the baselines, but did not mention how much more compute does it need compared to normal fine-tuning. Specifically, I think it would be more meaningful to compare the performance vs cost curve to make this point more explicit. Otherwise, the baselines could have converged early and the extra cost spent in this paper will be misleading.
Questions for the authors
- What is the definitions of ? why is not in , i.e. Eq 4
- What does this note mean in line 199-201? "Because K = 8, the certificate is verified exactly after checkpoint selection and serves as a structural decomposition rather than an evaluation shortcut. It certifies the anchor-based margin, not every sampled completion; all out-of-lattice results remain empirical."
- What does Figure 1, first block, bottom, mean? i.e. from {1,..., K} to the empty set
- I might have missed it, but where is in eq 10 defined?
- Same as above, where is , , defined?
- What and why does this mean "During alignment, curvature contexts satisfy |S|→3, requiring nodes through order five."
- Will thinking mode help defend the composition, i.e. lower SCFR/ASR
- Rating
- 3/4
- Confidence
- 1/4
- Soundness
- 2/3
- Presentation
- 3/3
- Informativeness
- 2/3
Read review
Summary
This paper studies safety failures that arise when individually tolerated prompt transformations are combined. It introduces adverse safety curvature to measure interaction-induced degradation of an appropriate-response margin and derives a pair-specific compositional bound. The proposed C²SA method repairs violated margin, curvature, and utility constraints through minimum-change parameter updates. Experiments show improved robustness on composition orders excluded from training, with further gains on unseen transformations and adaptive attacks. Ablations and compute-matched comparisons support the contribution of contextual curvature constraints.
Strengths
-
The paper connects its diagnosis to the training objective. Adverse curvature measures interaction effects, appears in the compositional bound, and guides alignment. This gives the method a coherent rationale.
-
The ablations address several plausible explanations for the gains. The active margin projection control and compute-matched comparisons help separate the benefit of curvature constraints from active selection, optimization machinery, and additional computation.
Weaknesses
-
The certificate guarantees an anchor-based margin, not safe generation. Its safety meaning depends on how well the chosen anchors represent possible model outputs.
-
Certification still requires exhaustive lattice evaluation. The bound explains interactions, but offers limited practical advantage over checking each composition directly.
Questions for the authors
-
Would a simpler regularizer on composition-induced margin degradation achieve similar gains? This would help establish the benefit of the curvature formulation beyond the existing margin-based controls.
-
Does using pair-specific tolerances during alignment improve robustness over the shared tolerance? The current comparison establishes tighter certification, but not whether this refinement improves the learned model.
-
Do the margin and certification improvements persist with independently constructed response anchors that were not used during optimization?
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
This paper proposes C2SA, a violation-guided minimum-change algorithm that directly controls the contextual curvature and improves strict higher-order robustness without obtaining safety through broad refusal. Experiment resutls show that C2SA reduces ASR across orders six through eight from 22.0% to 18.0% and SCFR from 9.5% to 7.5%, while changing benign helpfulness by only 0.3 points.