The study proposes a method for bounded reachability and jailbreak detection based on contraction-constrained state space modelsBounded Reachability & Jailbreak Detection via Contraction-Constrained State Space Models
The contraction penalty raises the toy LTI's certified rate at δ=1e-4 from 41.0% to 59.2%; the S4 head achieves JDR=1.0 in the JBB static setting.
The adversary can shift each coordinate of each token embedding by at most δ within l∞, with the perturbation acting on the embedding sequence rather than discrete tokens. Certification requires the predicted label to remain unchanged within that ball. The jailbreak evaluation additionally includes static threats with fixed templates, as well as black-box adaptive attacks that can query scores and white-box adaptive attacks that can read gradients.
- The safety head must flag harmful inputs before generation, but there is no formal condition for when an SSM head can be certified to have invariant predictions under bounded embedding perturbations. The authors argue that when ||A||∞≥1, the interval grows unboundedly with sequence length, making certification empty.
- Write the classifier as an LTI recurrence, use the positive and negative parts of A for exact interval propagation, and use a hinge penalty to push ||A||∞ below 1. Jailbreak detection uses a two-layer S4 head attached to the Mamba-130M embedding table, reading only the prompt. The formal proposition covers only the toy LTI.
- Toy setting δ=1e-4: constrained model certification proportion 59.2%, unconstrained 41.0%. JBB static six attack families JDR=1.0; AdvBench and HarmBench DR are 0.994 and 0.988. Linear probe AUROC=1.0; direct-attack white-box ASR=1.0.
- Appendix A.3 states that exact box propagation applies only to the toy LTI, the δ ball is in embedding space rather than token space, and the certified set is a conservative subset. The conclusion proposes adversarial training, filling the HarmBench gap, and extending box propagation to nonlinear SSMs. The paper does not report a certification proportion for the S4 head.
- Evaluated models
- SSM-headToySSMClassifier
- Benchmarks
- Civil Comments/Jigsaw Unintended BiasJailbreakBenchAdvBenchHarmBench
- Metrics
- certified fractionJDRDRAUROCASRFPR
The paper studies when a safety head based on a state space model (SSM) can be certified to give the same prediction for all inputs within a bounded perturbation of the embedding space, proving that the key lies in the l∞ norm of the state transition matrix satisfying the contraction condition (‖A‖∞<1), under which exact interval bound propagation (IBP) certification can be performed on the linear time-invariant classifier. When the contraction condition holds, the steady-state width of the reachable output interval is bounded and samples can be certified as robustly classified; when it does not hold, the interval grows exponentially with sequence length and no certification is possible at any practical perturbation radius. The authors use a hinge penalty to enforce contraction, raising the certified rate from 41% to 59% on toxic comment data, and observe a phase transition at ‖A‖∞=1 consistent with theory. Applying the contraction-regularized S4 head to JailbreakBench jailbreak detection, zero-shot transfer gives DR=0.994 on AdvBench and DR=0.988 on HarmBench.
Related events and news
1 events · 0 news mentions
- This event's paper
收缩约束SSM安全头的越狱检测认证
Paper analysis
What problem does this paper attempt to solve?
The authors state that on the toy LTI, ||A||∞<1 is a necessary and sufficient condition for the output reachable interval to be bounded.
Can a trained LTI SSM classifier be certified: do all perturbations within an l∞ embedding ball give the same prediction.
- Scenario: The authors argue that SSMs such as Mamba and Jamba will enter safety-sensitive deployments and need formally certifiable safety mechanisms. Response-level review relies on refusal or compliance phrases, and base models without safety training have no structured refusal; prompt-level classifiers look only at the input, and formal robustness analysis of sequence models is rare.
- Gap: Feedforward networks can propagate intervals layer by layer with IBP and CROWN. The SSM recurrence composes one-step perturbations backward, amplifying by at most ||A||∞ to the power of T over length T. When ||A||∞≥1, for any δ>0 and sufficiently long T, the reachable set can cover both sides of the decision boundary, making certification empty. Randomized smoothing gives only probabilistic guarantees and cannot exactly certify individual examples.
- Condition: The introduction first says whether the interval is bounded depends on the spectral radius of A, then writes the threshold as the maximum row-sum norm ||A||∞<1. The authors call this the boundary between certifiable and non-certifiable: below 1 the width converges, at or above 1 it grows unboundedly.
- Approach: The authors give a toy LTI proposition: contraction is sufficient for the reachable interval to be bounded, and that bound being independent of the time horizon is necessary; a hinge penalty is used to push ||A||∞ down. They then apply the contraction-regularized two-layer S4 head to prompt-level detection on JBB. The proposition applies only to the toy LTI (Appendix B); the JBB results are empirical claims under a specific benchmark and threat model (Section 4).
- Threat model:
- Goal: The label is invariant for all embedding sequences within an l∞(δ) ball.
- Capability: Each coordinate of each token embedding can shift independently by at most δ. The paper says this corresponds to synonym replacement, paraphrase, and small continuous shifts in embedding space; it acts on the embedding sequence, not discrete tokens.
- System: The toy setting is an LTI classifier. The jailbreak setting is an S4 head on the Mamba-130M embedding table without safety training, reading only the prompt and not seeing the reply.
- Regime: In the static regime, templates are fixed in advance and do not adapt to the detector. The adaptive regime includes embedding-gradient proxies, black-box score-only queries, and white-box with gradients available. The paper states that static results do not guarantee robustness against adaptive adversaries.
What related research exists?
The paper positions itself by SSM, jailbreak review, formal certification, and representation probes, with the distinction being certifiability rather than stronger discrimination.
State space models
- S4 and Mamba: S4 from Gu et al. (2021) and Mamba from Gu & Dao (2024) are called by the paper competitive with Transformers on long sequences. The diagonal real parameterization and zero-order hold discretization from Gu et al. (2022) are used to connect to classical LTI stability. The introduction also mentions Jamba (Lieber et al., 2024).
Jailbreak detection and response-level review
- JailbreakBench: Chao et al. (2024) provides a standardized jailbreak evaluation. This paper uses it as the main benchmark and uses its StringJudge and KeywordJudge as protocol references: both look at the response, not the prompt.
- Response-level review: LlamaGuard (Inan et al., 2023) and GPT-4 scorers rely on model outputs. The paper attributes string/keyword heuristics to Zou et al. (2023), calling them cheaper but brittle and response-dependent. The authors use this to contrast with their paper: the head classifies at the prompt embedding layer, avoiding response dependence.
Formal robustness certification
- IBP and CROWN: Gowal et al. (2018) and Zhang et al. (2018) certify feedforward networks under lp perturbations. The paper says IBP is exact on linear networks, while nonlinear networks introduce relaxation error.
- Recurrent networks: Jacoby et al. (2020) use invariant inference for bounded RNNs with nonlinear activations, which the paper calls a relatively immature direction. For LTI, A+/A− box propagation is written as equivalent to exact IBP; the contraction condition is compared to 1-Lipschitz constraints in feedforward networks, both avoiding perturbation magnitude amplification in the computation graph.
- Random smoothing: Cohen et al. (2019) is used in the introduction for comparison: it does not depend on architecture but gives only probabilistic guarantees and cannot exactly certify individual examples. Jia et al. (2019) is used only to illustrate that embedding perturbations can correspond to word substitutions; the paper does not expand the comparison.
Representation-based classification
- Representation Engineering: attributed by the paper to Zou et al. (2023), training lightweight classifiers on LLM hidden states without formal robustness analysis. The authors say the linear probe in Section 4 is similar, and its detection performance is consistent with "harmful intent being linearly encodable in pretrained models." This paper is positioned as certifying the classifier itself, not claiming that simpler baselines contain no safety signal.
Baselines and benchmarks: the toy baseline is the unconstrained LTI with λ=0, with data from Civil Comments/Jigsaw Unintended Bias (Borkan et al., 2019). Jailbreak baselines are StringJudge, KeywordJudge, and logistic regression and MLP on the same Mamba-130M mean-pooled embeddings; benchmarks are JailbreakBench, AdvBench, HarmBench.
The authors place the distinction on being prompt-level, not looking at the response, and on exactly computable reachable intervals in the LTI setting. Discriminative power itself is not claimed to be superior to linear probes.
How does the paper address this problem?
Use exact interval propagation plus a hinge penalty to enforce contraction, then attach that penalty to a two-layer S4 safety head.
Overall, it is a contraction-constrained SSM safety head: the toy part writes the classifier as a linear time-invariant recurrence, uses exact interval propagation to compute the reachable logits under l∞ perturbations; during training, a hinge penalty forces ||A||∞<1。越狱部分把同一惩罚接到两层对角 S4 头上。作者写明 Proposition 1 只覆盖玩具 LTI。
分类器与认证准则
- 递推:输入为嵌入序列 u1…uT,初态为 0。引言写 xt = A xt−1 + B ut,st = C xt + D ut,预测为 st>0. A, B, C, D are unconstrained real parameters; A is initialized as 0.9I plus 0.01 times standard normal noise. Equation (1) is printed as xt = A xt + B ut, and the propagation later follows xt−1.
- Perturbation ball: the adversary shifts the embedding at each time step by l∞(δ). The reachable output set is all logits within that ball. Because the system is linear in each ut, the paper says the set is a closed interval that can be computed exactly without relaxation.
- Certification: Proposition 1 states that when y=1 the lower endpoint of the interval is greater than 0, and when y=0 the upper endpoint is less than 0. Definition 2.2 prints the safe class as y=1, and the text below follows the proposition. The certification rate is the proportion of correctly classified samples satisfying that criterion. Not being certified does not mean the sample is misclassified under typical perturbations; the paper says this is a conservative worst-case guarantee.
- Scope: mapping δ to specific text edits requires the calibration in Appendix B, and that calibration is not a formal guarantee.
Exact box propagation
- Positive/negative split: A = A+ + A−, the positive part takes the nonnegative entries, the negative part takes the nonpositive entries, and C and D are split the same way. Positive terms preserve the endpoint direction, negative terms swap the endpoints. Starting from the zero initial state, the state box is propagated according to equation (3), with new perturbations entering as ±δ||B||∞; ||B||∞ is the row absolute sum.
- Exactness: the paper says this has no relaxation error for LTI. Equation (4) gives the output interval at time T; applying it step by step yields the reachable tube, i.e., the output interval at each time. The tube of a contracting system stabilizes, while the tube of a non-contracting system widens monotonically.
- Non-applicability: Appendix A.3 states that the exactness of equations (3)(4) applies only to the LTI example in the paper (N=8, d=32, T=64), not to nonlinear gating, selection mechanisms, or attention.
Contraction condition and training penalty
- Two effects: at each step, A multiplies the existing width by at most ||A||∞, and the new input widens it by at most δ||B||∞.
- Proposition: if ||A||∞<1,状态盒半宽有稳态上界 r∞ ≤ δ |B|∞/(1−|A|∞)。若 ||A||∞≥1,半宽至少按该范数的 t 次方增长,T 趋于无穷时无界。输出区间宽度不超过 2(||C||∞·rT + δ||D||∞)。附录 A.4 用半宽向量的几何级数给出证明概要。命题不规定间隔有多大。
- 损失:不直接投影 A,而加软惩罚 L=LBCE+λ·relu(|A|∞−1)。论文写 ||A||∞ 为最大行和;||A||∞>1, the gradient is λ·sign(Aij), pulling on the row that achieves the maximum row sum; when less than 1, the penalty gradient is 0 and does not interfere with BCE. λ controls the push strength.
S4 safety head
- Structure: two-layer diagonal S4 (Gu et al., 2022), zero-order hold discretization. The contraction penalty is applied to the l∞ norm of the discretized diagonal state matrix, which the paper writes as the maximum of the diagonal entries. The pipeline is Linear(768→64), two-layer S4 (d=64, N=16), LayerNorm, masked mean pooling, Linear(64→1). The experimental parameter count is 54,049.
- Input: only looks up the frozen Mamba-130M embedding table, without running the backbone forward pass. The paper says CPU inference is about 5 ms, and the head adds about 1 MB. Looking only at the prompt is to avoid relying on refusal phrases in the response and to detect before generation.
- Score: Remark 3.1 says the final score is a linear function of the masked mean state; the same pooled vector gets the same score. The intermediate representation depends on order, and whether two surface rewrites yield the same vector cannot be derived analytically.
- Relation to the proposition: Appendix C states that the reachability analysis in Section 3 does not directly transfer to the nonlinear Mamba backbone that this head is attached to. The S4 head uses the contraction penalty, but the detection numbers on JBB are not box-propagation certification.
What experiments did the paper conduct?
At δ=1e-4, the certified rate is 41.0% versus 59.2%; static JBB has JDR=1.0, and white-box direct attack has ASR=1.0.
Experimental setup
- Toy model: ToySSMClassifier, vocabulary 3,000, embedding dimension 32, state dimension 8, T=64. Trained on 10,000 examples from Civil Comments/Jigsaw Unintended Bias; certification set of 600 held out. Constrained model λ=0.10, unconstrained λ=0. Table 1 lists their ||A||∞ as 0.999 and 1.091.
- Sweeps: δ takes 50 log-spaced points over [1e-5, 3e-2]; λ is swept over 12 values; the main text also sweeps 8 sequence lengths. Fig. 4 is Gaussian-smoothed (σ=1.5), and the constrained model's overall is plotted as a min–max band over 3 seeds. Table 1's overall is the mean±standard deviation over 3 seeds; the toxic/non-toxic columns do not report standard deviations.
- Jailbreak data: The base model is Mamba-130M without safety training. JBB is 100 harmful behaviors across 10 harm categories; the main evaluation is the full test split with six attack families (direct, prefix injection, DAN, developer mode, roleplay, completion). The main text describes a benign set of 80 examples (30 clearly benign + 50 hard negatives); Figure 14 labels hard-negative n=70. The dev split of 50 is held out, and the paper does not report its metrics separately.
- Training scale: The paper writes 770 examples and lists 100 JBB goals, 100 targets, 200 template-attack goals, and 172 benign prompts with scripted refusals. The evaluation is prompt-only, with the reply string empty. Default threshold τ=0.
- Baselines and metrics: StringJudge and KeywordJudge look at replies. There is also a mean-pooled logistic regression and an MLP on the same embeddings. Metrics are certification proportion, JDR/DR, AUROC, ASR, and hard-negative FPR. Detection does not use LLM judges. The paper does not report optimizer, learning rate, number of training epochs, or number of repeats for the S4 head.
- Location of formal results: Certification proportions come from the toy LTI. Appendix C states that this analysis does not directly apply to the S4 head.
Main results
Certification proportions come from Table 1. The constrained model has ||A||∞=0.999, and the unconstrained model 1.091. ± appears only in the overall columns.
Swipe horizontally to read the table
Setting (Table 1) δ=1e-4 δ=5e-4 δ=1e-3 δ=2e-3 Constrained, overall 59.2%±0.24 36.9%±0.24 25.7%±0.16 12.7%±0.07 Unconstrained, overall 41.0% 9.7% 0.3% 0% Constrained, toxic 58.8% 23.5% 11.8% 5.9% Unconstrained, toxic 24.2% 6.1% 0% 0% - Authors' interpretation: The abstract writes the certification proportion as going from 41% to 59%, corresponding to the overall column at δ=1e-4. The authors call the relative gain at that point 44%, say the gap is larger at larger radii, and say the unconstrained model no longer certifies after δ=5e-4; in the table the next overall column is still nonzero, and only the one after that is 0. The non-toxic column is in Table 1, with certification proportions higher than the toxic column.
- Variance: The authors say the seed standard deviation at intermediate radii is about 0.16–0.26, and relate this to checkpoint sensitivity and to the small number of correctly classified toxic samples. The higher non-toxic proportion is related to pos weight compressing toxic logits; the paper does not give the pos weight value.
- Reachable tube: The main text for Figure 3 gives constrained ||A||∞=0.998 and unconstrained 1.091, not exactly matching Table 1's 0.999. The authors say the constrained tube is stable before T=64, while the unconstrained tube widens monotonically and can cross 0.
Cross-benchmark detection
Swipe horizontally to read the table
Detector JBB AdvBench HarmBench S4 head JDR=1.0; AUROC 0.993 / 0.994 DR=0.994, AUROC=0.981 DR=0.988, AUROC=0.947 Mean-pooled logistic regression AUROC=1.0; DR not reported DR=1.000, AUROC=1.000 DR=0.995, AUROC=1.000 StringJudge / KeywordJudge JDR=0.0 Not reported Not reported JBB's JDR=1.0 and AUROC=0.994 come from the conclusion, for the full test split, static threat, and six attack families. AUROC=0.993 comes from Section 4.1.1. AdvBench is 517/520 (miss rate 0.6%). HarmBench is 5/400 missed (1.25%). The paper does not explain the two JBB AUROC values.
- Probes: The authors say the mean-pooled logistic regression achieves AUROC=1.0 on all three benchmarks, with detection metrics equal to or higher than the S4 head; the MLP also reaches AUROC=1.0. The 5.3 AUROC-point gap on HarmBench is attributed by the authors to copyright (3/100 missed, 3.0%) and harassment/bullying (1/25, 4.0%), with all other categories at ≤1.5% miss rate. The authors say these two categories use wording or register inconsistent with the JBB training set.
- Protocol comparison: StringJudge and KeywordJudge's JDR=0.0 is called a protocol mismatch by the authors: the base model has no structured refusal, so this is not a detection performance comparison.
- Another set of certification numbers: Section 4.1.1 says the contraction regularizer raises the certification proportion from 41% to 68% with accuracy roughly unchanged, without giving δ. This is inconsistent with Table 1's 41.0% versus 59.2% at δ=1e-4.
Adaptive attacks
- Embedding-gradient proxy: 20 direct-attack examples, 100 steps, l2 ball ε=0.5, Adam learning rate 0.01. Figure 2: mean score from 3.681 to 3.675, JDR=1.0 before and after, no sample crosses τ=0. The authors say the margin (mean about 3.7) is larger than that budget, and temporal integration smooths local perturbations. The caption says this is a continuous embedding relaxation, not a discrete token attack.
- Discrete replacement: Black-box 10 steps, 30 direct-attack examples, ASR=0.933; direct JDR drops to 0.067, template-attack JDR stays 1.0 (Fig. 17). White-box is HotFlip-style gradient-guided, 10 steps, top-5 positions: ASR=1.0 on direct, ASR=0.0 on DAN/roleplay; the caption also writes black-box direct ASR=0.933, and both attack types are 0.0 on DAN/roleplay (Fig. 18). Appendix C.2 says template-wrapped prompts are unaffected by both attacks (ASR=0.000).
- Threshold: Hard negatives have FPR=0.557 at τ=0; at τ=2.46, FPR=0.010 and JDR=0.990 (Appendix C.2). The paper does not state the denominator of this FPR. The authors say in the conclusion that the S4 head can be broken on direct-attack by the above adaptive replacement.
Representation, pooling, and projection
- Pooling: Table 2 does 5-fold CV on 100 harmful JBB + 100 benign examples. Mean pooling AUROC 0.998 (σ=0.002), last non-pad token 0.718 (σ=0.029), first token 0.515 (σ=0.025). The authors say the harmful/benign signal is distributed across the full sequence, not concentrated at a single position.
- Score distribution: The main text for Figure 12 says the six attack families' logits concentrate between +2 and +5 with similar shape and mean; benign concentrates around −1.5. Section 4.1.1 also writes benign mean μ≈−1.5.
- Projection: Figure 14 is a PCA of 768-dimensional mean-pooled embeddings, PC1=9.3%, PC2=5.0%, harmful n=100, easy benign n=30, hard negatives n=70. The caption says the one-dimensional projection along the probe normal has AUROC=1.0, and hard negatives straddle the boundary, consistent with FPR=0.557. Figure 15 plots projections of 200 l∞(0.8) samples for each of four prompts. The paper says these two figures are not formal certification bounds.
Other ablations and analyses
- λ: Fig. 8 sweeps 12 values. The authors say certification at δ=1e-3 is step-like at ||A||∞=1; accuracy is flat or slightly higher.
- Sequence length: Fig. 9 (δ=1e-4, T from 8 to 64) says the unconstrained certification rate drops to 0 at T=32, while the constrained model is nearly flat. Fig. 11 (16 points, T∈[4,128]) instead writes that the constrained model goes from 0.996 at T=4 to 0.629 at T=64 and then plateaus, and the unconstrained from 0.992 to 0.421 and then plateaus. The two figures describe the unconstrained model inconsistently.
- Growth sweep: Fig. 7 uses 10 λ values. The authors say that when ||A||∞>1, the certification proportion at δ=1e-3 drops to 0, and the empirical interval width approaches the analytic bound near the boundary.
- Margin: Appendix A.3: correctly classified toxic samples have mean clean logit 0.14; at δ=1e-3 the constrained model's half-width is mostly 0.11–0.18. Appendix B.4 writes toxic samples' mean clean logit is about 0.14.
- Length: Fig. 16 measures 5–120 tokens in 11 bins. Harmful prompts keep scores above 0 across the measured lengths; score standard deviation is highest at 5–15 tokens.
- δ calibration: Fig. 5 is called heuristic by the authors, not a certificate for specific token attacks. δ=1e-4 is below the average typo-pair distance, δ=1e-3 reaches the lower end of the synonym-pair distribution, and δ=5e-3 overlaps the synonym distribution. The authors also list three points: the δ ball perturbs all positions simultaneously; S4 has temporal dependencies absent from static word-pair distances; and the calibration vocabulary is not the Mamba-130M BPE from Section 4.
What are some points that can be further explored?
The authors point out that exact certification applies only to the toy LTI, and list adversarial training and nonlinear extension as follow-ups.
Limitations and future directions noted by the authors
- Exact only for LTI: The box propagation in Eqs. (3)(4) is exact only for LTI (example N=8, d=32, T=64), and does not apply to nonlinear gating, selection mechanisms, or attention. Extending it requires bounding nonlinear activations, introducing relaxation error like CROWN (Appendix A.3).
- Margin rather than bound tightness: The certification rate is limited by the logit margin. Correctly classified toxic samples have mean clean logit 0.14; at δ=1e-3 the half-width is 0.11–0.18, the same order as the margin. More data, larger models, or a margin-maximizing loss would increase the margin (Appendix A.3).
- Embedding space rather than token space: The δ ball is defined in token embedding space, not character or token space. Composing with the tokenizer's discrete-to-continuous mapping is beyond this paper's scope (Appendix A.3).
- Conservative subset: The certified set is a conservative subset of the true robust set. Uncertified samples may still be fully classified correctly within the ball, but box propagation cannot prove it. CROWN-style LP relaxation might certify more samples at the same δ, at higher computational cost (Appendix A.3).
- Follow-ups in the conclusion: Adversarial training on token-replacement samples to close the direct-attack vulnerability; fine-tuning or retraining on copyright and harassment/bullying to close the HarmBench AUROC gap; extending box propagation to nonlinear SSMs (Section 5).
Experimental coverage
- Toy certification: Civil Comments/Jigsaw Unintended Bias, 10,000 training examples, certification set of 600; vocabulary 3,000, embedding 32, state 8, T=64. δ has 50 log-spaced points, λ has 12 values; Table 1's overall column is over 3 seeds (Appendix B).
- Jailbreak detection: Mamba-130M embedding table without safety training; JBB 100 behaviors, 10 harm categories, six attack families. Zero-shot transfer to AdvBench (520) and HarmBench (400). The paper writes the training scale as 770, and lists four items as 100, 100, 200, 172 (Section 4).
- Adaptive: embedding-space proxy gradients (20 examples, 100 steps, l2 ε=0.5), black-box greedy replacement and white-box gradient-guided (10 steps each, 30 direct-attack examples), and ASR on template families (Section 4.2, Figs. 17–18).
- Baselines: StringJudge, KeywordJudge, mean-pooled logistic regression, MLP, and 5-fold CV of three pooling methods (Table 2, 200 examples). Thresholds additionally reported at τ=0 and τ=2.46.
- Scope of certification numbers: They come from the toy LTI. The paper states this analysis does not directly transfer to the nonlinear Mamba backbone the S4 head is attached to (Appendix C). The paper does not report optimizer, learning rate, or training epochs for the toy model or the S4 head, does not report the S4 head's certification proportion at a specified δ, and does not report agreement between detection scores and human judgment.
Summarize the main content of the paper
Contraction gives bounded certification for the toy LTI; the S4 head can do prompt-level detection, with discriminative power no better than a linear probe.
Give the SSM safety head a contraction condition, and use a contraction-regularized S4 head for jailbreak detection.
- Problem: prompt-level classifiers before generation lack formal conditions. The authors ask whether predictions within an l∞ embedding ball can remain unchanged for all perturbations.
- Method: the toy classifier is a linear time-invariant recurrence. After splitting A into positive and negative parts, exact interval propagation is performed; when ||A||∞<1, the steady-state half-width has an upper bound. A hinge penalty pushes this norm below 1 during training. The S4 head is a two-layer diagonal structure that looks up the Mamba-130M embedding table, applies masked mean pooling, then a linear score with threshold 0. The authors state that the proposition does not directly transfer to this nonlinear backbone.
- Toy certification: Table 1 reports at δ=1e-4 a certified rate of 59.2% (±0.24) for the constrained model overall, versus 41.0% for the unconstrained one. At δ=2e-3, the former is 12.7% and the latter 0%. The abstract's 41% to 59% corresponds to this radius; Section 4.1.1 also writes 41% to 68%, without giving δ.
- Detection: the conclusion states that on the full JBB test set, static threats, and six attack categories, the S4 head has JDR=1.0 and AUROC=0.994; Section 4.1.1 gives JBB AUROC as 0.993. Zero-shot AdvBench DR=0.994 (517/520), HarmBench DR=0.988 (5/400 missed). Mean-pooled logistic regression has AUROC=1.0 on the three benchmarks.
- Adaptive: on direct-attack, black-box ASR=0.933, white-box ASR=1.0; template family ASR=0.000. Hard negatives have FPR=0.557 at τ=0.
- Authors' conclusion: the embedding space is already linearly separable, and the recurrent structure is not necessary for discrimination; the S4 head's contribution is written as verifying classification on a specified radius. At the same time, direct attacks can be broken by substitution in the adaptive regime, and exact box propagation holds only on the toy LTI.
Related papers
- Safeguards Based on Copyable Context Cannot Provide Reliable Safety for LLMsAnalysis / interpretabilityarXiv