arXiv:2611.09607cs.CRNov 2026

Manuscript Offprint

arXiv:2611.09607

ReplayAudit: Auditing Outsourced LLM Fine-Tuning via Sealed Records and Selective Replay

Yihan Xia, Wenxin Xu, Taotao Wang

ABSTRACT

Auditing outsourced LLM fine-tuning requires checking an untrusted provider's training while controlling verification cost. Uniform sampling ignores training-time signals, while checking a suspicious record can require replaying several preceding steps. We present REPLAYAUDIT, a telemetry-guided auditing system that seals training records before challenges and independently replays sampled intervals from sealed checkpoints. Loss changes and parameter-update norms guide stratified random sampling; replay determines whether the selected computation agrees with its records. We relate sampling probabilities to replay work and evaluate the system on real LoRA training. A 7B BF16 prototype rejects a false update-norm report during a random audit; targeted checks also reject false loss reports and skipped updates. We calibrate sampling budgets offline to at least a 90% probability of directly selecting an injected step. For two learning-rate deviation settings, executing these budgets on the same honest 1.5B trajectory reduces median complete-audit wall time by 49% and 67% relative to uniform sampling. When skipped updates evade the high-anomaly stratum, the corresponding audit instead costs 38% more. These results show how deviation capture and actual replay work jointly determine the cost of telemetry-guided auditing.

1 INTRODUCTION

Outsourcing large language model (LLM) fine-tuning lets a client adapt a model without operating its own GPU infrastructure. Parameter-efficient methods such as LoRA (Hu et al., 2022) reduce the trainable state, but do not resolve the client's verification problem: an untrusted provider may skip updates, alter hyperparameters, or submit fabricated training records. A delivered model and a plausible loss curve do not establish that the agreed training procedure was followed. The client therefore needs an audit that checks computation while avoiding the cost of independently repeating the entire run.

Existing systems provide several ways to obtain such evidence. Zero-knowledge training proofs, including VeriLoRA (Liao et al., 2026) and VFT (Akgul et al., 2025), verify encoded training relations while protecting private witnesses, at the cost of proof generation. Commit-then-sample systems such as VeriML (Zhao et al., 2021) reduce the computation selected for proof. Proof-of-Learning (Jia et al., 2021) and AFTUNE (Jin et al., 2026) use selective recomputation, with different numerical and trust assumptions. These approaches establish selective verification as a useful design principle. Our question is how to use training telemetry to select effective checks, and when fewer samples translate into lower audit cost.

Training already produces signals such as loss changes and parameter-update norms. These signals can help direct attention toward unusual steps, but using them for adversarial auditing introduces two coupled difficulties. First, the provider controls the records: an anomalous value is not itself a violation, and a plausible value may be fabricated. Sealing prevents later edits but does not make submitted telemetry truthful. The auditor must independently check the selected computation against the sealed state. Second, a selected step can require replaying several preceding steps to reconstruct its inputs. A smaller sample set need not be proportionally cheaper, especially when replay intervals overlap or additional predecessor checks are necessary. Selection quality and replay work must be assessed jointly.

We introduce REPLAYAUDIT, a telemetry-guided auditing system for outsourced LLM fine-tuning. Our design uses provider-reported telemetry to allocate checks, while independent replay determines whether the selected records agree with the sealed computation. The provider commits step records and periodic checkpoints, then seals the trajectory before audit randomness is revealed. The auditor ranks the sealed telemetry and combines random sampling within a high-anomaly stratum with sampling from all remaining records. For each selected target, it restores a sealed check-

1^{1}College of Electronics and Information Engineering, Shenzhen University, Shenzhen, China. Correspondence to: Taotao Wang ttwang@szu.edu.cn.

Preprint.

Figure

Figure 1. REPLAYAUDIT connects training-time recording to post-seal audit decisions. Telemetry guides target selection; checkpoint-anchored replay checks the selected computation and records. The public beacon and dataset root belong to the reference protocol; the BF16 prototype uses local post-seal randomness and batch hashes. The integer checker is an auxiliary component path.

point and replays the required interval, comparing states and telemetry with their recorded values. Figure 1 illustrates how these stages connect training-time recording to post-training verification.

To characterize this design, we relate the number of injected deviations in the high-anomaly stratum to direct-hit probability and then measure the cost of executing the resulting audit budgets. In real 200-step 7B traces, the high stratum captures 9 of 15 learning-rate deviations across three seeds, but only 1 of 15 skipped updates. This difference matters in practice: on a sealed 1.5B trajectory, budgets calibrated off-line to a 90% direct-hit target reduce median audit time by 49% and 67% for two learning-rate deviation settings. With no high-stratum capture, the five-deviation setting instead costs 38% more than uniform sampling. These comparisons use known attack labels for budget calibration and measure complete audits of the same honest trajectory, separating selection effects from early rejection.

The system verifies selected intervals using disclosed states and batches with deterministic BF16 replay. A 7B integrated run demonstrates sealing, random challenges, independent replay, and rejection; separate experiments reproduce 2,100 steps bit-exactly across 7B–14B models. Together, these results connect the sampling analysis to an implemented audit and establish the numerical basis for checking the selected computation.

In summary, we make three contributions:

  • An integrated audit path for sealed training records. We integrate post-seal challenges, complete-state restora-

tion, and independent interval replay to check selected state transitions and their reported telemetry (Section 4).

  • Telemetry-guided sampling with replay-cost analysis. We combine anomaly-stratified and baseline random sampling, characterize their conditional hit probabilities, and account for the replay work needed to execute the checks (Section 3).

  • Measured audit savings and their conditions. Real fine-tuning experiments establish integrated 7B auditing and 49%/67% wall-time savings on 1.5B under offline-calibrated budgets. The skipped-update result identifies when preferential sampling increases cost; component measurements explain replay fidelity and recording overhead (Section 5).