Manuscript Offprint
arXiv:2611.09889SciCheck: A Framework for Verifying the Integrity of Deep Learning Training
Alexander Nguyen
Department of Computer Science
Gonzaga University
Dylan Gresham
Department of Computer Science
Boise State University
Gaby G. Dagher
Department of Computer Science
Boise State University
Min Long
Department of Computer Science
Boise State University
Abstract—Deep learning training is difficult to verify within a scientific workflow: its architecture, hyperparameters, and procedure are rarely fixed until training has been attempted, and two honest runs never produce the same weights, so recomputation cannot serve as a check. We present SciCheck, a framework in which the scientist explores training configurations freely and posts a blueprint to a provenance ledger for each candidate they want verified, and a verifying scientist judges the resulting run in two layers: a statistical judge model that compares per-step gradient statistics against the verifier's own reference run, and a spot-check that re-executes randomly chosen training segments whose checkpoints are committed to the ledger one epoch at a time. On an MLP, a CNN, and an autoencoder at 100k–500k parameters, under gradient sign flipping, label poisoning, and fabricated runs, SciCheck reaches F1 of 0.966, 0.906, and 0.976 while rejecting 0–4.4% of honest runs. For the attacks we test, the spot-check accounts for most of this accuracy, and we characterize what each layer can detect. The effective-signal statistic falls as under a sign flip of severity , so gradient statistics alone catch strong enough sign flips, while fabricated runs that replay genuine statistics look no more anomalous than honest runs to any statistical detector we test. The spot-check catches fully fabricated segments with probability at least for sampled segments when the draws stay hidden until the run is committed, which roughly matches our measurements and lets a verifier choose for a target soundness. Verification costs one retraining, mostly for the verifier's reference run; each submission's spot-check takes under 1.5 s, and per-epoch commitments reduce checkpoint storage compared with keeping every checkpoint.
Index Terms—Deep Learning; Anomaly Detection; Provenance; Proof-of-Learning; Scientific Workflow;
I. INTRODUCTION
Scientific claims gain credibility through independent repetition, so science must be replicable as well as correct. This self-correcting property breaks down when replication is sparse: later research builds on claims that are eventually invalidated. A seminal 2006 Alzheimer's paper [1] diverted two decades of resources before most of its authors moved to retract it in 2024 over manipulated images [2], and psychology's replication crisis left only 36 of 100 influential studies replicable [3], [4]. Following the National Academies of Sciences, Engineering, and Medicine [5], we refer to replication and reproduction jointly as repetition.
Machine Learning (ML) faces a version of the same crisis. Deep Learning (DL) has advanced rapidly [6]–[8], but the scale of its experiments makes repeating them costly or infeasible [5], [9], and flawed results, such as those caused by data leakage, propagate when later work cites them as trusted [10], [11].
Blockchain-based provenance systems can provide the transparency and tamper-evidence that independent repetition needs [12]. However, such systems, for example SciLedger [13], assume a task's procedure is fully specified before it executes, an assumption that DL training violates by construction. We propose SciCheck, a framework that verifies DL training within a scientific workflow, where one scientist trains and the others act as verifiers, without requiring the training procedure to be pinned down before it has been worked out. The scientist explores freely off the ledger and posts a candidate only when they want it verified; if it is rejected, they return to exploring and post another, and the ledger keeps every attempt.
SciCheck verifies a training run in two layers. A statistical judge, built from the verifying scientist's own reference run, checks whether the submitted run's per-step gradient statistics look like honest training; once built, it needs nothing but those statistics. A spot-check re-executes a few randomly chosen segments of the submitted run from checkpoints the scientist committed to the ledger while training. Our evaluation shows what each layer catches: statistics expose attacks that change every gradient step once they are strong enough, but a fabricated run that replays genuine statistics is invisible to them, and only re-execution catches it, with a probability the verifier can set in advance.
they want verified, and the resulting run is judged in two layers: a statistical judge over per-step training snapshots, and a checkpoint spot-check whose commitments are recorded on a SciLedger-style ledger one epoch at a time, which bounds the scientist's storage to one epoch.
-
We explain what each layer can and cannot detect. We derive that the effective-signal statistic scales as under gradient sign flipping, which fixes the attack severity the effective-signal check catches; show that none of the statistical detectors we test separates fabricated runs from honest ones; and derive the spot-check's soundness . All three agree with our measurements.
-
We evaluate SciCheck on the full adversary model (gradient tampering, label poisoning, and fabrication) across an MLP, a CNN, and an autoencoder at 100k–500k parameters, with 2,700 scientist runs. With per-architecture calibration under a 5% false-positive limit, its statistical judge outperforms Isolation Forest and One-Class SVM baselines calibrated the same way, mostly through the effective-signal check.
II. RELATED WORK
A. Verifying Scientific Data and Process Integrity
Provenance is essential to reproducible scientific workflows [14], and a range of systems make it tamper-evident. SciBlock [15] provides non-repudiable storage for workflow provenance, SciChain [16] records provenance for high-performance computing with low overhead, and VAULT [17] supports secure multi-party data access through quorum-based consensus. Work on smart-contract accountability [18], provenance for AI assets [19], and certified research processes [20] further improves auditability [21], [22]. SciLedger [13] is representative of a limitation these systems share: its provenance guarantee rests on every task being fully specified before it executes, which DL training violates by construction (§III). SciCheck closes this gap with a fixed-blueprint training task, a judge model, and per-epoch checkpoint commitments that a SciLedger-style system can adopt. PRISM [23] is complementary: its reputation-based consensus strengthens who validates a task, not what it means to validate a nondeterministic one.
B. Verifying Machine Learning Data and Processes
Most tools for ML integrity validate the data a model is trained on rather than the training process [10], [24]–[28], and none produce an independently auditable record. Work that does check computation, such as performance predictors for faulty inputs [29] and verifiable execution [30], assumes an external, incentivized validator that scientific research lacks.
Proof-of-Learning (PoL) [31] verifies that a model was trained as claimed: the trainer logs intermediate checkpoints and the data used between them, and a verifier re-executes part of the log and compares the result with the logged checkpoints. Later work shows that an adversary can construct logs that pass this check at lower cost than honest training [32], [33]. SciCheck's spot-check follows PoL's re-execution idea but adapts it to a scientific workflow: the scientist commits
each epoch's checkpoints to the provenance ledger as a single Merkle root [34] and keeps only the segments later drawn for checking, so storage stays bounded to one epoch, and a statistical judge that needs no checkpoints at all screens every submission first.
Closest to SciCheck's judge model is FIDELIS [35], which detects poisoned updates in federated learning through consensus among client-produced judge models; SciCheck's judge instead belongs to a single verifying scientist and is applied to an entire submitted run after the fact. Finally, work on neural architecture search and automated ML treats a model's configuration and training procedure as an open search problem [36]–[39], which is why a provenance system cannot demand that a training procedure be fixed up front.
III. PROBLEM FORMULATION
A. Problem Setting
A normal workflow task on SciLedger locks in its procedure before it runs, so a verifier can later check the recorded output against that procedure. A training task cannot: the scientist typically does not know the final architecture, hyperparameters, or procedure until training has been attempted, and committing one in advance would force a choice between committing too vague to guarantee anything. The workflow can still fix some things up front, such as the dataset and what the finished model must achieve. We call this partial commitment, the fixed constraints plus whatever the scientist still has to decide, a specification, written Spec. SciCheck therefore never commits the training procedure when the task is created; it commits one candidate procedure at a time, after the scientist has explored (§IV).
B. Adversary Model
We assume a malicious scientist submitting a training run under some specification Spec could:
-
Train on data they are not supposed to use, breaking one of Spec's fixed constraints;
-
Tamper with an otherwise normal training run, for example by flipping the sign of gradients;
-
Skip training altogether and submit a fabricated result.
In every case, the goal is to have a run accepted even though it violates Spec. Our experiments instantiate these adversaries as label poisoning, gradient sign flipping, and fabricated runs (§VI-A). We assume the verifying scientist is semi-honest; a dishonest or colluding verifier is left to future work on reputation and consensus mechanisms.
C. Limitations of Direct Recomputation
For an ordinary task, checking validity means redoing the computation and comparing. That does not work for training: two runs from different random initializations, under exactly the same procedure, land on different and equally valid parameters, so there is no single correct result to recompute against. Validity must instead be reframed as "does this look like something a genuine run of this procedure would produce."
Table I LIST OF NOTATIONS
| Symbol | Description | Symbol | Description |
|---|---|---|---|
| FalsePositive | Chance an honest run gets wrongly rejected | Acceptance threshold on | |
| FalseNegative | Chance a cheating run gets wrongly accepted | Effective-signal statistic of snapshot , | |
| Blueprint: one candidate's dataset, architecture, hyperparameters, and procedure, posted before training | Mean effective signal over the verifying scientist's training snapshots | ||
| Snapshot at batch ; snapshot sequence | Effective-signal ratio and acceptance cutoff | ||
| Judge model (Anomaly Transformer) and its window length | Share of steps repeating the step one epoch earlier, and its limit | ||
| Per-timestep anomaly-score threshold | Number and length (in steps) of spot-checked segments | ||
| Fraction of timesteps scored above | Spot-check tolerance; Merkle root of epoch 's checkpoints |
Short stretches of a run are different: from a committed starting state and a committed sequence of batches, a few optimizer steps are reproducible up to floating-point nondeterminism. SciCheck uses both views.
D. Correctness Goal
Table I summarizes our notation. Let be the range of training records an honest scientist would produce by following Spec. Given a submitted record , we want a check Validate(Spec, with two properties:
Completeness: honest work should not be rejected. For ,
Soundness: dishonest work should not be accepted. For any the attacker produces that violates Spec,
FalsePositive and FalseNegative pull against each other: a stricter check catches more attackers but rejects more honest work. For SciCheck's statistical layer these are empirically calibrated guarantees, not cryptographic ones. The spot-check layer adds a probabilistic soundness bound against fabrication, which we derive in §VII-C. Neither layer is a formal proof system.
IV. SOLUTION OVERVIEW
SciCheck closes this gap by separating exploration from verification. The scientist explores architectures, hyperparameters, and procedures freely off the ledger, within Spec's fixed constraints, and none of that exploration needs to be recorded. When a candidate is ready, the scientist posts a blueprint to a SciLedger-style tamper-evident ledger [13]: a full specification of that one candidate training run's dataset, architecture, hyperparameters, and procedure, fixed before either party trains under it. Two parties then train independently under the blueprint: the scientist, and a verifying scientist assigned to validate the scientist's work (Figure 1). If the run is rejected, or the trained model falls short of Spec's goals,
the scientist returns to exploring and posts a new blueprint. A blueprint therefore fixes one attempt, not the whole task: the ledger keeps every posted blueprint with its verdict, so it records the history of what was tried without requiring the final procedure up front. SciCheck verifies that a posted run was trained as its blueprint states; it does not verify how the scientist arrived at that blueprint.
The verifying scientist trains a reference model on their own data partition, recording a snapshot of gradient and weight statistics once per batch (§V-A). From these snapshots they build a judge model , an Anomaly Transformer (AT) [40], together with an effective-signal baseline (Algorithm 1), and they re-execute segments of their own run to calibrate the spot-check tolerance (§V-D). The scientist trains under the same blueprint, records snapshots in the same format, and commits each epoch's checkpoints (weights, optimizer state, batch order, and augmentation state) to the ledger as a single Merkle root. Verification applies the statistical judge to the submitted snapshots (Algorithm 2) and re-executes randomly drawn committed segments (Algorithm 3). A run that passes every check is signed and recorded with a pointer to the trained model; a rejected run is recorded with its verdict, and the scientist returns to exploring.
V. SOLUTION: SciCheck FRAMEWORK
A. Snapshot Representation
Each snapshot captures statistics computed once per batch from the gradient and the weights across the tracked layers (Table II): seven training-dynamics statistics chosen to expose Byzantine gradient manipulation [41] such as sign flipping [42], six describing the shape of the gradient distribution, and one gradient norm per tracked layer. Every entry is a scalar aggregate rather than a raw parameter value, which makes snapshots comparable across differently initialized models. Snapshots are taken from the gradient the optimizer actually applies, after any tampering.

Figure 1. Overview of the SciCheck pipeline. Both parties train under a shared blueprint. The verifying scientist builds a judge model and a spot-check tolerance from their own run; the scientist commits checkpoints to the ledger while training. Every blueprint is posted to the ledger before training. An accepted run is signed into a SciLedger-style verification record; after a rejection, the scientist returns to exploring off the ledger and posts a new blueprint, so the ledger keeps the history of every attempt.
Table II
THE 13 + L STATISTICS IN EACH SNAPSHOT , WHERE AND ARE THE MEAN AND STANDARD DEVIATION OF OVER ALL PARAMETERS AND IS THE NUMBER OF TRACKED LAYERS.
| Statistic | Definition | What it exposes |
|---|---|---|
| Signal-noise ratio | Driven toward zero by sign flips | |
| Loss delta | Erratic swings in corrupted runs | |
| Effective signal | Share of consistent signal; basis of the check | |
| Gradient norm | Scaled-up or suppressed gradients | |
| Weight-delta norm | Direct weight tampering | |
| Raw loss | Position along the trajectory | |
| Weight norm | Divergence or fabricated weights | |
| Fraction positive | Pushed to an even split by sign flips | |
| Percentiles | of | Spread of gradient magnitudes |
| Skewness | of standardized | Asymmetry of the gradients |
| Kurtosis | A few extreme outlier gradients | |
| Layer norms | per layer | Anomalies confined to one layer |
B. Judge Model
The judge model is the association-discrepancy Anomaly Transformer of Xu et al. [40]. At each layer , contrasts a learned series-association (self-attention over the win-
Algorithm 1 Training of Judge Model
Require: Blueprint (fixes model ), verifying scientist's data partition , window length , association-discrepancy weight , threshold percentile , effective-signal ratio
Ensure: Judge model , anomaly threshold , effective-signal cutoff
1: Train on per , recording one snapshot per batch, giving
2: Split chronologically into , , and normalize all three with the mean and standard deviation of
3: Train on windows of length over , minimizing reconstruction error while maximizing the prior/series association discrepancy, weighted by
4: Score the windows of with and reassemble the scores into a per-timestep anomaly timeline
5:
6:
7: return
dow) with a fixed prior-association (a Gaussian kernel favoring temporal neighbors), and computes their discrepancy, averaged over layers:
is trained with Xu et al.'s minimax strategy, so the discrepancy stays small for snapshots that resemble their neighbors and large for those that do not. Each window's anomaly score combines this discrepancy with reconstruction error [40].
C. Validating a Submitted Run
The statistical checks are computed once, after the scientist's run has finished, since , , and are aggregates over the whole run (Algorithm 2).
Algorithm 2 Statistical Judge: Validating a Submitted Run
Require: , the verifying scientist's normalization statistics , epoch length , replay tolerance , replay limit , submitted snapshots
Ensure: Decision
1: normalized with
2: Score windows of length over with and reassemble them into a per-timestep anomaly timeline
3: the fraction of timesteps in the timeline exceeding
4: the mean of over all snapshots in
5: the fraction of with
6: return accept if , , and ; otherwise reject
a) Replay check: A forger who skips part of training could fill the missing record by copying an earlier stretch of genuine snapshots. Honest training never repeats itself, so the replay check compares each normalized snapshot with the one exactly an epoch earlier (the blueprint fixes the epoch length ) and computes , the share of steps whose distance to it is at most times the run's median step-to-step distance. The run must satisfy . This catches only exact or near-exact replays; a forger who adds noise of the size of natural step-to-step variation evades it, which is why SciCheck also spot-checks committed checkpoints.
D. Committed Checkpoints and the Spot-Check
Statistics alone cannot show that the submitted run was actually computed (§VII-B). SciCheck therefore also checks a sample of the computation itself, following the re-execution idea of Proof-of-Learning [31].
a) Commitments: The scientist's run is divided into segments of optimizer steps. For each segment, the scientist records a checkpoint at its start (weights, optimizer state, and augmentation state), the indices of the batches it consumes, and the weights at its end. At the end of each epoch , the scientist hashes that epoch's checkpoints into a Merkle tree [34] and records its root on the ledger. The verifier checks of the run's segments, drawn uniformly at random from randomness that only exists after the commitment, such as the hash of the next block, so the scientist cannot know in advance which segments will be checked. The scientist then keeps the drawn segments and deletes the rest, so at most one epoch of checkpoints, plus the segments drawn so far, is on disk at any time. Revealing a fixed total of draws one epoch at a time has a weakness we discuss in §VII-D.
b) Re-execution: For each of the drawn segments, the verifying scientist checks the segment's data against with its Merkle path, restores the starting checkpoint, re-runs steps on the blueprint's data with the committed batches, and measures how far the result ends from the committed end weights, relative to how far the segment moved (Algorithm 3). An honest segment reproduces up to floating-point nondeterminism; a segment whose gradients were tampered with, whose data were not the blueprint's, or that was never computed does not.
Algorithm 3 Spot-Check of Committed Segments
Require: Ledger roots , segment length , number of segments , tolerance , blueprint data , randomness revealed after each epoch's commitment
Ensure: Decision
1: Draw of the segments uniformly without replacement, using the post-commitment randomness
2: for each drawn segment do
3: Receive start checkpoint (weights , optimizer and augmentation state), batch indices , end weights , and Merkle paths; verify them against
4: run optimizer steps from on with batches
5:
6: end for
7: return accept if ; otherwise reject
c) Tolerance: GPU kernels are not always bit-reproducible, so the verifying scientist calibrates the tolerance on their own run: they re-execute segments of the same way and set , a margin above the largest error their own honest segments show.
E. Formal Acceptance Predicate
Algorithms 2 and 3 together are SciCheck's concrete instantiation of the abstract Validate check from §III:
The two layers play different roles. The statistical judge needs only the snapshot sequence, costs one pass of the judge over it, and targets attacks that change the gradient statistics of every step. The spot-check needs committed checkpoints and re-execution, and targets what statistics cannot see: a run, or part of a run, that was never computed. The snapshots are reported by the scientist, so the statistical judge only catches a scientist who reports their true statistics; one who submits statistics copied from a separate honest run passes it. For the attacks we test, soundness therefore comes from the spot-check, which re-executes the committed computation; the statistical judge is a screen that works without checkpoints, though building it requires the verifier's full reference run. §VII derives what each layer catches. Full integration into a concrete provenance system is left to future work; our experiments evaluate both layers independently of any ledger deployment.
VI. EXPERIMENTAL EVALUATION¹
A. Setup
a) Architectures and data: We instantiate the protocol three times, once per architecture (Table III). A Multi-Layer Perceptron (MLP) with two hidden layers is trained for binary signal-versus-background classification on the first 200,000
¹Claude assisted with portions of the experimental codebase and with organizing, processing, and analyzing the raw experimental outputs reported in this section. The authors reviewed and verified all resulting code, analyses, and reported results. See the Disclosure on the Use of AI Tools at the end of this paper for further details.
Table III
ROWS EACH PARTY TRAINS ON AND ROWS HELD OUT FROM BOTH. SNAPSHOT DIM. IS , WHERE L IS THE NUMBER OF TRACKED LAYERS.
| Arch. | Dataset | Ver. Sci. | Sci. | Held out | Dim. |
|---|---|---|---|---|---|
| MLP | HIGGS | 51,000 | 170,000 | 30,000 | 16 |
| CNN | PetImages | 6,374 | 21,248 | 3,750 | 16 |
| AE | MNIST | 15,300 | 51,000 | 9,000 | 15 |
rows of the HIGGS dataset [43] (28 standardized features). A Convolutional Neural Network (CNN) with two convolutional layers and a linear head is trained for cat-versus-dog classification on all of PetImages [44] (24,998 images resized to RGB, with random flip and crop augmentation). An Autoencoder (AE) with one hidden layer is trained for reconstruction on all 60,000 MNIST training digits [45]. In every case 15% of the data is held out from both parties; every scientist, honest or malicious, trains on the remaining 85%, and the verifying scientist trains on the first 30% of it.
b) Models and training: Each architecture is trained at about 100k, 300k, and 500k parameters (99,631–501,321) by varying one width parameter. All models train for 25 epochs with Adam [46] (learning rate , batch size 128). The reference model trains for as many optimizer steps as a scientist takes over the full data, i.e. about 3.3 times as many epochs over its smaller partition.
c) Attacks: Each attack runs at severities :
• Sign flip: for every parameter tensor, an independent Bernoulli(s) mask is redrawn every batch and the masked gradient entries are sign-flipped before the optimizer step.
-
Label poisoning: a fraction s of the training rows, drawn once, is corrupted: labels are flipped for the classifiers and pixels inverted for the autoencoder.
-
Fabricated run: the scientist trains only the first 1 - s of the steps and fills the rest of the record by replaying their last genuine epoch of snapshots with Gaussian noise of 0.1 times each statistic's step-to-step standard deviation. For the spot-check, they commit their last genuine checkpoint for every skipped step.
d) Checks and baselines: has , 4 heads, , 2 encoder layers, , and , and trains for up to 15 epochs (patience 5, learning rate , batch size 32). The reference snapshots are split 70/15/15, with , so is the 99th percentile of 's scores on the verifier's own validation split. The replay check uses and ; the spot-check draws segments of steps with and . Unless stated otherwise, and . As baselines we fit an Isolation Forest [47] (200 trees) and a One-Class SVM [48] (RBF kernel, ) on the same reference snapshots; each sets its own at the same quantile and flags a run by its own , alone or combined with the check.
e) Runs and metrics: Each (architecture, size, seed) unit has one verifying scientist and one judge, which checks 15 honest runs and 5 malicious runs per (attack, severity) cell. With 3 architectures, 3 sizes, and 3 seeds, the main experiment trains scientist runs. Two controls re-train the 300k scientist runs with the same seeds and change only the verifier, adding 1,080 runs. We report F1 per cell (a cell's 5 malicious runs against the unit's 15 honest runs), averaged over cells, with a rejected malicious run as a true positive, and FalsePositive and FalseNegative from pooled counts. Because every cell has 5 malicious and 15 honest runs, rejecting every run scores F1 = 0.40, which we use as a floor.
B. Detection Accuracy
Table IV reports the full decision. SciCheck reaches F1 of 0.966 (MLP), 0.906 (CNN), and 0.976 (AE), rejecting no honest MLP or AE runs and 4.4% of honest CNN runs, all at 300k and 500k. Every sign-flipped and every label-poisoned run is rejected, at every severity and size. The only misses are fabricated runs: 31–47% are accepted at s = 0.1, 2–4% at s = 0.3, and none at s = 0.5.
Applying each check on its own shows which one does the work. The spot-check alone matches the full decision on the MLP and AE and slightly exceeds it on the CNN (F1 0.922), where the check adds false positives. At the AT rejects almost no runs (F1 0.000, 0.000, and 0.012), so the statistical judge decides exactly as the check does alone, and the replay check never fires, because the fabricated runs' noise keeps near zero. The verifier's own training affects at most how many honest runs are rejected. In the two 300k controls, giving the verifier all of the scientist's data instead of 30% makes no difference beyond seed-to-seed variation. The main experiment's three CNN false positives at 300k all come from the spot-check, whose tolerance is calibrated on the verifier's own run; both controls train a new verifier run, and neither has any spot-check false positives, including the step-matching control, where the verifier still trains on 30%. Training the verifier for as many epochs as the scientist, instead of as many steps, makes the check reject honest runs instead: 8.9% on the MLP (from 0) and 4.4% on the CNN. In both controls the share of attacks accepted is unchanged.
C. The Statistical Judge Against the Baselines
When checkpoints are unavailable, the statistical judge must stand on its own, and a fixed and for every architecture and detector is not a fair comparison: at the original settings the One-Class SVM scores higher than the judge on the MLP and AE, but only by rejecting 24% and 13% of honest runs (34% on the CNN). The judge's own F1 there (0.278 and 0.315) is below the reject-all floor of 0.40, which F1 alone makes look worse than it is: rejecting every run also rejects every honest one, while the judge rejects at most 1.5%. We therefore calibrate every detector the same way: a grid search over (0 to 1) and (0 to 1.5) per architecture, choosing the highest mean F1 that rejects fewer than 5% of honest runs for every seed's judge, selected on two seeds and scored on the third. All decisions are recomputed from the stored statistics, without retraining.
Table IV
FULL DECISION (STATISTICAL JUDGE AND SPOT-CHECK) ON THE MAIN EXPERIMENT AT AND . F1 IS AVERAGED OVER CELLS; FalsePositive AND FalseNegative POOL RAW COUNTS. SIGN FLIP AND LABEL POISONING GIVE IDENTICAL RESULTS AT EVERY SEVERITY.
| MLP | CNN | AE | |||||||
|---|---|---|---|---|---|---|---|---|---|
| F1 | FalsePositive | FalseNegative | F1 | FalsePositive | FalseNegative | F1 | FalsePositive | FalseNegative | |
| 100k | 0.955 | 0.000 | 0.052 | 0.959 | 0.000 | 0.059 | 0.976 | 0.000 | 0.037 |
| 300k | 0.976 | 0.000 | 0.037 | 0.887 | 0.067 | 0.044 | 0.983 | 0.000 | 0.030 |
| 500k | 0.967 | 0.000 | 0.044 | 0.873 | 0.067 | 0.067 | 0.968 | 0.000 | 0.044 |
| Sign flip (any s) | 1.000 | 0.000 | 0.000 | 0.943 | 0.044 | 0.000 | 1.000 | 0.000 | 0.000 |
| Label poisoning (any s) | 1.000 | 0.000 | 0.000 | 0.943 | 0.044 | 0.000 | 1.000 | 0.000 | 0.000 |
| Fabricated run, s = 0.1 | 0.705 | 0.000 | 0.378 | 0.639 | 0.044 | 0.467 | 0.792 | 0.000 | 0.311 |
| Fabricated run, s = 0.3 | 0.988 | 0.000 | 0.022 | 0.918 | 0.044 | 0.044 | 0.988 | 0.000 | 0.022 |
| Fabricated run, s = 0.5 | 1.000 | 0.000 | 0.000 | 0.943 | 0.044 | 0.000 | 1.000 | 0.000 | 0.000 |
| Overall | 0.966 | 0.000 | 0.044 | 0.906 | 0.044 | 0.057 | 0.976 | 0.000 | 0.037 |
Table V
F1 OF SNAPSHOT-ONLY DETECTORS AT THE ORIGINAL SETTINGS (, ) AND CALIBRATED PER ARCHITECTURE WITH FEWER THAN 5% OF HONEST RUNS REJECTED PER SEED. CALIBRATED F1 IS MEASURED ON A SEED NOT USED FOR CALIBRATION.
| Detector | MLP | CNN | AE | |||
|---|---|---|---|---|---|---|
| Original | Calibrated | Original | Calibrated | Original | Calibrated | |
| SciCheck judge (AT + ) | 0.278 | 0.558 | 0.411 | 0.433 | 0.315 | 0.609 |
| check only | 0.278 | 0.460 | 0.411 | 0.420 | 0.315 | 0.535 |
| AT only | 0.000 | 0.404 | 0.000 | 0.108 | 0.012 | 0.489 |
| One-Class SVM + | 0.445 | 0.511 | 0.415 | 0.417 | 0.559 | 0.606 |
| One-Class SVM | 0.345 | 0.328 | 0.342 | 0.157 | 0.559 | 0.510 |
| Isolation Forest + | 0.285 | 0.507 | 0.406 | 0.415 | 0.523 | 0.597 |
| Isolation Forest | 0.122 | 0.199 | 0.035 | 0.155 | 0.436 | 0.417 |
After calibration the judge is the best snapshot detector on all three architectures (Table V), with F1 0.23, 0.28, and 0.10 above the best baseline alone. Most of that advantage comes from the check: given the same check, the baselines come within 0.05, 0.02, and 0.00. The AT's own contribution is clearest on the MLP, where it catches label poisoning. The calibrated settings are , , and for the MLP, CNN, and AE; falls far below 0.3 because honest runs already have 2–4% of their steps above . The 5% limit does not fully carry over to a new judge: on the unseen seed, honest runs are rejected at 5.2%, 6.7%, and 9.6% on average, mostly by one judge per architecture whose single reference run was atypical. With the spot-check present, calibration does not improve the full decision, so we report the full decision at the original settings.
D. Cost
We measure each (architecture, size) over 3 seeds, with runtime on one NVIDIA H100 NVL GPU and peak memory as the peak resident set size on CPU, each stage in its own process. Checkpoint storage is measured from a real checkpoint of an honest run and multiplied by the number of checkpoints each scheme keeps. Verification, which includes the reference run, fitting the judge, calibrating , and scoring and spot-checking one submission, costs 1.7–2.3 times one retraining at 300k (Table VI) and 1.5–2.3 times across all sizes. SciCheck is therefore not cheaper than retraining: its reference run is itself a full-length training run. What it adds is a verdict, which a retraining alone cannot give (§III-C).
Table VI
COST AT 300K PARAMETERS, MEANS OVER 3 SEEDS. SPOT-CHECK: RE-EXECUTING ONE SUBMISSION'S 10 SEGMENTS. STORAGE: EVERY CHECKPOINT KEPT UNTIL VERIFICATION, AGAINST THE PEAK WHEN COMMITTING ONE EPOCH AT A TIME.
| Arch. | Time (s) | Storage (MB) | |||
|---|---|---|---|---|---|
| Retrain | Verify | Spot-check | All ckpts | Per epoch | |
| MLP | 24.8 | 51.6 | 0.38 | 2,312 | 140 |
| CNN | 7.0 | 12.0 | 0.88 | 292 | 60 |
| AE | 6.2 | 14.6 | 0.34 | 697 | 74 |
Beyond the reference run and the judge, checking a submission costs 0.32–1.40s of spot-checking plus one pass of the judge. Peak memory stays between 1.3 and 1.8 GB at every size. Keeping every checkpoint until verification, as in Proof-of-Learning [31], grows linearly with model size and reaches 3.8 GB for the 500k MLP; committing one epoch at a time keeps 5–17 times less, and the verifying scientist receives only the sampled segments (16–77 MB).
VII. WHAT EACH LAYER CAN DETECT
A. The Effective-Signal Check Under Gradient Tampering
The effective signal measures how much of a step's gradient points in a consistent direction rather than cancelling out. Write the gradient entries as , with mean and mean square ; then .
Sign flipping attacks exactly this quantity. Flipping an entry's sign does not change its size, so stays the same, but it pulls the mean toward zero: if each entry is flipped with probability , the mean shrinks on average to . Because depends on the square of the mean,
(The exact expression adds , which is negligible for models with parameters.) Flipping 10% of entries therefore cuts the effective signal to 64% of its honest value, flipping 30% cuts it to 16%, and flipping 50% removes it entirely.
The check rejects a run whose mean effective signal falls below times the verifier's. Honest runs sit slightly below

