Skip to content

Scaling laws for safety probes

Paper Tracker· arXiv:2610.30678· Yuchen Wu, Jerry WeiUniversity of Washington; AnthropicIndexed by this site · 2026-10-24· Originally publishedAlignment

Quick read

Analysis and theory

Based on the paper PDF (AI-generated); refer to the original

The authors construct six safety datasets and train probes on 20 base models, and state that probe error follows two scaling laws with respect to model size and number of labels, allowing probe performance to be predicted in advance.

Questions
Safety probes must be retrained whenever there is a new model or a new hazard domain, but the performance a probe can reach is unknown in advance, and how many labels are needed and which architecture to use can only be determined through extensive experiments. Public safety datasets are either too easy or have insufficient labels, and cannot characterize how probe performance changes with the number of labels.
Methods
The authors use minimal pairs to construct six safety datasets (each with up to 10⁶ labels), train two types of probes, last-token and CC++, on 20 base models from five model families with 32 to 10⁶ labels, and fit two scaling laws in terms of model size and number of labels using probe error E = 1 − AUROC.
Experiments and results
The authors state that the two laws hold across tasks, families and architectures: after fitting on smaller models, predictions of the next larger model's probe error fall within 0.02 in 72% of cases; in 45 cost-comparison cases the law selects the cheaper option 73% of the time; and when choosing a probe architecture, a wrong choice adds on average 0.006 extra error.
Limitations and future work
In the Limitations section, the authors note: the laws are fitted on base models, whereas deployment monitoring is of post-trained models; whether MoE models should enter the laws with total parameters or activated parameters is undetermined; the applications in Section 5 are evaluated only on the authors' own models and data. The main results cover 20 dense base models from five families, six tasks, and two probe architectures.
Experimental setupQwen2.5、Qwen3.5 et al. · Truth、Sycophancy et al. · probe error E = 1 − AUROC
Evaluated models
Qwen2.5Qwen3.5Gemma-4Ministral-3OLMo-3Qwen2.5-InstructQwen3.5-27BQwen3.6-27BNemotron-HQwen1.5
Benchmarks
TruthSycophancyPolicy violationGeneral harmJailbreakPrompt injection
Metrics
probe error E = 1 − AUROC
AI summaryThe researchers propose scaling laws for safety probes, showing that probe performance can be predicted in advance from model scale and the amount of annotation. The team constructed six new safety datasets, trained two probe architectures on 20 base models from five model families, with annotation amounts per model ranging from 32 to 10^6, and measured probe error using 1 - AUROC. Results show that the lowest probe error a model can reach decreases as a power law with its scale, and that error tends toward a lower bound as the number of samples increases, with a larger slope for larger target models; both regularities hold across tasks, model families and probe architectures, with only the fitted constants differing. When fitted on the smallest model in a family, the law predicted the error of the next larger model to within 0.02 in 72% of cases, and in 73% of cases could determine whether adding annotations or switching to a larger model would reach a target error more cost-effectively; accordingly, choosing a probe architecture, even if chosen incorrectly, on average incurred only 0.006 extra error. The authors state that these laws can help safety researchers determine the optimal probe configuration given a model and annotation budget.

The researchers propose scaling laws for safety probes, showing that probe performance can be predicted in advance from model scale and the amount of annotation. The team constructed six new safety datasets, trained two probe architectures on 20 base models from five model families, with annotation amounts per model ranging from 32 to 10^6, and measured probe error using 1 - AUROC. Results show that the lowest probe error a model can reach decreases as a power law with its scale, and that error tends toward a lower bound as the number of samples increases, with a larger slope for larger target models; both regularities hold across tasks, model families and probe architectures, with only the fitted constants differing. When fitted on the smallest model in a family, the law predicted the error of the next larger model to within 0.02 in 72% of cases, and in 73% of cases could determine whether adding annotations or switching to a larger model would reach a target error more cost-effectively; accordingly, choosing a probe architecture, even if chosen incorrectly, on average incurred only 0.006 extra error. The authors state that these laws can help safety researchers determine the optimal probe configuration given a model and annotation budget.

