Does Self-Supervised Pretraining Help with Few Labels at Toy Scale? A Multi-Seed Study on 8×8 Digits Arcturus-70B Stemma seed corpus https://github.com/mihir-chauhan/research-harness-papers/tree/main/papers/self-supervised-few-labels-digits Abstract—This paper is a toy-scale reproduction of images are meant to make a handful of labels go further. known self-supervised label-efficiency behaviour (SimCLR, The evidence is mostly at ImageNet scale with large SimCLRv2, and the pretext-task findings of Kolesnikov et al.), networks, where contrastive and related joint-embedding not a new method and not a new measurement question. We ask whether self-supervised pretraining of a small CNN methods such as SimCLR [1], MoCo [2] and BYOL [3], and on an unlabeled pool of scikit-learn 8 × 8 digits improves a pretext tasks such as rotation prediction [4], are evaluated linear probe when only 10, 50 or 200 labels are available. with linear probes or semi-supervised fine-tuning [5], [6]. We reimplement a SimCLR-style contrastive objective and Whether the same ordering holds for a tiny encoder and rotation prediction and compare them, over five seeds on a 1797 8 × 8 images, where classical baselines such as raw fixed-size held-out test split, with supervised scratch training of the same encoder, PCA plus logistic regression, raw pixels, pixels or a PCA projection followed by logistic regression a frozen random encoder, label spreading, label propagation are available, is, to our knowledge, not often reported with and self-training on the same unlabeled pool, fine-tuning of matched probes and several seeds. the SimCLR encoder, and, from 50 labels, versions of scratch, We study that question on the scikit-learn digits PCA and rotation tuned by cross-validation on the labeled dataset. The study is a toy-scale reproduction of known images. Fourteen pre-specified tests are corrected with Holm’s method; all other comparisons are exploratory. The SimCLR behaviour, not a new method and not a new measure- probe has the highest mean accuracy at 10 and 50 labels, but ment question: that contrastive pretraining helps most at 200 labels it is tied with supervised scratch, with the fine- when labels are scarce and less as they grow is the tuned encoder and with tuned scratch. Its margin over untuned finding of SimCLR [1], SimCLRv2 [6] and S4L [5], and scratch is resolved after correction at 10 and 50 labels (Holm that rotation-style pretext tasks can give poor linear- p = 0.003 and 0.013) but not at 200 (uncorrected p = 0.18); its margin over label spreading (+0.115, +0.016 and +0.012 probe features depending on the setup is the finding of at 10, 50 and 200 labels) and over tuned scratch at 50 labels Kolesnikov et al. [7]. Our contribution is a small, controlled (+0.026) is not resolved after correction. Rotation prediction measurement of these effects at tiny scale: (i) a SimCLR- with the original probe is below the random encoder at 50 style contrastive objective and rotation prediction, both and 200 labels (not resolved after correction) and not better reimplemented, are used to pretrain one shared CNN than PCA; this is confined to the last encoder block, since a probe on the second block is above the random encoder, encoder on an unlabeled pool; (ii) a linear probe is trained and it is removed by adding augmentation to the rotation on 10, 50 or 200 labels; (iii) results are compared with pretext task but not by recalibrating batch-norm statistics or supervised scratch training of the same encoder, PCA with by removing the half-turn ambiguity of the pretext task (one logistic regression, raw pixels, a random frozen encoder, dataset, five seeds). Removing the photometric augmentation semi-supervised methods that use the same pool (label lowers SimCLR accuracy at 50 labels (Holm p = 0.019); removing the geometric one is not resolved. This is a small spreading, label propagation, self-training) and fine-tuning CPU study on one tiny dataset; the conclusions should not be of the SimCLR encoder, over five seeds; (iv) augmentation, extrapolated to larger images or models. temperature and pretraining-length ablations are run; (v) Index Terms—self-supervised learning, label efficiency, Sim- the baselines that were fixed in advance are re-run with CLR, rotation prediction, linear probe, small-scale study settings chosen by cross-validation on the labeled images, and the rotation result is dissected with checkpoint, probe- I. Introduction layer, batch-norm and pretext-task interventions. We pre- Self-supervised learning (SSL) is often motivated by specified four hypotheses (Section IV) and report each as label scarcity: representations learned from unlabeled supported, refuted or inconclusive. Arcturus-70B is the codename of an autonomous study, not a II. Related Work person. Produced by the Stemma autonomous AI research pipeline; Contrastive SSL. Contrastive predictive coding [8] in- the topic was chosen to cover the field. Every reported number comes from logged runs in the linked repository and every reference was troduced the InfoNCE objective that underlies most con- checked against arXiv, Crossref, DataCite or OpenAlex. trastive methods. SimCLR [1] learns by maximising agree- ment between two augmented views with a normalised- Baselines added in revision. Label spreading / label temperature cross-entropy loss and a projection head; propagation: scikit-learn LabelSpreading (kNN graph, 7 MoCo [2] uses a momentum-encoder queue of negatives neighbours, α =0.2000) and LabelPropagation (kNN, 7 and BYOL [3] removes negatives altogether. We reimple- neighbours) on the raw pixels of the 1300-image pool with ment only the SimCLR-style loss, at a scale of one small the labeled images carrying their labels, predicting the encoder and one unlabeled pool. test images inductively. Self-training: logistic regression Pretext tasks. Rotation prediction [4] asks a network to (C =1) on standardised pixels, pseudo-labelling pool recognise which of four rotations was applied. Kolesnikov images with confidence ≥0.9000 for at most 10 rounds. et al. [7] show that the quality of pretext-task represen- SimCLR fine-tuned: the cached SimCLR encoder of the tations depends strongly on architecture choices, which same seed plus a linear head, trained end to end exactly motivates our use of an identical encoder and probe for like supervised scratch (300 Adam steps, lr 0.001000, all systems. Su et al. [9] use self-supervised auxiliary tasks weight decay 0.0001000, no augmentation). These settings (rotation and jigsaw) for few-shot learning, a different use were fixed before the runs and are not tuned. from our pretrain-then-probe setting. Tuned baselines (n50 and n200 only). Supervised scratch Label efficiency. S4L [5] and SimCLRv2 [6] combine and fine-tuning choose (steps ∈ {150,300,600}, weight de- SSL with few labels at ImageNet scale. Konstantakos et cay ∈ {0.0001000,0.01000}, no augmentation or the Sim- al. [10] compare SSL methods when pretraining data are CLR augmentation) by 5-fold stratified cross-validation on scarce, the closest work to ours; we differ in using an the labeled images and are then retrained on all of them; even smaller dataset, a classical PCA baseline and a label- PCA + LR chooses (dimension ∈ {8,16,24,32,48}, probe budget sweep. The optimiser for all networks is Adam [11]. C ∈ {0.01000,0.1000,1,10,100}) in the same way; rotation chooses (pretraining epoch ∈ {5,10,20,40,60}, probe block III. Method ∈ {1, 2, 3}, probe C). No test image is used for selection, Encoder. A shared encoder fθ : R8×8 → R256 : three 3×3 and ties go to the original configuration. At n = 10 convolutions (32, 64, 64 channels) with batch norm and (one image per class) cross-validation is impossible, so ReLU, one 2 × 2 max-pool, and adaptive average pooling the tuned baselines are not run there. The SimCLR probe to 2 × 2. itself was not tuned. SimCLR-style (the studied method). For an unlabeled Rotation diagnostics. Rotation pretraining is repeated ′ ′ batch {xi }Bi=1 , two views x̃i = t(xi ), x̃i = t (xi ) are drawn with checkpoints at epoch 0 (the random initialisation) ′ and after 5, 10, 20, 40 and 60 epochs. Features are probed with t, t from the augmentation family, and z = gϕ (fθ (x̃)) is normalised by ℓ2 , where gϕ is a 256–128–64 MLP. With (C =1) after block 1, 2 or 3 of the encoder (each average- sjk = zj⊤ zk /τ over the 2B views, the NT-Xent loss is pooled to 2 × 2), with the stored batch-norm statistics or with statistics re-estimated on the upright unlabeled pool. 1 ∑ 2B exp(sj,p(j) ) Two pretext interventions are run: 0/90 only (predict only L=− log ∑ , (1) 2B j=1 k̸=j exp(sjk ) upright versus a quarter turn, which removes the half- turn ambiguity of symmetric digits, whose upright and where p(j) is the other view of the same image. Aug- half-turned versions look alike) and + augmentation (the mentations are geometric (rotation ±15◦ , shift ±1 px, SimCLR augmentation is applied to each image before it scale ±0.1000 (relative), bilinear, zero padding, no flips) is rotated). The random encoder is probed in the same and photometric (brightness ×(1±0.2000), Gaussian noise cells. σ =0.1000, clamp to [0, 1]). Rotation prediction (reimplemented). Each image is IV. Experimental Setup rotated by k · 90◦ , k ∈∑{0, 1, 2, 3}, and a linear head h Data and splits. The scikit-learn digits set has 1797 predicts k: Lrot = − 4B 1 i,k log softmax(h(fθ (Rk xi )))k . images of 8 × 8 pixels (scaled to [0, 1]). For each seed a Linear probe. For every frozen encoder the 256-d stratified test split of 497 images is held out and never features of the n labeled images are standardised and used for training or model selection; the remaining 1300 ∑ to multinomial logistic regression, minW 2C ∥W ∥ + 1 2 fed images form the unlabeled pool used for SSL pretraining i CE(W ui , yi ) with C =1. and for fitting PCA. The labeled set is a class-balanced Baselines (all reimplemented). Supervised scratch: the subset of the pool of n ∈ {10, 50, 200} images (1, 5, 20 per same encoder with a linear head, trained end to end class; tasks n10, n50, n200). Seeds 0–4 change the split, with cross-entropy on the n labels (300 Adam steps, no the labeled subset and the initialisation. The metric is test augmentation). PCA + LR: u = P ⊤ (x−µ) with P the top accuracy for all systems, computed identically. 16 principal directions of the unlabeled pool pixels, then Hyper-parameters and tuning. SimCLR and rotation: the same probe. Pixels + LR: the probe on the 64 raw 60 epochs, batch 128, Adam (lr 0.001000, weight de- pixels. Random CNN + probe: an untrained encoder with cay 1.000 × 10−5 ), τ =0.5000 for SimCLR. Supervised: the same probe, which isolates the effect of pretraining 300 steps, batch min(n, 32), lr 0.001000, weight decay from the architecture. 0.0001000. All headline values (the original systems) were fixed in advance; there was no tuning on any split, no TABLE I early stopping, and no validation set (a validation set Main results: test accuracy, mean ± std over 5 seeds (best bold, second underlined). would consume labels at n = 10). The tuned baselines added in revision (Section III) choose their settings by Method Task test_acc ↑ n cross-validation on the labeled images only. Pretraining Pixels + LR n50 0.831 ± 0.040 5 depends on the seed but not on the label budget, so one Random CNN + probe n50 0.856 ± 0.022 5 encoder per seed is shared by the three tasks. Supervised scratch n50 0.918 ± 0.017 5 Hypotheses. H1: SimCLR beats supervised scratch at Rotation (reimplemented) n50 0.772 ± 0.037 5 PCA + LR n50 0.820 ± 0.031 5 every budget. H2: SimCLR beats rotation at every budget. SimCLR-style probe n50 0.955 ± 0.012 5 H3: SSL probes beat PCA + LR at 10 labels and Pixels + LR n10 0.564 ± 0.061 5 the gap shrinks to within two points at 200 labels. Random CNN + probe n10 0.546 ± 0.118 5 H4: removing either augmentation family lowers SimCLR Supervised scratch n10 0.662 ± 0.043 5 accuracy at 50 labels. Statistics are paired-by-seed t-tests Rotation (reimplemented) n10 0.441 ± 0.033 5 with five seeds, so p-values are indicative only; every PCA + LR n10 0.505 ± 0.063 5 SimCLR-style probe n10 0.826 ± 0.037 5 comparison is reported with a two-sided 95% t-interval Pixels + LR n200 0.932 ± 0.013 5 of the paired difference (4 d.f.) and a Holm-adjusted p Random CNN + probe n200 0.944 ± 0.015 5 (method/stats_holm.py). The 14 tests pre-specified by Supervised scratch n200 0.976 ± 0.010 5 H1–H4 (H1: SimCLR vs scratch at three budgets; H2: Rotation (reimplemented) n200 0.908 ± 0.010 5 SimCLR vs rotation at three; H3: SimCLR and rotation PCA + LR n200 0.914 ± 0.010 5 SimCLR-style probe n200 0.979 ± 0.010 5 vs PCA at three; H4: the two augmentation ablations at 50 labels) form the confirmatory family and are Holm- corrected together. The 25 other comparisons of the 1.0 original submission are exploratory and Holm-corrected 0.8 as one family; the 83 comparisons added in revision test_acc 0.6 (new baselines, tuned baselines, rotation diagnostics) are a 0.4 third exploratory family. Because Holm is applied within 0.2 families, an exploratory result with an adjusted p above 0.05000 is not resolved. The three budgets share the 0.0 n50 n10 n200 pretrained encoder and the test split per seed, so tests Pixels + LR Random CNN + probe Rotation (reimplemented) SimCLR-style probe PCA + LR Supervised scratch are not independent. Compute. CPU only (Apple M1 Pro, 2 threads per Fig. 1. Test accuracy by system and label budget (mean over 5 process, two processes at a time, on a shared and heavily seeds). loaded machine). A SimCLR pretraining run took on the order of two minutes, so the registry wall-clock figures are inflated by contention and are not a benchmark. All runs n = 50) took 787 s under contention, above the intended are logged in results/runs.jsonl (90 main runs, 30 and 15 10-minute cap. Pretraining drops the last partial batch of augmentation-ablation runs, 15 temperature and 10 epoch each epoch. runs; added in revision: 45 semi-supervised, 15 fine-tuning, 40 tuned-baseline and 60 rotation-diagnostic runs, driven V. Results by experiments/run_revision.sh and method/revision.py, Table I gives test accuracy (mean ± std over five and the run of method/stats_holm.py that supplies every seeds) and Fig. 1 plots it. Paired differences with 95% statistic in the tables and text; two earlier runs of that intervals and Holm-adjusted p for every comparison are script are marked superseded in the registry, the first in Tables V–VI; p is the uncorrected paired t-test p. because it lacked four further rotation comparisons and H1 (SimCLR > scratch): supported at 10 and 50 labels, the second because its task field was not a task name); not at 200. The paired differences are positive at every code is in method/run.py. For the paired comparisons of budget: 0.164 at n = 10 (Holm p = 0.003), 0.037 at n = 50 Table V the registry also lists these runs a second time in (Holm p = 0.013) and 0.002 at n = 200 (uncorrected four comparison groups (cmp_*, copies made with rh log p = 0.18, Holm p = 0.358, Table V). At 200 labels the –from-run); the copies are not additional runs. Two driver SimCLR probe and scratch are tied: we cannot claim an processes executed identical runs concurrently: 75 of the 90 advantage there. main runs were logged twice (236 raw rows) with identical H2 (SimCLR > rotation): supported at all budgets after metrics; we kept one row per run and retained the original correction, with large differences (Table V). Rotation is file (results/runs_raw_with_duplicates.jsonl). The kept below the untrained random encoder at all three budgets registry includes one failed sanity run (PCA + LR, exit in the mean, but only nominally at 50 and 200 labels code 1, fixed before the main runs). Total wall-clock (uncorrected p = 0.020 and 0.004, Holm p = 0.265 exceeded the 45-minute plan, and one rotation run (seed 1, and 0.074 within the exploratory family; at 10 labels 0.002 at 200 labels (uncorrected p = 0.357 and 0.708); 1.0 the SimCLR margin over tuned scratch is 0.026 at 50 labels (uncorrected p = 0.016, Holm p = 0.824, so not resolved after correction) and 0.001 at 200 labels. Tuning test accuracy 0.8 PCA does not help (−0.017 and 0.001); SimCLR stays far above it. Tuning changes rotation the most: 0.128 at 50 0.6 Pixels + LR PCA + LR and 0.048 at 200 labels, with block 2 chosen on every seed Random CNN + probe and budget; the tuned rotation baseline is nominally above Supervised scratch the random encoder at 50 labels (0.044, p = 0.002, Holm Rotation 0.4 SimCLR-style probe p = 0.137) and still below the SimCLR probe (0.054 and 10 50 200 0.022). So the untuned-rotation conclusion is a statement labels about that configuration, not about rotation pretraining in general. The SimCLR probe itself was not tuned, so these comparisons favour the baselines. At n = 10 the scratch, Fig. 2. Label-efficiency curves of the original systems (mean ± std over 5 seeds). SimCLR has the highest mean at every budget among PCA and rotation results remain statements about the these systems and the spread between systems narrows as labels untuned configurations, because tuning was not possible grow; the systems added in revision are in Table II. there. Where the method is unreliable. At 10 labels all systems have large seed variance, notably the random encoder p = 0.090), and not better than PCA + LR at any budget (±0.118). Table IV shows that SimCLR is above scratch (below it at 10 and 50 labels, uncorrected p = 0.050 and and above the random encoder on each of the five seeds 0.095, Holm p = 0.250 and 0.358; about equal at 200). at n = 10; each seed changes the split, the labeled subset Section VI-A dissects this result. and the initialisation together, so this design cannot say H3 (SSL vs PCA): partly refuted. SimCLR beats PCA which source dominates the variance. Part of the SimCLR + LR at 10 labels by 0.321, but the gap at 200 labels advantage over pixels and PCA is attributable to the CNN is still 0.065 (all three SimCLR-vs-PCA tests resolved architecture rather than pretraining: the random frozen after correction), far from the two-point band, so the “gap encoder is above PCA at 50 and 200 labels and above shrinks to within 2 points” part is refuted. The gap does pixels at 200 labels nominally (uncorrected p = 0.019, shrink (0.321, 0.135, 0.065). Rotation pretraining does not 0.002 and 0.013; Holm p = 0.265, 0.038 and 0.212), but beat PCA at 10 labels (0.441 vs 0.505), so the first part not clearly pixels at 50 (p = 0.117) or either at 10, where fails for rotation. its variance is large. Semi-supervised baselines and fine-tuning. Table II gives the systems that use the same unlabeled pool. Label VI. Ablations and Analysis spreading is the strongest of them (0.938 at 50 labels). The All ablations change one setting of the SimCLR-style SimCLR probe has the higher mean than label spreading pretraining and keep the probe, splits and seeds fixed; at every budget, by 0.115, 0.016 and 0.012 at 10, 50 and they are run on the same five seeds. The full method 200 labels, but none of these is resolved after correction (both augmentation families, τ =0.5000, 60 epochs) is the (uncorrected p = 0.058, 0.033, 0.089; Holm p = 1.000 at SimCLR-style probe row of Table I. 50 labels), so “SimCLR is better than label spreading” H4 (augmentations matter): partly supported. At 50 is not supported. Label propagation and self-training are labels the full augmentation reaches 0.955 (Table I), below the SimCLR probe at every budget (the self-training geometric-only 0.927 and photometric-only 0.918 (Ta- run collapses at 10 labels: 0.209); only some of these ble VII); the drops are 0.028 (geometric-only; paired p = differences are resolved after correction (Table VI). Fine- 0.09, not resolved with five seeds) and 0.037 (photometric- tuning the SimCLR encoder end to end gives 0.778, 0.949 only; p = 0.003) (Table V). After Holm correction within and 0.979 at 10, 50 and 200 labels: below the frozen the confirmatory family only the photometric drop is re- probe at 10 labels (nominal p = 0.027, not resolved solved (Holm p = 0.019 against 0.358 for geometric-only), after correction) and not different from it at 50 and so H4 is supported for photometric-only and inconclusive 200 (p = 0.231 and 0.784). It remains above scratch at for geometric-only; we do not claim that both families 10 labels (Holm p = 0.010) and ties it at 200 (0.003, contribute. At 10 labels the ordering is the same, but the p = 0.405). The label-spreading, propagation and self- seed std of geometric-only is 0.116, so that comparison is training settings were fixed in advance and not tuned. inconclusive. Geometric-only is not distinguishable from Tuned baselines. Table III shows the effect of choosing photometric-only. steps, weight decay and augmentation (scratch, fine- Is the gain just augmentation? Table VIII gives scratch tuning), PCA dimension and probe C, and rotation epoch, training with the same augmentations. It is not distin- probe block and C by cross-validation on the labeled guishable from plain scratch at any budget (10 labels: images. Tuning scratch changes it by 0.010 at 50 and 0.713 vs 0.662, std 0.099, p = 0.12) and remains below TABLE II TABLE III Systems added in revision next to SimCLR and scratch: test accuracy, mean Default versus cross-validation-tuned configurations (5 ± std over 5 seeds (best bold, second underlined per budget). seeds; tuning uses only the labeled images and is impossible at n = 10). System n10 n50 n200 System n50 n200 SimCLR-style probe 0.826 ± 0.037 0.955 ± 0.012 0.979 ± 0.010 Supervised scratch 0.662 ± 0.043 0.918 ± 0.017 0.976 ± 0.010 Supervised scratch 0.918 ± 0.017 0.976 ± 0.010 Supervised scratch (CV-tuned) 0.929 ± 0.010 0.978 ± 0.007 Label spreading (kNN) 0.711 ± 0.120 0.938 ± 0.016 0.967 ± 0.017 SimCLR fine-tuned 0.949 ± 0.004 0.979 ± 0.014 Label propagation (kNN) 0.690 ± 0.070 0.899 ± 0.039 0.965 ± 0.015 SimCLR fine-tuned (CV-tuned) 0.952 ± 0.007 0.970 ± 0.006 Self-training (LR) 0.209 ± 0.045 0.895 ± 0.023 0.942 ± 0.017 PCA + LR 0.820 ± 0.031 0.914 ± 0.010 SimCLR fine-tuned 0.778 ± 0.042 0.949 ± 0.004 0.979 ± 0.014 PCA + LR (CV-tuned) 0.803 ± 0.027 0.915 ± 0.017 Rotation (reimplemented) 0.772 ± 0.037 0.908 ± 0.010 Rotation (CV-tuned) 0.901 ± 0.012 0.957 ± 0.014 SimCLR-style probe 0.955 ± 0.012 0.979 ± 0.010 TABLE IV repeated rotation pretraining with checkpoints and probed Per-seed test accuracy at 10 labels (seed = split, labeled subset each block (Tables X, XI; all cells use the same probe and initialisation). as the main table, C = 1; every comparison below is System s0 s1 s2 s3 s4 exploratory, see Table VI for intervals; “Holm” is within Supervised scratch 0.608 0.624 0.696 0.700 0.682 the revision family). The headline cell (60 epochs, block Random CNN + probe 0.386 0.543 0.720 0.537 0.545 3, stored batch-norm statistics) reproduces the main-table SimCLR-style probe 0.805 0.785 0.881 0.817 0.843 rotation and random-encoder values on every seed. Epochs. After 5 epochs the block-3 probe is not different 0.98 from the random encoder at 50 labels (0.009, p = 0.390); 0.97 0.96 20 epochs score 0.043 higher than 60 (p = 0.008, Holm test acc. (n50) p = 0.444), so block-3 accuracy falls as the pretext task 0.96 0.95 is trained longer. Block. At 50 labels the block-2 probe is 0.95 0.134 above the block-3 probe (p = 0.002, Holm p = 0.129) 0.94 and 0.033 above the random encoder’s block-2 probe 0.94 (p = 0.001, Holm p = 0.053); block 1 is 0.023 above ran- 0.93 0.93 dom (p = 0.054). Batch norm. Re-estimating batch-norm 0.25 0.50 0.75 1.00 10 30 60 statistics on upright images changes the rotation block- temperature τ pretraining epochs 3 probe by 0.008 (p = 0.233) and the random encoder by 0.021; rotation stays below the recalibrated random encoder (−0.097, p = 0.007), so a train/test batch-norm Fig. 3. Sensitivity at 50 labels: temperature τ (left) and pretraining mismatch does not explain the gap. Half-turn ambiguity. epochs (right); mean ± std over 5 seeds, including the defaults from the main runs. Predicting only upright versus a quarter turn (pretext loss 0.00) raises block-3 accuracy by 0.065 over the 4-way task (p = 0.003, Holm p = 0.192) but stays at or below SimCLR at 10 labels (p = 0.02; Table V). So in this the random encoder (−0.019, p = 0.268). Augmentation. setup augmentation of the labeled examples alone does Applying the SimCLR augmentation before rotating keeps not reproduce the SimCLR advantage. the pretext loss from collapsing (0.27) and puts block 3 Sensitivity. A higher temperature (τ =1: 0.963) is above the random encoder (0.046 at 50 labels, p = 0.004, slightly better than the default (0.955) and lower values Holm p = 0.265; 0.019 at 200 labels, p = 0.007) and 0.130 (0.942 and 0.942) are worse (Table IX, Fig. 3); the above the unaugmented rotation probe (p = 0.002, Holm differences are about one seed standard deviation, so we p = 0.117). make no claim about the optimum; the τ =1 comparison is post hoc on the test split, and the default was not These results are consistent with the earlier hypothesis tuned on it. Shortening pretraining to 10 epochs gives that the unaugmented pretext task is solved without 0.940 against 0.955 at 60; 30 epochs matches the default learning digit-discriminative features in the last block: (0.955), so over the settings tested (10, 30 and 60 epochs) the failure appears with long unaugmented training, is accuracy is unchanged between 30 and 60 epochs; we make confined to block 3, and is removed by augmentation, not no claim about other lengths. by batch-norm recalibration or by removing the ambi- guity. The evidence is exploratory: no single comparison A. Why does rotation prediction fail? here is resolved after Holm correction within its family of The original rotation baseline probes the last encoder 83, the explanation was tested on one dataset with one block of a network whose pretext loss falls to 0.01 (mean architecture and five seeds, and we did not test it in an final loss over five seeds). To separate possible causes we independent setting. TABLE V Confirmatory tests (pre-specified by H1–H4; A minus B, 5 seeds paired by seed; Holm-corrected within these tests) and exploratory comparisons of the original submission (Holm within them). p is uncorrected; the three budgets share the encoder and test split per seed. A−B Task ∆ 95% CI p pHolm SimCLR − Pixels n10 0.262 [0.212, 0.312] 0.000 0.003 SimCLR − Random n10 0.280 [0.163, 0.396] 0.003 0.047 Scratch+aug − Scratch n10 0.051 [−0.021, 0.123] 0.121 0.858 Scratch+aug − SimCLR n10 −0.113 [−0.200, −0.026] 0.022 0.269 A−B Task ∆ 95% CI p pHolm Rotation − Random n10 −0.106 [−0.238, 0.026] 0.090 0.858 Random − PCA n10 0.041 [−0.083, 0.165] 0.406 1.000 SimCLR − Scratch n10 0.164 [0.126, 0.202] 0.000 0.003 Random − Pixels n10 −0.017 [−0.117, 0.082] 0.655 1.000 SimCLR − Rotation n10 0.386 [0.321, 0.450] 0.000 0.001 SimCLR − Pixels n50 0.124 [0.082, 0.167] 0.001 0.026 SimCLR − PCA n10 0.321 [0.253, 0.389] 0.000 0.002 SimCLR − Random n50 0.099 [0.071, 0.127] 0.001 0.014 Rotation − PCA n10 −0.064 [−0.129, 0.000] 0.050 0.250 Scratch+aug − Scratch n50 0.004 [−0.025, 0.034] 0.701 1.000 SimCLR − Scratch n50 0.037 [0.023, 0.051] 0.002 0.013 Scratch+aug − SimCLR n50 −0.032 [−0.072, 0.007] 0.086 0.858 SimCLR − Rotation n50 0.183 [0.137, 0.229] 0.000 0.003 Rotation − Random n50 −0.084 [−0.147, −0.021] 0.020 0.265 SimCLR − PCA n50 0.135 [0.097, 0.173] 0.001 0.005 Random − PCA n50 0.036 [0.010, 0.063] 0.019 0.265 Rotation − PCA n50 −0.048 [−0.109, 0.013] 0.095 0.358 Random − Pixels n50 0.026 [−0.010, 0.062] 0.117 0.858 SimCLR − Scratch n200 0.002 [−0.002, 0.007] 0.178 0.358 SimCLR − Pixels n200 0.047 [0.036, 0.057] 0.000 0.006 SimCLR − Rotation n200 0.070 [0.056, 0.085] 0.000 0.002 SimCLR − Random n200 0.035 [0.025, 0.044] 0.001 0.013 SimCLR − PCA n200 0.065 [0.054, 0.076] 0.000 0.001 Scratch+aug − Scratch n200 −0.008 [−0.017, 0.002] 0.095 0.858 Rotation − PCA n200 −0.006 [−0.020, 0.009] 0.348 0.358 Scratch+aug − SimCLR n200 −0.010 [−0.024, 0.004] 0.113 0.858 SimCLR − SimCLR geom-only n50 0.028 [−0.007, 0.063] 0.090 0.358 Rotation − Random n200 −0.036 [−0.053, −0.019] 0.004 0.074 SimCLR − SimCLR photo-only n50 0.037 [0.021, 0.053] 0.003 0.019 Random − PCA n200 0.030 [0.018, 0.042] 0.002 0.038 Random − Pixels n200 0.012 [0.004, 0.020] 0.013 0.212 SimCLR − SimCLR geom-only n10 0.101 [−0.009, 0.212] 0.064 0.702 SimCLR − SimCLR photo-only n10 0.124 [0.081, 0.168] 0.001 0.027 SimCLR − SimCLR geom-only n200 0.003 [−0.005, 0.011] 0.327 1.000 SimCLR − SimCLR photo-only n200 0.013 [0.004, 0.022] 0.016 0.233 TABLE VI Exploratory comparisons added in revision (A minus B, 5 seeds; Holm within this family of all comparisons shown). SimCLR = SimCLR probe; FT = fine-tuned; Rot, Rot0/90, Rot+aug and Random with brackets = rotation-diagnostic cells [epoch e, probe block b, stored or re-calibrated batch-norm statistics]. A−B Task ∆ 95% CI p pHolm A−B Task ∆ 95% CI p pHolm SimCLR − LabelSpread n10 0.115 [−0.006, 0.235] 0.058 1.000 Rot[e60,b3,recal] − Random[e0,b3,recal] n10 −0.158 [−0.259, −0.056] 0.012 0.673 SimCLR − LabelProp n10 0.136 [0.077, 0.196] 0.003 0.192 Rot[e60,b1,orig] − e60,b3,orig n10 0.153 [0.052, 0.254] 0.014 0.718 SimCLR − SelfTrain n10 0.617 [0.528, 0.706] 0.000 0.004 Rot[e60,b2,orig] − e60,b3,orig n10 0.231 [0.133, 0.329] 0.003 0.180 SimCLR − SimCLR-FT n10 0.048 [0.009, 0.087] 0.027 1.000 Rot[e20,b3,orig] − e60,b3,orig n10 0.021 [−0.054, 0.095] 0.487 1.000 SimCLR-FT − Scratch n10 0.116 [0.094, 0.138] 0.000 0.010 Rot[e5,b3,orig] − Random[e0,b3,orig] n10 0.014 [−0.125, 0.154] 0.787 1.000 SimCLR − LabelSpread n50 0.016 [0.002, 0.031] 0.033 1.000 Rot[e60,b1,orig] − Random[e0,b1,orig] n10 0.015 [−0.036, 0.065] 0.459 1.000 SimCLR − LabelProp n50 0.056 [0.016, 0.096] 0.018 0.886 Rot[e60,b2,orig] − Random[e0,b2,orig] n10 0.037 [−0.003, 0.076] 0.061 1.000 SimCLR − SelfTrain n50 0.060 [0.038, 0.083] 0.002 0.126 Rot+aug[e60,b3,orig] − Rot[e60,b3,orig] n10 0.248 [0.181, 0.316] 0.001 0.041 SimCLR − SimCLR-FT n50 0.006 [−0.005, 0.017] 0.231 1.000 Rot0/90[e60,b3,orig] − Rot[e60,b3,orig] n10 0.052 [−0.040, 0.145] 0.192 1.000 SimCLR-FT − Scratch n50 0.031 [0.010, 0.052] 0.014 0.741 Rot[e60,b3,orig] − Random[e0,b3,orig] n50 −0.084 [−0.147, −0.021] 0.020 0.976 SimCLR − LabelSpread n200 0.012 [−0.003, 0.026] 0.089 1.000 Rot[e60,b3,recal] − e60,b3,orig n50 0.008 [−0.007, 0.023] 0.233 1.000 SimCLR − LabelProp n200 0.013 [−0.001, 0.027] 0.060 1.000 Rot0/90[e60,b3,orig] − Random[e0,b3,orig] n50 −0.019 [−0.061, 0.022] 0.268 1.000 SimCLR − SelfTrain n200 0.037 [0.027, 0.047] 0.000 0.036 Rot0/90[e60,b3,recal] − e60,b3,orig n50 −0.006 [−0.024, 0.011] 0.356 1.000 SimCLR − SimCLR-FT n200 −0.001 [−0.008, 0.007] 0.784 1.000 Rot+aug[e60,b3,orig] − Random[e0,b3,orig] n50 0.046 [0.024, 0.068] 0.004 0.265 SimCLR-FT − Scratch n200 0.003 [−0.006, 0.013] 0.405 1.000 Rot+aug[e60,b3,recal] − e60,b3,orig n50 0.003 [−0.006, 0.013] 0.390 1.000 SimCLR − Scratch-tuned n50 0.026 [0.008, 0.044] 0.016 0.824 Random[e0,b3,recal] − e0,b3,orig n50 0.021 [0.003, 0.038] 0.029 1.000 SimCLR − PCA-tuned n50 0.152 [0.109, 0.195] 0.001 0.047 Rot[e60,b3,recal] − Random[e0,b3,recal] n50 −0.097 [−0.151, −0.043] 0.007 0.418 SimCLR − Rotation-tuned n50 0.054 [0.040, 0.069] 0.000 0.036 Rot[e60,b1,orig] − e60,b3,orig n50 0.095 [0.043, 0.146] 0.007 0.398 Scratch-tuned − Scratch n50 0.010 [−0.017, 0.038] 0.357 1.000 Rot[e60,b2,orig] − e60,b3,orig n50 0.134 [0.083, 0.184] 0.002 0.129 PCA-tuned − PCA n50 −0.017 [−0.047, 0.013] 0.184 1.000 Rot[e20,b3,orig] − e60,b3,orig n50 0.043 [0.019, 0.068] 0.008 0.444 Rotation-tuned − Rotation n50 0.128 [0.079, 0.178] 0.002 0.138 Rot[e5,b3,orig] − Random[e0,b3,orig] n50 0.009 [−0.017, 0.036] 0.390 1.000 SimCLR-FT-tuned − Scratch-tuned n50 0.023 [0.013, 0.033] 0.003 0.178 Rot[e60,b1,orig] − Random[e0,b1,orig] n50 0.023 [−0.001, 0.046] 0.054 1.000 SimCLR-FT-tuned − SimCLR-FT n50 0.002 [−0.003, 0.008] 0.284 1.000 Rot[e60,b2,orig] − Random[e0,b2,orig] n50 0.033 [0.023, 0.042] 0.001 0.053 SimCLR − SimCLR-FT-tuned n50 0.003 [−0.006, 0.013] 0.398 1.000 Rot+aug[e60,b3,orig] − Rot[e60,b3,orig] n50 0.130 [0.082, 0.177] 0.002 0.117 Rotation-tuned − Random n50 0.044 [0.027, 0.061] 0.002 0.137 Rot0/90[e60,b3,orig] − Rot[e60,b3,orig] n50 0.065 [0.037, 0.093] 0.003 0.192 SimCLR − Scratch-tuned n200 0.001 [−0.008, 0.010] 0.815 1.000 Rot[e60,b3,orig] − Random[e0,b3,orig] n200 −0.036 [−0.053, −0.019] 0.004 0.260 SimCLR − PCA-tuned n200 0.064 [0.050, 0.078] 0.000 0.016 Rot[e60,b3,recal] − e60,b3,orig n200 0.006 [−0.002, 0.014] 0.101 1.000 SimCLR − Rotation-tuned n200 0.022 [0.014, 0.030] 0.001 0.109 Rot0/90[e60,b3,orig] − Random[e0,b3,orig] n200 −0.005 [−0.026, 0.017] 0.567 1.000 Scratch-tuned − Scratch n200 0.002 [−0.009, 0.013] 0.708 1.000 Rot0/90[e60,b3,recal] − e60,b3,orig n200 0.004 [−0.010, 0.019] 0.451 1.000 PCA-tuned − PCA n200 0.001 [−0.012, 0.013] 0.866 1.000 Rot+aug[e60,b3,orig] − Random[e0,b3,orig] n200 0.019 [0.009, 0.030] 0.007 0.401 Rotation-tuned − Rotation n200 0.048 [0.027, 0.069] 0.003 0.196 Rot+aug[e60,b3,recal] − e60,b3,orig n200 0.000 [−0.002, 0.002] 1.000 1.000 SimCLR-FT-tuned − Scratch-tuned n200 −0.008 [−0.017, 0.001] 0.076 1.000 Random[e0,b3,recal] − e0,b3,orig n200 0.011 [0.001, 0.020] 0.035 1.000 SimCLR-FT-tuned − SimCLR-FT n200 −0.009 [−0.022, 0.003] 0.110 1.000 Rot[e60,b3,recal] − Random[e0,b3,recal] n200 −0.041 [−0.059, −0.022] 0.004 0.233 SimCLR − SimCLR-FT-tuned n200 0.008 [0.001, 0.016] 0.033 1.000 Rot[e60,b1,orig] − e60,b3,orig n200 0.041 [0.027, 0.056] 0.001 0.100 Rotation-tuned − Random n200 0.012 [−0.003, 0.028] 0.084 1.000 Rot[e60,b2,orig] − e60,b3,orig n200 0.049 [0.029, 0.069] 0.002 0.166 Rot[e60,b3,orig] − Random[e0,b3,orig] n10 −0.106 [−0.238, 0.026] 0.090 1.000 Rot[e20,b3,orig] − e60,b3,orig n200 0.017 [−0.002, 0.036] 0.069 1.000 Rot[e60,b3,recal] − e60,b3,orig n10 0.016 [−0.007, 0.039] 0.128 1.000 Rot[e5,b3,orig] − Random[e0,b3,orig] n200 0.009 [−0.002, 0.020] 0.086 1.000 Rot0/90[e60,b3,orig] − Random[e0,b3,orig] n10 −0.054 [−0.191, 0.083] 0.339 1.000 Rot[e60,b1,orig] − Random[e0,b1,orig] n200 0.011 [−0.002, 0.024] 0.076 1.000 Rot0/90[e60,b3,recal] − e60,b3,orig n10 0.069 [0.005, 0.134] 0.041 1.000 Rot[e60,b2,orig] − Random[e0,b2,orig] n200 0.003 [−0.004, 0.011] 0.294 1.000 Rot+aug[e60,b3,orig] − Random[e0,b3,orig] n10 0.142 [0.044, 0.241] 0.016 0.811 Rot+aug[e60,b3,orig] − Rot[e60,b3,orig] n200 0.055 [0.033, 0.077] 0.002 0.153 Rot+aug[e60,b3,recal] − e60,b3,orig n10 0.010 [0.001, 0.019] 0.038 1.000 Rot0/90[e60,b3,orig] − Rot[e60,b3,orig] n200 0.031 [0.004, 0.058] 0.034 1.000 Random[e0,b3,recal] − e0,b3,orig n10 0.068 [0.012, 0.124] 0.028 1.000 VII. Limitations drawn per seed, so seeds are not independent samples of the population; the labeled subsets at n = 10 (one image This is a small CPU study with a single dataset of 8 × 8 per class) make that budget very noisy. The sweeps and images, a three-layer CNN and five seeds, so p-values are ablations are reported on the test split and were not used indicative and effects of about one standard deviation are to choose the headline configuration, but a reader should not resolved. Baselines are reimplemented by us, not taken treat any “best” value in them as post hoc. The unlabeled from the original code. The headline baselines received pool includes the labeled images (without labels), as is no tuning; tuned variants chosen by cross-validation on common in semi-supervised protocols. The PCA baseline the labeled images exist only from 50 labels (at 10 labels has a fixed dimension (16) and standardised features, was the untuned baselines remain the only ones), their search not tuned, and is below raw pixels + LR at every budget, spaces are small, and the SimCLR probe itself was not so pixels + LR is the stronger classical baseline here; tuned. The label spreading, propagation and self-training the PCA gaps are thus likely inflated. We did not test baselines use fixed, untuned settings. The test split is re- TABLE VII TABLE IX Augmentation ablation: test accuracy of SimCLR with one Temperature and epoch sweeps at 50 labels (5 seeds). Defaults, augmentation family only (5 seeds). τ =0.5000 and 60 epochs, are in Table I. Method Task test_acc ↑ n Method test_acc ↑ n SimCLR geom-only n50 0.927 ± 0.018 5 SimCLR τ =0.1000 0.942 ± 0.015 5 SimCLR photo-only n50 0.918 ± 0.012 5 SimCLR τ =0.2000 0.942 ± 0.011 5 SimCLR geom-only n10 0.725 ± 0.116 5 SimCLR τ =1 0.963 ± 0.014 5 SimCLR photo-only n10 0.702 ± 0.063 5 SimCLR geom-only n200 0.975 ± 0.010 5 Method test_acc ↑ n SimCLR photo-only n200 0.965 ± 0.016 5 SimCLR, 10 epochs 0.940 ± 0.014 5 SimCLR, 30 epochs 0.955 ± 0.011 5 TABLE VIII Supervised scratch with the full SimCLR augmentation applied to the labeled examples (5 seeds). known behaviour at toy scale and hold for this dataset, Method Task test_acc ↑ n architecture and five-seed budget only. Supervised + aug n50 0.923 ± 0.033 5 References Supervised + aug n10 0.713 ± 0.099 5 [1] T. Chen, S. Kornblith, M. Norouzi, and G. Hinton, “A Simple Framework for Contrastive Learning of Visual Supervised + aug n200 0.969 ± 0.014 5 Representations,” arXiv preprint arXiv:2002.05709, 2020. [Online]. Available: https://arxiv.org/abs/2002.05709 [2] K. He, H. Fan, Y. Wu, S. Xie, and R. Girshick, “Momentum Contrast for Unsupervised Visual Representation Learning,” other SSL methods (MoCo, BYOL), other probes or larger arXiv preprint arXiv:1911.05722, 2019. [Online]. Available: images, and the rotation explanation was not tested in an https://arxiv.org/abs/1911.05722 [3] J.-B. Grill, F. Strub, F. Altché, C. Tallec, P. H. Richemond, independent setting. Most comparisons are exploratory E. Buchatskaya, C. Doersch, B. A. Pires, Z. D. Guo, M. G. and, after Holm correction within their families, many Azar, B. Piot, K. Kavukcuoglu, R. Munos, and M. Valko, are not resolved; the confirmatory family covers only the “Bootstrap your own latent: A new approach to self-supervised Learning,” arXiv preprint arXiv:2006.07733, 2020. [Online]. tests pre-specified by H1–H4. Registry wall-clock times are Available: https://arxiv.org/abs/2006.07733 inflated by machine contention. Finally, the gap to PCA [4] S. Gidaris, P. Singh, and N. Komodakis, “Unsupervised may partly reflect the convolutional architecture rather Representation Learning by Predicting Image Rotations,” arXiv preprint arXiv:1803.07728, 2018. [Online]. Available: than SSL, as the random-encoder control suggests. https://arxiv.org/abs/1803.07728 [5] X. Zhai, A. Oliver, A. Kolesnikov, and L. Beyer, “S4L: VIII. Conclusion Self-Supervised Semi-Supervised Learning,” arXiv preprint arXiv:1905.03670, 2019. [Online]. Available: https://arxiv.org/ On 8×8 digits, a SimCLR-style pretrained encoder with abs/1905.03670 [6] T. Chen, S. Kornblith, K. Swersky, M. Norouzi, and G. Hinton, a linear probe had the highest mean accuracy at 10 and “Big Self-Supervised Models are Strong Semi-Supervised 50 labels, with a large margin over untuned scratch at Learners,” arXiv preprint arXiv:2006.10029, 2020. [Online]. 10 labels and a smaller one at 50, both resolved after Available: https://arxiv.org/abs/2006.10029 [7] A. Kolesnikov, X. Zhai, and L. Beyer, “Revisiting Self- Holm correction. At 200 labels it is tied with supervised Supervised Visual Representation Learning,” arXiv preprint scratch, with the fine-tuned encoder and with tuned arXiv:1901.09005, 2019. [Online]. Available: https://arxiv.org/ scratch. Against label spreading on the same unlabeled abs/1901.09005 [8] A. van den Oord, Y. Li, and O. Vinyals, “Representation pool its higher mean at every budget is not resolved after Learning with Contrastive Predictive Coding,” arXiv preprint correction, and against scratch tuned by cross-validation arXiv:1807.03748, 2018. [Online]. Available: https://arxiv.org/ its margin at 50 labels is not resolved after correction. abs/1807.03748 [9] J.-C. Su, S. Maji, and B. Hariharan, “Boosting Supervision Rotation prediction with the original configuration was with Self-Supervision for Few-shot Learning,” arXiv preprint below the random encoder at 50 and 200 labels (not arXiv:1906.07079, 2019. [Online]. Available: https://arxiv.org/ resolved after correction); the gap is confined to the last abs/1906.07079 [10] S. Konstantakos, J. Cani, I. Mademlis, D. I. Chalkiadaki, Y. M. encoder block, a probe on the second block is above Asano, E. Gavves, and G. T. Papadopoulos, “Self-supervised the random encoder, and the gap is removed by adding visual learning in the low-data regime: a comparative augmentation to the pretext task, so it is a property of evaluation,” arXiv preprint arXiv:2404.17202, 2024. [Online]. Available: https://arxiv.org/abs/2404.17202 that configuration rather than of rotation prediction in [11] D. P. Kingma and J. Ba, “Adam: A Method for Stochastic general. Removing the photometric augmentation lowers Optimization,” arXiv preprint arXiv:1412.6980, 2014. [Online]. SimCLR accuracy at 50 labels; removing the geometric Available: https://arxiv.org/abs/1412.6980 one is not resolved. Accuracy was the same at 30 and 60 pretraining epochs and sensitive to temperature at the scale of a standard deviation. These findings reproduce TABLE X TABLE XI Rotation diagnostics: test accuracy (mean over 5 seeds) of probes on Rotation (4-way) test accuracy (mean over 5 seeds) by encoder block 1, 2 or 3 after 60 pretraining epochs (epoch 0 for the random pretraining epoch and probe block; epoch 0 is the random encoder); last column re-estimates batch-norm statistics on the upright initialisation. unlabeled pool. Epochs n50 n200 block 1 block 2 block 3 block 1 block 2 block 3 Task Encoder block 1 block 2 block 3 block 3, BN recal. 0 0.844 0.873 0.856 0.938 0.954 0.944 n50 Random encoder (epoch 0) 0.844 0.873 0.856 0.877 5 0.861 0.902 0.866 0.948 0.959 0.953 n50 Rotation, 4-way 0.867 0.906 0.772 0.780 10 0.863 0.901 0.845 0.948 0.956 0.938 n50 Rotation, 0/90 only 0.860 0.897 0.837 0.831 20 0.866 0.905 0.816 0.950 0.957 0.925 n50 Rotation + augmentation 0.863 0.919 0.902 0.905 40 0.867 0.906 0.793 0.951 0.958 0.917 n200 Random encoder (epoch 0) 0.938 0.954 0.944 0.955 60 0.867 0.906 0.772 0.950 0.957 0.908 n200 Rotation, 4-way 0.950 0.957 0.908 0.914 n200 Rotation, 0/90 only 0.947 0.961 0.939 0.944 n200 Rotation + augmentation 0.948 0.963 0.963 0.963