Figure 2. How sign flipping lowers a run's effective signal relative to the verifier's. Points show the median and interquartile range over 45 runs (: the 135 honest runs). Dashed: the prediction, times each architecture's honest median. Runs below the dotted line () are rejected.
the verifier, at a ratio , so a sign-flipped run sits at about and is rejected once exceeds
With , this threshold falls between 0.14 and 0.18 depending on the architecture, and the experiments agree (Figure 2). Every sign flip at or 0.5 is rejected. At , below the threshold, the check catches none on the MLP and AE and 29% on the CNN. The measured ratios track the prediction closely; the largest gap is the MLP at (0.27 measured against 0.14 predicted), still well below .
The check is therefore close to a purpose-built sign-flip detector: Equation (3) lets a verifier set to catch the weakest sign flip they care about. It cannot catch fabricated runs, though. Their statistics are copied from genuine training, so their ratio stays near the honest level.
B. Fabricated Runs Are Invisible to Snapshot Statistics
A fabricated run's tail is built from the scientist's own genuine statistics, perturbed by noise of the same size as natural step-to-step variation, so any detector that sees only the submitted statistics sees an honest-looking run. No detector separates fabricated runs from honest ones: for the AT, the Isolation Forest, and the One-Class SVM, a randomly chosen fabricated run scores as more anomalous than a randomly chosen honest run with probability at most 0.56 on every architecture, close to the 0.5 of a coin flip, so no choice of threshold can tell them apart. The same detectors do separate other attacks; for example, the AT scores a label-poisoned run above an honest one with probability 0.98 on the MLP and 1.00 on the AE. No calibration of these snapshot detectors can catch fabrication, which is what motivates the spot-check.