Paper analysis

6 questions; open one to read the full answer

  1. What problem does this paper attempt to solve?

    Whether the performance of a safety probe can be predicted before training it, using only model size and number of labels.

    Core question: whether the performance of a safety probe can be predicted before training, from the size of the monitored model and the number of labels.

    • Setting and motivation: safety probes are trained on model internal activations for real-time monitoring of model inputs and outputs, with negligible inference overhead (the authors cite [15, 16, 28, 56, 104]). But each new model needs its own probe, whose performance is unknown in advance, and without extensive experiments a safety team cannot determine how many labels are needed or which architecture to use.
    • Shortcomings of existing work: scaling laws for pretraining loss are well established, but the authors state that no prior work has studied whether such laws apply to safety probes; existing probe studies vary only some of model size, family, task, number of labels, and architecture (Table 1).
    • Data gap: public safety datasets are either too easy for the task (labels can be read off the surface form, and probes saturate quickly) or have too few labels, and cannot trace the full curve of probe performance from few labels to saturation (Figure 1).
    • Core observation: using probe error E = 1 − AUROC as the metric, the authors find that it decreases as a power law with model size and approaches a size-determined lower bound as the number of labels increases, and that the two laws hold across tasks, families, and architectures, with only the fitted constants differing.
    • Contributions of the paper: constructing six minimal-pair safety datasets (each with up to 10⁶ labels); fitting two scaling laws on 20 base models from five families and two probe architectures; and using the laws to do three things—predict the error of an untrained probe, compare the cost of "adding labels" versus "switching to a larger model", and select the probe architecture.
  2. What related research exists?

    Related work follows two lines, safety probes and scaling laws, and the authors state that this paper brings scaling laws to a new quantity, "the readability of behavior in activations".

    Safety monitoring probes

    • Linear readouts: Alain and Bengio [3] proposed linear classification probes on intermediate layers, and Belinkov [7] reviewed their uses and pitfalls; such readouts can recover safety-relevant attributes, such as judging whether a statement is true or false [6, 12, 48, 58], whether a request is harmful [104], and whether a backdoored model is about to defect [56].
    • Deployment-oriented work: treating probes as a cheap alternative to external classifiers such as Constitutional Classifiers [83], comparing cost and detection performance [15], and extending to per-token scoring across all layers [16] (i.e., CC++ in this paper); other work compares activation sources and segment-level aggregation [28] and tests robustness under adversarial fine-tuning [81].
    • Shortcomings noted by the authors: these studies each vary only a few factors on a fixed set of models, and none varies model size, family, task, number of labels, and probe architecture simultaneously (Table 1).

    Scaling laws

    • Pretraining laws: Hestness et al. [30] found that test error decreases as a power law with training set size; Rosenfeld et al. [76] modeled error as a joint function of model and data size; Kaplan et al. [43] established power laws for parameters, data, and compute, and Hoffmann et al. [33] corrected the compute-optimal ratio of parameters to tokens, with both testing extrapolation on larger held-out models.
    • Extending beyond pretraining: transfer scaling laws [29], performance prediction across model families [77]; Schaeffer et al. [80] pointed out that the choice of metric on downstream tasks determines whether trends appear smooth or abrupt.
    • Scaling research in safety: tracking how behaviors themselves change with scale, such as sycophancy growing with model size [65, 96] and appearing in production assistants [82].

    Positioning of this paper

    The authors state that this paper brings scaling laws to a new quantity—the readability of behavior in model activations; following the joint model–data form, it writes probe error as a function of the size of the monitored model and the number of probe labels, and following the practice of pretraining laws, it tests the fit by extrapolation (fitting on small models, recording predictions for large models first, then measuring).

    Comparison baselines and benchmarks

    • Baseline methods: on prediction tasks, compared with "a line through the two largest models" and persistence; on cost decisions, compared with the additive form of Hoffmann et al. [33], the joint form of Kaplan et al. [43], the current model's own learning curve, and the progressive sampling stopping rule; on architecture selection, compared with fixed rules and "always use CC++".
    • Benchmarks/datasets: the authors build six datasets themselves (Truth, Sycophancy, Policy violation, General harm, Jailbreak, Prompt injection), with seeds from Wikidata5M, PKU-SafeRLHF, BeaverTails, AEGIS, 31 public red-teaming datasets, 257 jailbreak templates, and 65 injection wrappers; they additionally use 26 public safety datasets as a comparison (Appendix B.10).
  3. How does the paper address this problem?

    Build six minimal-pair datasets, sweep label counts across 20 models, and fit probe error to two laws of scale and label count.

    Overall approach: first create data that can move the probe learning curve from near-random to saturation, then systematically vary model scale, family, task, number of labels and probe architecture, fit the probe error E = 1 − AUROC to two simple laws, and test them by extrapolation.

    Data construction: six minimal-pair datasets

    • Minimal-pair design: each dataset consists of minimal pairs, where the two samples are textually identical except for the span that determines the label [20, 44]; each dataset has at most 10⁶ labels, and the test set is fixed at 36,000 examples, non-overlapping with training (Appendix B).
    • Six tasks: Truth (Wikidata5M facts, 37 relations, swapping the answer to make a false statement); Sycophancy (the user states a claim and the assistant agrees, with the label being whether the claim is false); Policy violation (the same content paired with different policy clauses, asking whether it violates them, with content from four public safety datasets); General harm (requests from 31 public red-team datasets, rewritten by Claude in a human tone and paired with a harmless twin sentence); Jailbreak (request pairs placed in 261 wrappers: 257 public jailbreak templates plus 4 encodings); Prompt injection (request pairs placed in 65 injection shells from three agent benchmarks).
    • Preventing lexical leakage: when generating General harm, a live word ledger is maintained, tracking words that appear on only one side and having later pairs use them on the other side; the authors say that on public datasets a bag-of-words classifier can read out the label (AUROC 0.70–1.00, Figures 13, 14), whereas on the self-built datasets this value is 0.50–0.74 (Figure 14).

    Experimental setup

    • Probed models: 20 dense base checkpoints from five families — all seven Qwen2.5 sizes (0.5B–72B), plus 13 dense models from Qwen3.5, Gemma-4, Ministral-3, OLMo-3 (Table 20).
    • Two probe architectures: a last-token linear probe (single user turn, reads the last token, layer selected by seed, L2-regularized logistic regression); the CC++ all-layer streaming probe [16] (reads all layers, scores each token, and the sample score is the maximum of the smoothed token scores).
    • Sweep design: the number of labels D takes ten log-spaced values from 32 to 10⁶; a cell is one combination of dataset × model × architecture × number of labels, with three seeds per cell.

    Two scaling laws

    • Scale law (Eq. 1): E(N) = A N−α, where N is billions of parameters; with enough labels, the lower bound the probe error reaches falls as a power law with model scale. Fitted on Qwen2.5, Truth, CC++, 10⁶ labels: A = 0.15, α = 0.22 (standard error 0.02), R² = 0.94.
    • Label law (Eq. 2): E(N, D) = E(N) + (0.5 − E(N)) · B/(B + D√N); error starts from the random level 0.5 and approaches the scale-determined lower bound as labels increase, with B a single constant shared across sizes (B = 3,400 on Qwen2.5 Truth). Among six common learning-curve functions, the authors chose the single-parameter Hill function (RMSE 0.017 over 70 measurements, next best 0.028; Appendix E.1).
    • Architecture-dependent form: the last-token probe's error falls more slowly with labels, and the label law needs an additional steepness constant g shared across sizes (Eq. 3, g = 0.61 on Qwen2.5); CC++ keeps g = 1.

    Using the laws to make decisions (Section 5)

    • Prediction: fit on the family's k smallest models (k ≥ 3) and predict the next size not used in fitting.
    • Cost comparison: cost is defined as parameters × labels; use the laws to solve for the number of labels needed by the current model and the next size to reach a target error, and take the cheaper one.
    • Architecture choice: use the two laws to predict the learning curves of the two probes on a new model, and choose the one with lower error at a given number of labels.
  4. What experiments did the paper conduct?

    Fit the laws on 20 base models × 6 tasks × 2 architectures × 10 label levels, and test three applications: extrapolation prediction, cost decisions and architecture selection.

    Experimental setup

    • Models tested: 20 dense base models across five families—Qwen2.5 (0.5B/1.5B/3B/7B/14B/32B/72B), Qwen3.5 (0.8B/2B/4B/9B), Gemma-4 (E2B/E4B/12B/31B), Ministral-3 (3B/8B/14B), OLMo-3 (7B/32B) (Table 20); another 39 models (MoE, post-trained, pretraining checkpoints, etc.) are tested only with the last-token probe and do not enter the main results (Table 21).
    • Datasets: six self-built datasets, each with a training pool of at least 10⁶ rows and a fixed test set of 36,000 rows (Tables 2–3).
    • Metric: probe error E = 1 − AUROC, lower is better; each cell averages three seeds.
    • Label counts: ten levels from 32 to 10⁶, log-spaced.
    • Fitting method: Eq. 1 is a least-squares fit on log E at 10⁶ labels; Eq. 2 fixes A and α and fits only the constant B; intervals are estimated with a seed bootstrap (200 resamples, Appendix E.10).
    • Baselines: see "Comparison baselines and benchmarks" in question 2.

    Main results

    The authors state that the two laws hold across families, architectures and tasks, with only the constants differing. Core fit results (CC++, Truth, five families, per Table 22):

    Swipe horizontally to read the table

    FamilyNumber of sizesα (Eq. 1)Error multiplier per doubling of scale 2^−αFarthest offline modelB (Eq. 2)Mean deviation (rms)Max deviation
    Qwen2.570.2160.860.0123,4270.0300.115
    Qwen3.540.4050.760.0184040.0170.045
    Gemma-440.3350.790.0151,2520.0210.053
    Ministral-330.1040.930.0061,4490.0150.041
    OLMo-320.1740.89– (line through two points)2,8480.0170.030
    • Across tasks (Table 24): on Qwen2.5, CC++ follows Eq. 1 on all six tasks (α from 0.162 for Policy violation to 0.412 for General harm); Eq. 2 has mean deviation 0.025–0.045 and max 0.060–0.122. Exception: Policy violation fits most loosely (mean 0.016, worst 0.023, at 0.5B); the authors suggest this may come from its labels mixing human votes, listed categories and LLM judgments, which may be noisier.
    • Across architectures (Table 25): the last-token probe also follows Eq. 1 (each model is within 0.018 of the family line, the same bound as CC++); its label law requires g < 1 (g between 0.54 and 0.79 across the five families), and in each family it needs fewer labels than CC++ to reach the lower bound.
    • Architecture crossover (Figure 22): with few labels the last-token probe leads (by up to 0.28 AUROC at 72B with 32 labels), and with many labels CC++ overtakes it; at 10⁶ labels CC++'s lead is largest on the smallest model (0.08 at 0.5B) and below 0.005 at 32B and 72B.

    Application one: predicting the error of an untrained probe (Section 5.1, Figure 10)

    • What was tested: fit the law on the smallest k models of a family (k ≥ 3) and predict the probe error of the next size; covers six tasks on Qwen2.5, Qwen3.5 and Gemma-4 (Ministral-3 and OLMo-3 have fewer than four sizes).
    • Results: of 72 predictions by Eq. 1 at 10⁶ labels, 72% fall within 0.02 of the measured error and 97% within 0.05; the reference line (a straight line through the two largest models) achieves only 54% within 0.02. Of 702 predictions over the whole curve, 47% are within 0.02 and 82% within 0.05. On Qwen2.5, as k increases from 3 to 6, the fraction within 0.02 rises from 7 of 12 to 10 of 12.
    • Authors' interpretation: before training any probe, a law fit on small models can predict the next model's probe error with sufficient accuracy.

    Application two: add labels or switch to a larger model (Section 5.2, Figure 11, Table 27)

    • What was tested: given the number of labels on hand (four levels from 1,000 to 31,623) and a target error (four levels from 0.05 to 0.20), 45 cases were selected where "one option is clearly cheaper (measured cost difference of at least twofold)", and five decision rules were compared, with cost = parameters × labels.
    • Results (Table 27, correct choices out of 45 cases): this paper's law 33; progressive sampling stopping rule 26; Kaplan et al. joint form 20; the current model's own curve 18; Hoffmann et al. additive form 17 (i.e., 73%, 58%, 44%, 40%, 38%).
    • Authors' interpretation: under the given cost definition, the law can predict the number of labels each option needs before probing a larger model, thereby selecting the cheaper option; the authors also note that changing the cost definition (e.g., label price) only affects the fourth step.

    Application three: choosing the probe architecture (Section 5.3, Figure 12)

    • What was tested: for each model with at least three smaller same-family models, 200 (model × label count) combinations were randomly drawn across the six datasets, and the law was used to predict the learning curves of the two probes and choose the better one.
    • Results: the law chose the better probe, or one within 0.005 error, in 82% of draws; the fixed rule (last-token below 10⁴ labels, CC++ above) was 68%, and always using CC++ was 61%. When the choice was wrong, the average extra error was 0.006; in paired comparisons, among 92 draws where the choices disagreed, the law had smaller extra error 60 times (sign test p = 0.005). Example: on Qwen2.5-32B the predicted crossover of the two curves was at 9,300 labels, and the measured crossover at 9,100.

    Other ablations and analyses

    • Functional form (Table 29): among single-parameter functions, the Hill function had the smallest deviation in nine of ten settings; a Hill function with a free exponent is more accurate but adds one constant per model, so the authors keep the simple form.
    • Origin of √N (Table 32, Appendix E.3): the half-way point D0 drops from 8,177 labels at 0.5B to 243 at 72B, and the slope of log D0 against log N is −0.51 (standard error 0.15), close to −1/2, hence written as D0 = B/√N.
    • Sensitivity to size span (Table 23): on adjacent size segments of Qwen2.5, the segment α for two-size segments ranges from −0.08 to 0.57 (including one negative value), and is positive for all segments of three sizes and up; from four sizes and a span of about tenfold, B stabilizes within 16% of the full value.
    • Probe internal design (Appendix F): the best layer is at 64–80% depth and never the last layer; larger heads (MLP, low-rank) give no gain over a linear probe.
    • Other models (Appendix G): the probe errors of the five MoE models fall between their family's predictions by total parameters and by active parameters, closer to total parameters; post-training reduces probe error at each label level for OLMo-3 (at 10⁶ labels, 7B drops from 0.111 to 0.096); probe error decreases with pretraining steps. These results do not enter the main-text laws.
  5. What are some points that can be further explored?

    The authors list open questions including the base-to-post-training gap and MoE parameter counting; the experiments cover 20 base models across five families.

    Limitations and future directions noted by the authors

    • Model sizes limited by open-source releases (Appendix A): the five families are the main open-source families that still release dense base models at multiple sizes; Ministral-3 and OLMo-3 released only three and two sizes; for new families, several sizes still need to be probed first before the law can predict the next one.
    • The law is fit on base models, whereas deployment monitors post-trained models (Appendix A): the authors fit α = 0.30 on seven sizes of Qwen2.5-Instruct (0.27 for base), and too few sizes of post-trained OLMo-3, Qwen3.5 and Qwen3.6 models were probed to fit the law.
    • Future direction one (Appendix A): fit the law on post-trained models with CC++, on other tasks, and up to 10⁶ labels.
    • Future direction two (Appendix A): for MoE models, probe performance falls between predictions by total parameters and by active parameters, closer to total parameters; which count should enter Eq. 1 remains undetermined.
    • Future direction three (Appendix A): probe error also decreases with pretraining progress, which the authors suggest may indicate a joint law of model scale and training length.
    • Scope of the applied evaluation (Appendix A): the applications in Section 5 are evaluated on the authors' own models and datasets, and cost counts only parameters × labels; the authors state that this section is a demonstration workflow, and teams can rerun the same workflow with their own costs, models and targets.

    Experimental coverage

    • Main results (Sections 4–5) cover 20 dense base models across five families, six tasks, two probe architectures, and ten label levels from 32 to 10⁶, with three seeds per cell.
    • Size spans: Qwen2.5 spans 0.5B–72B (147×), Qwen3.5 spans 12×, Gemma-4 spans 6.1×, OLMo-3 spans 4.4×, Ministral-3 spans 3.6× (Appendix D.4).
    • Extrapolation predictions cover three families, Qwen2.5, Qwen3.5 and Gemma-4 (Ministral-3 and OLMo-3 have fewer than four sizes and do not participate in Section 5.1).
    • 39 other models (5 MoE, 6 dense base models from two other families, 16 post-trained models, 12 pretraining checkpoints) are tested only with the last-token probe on Truth and do not enter the results of Sections 4–5 (Table 21, Appendix G).
    • The paper does not report total compute or time for probe training and activation extraction; seed intervals are estimated with a three-seed bootstrap (Appendix E.10).
  6. Summarize the main content of the paper

    The authors establish two scaling laws for safety probes: the error lower bound decreases as a power law with model size, and the number of labels determines the speed of approaching the lower bound.

    An analysis paper on scaling laws for safety probes. Safety probes are trained on model activations for real-time monitoring, but a probe's performance on each new model is unknown in advance, and how many labels are needed and which architecture to use can only be found by trial.

    • Data: public safety datasets are either too easy or have too few labels, so the authors build six datasets from minimal pairs (Truth, Sycophancy, Policy violation, General harm, Jailbreak, Prompt injection), each with up to 10⁶ labels, on which a lexical classifier reaches only 0.50–0.74 AUROC (Figure 14).
    • Method: on 20 dense base models across five families, they train two probes, last-token and CC++, with 32 to 10⁶ labels, and fit probe error E = 1 − AUROC to a scale law (the lower bound falls as a power law with parameter count) and a label law (error moves from chance level toward that lower bound, with the rate controlled by a single constant).
    • Scope of the laws: the authors state that the two laws hold across tasks, families and architectures, with only the constants differing; for example, on Truth, doubling Qwen2.5's scale multiplies CC++ error by 0.86, versus 0.76 for Qwen3.5 (Table 22). The exception is Policy violation, which fits more loosely, which the authors suggest may be because its labels come from mixed sources and are noisier.
    • Predictive ability: after fitting on smaller models, predictions of the next larger model's probe error fall within 0.02 in 72% of cases and within 0.05 in 97% (Section 5.1).
    • Decision ability: with cost defined as parameters × labels, the law selects the cheaper option in 73% of 45 cases (comparison rules 38%–58%, Table 27); when choosing a probe architecture it selects the optimal or near-optimal one 82% of the time, and a wrong choice adds on average only 0.006 error (Section 5.3).
    • Authors' conclusion: safety teams can plan probes for a new model before collecting labels; the authors also note that the laws are fit on base models, leaving post-trained models, MoE parameter counting and the training-length dimension to future work.
Read originalarxiv.org