Manuscript Offprint

arXiv:2610.30678

Scaling Laws for Safety Probes

Yuchen Wu, Jerry Wei

Yuchen Wu1^{1}, Jerry Wei2^{2}

1^{1}University of Washington 2^{2}Anthropic

Safety probes trained on a model’s activations are a standard tool for monitoring language models in real time. Each time a new model is released or a new harm area needs to be monitored, the probe must be retrained, which requires new labels and a choice of probe architecture. Yet neither the model nor the labels tell us in advance how well the resulting probe will perform. Finding out requires training and comparing many probe configurations. In this paper, we ask whether probe performance can instead be predicted in advance from model size and the number of labels. Existing safety datasets are insufficient for this, as they are either limited in scale or already saturated. We therefore construct six new safety datasets of sufficient size and difficulty. On these datasets, we train two probe architectures on 20 base models from five model families, with 32 to 10610^{6} labels for each model. We measure performance using probe error, defined as 1 – AUROC, where lower values are better. We find that probe error follows two simple scaling laws. First, the lowest probe error a model can reach falls as a power law in its size. Second, probe error decreases towards its floor as the number of examples increases; the slope increases as the target model size increases. Both laws hold across tasks, model families and probe architectures, and only their fitted constants differ. When fitted on the smallest models of a family, the laws predict the error of the next larger model to within 0.02 in 72% of cases. They also identify whether more labels or a larger model is the cheaper way to reach a target error in 73% of cases. Finally, they choose the probe architecture with an extra error of only 0.006 on average when they pick the worse one. These laws allow safety researchers to determine how to create the best probe for any given model and label budget.

1 Introduction

As large language models are deployed at scale, monitoring every input and output for safety in real time has become a necessity. A common approach for such monitoring is to use safety probes, which are trained on a model's internal activations and add negligible inference cost [15, 16, 28, 56, 104]. However, each new model needs its own probe, and how well that probe can perform is unknown in advance. Safety teams therefore cannot tell how many labels are enough or which architecture to use without running many experiments.

Scaling laws are well established for the pretraining loss of language models [33, 43], where they allow model size and data size to be chosen before training. However, no prior work has studied whether such laws extend to safety probes. In this paper, we identify scaling laws that predict probe performance from model size and the number of labels, so that safety teams can decide how many labels to collect and which architecture to use before any probe is trained on the new model. Measuring such laws requires experiments that vary model size, model family, task, number of labels and probe architecture together, but prior probe studies have varied only a subset of these factors (Table 1). Measuring these laws also requires data that lets us track probe performance from very few labels until it saturates. On many public safety datasets, however, the task either saturates too quickly or runs out of labels before it saturates (Figure 1).

First, to obtain such data, we construct six safety datasets, each with up to 10610^{6} labels (Section 3). They cover truth judgement, sycophancy, policy violation, general harm, jailbreak and prompt injection. Every dataset is

Table 1: Factors varied (√) or held fixed (×) by prior probe studies. “Scale” means that several sizes of a model were studied. “Fam.” means that more than one model family was studied. “Tasks” means that more than one safety behaviour was studied. “Data” means that a series of label counts was studied. “Arch.” means that more than one probe architecture was studied. “Law” means that a fitted law was tested by extrapolation.

MethodScaleFam.TasksDataArch.Law
Segment-level [28]✓✓✕✕✓✕
RepE [104]✓✕✓✕✓✕
Mass-mean [58]✓✕✕✕✓✕
CC++ [16]✕✕✕✓✓✕
Cost-eff. CC [15]✕✕✕✕✓✕
Ours✓✓✓✓✓✓

Figure

Figure 1: Public sets are too easy or run out of labels. Probe AUROC against training labels on a log scale, Qwen2.5-7B, last-token probe. Orange sets are already near the ceiling at D=32D = 32 (circled), which leaves no room to observe scaling. Purple sets run out of labels (dots) before performance levels off. Blue is our data, which runs to 10610^{6} labels.

built from minimal pairs, two examples that differ only in the part that decides the label [20, 44]. On these datasets, we probe 20 base models from five families. They are the seven sizes of Qwen2.5 [70] from 0.5B to 72B and 13 dense models of Qwen3.5 [71], Gemma-4 [21], Ministral-3 [51] and OLMo-3 [87]. For every model, we train probes with 32 to 10610^{6} labels. We use two probe architectures, linear probes that read the activations of a single layer at the last token, and the probes of Cunningham et al. [16], which read all layers and score token by token. We refer to the latter as CC++ probes from here on.

Second, we measure each probe by its error, E=1−AUROCE = 1 - \text{AUROC}, the distance that remains to a perfect probe and the counterpart of test loss in the scaling laws of language models. We find that probe error follows two simple scaling laws (Section 4). With enough labels, it reaches a floor that decreases as a power law in model size. For example, on truth judgement, each doubling of Qwen2.5 model size multiplies the error floor of the CC++ probe by 0.86 (Figure 4). As labels are added, the error decreases towards this floor. Larger models get there faster, and one constant shared by all model sizes sets how fast. Both laws hold across model families, probe architectures and tasks, and only their fitted constants change (Sections 4.3–4.5). In every family, the last-token probe approaches its floor with fewer labels than the CC++ probe (Section 4.4). With many labels, the CC++ probe overtakes it, as on Qwen2.5 (Appendix F.4).

Third, the laws can be used before a larger model is probed (Figure 2; Section 5). Fitted on smaller models, they predict its probe error to within 0.02 in 72 % of cases and within 0.05 in 97 % (Section 5.1). When the model size can also be chosen, they indicate whether a target error is cheaper to reach with more labels or with a larger model. When cost is defined as the number of parameters in the model multiplied by the number of labels, the laws choose the cheaper option in 73 % of the cases where one option is clearly cheaper, compared with 38 % and 44 % for the scaling laws of Hoffmann et al. [33] and Kaplan et al. [43] (Section 5.2). They also choose the probe architecture, with an extra error of only 0.006 on average when they pick the worse one (Section 5.3). Overall, we hope these laws let safety teams plan a probe for a new model before collecting its labels.

References (86)