Figure 3. Share of fabricated runs passing the spot-check with segments (45 runs per point, 95% Wilson intervals), against the bound .
C. Soundness of the Spot-Check
In a fabricated run of severity , a share of the segments was never computed. Our forger commits the same checkpoint as both the start and the end of each such segment, so its committed weights never move, while re-running it does move them. Its error is therefore : the committed end is off by the segment's entire movement. This exceeds for every judge we trained (), so any fabricated segment that is drawn fails. The verifier draws distinct segments uniformly at random, using randomness the scientist cannot predict, so the run passes only if every drawn segment is one that was actually computed:
because each draw lands on a computed segment with probability at most . Drawing without replacement from the run's segments makes the exact probability slightly lower. With , the bound predicts that at most 35%, 3%, and 0.1% of fabricated runs pass at , 0.3, and 0.5. We measure 31–49%, 2–4%, and 0% (Figure 3). The CNN at is well above the bound, with 22 of 45 runs passing (95% interval 35–63%). Because the draws are seeded, we can trace each pass. In 21 of the 22, none of the 10 draws landed on a fabricated segment, which happened in 47% of runs against an exact probability of 30% for the CNN's 83 segments. The 22nd run drew the one segment that straddles the point where training stopped. Its first 35 of 50 steps were genuinely computed, so its error was 0.58 rather than 1, below that judge's . A partly fabricated segment can therefore pass when is loose, which Equation (4) does not account for. Sign-flipped and poisoned runs alter every step, so every drawn segment fails, and none of them passed. Equation (4) also lets the verifier choose for a target detection rate. Catching at least 95% of runs with 10% fabricated requires , so segments, or about 1-4 s of re-execution per submission at our measured cost per segment.
D. Limitations
Our evaluation has three seeds per configuration, so calibrated results are measured on held-out seeds, and the CNN and AE margins over the baselines are within seed-to-seed variation. The experiments draw all spot-check segments when each run starts rather than from ledger randomness, and the ledger commitments themselves are not implemented. This is equivalent for the attacks we test, which do not depend on which segments are drawn, but not for a scientist who watches the draws: if they are revealed one epoch at a time, then once all have appeared the scientist knows the rest of the run will not be checked and can fabricate it without risk. Equation (4) holds only if the scientist cannot see the draws before committing the whole run. The spot-check also bounds how much of a run can be faked, not whether any single segment was: a scientist who tampers with one segment, for example to plant a backdoor, is caught only if that segment is drawn, with probability , which is 1.5–12% for our runs. In addition, the protocol as described does not require the committed segments to form one continuous run ending at the submitted model, so a scientist could commit segments from one run and submit the model of another; checking that each segment's end weights match the next segment's start, and that the last match the submitted model, needs only the committed hashes, and we leave it to a full implementation. On the CNN, GPU convolutions are not bit-reproducible, so ranges from 0.05 to 0.84; this causes the CNN's 3% spot-check false positives and leaves less margin against tampering that changes a segment only slightly. The attacks are not adaptive: we test one fabrication strategy and do not evaluate forgers who construct logs designed to pass re-execution [32], [33]. Our models have at most 500k parameters, and each architecture is paired with a single dataset, so we cannot separate the effect of the architecture from that of the data. We test unauthorized data only as label poisoning; training on data outside the blueprint should also fail re-execution, since the verifier re-runs each drawn segment on the blueprint's data, but we have not tested it directly.
VIII. CONCLUSION AND FUTURE WORK
We introduced SciCheck, which verifies deep learning training within a scientific workflow by letting the scientist explore off the ledger and post a blueprint for each candidate and, instead of requiring exact replication, judging the resulting run in two layers: a statistical judge built from the verifying scientist's own reference run, and a spot-check that re-executes randomly drawn segments from checkpoints committed to the ledger one epoch at a time. On three architectures at 100k–500k parameters and three attacks, SciCheck reaches F1 of 0.906–0.976 while rejecting at most 4.4% of honest runs. The effective-signal statistic falls as under sign flipping, so statistics catch strong enough sign flips; fabricated runs are
invisible to every snapshot detector we test, and the spot-check catches them with probability at least .
Three directions follow. Calibrating each judge on several reference runs should make its false-positive rate hold for new judges. Implementing the per-epoch Merkle commitments on a running SciLedger deployment, together with a segment-selection rule whose draws in one epoch reveal nothing about later epochs, such as checking each segment independently with probability , would make the spot-check's guarantee end to end, and recomputing the snapshot statistics of each re-executed segment and comparing them with the submitted ones would tie the statistical judge to the same committed computation. Finally, adaptive adversaries, including forgers that target re-execution [32], [33], and a dishonest or colluding verifying scientist, which a reputation-based protocol such as PRISM [23] could address, remain open.
DISCLOSURE ON THE USE OF AI TOOLS
Claude (Anthropic), including Claude Sonnet 5 and Claude Opus 5.5, was used in a supporting capacity during the preparation of this work. Specifically, it was used to assist with debugging and reviewing portions of the experimental code-base for implementing the SciCheck judge model, spot-check, and evaluation pipeline; parsing, organizing, and statistically analyzing the raw experimental outputs used in §VI and §VII; generating tables and figures from those outputs; and drafting and organizing portions of the manuscript from author-provided notes, code, and results. The authors independently reviewed, verified, and edited all AI-assisted outputs and take full responsibility for the accuracy, originality, integrity, and content of the manuscript.
REFERENCES
[1] S. Lesné, M. T. Koh, L. Kotilinek, R. Kayed, C. G. Glabe, A. Yang, M. Gallagher, and K. H. Ashe, "A specific amyloid-β protein assembly in the brain impairs memory," Nature, 2006. [2] C. Piller, "Authors move to retract discredited Alzheimer's study," Science, 2024. [3] H. Pashler and E.-J. Wagenmakers, "Editors' introduction to the special section on replicability in psychological science: A crisis of confidence?" Perspectives on Psychological Science, 2012. [4] Open Science Collaboration, "Estimating the reproducibility of psychological science," Science, 2015. [5] National Academies of Sciences, Engineering, and Medicine, Reproducibility and Replicability in Science. Washington, DC: The National Academies Press, 2019. [6] A. Vaswani, N. Shazeer, N. Parmar, J. Uszkoreit, L. Jones, A. N. Gomez, E. Kaiser, and I. Polosukhin, "Attention is all you need," Advances in Neural Information Processing Systems, 2017. [7] A. Dosovitskiy, L. Beyer, A. Kolesnikov, D. Weissenborn, X. Zhai, T. Unterthiner, M. Dehghani, M. Minderer, G. Heigold, S. Gelly, J. Uszkoreit, and N. Houlsby, "An image is worth 16x16 words: Transformers for image recognition at scale," in International Conference on Learning Representations (ICLR), 2021. [8] A. Santoro, R. Faulkner, D. Raposo, J. Rae, M. Chrzanowski, T. Weber, D. Wierstra, O. Vinyals, R. Pascanu, and T. Lillicrap, "Relational recurrent neural networks," Advances in Neural Information Processing Systems, 2018. [9] S. John, "Addressing the replication crisis in computer science," The Johns Hopkins News-Letter, Feb. 2024. [10] S. Kapoor and A. Narayanan, "Leakage and the reproducibility crisis in machine-learning-based science," Patterns, 2023.
[11] J. Pineau, P. Vincent-Lamarre, K. Sinha, V. Larivière, A. Beygelzimer, F. d'Alché Buc, E. Fox, and H. Larochelle, "Improving reproducibility in machine learning research (a report from the NeurIPS 2019 reproducibility program)," Journal of Machine Learning Research, 2021.
[12] L. Weidener and C. Spreckelsen, “Decentralized science (DeSci): definition, shared values, and guiding principles,” Frontiers in Blockchain, 2024.
[13] R. Hoopes, H. Hardy, M. Long, and G. G. Dagher, “SciLedger: A blockchain-based scientific workflow provenance and data sharing platform,” in 2022 IEEE 8th International Conference on Collaboration and Internet Computing (CIC), 2022.
[14] S. B. Davidson and J. Freire, “Provenance and scientific workflows: challenges and opportunities,” in Proceedings of the 2008 ACM SIGMOD international conference on Management of data. New York, NY, USA: Association for Computing Machinery, 2008.
[15] D. Fernando, S. Kulshrestha, J. D. Herath, N. Mahadik, Y. Ma, C. Bai, P. Yang, G. Yan, and S. Lu, “SciBlock: A blockchain-based tamper-proof non-repudiable storage for scientific workflow provenance,” in 2019 IEEE 5th International Conference on Collaboration and Internet Computing (CIC), 2019.
[16] A. Al-Mamun, F. Yan, and D. Zhao, “SciChain: Blockchain-enabled Lightweight and Efficient Data Provenance for Reproducible Scientific Computing,” in 2021 IEEE 37th International Conference on Data Engineering (ICDE), 2021.
[17] J. S. Gazsi, S. Zafreen, G. G. Dagher, and M. Long, “VAULT: A Scalable Blockchain-Based Protocol for Secure Data Access and Collaboration,” in 2021 IEEE International Conference on Blockchain (Blockchain), 2021.
[18] R. Neisse, G. Steri, and I. Nai-Fovino, “A blockchain-based approach for data accountability and provenance tracking,” in Proceedings of the 12th International Conference on Availability, Reliability and Security (ARES '17), Reggio Calabria, Italy, 2017.
[19] P. Lüthi, T. Gagnaux, and M. Gygli, “Distributed Ledger for Provenance Tracking of Artificial Intelligence Assets,” in Privacy and Identity Management. Data for Better Living: AI and Privacy. Cham: Springer International Publishing, 2020.
[20] K. Wittek, N. Wittek, J. Lawton, I. Dohndorf, A. Weinert, and A. Ionita, “A Blockchain-Based Approach to Provenance and Reproducibility in Research Workflows,” in 2021 IEEE International Conference on Blockchain and Cryptocurrency (ICBC), 2021.
[21] D. K. Tosh, S. S. Shetty, X. Liang, C. A. Kamhoua, and L. L. Njilla, “Consensus protocols for blockchain-based data provenance: Challenges and opportunities,” in 2017 IEEE 8th Annual Ubiquitous Computing, Electronics and Mobile Communication Conference (UEMCON), New York, NY, 2017.
[22] S. Lu, J. Liu, Y. Zhao, and C. Bai, “Integration of Blockchain Technology in Collaborative Scientific Workflows,” in 2024 IEEE International Conference on Big Data (BigData), 2024.
[23] M. Miller, S. Williams, G. G. Dagher, and M. Long, “PRISM: A Blockchain-Enabled Reputation-Based Consensus for Enhancing Scientific Workflow Provenance,” in 2023 IEEE 9th International Conference on Collaboration and Internet Computing (CIC), 2023.
[24] J. Gardner, Y. Yang, R. Baker, and C. Brooks, “Enabling End-To-End Machine Learning Replicability: A Case Study in Educational Data Mining,” arXiv preprint, 2018.
[25] E. Barbierato and A. Gatti, “The Challenges of Machine Learning: A Critical Review,” Electronics, 2024.
[26] N. Polyzotis, S. Roy, S. E. Whang, and M. Zinkevich, “Data lifecycle challenges in production machine learning: A survey,” SIGMOD Rec., 2018.
[27] S. Shankar et al., “Automatic and Precise Data Validation for Machine Learning,” in Proceedings of the 32nd ACM International Conference on Information and Knowledge Management (CIKM '23), New York, NY, USA, 2023.
[28] C. Chai, J. Wang, Y. Luo, Z. Niu, and G. Li, “Data Management for Machine Learning: A Survey,” IEEE Transactions on Knowledge and Data Engineering, 2023.
[29] S. Schelter, T. Rukat, and F. Biessmann, “Learning to validate the predictions of black box classifiers on unseen data,” in Proceedings of the 2020 ACM SIGMOD International Conference on Management of Data, ser. SIGMOD '20. New York, NY, USA: Association for Computing Machinery, 2020.
[30] Z. Ghodsi, T. Gu, and S. Garg, “SafetyNets: Verifiable execution of deep neural networks on an untrusted cloud,” in Advances in Neural Information Processing Systems. Curran Associates, Inc., 2017.
[31] H. Jia, M. Yaghini, C. A. Choquette-Choo, N. Dullerud, A. Thudi, V. Chandrasekaran, and N. Papernot, “Proof-of-learning: Definitions and practice,” in 2021 IEEE Symposium on Security and Privacy (SP), 2021.
[32] R. Zhang, J. Liu, Y. Ding, Z. Wang, Q. Wu, and K. Ren, “adversarial examples” for proof-of-learning,” in 2022 IEEE Symposium on Security and Privacy (SP), 2022.
[33] C. Fang, H. Jia, A. Thudi, M. Yaghini, C. A. Choquette-Choo, N. Dullerud, V. Chandrasekaran, and N. Papernot, “Proof-of-learning is currently more broken than you think,” arXiv preprint arXiv:2208.03567, 2023.
[34] R. C. Merkle, “A digital signature based on a conventional encryption function,” in Advances in Cryptology – CRYPTO '87, 1987.
[35] J. Carney, K. Upreti, G. G. Dagher, and T. Andersen, “FIDELIS: Blockchain-Enabled Protection Against Poisoning Attacks in Federated Learning,” arXiv preprint, 2025.
[36] T. Elsken, J. H. Metzen, and F. Hutter, “Neural Architecture Search: A Survey,” Journal of Machine Learning Research, 2019.
[37] X. He, K. Zhao, and X. Chu, “AutoML: A survey of the state-of-the-art,” Knowledge-Based Systems, 2021.
[38] M.-A. Zöller and M. F. Huber, “Benchmark and Survey of Automated Machine Learning Frameworks,” Journal of Artificial Intelligence Research, 2021.
[39] Z. Shen, Y. Zhang, L. Wei, H. Zhao, and Q. Yao, “Automated Machine Learning: From Principles to Practices,” arXiv preprint, 2024.
[40] J. Xu, H. Wu, J. Wang, and M. Long, “Anomaly transformer: Time series anomaly detection with association discrepancy,” in International Conference on Learning Representations (ICLR), 2022.
[41] P. Blanchard, E. M. El Mhamdi, R. Guerraoui, and J. Stainer, “Machine learning with adversaries: Byzantine tolerant gradient descent,” in Advances in Neural Information Processing Systems, 2017.
[42] L. Li, W. Xu, T. Chen, G. B. Giannakis, and Q. Ling, “RSA: Byzantine-robust stochastic aggregation methods for distributed learning from heterogeneous datasets,” in Proceedings of the AAAI Conference on Artificial Intelligence, 2019.
[43] P. Baldi, P. Sadowski, and D. Whiteson, “Searching for exotic particles in high-energy physics with deep learning,” Nature Communications, 2014.
[44] J. Elson, J. R. Douceur, J. Howell, and J. Saul, “Asirra: A CAPTCHA that exploits interest-aligned manual image categorization,” in Proceedings of the 14th ACM Conference on Computer and Communications Security (CCS), 2007, pp. 366–374.
[45] Y. LeCun, L. Bottou, Y. Bengio, and P. Haffner, “Gradient-based learning applied to document recognition,” Proceedings of the IEEE, 1998.
[46] D. P. Kingma and J. Ba, “Adam: A method for stochastic optimization,” in International Conference on Learning Representations (ICLR), 2015.
[47] F. T. Liu, K. M. Ting, and Z.-H. Zhou, “Isolation forest,” in 2008 Eighth IEEE International Conference on Data Mining (ICDM), 2008.
[48] B. Schölkopf, J. C. Platt, J. Shawe-Taylor, A. J. Smola, and R. C. Williamson, “Estimating the support of a high-dimensional distribution,” Neural Computation, 2001.