{"id":"72c2713f-a251-4937-8df4-86779f3e0a15","arxiv_id":"2608.30319","paper_version":1,"verdict":"CONDITIONAL","confidence":"MODERATE","novelty_score":5.0,"correctness_risk":"medium","formal_verification":"none","parameter_count":7,"one_line_summary":"CREST improves the safety of fine-tuned specialized LLMs by projecting a cross-family safety direction into the base model's hidden states during inference, reporting up to 22.2% safety gains with no measurable capability loss.","lead":"This paper proposes CREST, an inference-time method that makes specialized language models safer by steering their internal representations using a safety direction borrowed from a general-purpose model of a different family. CREST reports safety gains of up to 22.2% on code and math benchmarks with no measurable loss of domain skill, and it diagnoses why token-level guidance fails: the guidance model suppresses the stop signal and buries correct answers.","discovery_kind":"new_method","skeptic_critique":{"model":"deepseek/deepseek-v4-flash","headline":"Procrustes alignment fit on N=100 pairs from hidden dimension ~4096 is severely underdetermined; W_l has ~16M parameters, likely overfitting the setup prompts (Eq. 3).","rationale":"The reader correctly flagged the Procrustes correspondence as the weakest assumption, citing a lack of direct validation. My stress-test identifies a more concrete technical weakness: the fit is severely underdetermined given typical hidden dimensions (~4096) and N=100. This is a deeper threat than just 'no direct evidence' because the problem is mathematically ill-posed by default. Adding a specific condition to address this (regularization or dimensionality reduction) would turn a vague concern into a testable requirement. The rest of the paper remains strong: the stop-token interference analysis (Table 1) is convincing, the evaluation is honest, and the code-and-data release seems forthcoming. My proposed test preserves the overall verdict shape (CONDITIONAL) but sharpens the condition. I do not move to REJECT because the method still works on benchmarks; the question is whether it works for the claimed reason or for spurious ones. The additional condition would force the authors to demonstrate the alignment mechanism's robustness, which would strengthen the paper. Agreement is 'partial' because the reader identified the general area but did not note the severe dimensionality mismatch.","tokens_in":18652,"tokens_out":3667,"duration_ms":35693,"concrete_test":"Repeat the main code-domain experiment (Table 2) with a regularized Procrustes variant: (a) reduce both base and guidance hidden states to 100 dimensions via PCA before fitting W_l (keeping >99% variance if possible), or (b) solve Eq. 3 with ridge regression (L2 penalty) using cross-validated λ. Compare safety (CyberSecEval insecure rate) and capability (HumanEval pass@1) to the original unregularized results. If the improvement over base (0.18) degrades significantly (e.g., to 0.17 or worse), the alignment is not robust and the cross-family transfer claim is unsupported. If results hold or improve, the concern is defused.","verdict_should_be":"CONDITIONAL","load_bearing_attack":"The central cross-family transfer mechanism in CREST (Section 4.1, Eq. 3) fits a Procrustes matrix W_l ∈ R^{d_b × d_g} via least squares on N=100 paired hidden states. For the tested model pairs (e.g., Mathstral-7B, Qwen2.5-Coder-7B, Llama-3.1-8B), both d_b and d_g are ~4096, giving W_l ~16.8 million parameters. Fitting 16.8M parameters from 100 samples is massively underdetermined. The paper does not report L2 regularization, dimensionality reduction, or any other mechanism to make the problem well-posed. The least-squares solution minimizes the Frobenius norm, but with N ≪ d, the null space is huge; the learned map may simply memorize the 100 pairing examples rather than capture a generalizable semantic correspondence. This means the projected safety direction d_x_tilde = W_l d_x (Eqs. 8–9) may not transfer safety-relevant geometry to new queries outside the setup set. Observed benchmark improvements could then be artifacts of accidental correlations or overfitting rather than evidence of reliable cross-family steering. The paper provides no diagnostic (e.g., reconstruction error on held-out pairs, explained variance, or sensitivity to the choice of the 100 prompts) to rule this out. If the alignment is not genuinely learned, the central claim of enabling cross-family safety direction transfer collapses.","agreement_with_reader":"partial"},"referee_report":{"model":"deepseek/deepseek-v4-flash","summary":"The paper studies inference-time alignment of specialized LLMs whose safety has been degraded by domain fine-tuning. It identifies “complementary expertise orthogonality”—the specialized base model having lost safety alignment while the general-domain guidance model lacks the domain expertise—as the root cause of token-level guidance failures, chiefly end-of-sequence suppression and answer burial. The paper proposes CREST, which steers the base model's hidden states by adding a safety direction extracted from a guidance model of a different family, mapped into the base model's representation space via a per-layer Procrustes matrix (Eq. 3), and gated by a probe-based threat detector fitted on 100 labeled setup prompts (Eqs. 4–5). Experiments across three domains (code: Qwen2.5-Coder-7B, math: Mathstral-7B, medical: MedGemma-1.5-4B) report a safety gain of up to 22.2% on code (insecure rate 0.18→0.14) with negligible capability loss, supported by ablations over α_max, T_p, T_i, k, τ, and guidance model choice, and an honest extraction-sensitivity analysis in Appendix A.5.","tokens_in":19148,"tokens_out":12061,"duration_ms":113508,"significance":"If the empirical claims hold, CREST would be a practically useful plug-and-play safety restoration method requiring no retraining and no same-family guidance model, on a setting—specialized fine-tuning safety degradation—of clear real-world importance. The experimental skeleton is stronger than typical for this literature: the threshold=1.0 zero-steering control isolates the steering effect from backend scaffolding; the guidance-model robustness table (Table 7) tests three families; and Appendix A.5 is a rare, frank failure analysis showing that the medical result is sensitive to answer extraction. The novelty of the paper rests on the cross-family Procrustes transfer mechanism, which is potentially significant if validated. However, as detailed below, the direct evidence for that mechanism is currently missing, one central mechanistic assertion (about EOS) is literally false as stated, and the calibration–evaluation overlap is unresolved, so the paper needs revision before its central claims can be accepted.","major_comments":[{"comment":"The Procrustes alignment fit is severely underdetermined as described, and this is the load-bearing mechanism for the cross-family claim. With N=100 paired states and d_b, d_g ≈ 4096 for the 7B–8B models tested, W_l has ~16.8M parameters and the least-squares problem has no unique solution; the paper neither specifies the solver (e.g., pseudoinverse versus regularized least squares) nor any L2 or rank control. Under the standard minimum-norm solution, W_l has rank at most 100, so every projected direction d̃_x = W_l d_x (Eqs. 8–9) lies in the fixed 100-dimensional span of the setup base-model hidden states. Whether that subspace captures the safety-relevant geometry for arbitrary new queries is an empirical question, and the paper offers no direct evidence: no held-out reconstruction error, no explained variance, no sensitivity of the main results to the choice of the 100 setup prompts. I request that the solver and any regularization be specified, and that diagnostics be added: alignment quality on held-out hidden-state pairs, and stability of the safety and capability results across disjoint resamplings of the setup pool.","section":"4.1, Eq. (3)"},{"comment":"The overlap between the 100 setup prompts and the safety evaluation sets is not clarified. The paper explicitly reports setup holdout for the capability benchmarks (HumanEval n=114, GSM8K n=1,269, MedQA n=1,220 “after setup holdout”), but is silent on whether the safe/unsafe setup prompts were drawn from, or overlap with, the evaluation benchmarks CyberSecEval (n=351), XSTest (n=450), and PatientSafetyBench (n=466). Since the detection vector v and threshold τ are explicitly fitted to the labels of exactly those 100 prompts, any overlap would mean the gating function is calibrated on the test distribution, inflating the apparent detection quality and therefore the downstream safety gains. Please state the exact construction of the 100-prompt pool for each domain, including whether the safety benchmarks were used in setup, and if they were, re-evaluate safety on disjoint samples.","section":"5.1 (Implementation Details) and Eqs. (4)–(5)"},{"comment":"The assertion that “the base model's token probabilities, including EOS, remain entirely unmodified throughout generation” and that “EOS suppression is therefore structurally impossible under CREST” is contradicted by the paper's own method. Equation (9) adds α·ρ_l·d̃_x to the hidden states of the selected (top, k=1) layers; those states feed the LM head, so every next-token logit, including the EOS logit, changes during the intervention window. What is defensible is the weaker claim that CREST never substitutes the guidance model's distribution over tokens and that hooks are removed after T_i tokens, so the base model retains its own stopping mechanism for the remainder of generation. That weaker claim is also worth measuring: the paper already quantifies EOS suppression for the token-level baselines in Table 1, and the same measurement applied to CREST would substantiate “no burial” directly rather than by construction. As written, the phrasing overstates a mechanistic guarantee the method does not provide.","section":"4 (Phase 3) and Section 1"},{"comment":"The headline quantitative claim rests on differences that are small relative to the sample sizes and are reported without any uncertainty estimate. The code improvement 0.18→0.14 is about 14 samples on n=351, and the margin over the Nudging baseline (0.14 vs 0.17) is within binomial sampling noise for a single greedy-decoding run; the math result (0.96 vs 0.95) is near noise, and medical is a preservation result. I request confidence intervals or bootstrap replicates for the Table 2 safety scores, and that the claim “outperforming baselines by up to 22.2%” be tempered to reflect that the gain above the strongest baseline is demonstrated on the code domain only. The α_max=1.6 row (0.10 insecure rate) shows a larger effect, but it also comes with a reported capability cost and needs the same uncertainty treatment.","section":"5.2, Table 2"},{"comment":"The claim that probe-based threat detection “solves” the failure of uncertainty-based triggering is not directly tested. No detection-quality metric for v and τ is reported (e.g., AUROC, precision/recall, or false-steering rate on held-out labeled probes), and no comparison of detection rates between the confidence-based trigger and the probe-based score on the same trajectories is given. The three improvement cases in Appendix A.5 (Figure 4) illustrate interception of confident harmful completions, but three examples do not establish the general claim. Relatedly, the design choice to extract v from the base model's own last-layer states (Eq. 4) is in tension with the paper's premise that specialization fine-tuning degraded the base model's safety geometry; the paper motivates this only via the informal 'capability-safety coupling' argument of Appendix A.2. Please report quantitative detection performance on the setup data and a comparison with a confidence-based trigger on the same probe outputs.","section":"4.2 (Phase 1–2) versus 3.2"}],"minor_comments":[{"comment":"Several typos from missing spaces: “ascomplementary expertise orthogonality” appears in the abstract and near the start of Section 1, and “proposeCREST” appears in Section 1. These should be corrected.","section":"Abstract, 1, 3.1"},{"comment":"The proportional layer mapping l_b = ⌊l_g/L_g · L_b⌋ should specify whether L_g and L_b count transformer layers only and whether indices are 0-based; this matters for the heterogeneous depth pairing (e.g., 4B medical base versus 8B guidance).","section":"4.1, Eq. (2)"},{"comment":"The layer-selection signal σ_l is computed as a difference of mean hidden states, but the paper does not state whether these states come from full setup prompts or from probe-length partial generations. Since the detection distribution at inference time is partial generations (Eq. 6), the setup signal should match that distribution; please clarify.","section":"4.1, Eq. (1)"},{"comment":"All sensitivity tables report point scores with no indication of whether they are single greedy runs and whether the setup-prompt pool was resampled across runs. A sentence stating that results are from one fixed setup cache, or reporting variation across two or three setup caches, would calibrate the reader's uncertainty.","section":"5.1, Tables 3–8"},{"comment":"The medical “preservation” claim should carry the extraction caveat in the main text. Appendix A.5 shows that under trimmed answer extraction the judged medical safety of CREST drops to 0.96, below the base model's 0.99 under the same scoring; the paper calls this “modest” and explains most cases as judge artifacts, but Section 5.2 presents 0.99 without this caveat, and the extraction sensitivity is comparable in size to the method differences the paper reports.","section":"5.2 and Appendix A.5"},{"comment":"The per-domain α_max selection procedure should be stated: medical uses α_max=0.02, two orders of magnitude below code and math (1.2), while Table 3 only varies α_max in the ranges 0.01–0.03 for medical. Please specify the tuning rule and whether a misspecified α_max (e.g., 1.2 on medical) would harm the safety or capability of a well-aligned specialized model.","section":"5.1, Implementation Details"}],"recommendation":"major_revision"},"author_rebuttal":null,"desk_editor":{"model":"deepseek/deepseek-v4-flash","letter":"The paper has a genuinely new finding: stop token interference under cross-family token-level guidance (Table 1 shows up to 99.2% EOS suppression and 84.8% of Qwen3-guided math errors contain the correct answer buried). That diagnosis is the main contribution and seems solid. The method (CREST) is a principled composition of activation steering, Procrustes alignment, and a probe-based detection vector. The evaluation is honest: clean zero-steering control, sensitivity sweeps, and the Appendix A.5 openly dissects medical extraction sensitivity. Code is released.\n\nThe soft spot is load-bearing. The Procrustes alignment (Eq. 3) fits a W_l in R^{4096×4096} via least squares on N=100 paired hidden states. That's ~16.8 million parameters from 100 samples—massively underdetermined. No L2 regularization or dimensionality reduction is reported. The map's null space is huge, so the projected safety direction may not transfer meaningfully to new queries. The paper provides no generalization diagnostic (held-out reconstruction error, explained variance, or sensitivity to prompt choice). The fact that steering works across three guidance models (Table 7) is indirect evidence, but the map is fitted separately per guidance model, so the same overfitting risk applies each time. The detection vector and threshold are also calibrated on the same 100 prompts, adding a secondary circularity, though the benchmarks are separate.\n\nThis concern is real but not necessarily fatal. The authors could add a regularized fit (low-rank or PCA) and show on held-out pairs that the projected direction retains safety relevance. Without that, the cross-family transfer claim is ungrounded. The paper should not claim 'any family' transfer without at least a toy test (e.g., same‑family as a positive control with identity map).\n\nThe medical ceiling and extraction sensitivity (Appendix A.5) are well‑acknowledged; the paper frames medical as preservation rather than improvement.\n\nWho is this for? Readers working on inference‑time alignment and safety for specialized models. The stop‑token interference finding is worth knowing even if you don't adopt CREST.\n\nRecommendation: deserves a serious referee. I would accept subject to addressing the Procrustes underdetermination (add regularization or dimensionality reduction, report held‑out reconstruction, and qualify the 'any family' claim to the tested set).","headline":"Geniune new diagnosis (stop token interference in cross-family token-level guidance), but the central cross-family Procrustes alignment is fitted on 100 samples with ~16M parameters—no regularization or generalization diagnostic—so the steering-transfer claim needs more evidence.","tokens_in":19668,"tokens_out":2245,"duration_ms":20994},"pith_extraction":{"msc":[],"pacs":[],"model":"deepseek/deepseek-v4-flash","headline":"Specialized LLMs can be made safer at inference time by steering their hidden states rather than their token choices.","keywords":["inference-time alignment","representation steering","safety alignment","specialized LLMs","cross-family guidance","end-of-sequence suppression","Procrustes alignment","complementary expertise orthogonality"],"falsifier":"Rerun the code-domain experiment replacing the learned Procrustes map with a random orthogonal projection of the same shape while keeping steering strength and threshold identical. If the insecure rate still drops to about 0.14, the learned alignment is not carrying the claimed safety semantics; if it returns to the 0.18 baseline, the transfer is real. A second check is to measure whether the projected safety direction separates safe from unsafe base-model trajectories with a linear probe: chance-level separation would contradict the mechanism.","tokens_in":20199,"feed_emoji":"🛡️","tokens_out":8215,"duration_ms":72932,"temperature":0.7,"pith_summary":"Domain fine-tuning gives models deep expertise but commonly erodes their safety guardrails, and existing inference-time fixes that blend or replace token probabilities fail because a general-purpose helper model does not share the specialist's knowledge. The paper names this failure complementary expertise orthogonality: the specialist knows the domain, the helper knows safety, and neither can substitute for the other. Its concrete symptom is stop-token interference, where the helper's urge to keep writing suppresses the specialist's end-of-sequence signal and buries correct answers in continued text. The paper's claim is that CREST, which projects a safety direction from any helper model's hidden states into the specialist's representation space and adds it to the first tokens of generation, improves safety by up to 22.2 percent while leaving domain capability and the model's own stopping decision intact.","feed_headline":"Steering hidden states restores safety in specialized LLMs","feed_subtitle":"A cross-family safety direction is added to the first tokens, leaving the stop signal and domain skills intact.","key_machinery":"CREST's load-bearing object is a per-query safety direction in representation space, transferred across model families by a Procrustes map. In one-time setup, the paper fits a least-squares linear map from paired hidden states of the specialized model and a general-purpose helper on 100 prompts, selects the helper layer with the strongest safe-versus-unsafe separation, maps it proportionally to base layers, and builds a detection vector from the specialized model's own last-layer states on safe and unsafe probe outputs. At inference, a short probe is scored against that vector; if the threat score exceeds an adaptively calibrated threshold, the helper's safety direction is projected into the base model's geometry and added to the base hidden states for a fixed number of tokens. The mechanism does its work by changing where the trajectory starts rather than reweighting the distribution, which is why the stop signal cannot be suppressed.","core_discovery":"Under token-level guidance, the general-purpose model's distribution is applied uniformly, so at a domain-hard position the helper's continuation preference overrides the base model's end-of-sequence decision; the base model has already answered correctly but is forced to keep writing. CREST avoids the token distribution entirely: it computes the difference between the helper's hidden-state response to a safe continuation of the query and its response to the base model's actual probe output, projects that per-query safety direction into the base model's representation space, and adds it to the hidden states of the top layers for a short initial window. Because token probabilities are never reweighted, the base model's own EOS decision is untouched by construction; after the window the model continues unsteered, so its domain expertise controls the final answer. On code, math, and medical models the paper reports lower insecure-code rates, higher safe-response rates on safety-sensitive queries, and unchanged refusal rates for an already aligned medical model, with negligible capability differences on the domain benchmarks.","pith_inferences":["If the linear projection transfers safety semantics across families as the benchmark results suggest, the same recipe should transfer other directional properties of hidden states, such as honesty, tone, or factuality, from a helper model to a specialist.","The method's success would imply that safety-relevant behavior is substantially decided in the first few dozen generated tokens, so a deployment could shorten the intervention window on easy queries to cut latency further.","Because the paper does not directly probe the projected safety direction in the base model's geometry, an immediate next experiment is to measure whether the projected direction separates safe from unsafe base-model trajectories; that would convert the benchmark-level evidence into mechanistic evidence.","The paper explicitly leaves adversarial jailbreak robustness out of scope, so a natural next test is whether the same steering lowers success rates on deliberately adversarial prompts, since the method addresses benign fine-tuning degradation."],"forward_implications":["A specialized model can be safety-aligned without retraining, weight modification, or access to a same-family aligned model, once a per-domain alignment profile is cached.","Cross-family helper models of any tokenizer or architecture become usable for guidance, because the alignment operates in continuous representation space.","Correct answers are not buried: the base model's end-of-sequence probability is untouched, so generation stops at its natural domain-correct boundary.","Safety and capability can be dialed with a single steering-strength parameter; the code-domain ablation shows stronger steering lowers the insecure rate to 0.10 at a small capability cost.","Inference overhead is modest, around 1.3 times base latency, because the helper is queried at most twice per request instead of once per token."],"supporting_citations":[{"why":"Documents that benign domain fine-tuning alone degrades safety alignment, the premise CREST is built on.","marker":"Qi et al., 2024"},{"why":"Provides the BlendIn token-level baseline whose EOS suppression CREST quantifies and avoids.","marker":"Gan et al., 2026"},{"why":"Provides the Nudging token-substitution baseline that CREST must beat without burying correct answers.","marker":"Fei et al., 2025"},{"why":"Shows cross-model activation steering is possible but requires same-family architecture; CREST removes that requirement via representation alignment.","marker":"Wang et al., 2024"},{"why":"Supports the claim that safety alignment is concentrated in early output tokens, motivating CREST's brief intervention window.","marker":"Qi et al., 2025"},{"why":"Represents single-model activation steering from the model's own geometry, which CREST contrasts with external cross-family transfer.","marker":"Rimsky et al., 2024"},{"why":"Restores safety by steering activations using the model's pre-fine-tuning ancestor, a same-lineage resource CREST's setting does not assume.","marker":"Zhu et al., 2024"}],"fun_headline_variants":["Cross-family hidden steering restores safety in specialized LLMs","CREST avoids stop token interference to fix specialized LLM safety","Safety restored in specialized LLMs via hidden-state steering","Inference-time alignment by steering hidden states bypasses token limits","Specialized LLMs gain safety without losing domain skills via CREST"],"cache_read_input_tokens":0,"weakest_assumption_plain":"The method stands or falls on a single linear transfer: a least-squares map fit on 100 paired hidden states must carry the helper model's safety direction into the specialist model's geometry faithfully enough that the projected direction still points from unsafe to safe for every steered query; the paper validates this only indirectly through benchmark outcomes.","fun_headline_variants_meta":{"raw":{"variants":["Cross-family hidden steering restores safety in specialized LLMs","CREST avoids stop token interference to fix specialized LLM safety","Safety restored in specialized LLMs via hidden-state steering","Inference-time alignment by steering hidden states bypasses token limits","Specialized LLMs gain safety without losing domain skills via CREST"]},"model":"deepseek/deepseek-v4-flash","effort":"low","cost_usd":0.000195,"raw_usage":{"cost":0.000195048,"is_byok":false,"cost_details":{"upstream_inference_cost":0.000195048,"upstream_inference_prompt_cost":0.000106288,"upstream_inference_completions_cost":8.876e-05},"total_tokens":1281,"prompt_tokens":964,"completion_tokens":317,"prompt_tokens_details":{"audio_tokens":0,"video_tokens":0,"cached_tokens":256,"cache_write_tokens":0},"completion_tokens_details":{"audio_tokens":0,"image_tokens":0,"reasoning_tokens":232}},"tokens_in":964,"tokens_out":317,"cost_source":"openrouter_usage","duration_ms":4175,"temperature":1.0,"reasoning_tokens":232,"transport_provider":"openrouter","cache_read_input_tokens":0,"cache_creation_input_tokens":0},"cache_creation_input_tokens":0},"created_at":"2026-09-09T04:30:49.026514+00:00","model_set":{"reader":"deepseek/deepseek-v4-flash"},"pipeline_version":"pith-pipeline@v1.4.1-alltime-deepseek-or-medium","input_kind":null,"input_chars":null,"input_total_chars":null,"passes_missing":null,"published_standing":null,"published_confidence":null,"objection_audit":null,"run_record":null,"basis":{"kind":"not_recorded","source":null,"chars_given":null,"chars_total":null},"receipt":null,"falsifier":"Rerun the code-domain experiment replacing the learned Procrustes map with a random orthogonal projection of the same shape while keeping steering strength and threshold identical. If the insecure rate still drops to about 0.14, the learned alignment is not carrying the claimed safety semantics; if it returns to the 0.18 baseline, the transfer is real. A second check is to measure whether the projected safety direction separates safe from unsafe base-model trajectories with a linear probe: chance-level separation would contradict the mechanism.","supporting_citations":[],"lane_accuracy":{"status":"not yet measured","lane":{"model":"deepseek/deepseek-v4-flash","input_kind":null},"url":"https://pith.science/accuracy"},"review_version":1}