VRMaaS: Verifiable Reward Model as a Service for Trustworthy LLM AlignmentVRMaaS: Verifiable Reward-Model-as-a-Service for Trustworthy LLM Alignment
The authors propose VRMaaS, which turns reward model scores into verifiable artifacts bound to the request, weights, configuration, and verifier; the prototype maintains a 93.5–99% pairwise agreement rate on 1B/3B/8B.
- Scores returned by a reward model as a service are consumed directly by payment, audit, and governance processes, but ordinary inference proofs do not bind the request, checkpoint, numeric configuration, and verifier; a provider can substitute the model or replay results while the proof remains valid.
- VRMaaS decomposes the Transformer RM service into arithmetic and lookup proof tasks and aggregates them into a composite proof; the offline acceptance rule binds the request identity, weight commitments, verifier and configuration identifiers, task order, and export digest, with an optional Groth16 wrapper for partial on-chain attest.
- The GPU prototype maintains a 93.5–99% pairwise agreement rate with the baseline RM on Skywork 1B/3B/8B, 128–1024 tokens; full artifact generation takes 49.8–206.1 seconds, audit verification 1.94–5.11 seconds, and on-chain attest about 217K gas; all 14 types of service field substitution are rejected, whereas the GenericProof+Wrapper baseline accepts 6 of them.
- The authors state that the proof starts from the field-encoded hidden states; tokenization and embedding are not within the proof; the on-chain wrapper verifies only part of the relations; the experiments are single-node with 1–5 runs per setting; weight binding remains the main cost; fairness, unbiasedness, or alignment of the RM is not guaranteed.
- Threat model
- A malicious polynomial-time provider or intermediary can return a wrong score, substitute the checkpoint, alter the numerical configuration, replay or graft artifacts, attach a valid-looking proof, and tamper with the export package; the attack surface is the binding between the score and the request, model, verifier, configuration, and export, rather than RM semantic quality; the underlying proof and commitment schemes are assumed secure.
- Evaluated models
- Skywork 1B reward modelSkywork 3B reward modelSkywork 8B reward modelone-layer RMtwo-layer Transformer
- Benchmarks
- repeated question-answer comparisons (200 chosen/rejected cases per setting)RewardBench2 diagnostic log
- Metrics
- Pairwise AgreementScore R2MAERMSEFlip Rateartifact generation latencyauditor verification timegas
The researchers propose the VRMaaS framework, which turns each score returned by a reward model (RM) service into an artifact carrying a proof, so that an auditor can verify score integrity without rerunning the private RM or exposing inputs or checkpoints. The paper points out that inference proofs alone cannot confirm that a score belongs to the expected request, model checkpoint, numerical configuration, and verifier; in a control experiment, a generic inference proof packaged as an on-chain check remained valid after substitutions of six types of service fields. The framework's off-chain acceptance rules bind request identity, committed weights, verifier and configuration identifiers, proof task order, and exported package digest, and an optional on-chain zero-knowledge wrapper provides partial proofs to contracts. On a GPU prototype with 1B, 3B, and 8B reward models and 128-1024 tokens, it maintains a 93.5-99% pairwise agreement rate with the baseline RM and rejects all tested service field substitutions in complete artifacts; generating a complete artifact takes 49.8-206.1 seconds, verifying a retained artifact takes 1.94-5.11 seconds, and a partial public proof costs about 217K gas, and the authors state that these costs are suitable for delayed auditing, settlement, and governance processes.
Paper analysis
What problem does this paper attempt to solve?
RM service scores lack a verifiable artifact binding the request, model, configuration, and verifier; the authors formalize this as a service output integrity problem.
Core problem: a score returned by a reward model (RM) as a service does not let a downstream auditor independently confirm that it belongs to the intended request, model checkpoint, numerical configuration, and verifier logic.
- Scenario and importance: RM scores are consumed directly by payment, audit, content moderation, and governance workflows beyond RLHF; the authors state that a score alone cannot rule out, in a payment dispute, a cheaper checkpoint, coarser quantization, or the result of someone else's request.
- Shortcomings of existing methods: the authors state that general inference proofs (such as ZKML) only prove that some neural network computation was executed, and that the request, configuration, verifier identity, task order, and export semantics are not within the accepted statement; the paper's GenericProof+Wrapper baseline still accepts the proof after six types of service field substitution.
- Core observation: the authors argue that the problem is not "whether neural network inference can be proven," but whether the accepted reward object remains portable, auditable, and consumable by contracts across organizational boundaries.
- Paper proposes: the VRMaaS framework, which turns each returned reward into a proof-carrying artifact; the offline acceptance rule binds the request identity, committed weights, verifier and configuration identifiers, proof task order, and export package digest, with an optional on-chain zero-knowledge wrapper providing partial attest.
- Threat model (Section 2.4):
- Attacker goal: make an auditor or contract accept an invalid reward.
- Attacker capability: a malicious polynomial-time provider or intermediary that can return a wrong score, substitute the checkpoint, alter the numerical configuration, replay or graft artifacts, attach a valid-looking proof, and tamper with the export package.
- Attack surface: the binding between the score and the request, model, verifier, configuration, and export, rather than the semantic quality of the RM itself.
- Assumptions: the underlying proof and commitment schemes satisfy standard cryptographic assumptions; no claim is made that the RM is well trained, unbiased, or aligned.
What related research exists?
Related work falls into four groups: RM lifecycle, verifiable computation and ZKML, TEE and optimistic verification, and service computing and attest.
Reward model lifecycle
- RewardBench 2 (Malik et al., ICLR 2026) and Skywork-Reward-V2 (Liu et al., ICLR 2026) — evaluate and train preference models; the paper uses Skywork 1B/3B/8B RMs as the models under test.
- "Trust, but verify" (Liu et al., NeurIPS 2025) — makes the reward signal externally checkable. The paper notes that these works focus on whether the RM is well trained, whereas VRMaaS focuses on binding each score after deployment to the request, checkpoint, configuration, and verifier.
Verifiable computation and ZKML
- General-purpose proof systems Pinocchio, Libra, Spartan, Plonk, Marlin, Groth16 — prove computation on untrusted infrastructure.
- zkLLM (Sun et al., CCS 2024), zkGPT (USENIX Security 2025), zkCNN (CCS 2021) — extend zero-knowledge proofs to billion-parameter Transformers and convolutional networks; VRMaaS reuses their sumcheck, lookup, and commitment tools.
- VeriML (2021) and zkMLaaS (2022) — provide integrity and fair payment for outsourced ML services. The paper compares them in Appendix Table 22 and states that these works do not list the request, configuration, verifier, task order, and export all as first-class acceptance fields.
Trusted hardware and optimistic verification
- Slalom (Tramèr & Boneh, ICLR 2019) — checks outsourced linear layers inside a TEE, relying on the hardware vendor and the enclave.
- opML (2024) — resolves disputes within a challenge window using fraud proofs, requiring an honest challenger with access to the model. The paper states that VRMaaS supports delayed settlement under cryptographic assumptions, and that anyone can verify the artifact without rerunning inference or obtaining the private checkpoint.
Service computing and attest
- Service-oriented computing (Huhns & Singh 2005; Papazoglou et al. 2007) and privacy-preserving distributed analytics Drynx (2020) — study cross-organizational composition and result verification; VRMaaS treats the reward artifact as a service contract spanning invocation, delivery, audit, and settlement.
Baselines and benchmarks: The comparison baselines are GenericProof+Wrapper (wrapping a general inference proof for on-chain checking) and a reduced variant of VRMaaS that retains all service bindings, run on two small models, tiny-rm-l1 and tiny-transformer-l2 (Appendix Table 18); the fidelity case diagnostics are taken from RewardBench2 diagnostic logs (Appendix Table 20).
Author positioning: VRMaaS does not propose new cryptographic primitives; rather, it changes the accepted statement from a bare inference proof to a reward service output bound to the request, model, configuration, verifier, order, and export.
How does the paper address this problem?
Decomposes the RM forward pass into typed proof tasks aggregated into a composite proof; the acceptance rule binds the request, weight commitments, verifier, configuration, task order, and export digest.
Overall approach: the provider runs RM inference and records a deterministic proof trace, decomposes the Transformer path into arithmetic and lookup proof tasks, aggregates them into a composite proof, and exports a proof-carrying reward artifact bound to the service context; the auditor verifies the complete artifact offline, and a contract can optionally consume the partial attest of the Groth16 wrapper.
Artifact fields and service semantics
- The offline artifact Aoff contains requestID, the public reward rpub, the composite proof Πcomp, the weight commitment CW, the weight binding material BW, verifierID, and configID (Equation 2); requestID is obtained by hashing serviceID, requesterID, the prompt and response digests, nonce, and policyID (Equation 1).
- Table 1 specifies the binding target of each field: requestID prevents cross-request replay, CW prevents checkpoint substitution, configID fixes the quantization scale, lookup tables, range bounds, and reward export rule, verifierID prevents verifier substitution, opOrderHash identifies the task order, and HE identifies the retained export package.
- Five design goals (G1–G5): request binding, model binding, configuration accountability, portable verification, and bounded disclosure.
Proof task decomposition
- The RM forward pass is decomposed into a sequence of task descriptors Trace = (τ1, ..., τm), where each τi records the type, layer position, semantic role, shape, input/output references, and configuration metadata (Equations 5, 6).
- Task families fall into two classes: arithmetic tasks Tarith = {matmul, hadamard, add, equality} and lookup tasks Tlookup = {range, mapping} (Equations 8, 10); softmax is composed of an exp lookup, row sum, reciprocal, and consistency check, and normalization uses a sum of squares, an inverse square root lookup, and a range check.
- Matrix multiplication tasks are verified via the multilinear extension identity with a sumcheck-style protocol (Equation 9).
Composite proof and weight binding
- The composite proof Πcomp packs the ordered trace commitment and the subproofs (Equation 17); the Fiat–Shamir challenge absorbs the task descriptors, commitments, and proof messages in a fixed order via a BN254 Poseidon2 transcript, which the authors state makes a proof generated under one operator order, lookup table version, or quantization configuration unable to be silently reinterpreted.
- Matmul tasks of the same shape are aggregated into a single relation using transcript-random coefficients (Equation 18), and erroneous tasks are detected with Schwartz–Zippel probability.
- The weight binding material BW = {(idj, zj, vj, πj)} (Equation 19): Equation 21 verifies each opening against the registered commitment CW, and Equation 22 proves that the authenticated value is the value actually used by the proof task; the weight identifier idj is obtained from modelID, layer, role, shape, and view hash (Equation 20).
Efficient artifact generation
- Exact integer witness: the dot product of quantized tensors is accumulated in 64-bit integers under the condition KAmaxBmax < 2^63 and then converted to field representation, without changing the field arithmetic relations.
- Request-level opening aggregation: after the transcript fixes the objects, a shared Gemini challenge is derived, and KZG opening claims for the same evaluation point are merged into a single opening.
- Also includes scalar whitening to improve MSM load distribution, an evaluation-only Horner kernel, and lookup workspace reuse.
Public wrapper and acceptance
- The measured public tuple contains only requestID, rpub, CW, configID, and opOrderHash (Equation 24); the Groth16 circuit checks the selected Gemini fold values, part of the sumcheck data, the reward claim, and the equality of the public fields (Equation 25).
- The contract acceptance rule is Registered(CW) and Groth16 verification passes (Equation 27); the authors explicitly state that this wrapper does not recursively verify the full composite proof, and that full acceptance still requires offline audit. Appendix O gives a conditional extension that incorporates the export digest HE into the circuit, whose cost is not included in the measured 217K gas.
Security statement
- Section 6 gives a composite soundness bound: for m tasks, ϵcomp ≤ c(m·ℓmax·δ + B)/|F| + ϵbind + Q/2^κ (Equation 28); under the prototype parameters (m ≤ 2^15, ℓmax ≤ 24, δ ≤ 3, B ≤ 2^10), the algebraic field check term is below 2^-220, but the authors state that overall security also depends on the BN254 computational assumptions and the Fiat–Shamir term, and is not a claim of 220-bit system security.
What experiments did the paper conduct?
Fidelity, proof cost, on-chain gas, and rejection of 14 classes of service field substitution are measured on Skywork 1B/3B/8B RMs, and compared with a GenericProof+Wrapper baseline.
Experimental setup
- Models under test: Skywork 1B, 3B, and 8B reward models, with sequence lengths of 128–1024, 12 settings in total; baseline comparisons are additionally run on tiny-rm-l1 (one-layer RM) and tiny-transformer-l2 (two-layer Transformer).
- Workload: repeated question-answer comparisons, with n = 200 deterministic chosen/rejected pairs per setting (Table 3).
- Metrics: ScoreErr, PairAgree (the rate at which the proof path and the baseline path agree on preference direction, Equation 29), BenchAcc (benchmark label accuracy, used only as RM quality context), R2, MAE, RMSE, Flip Rate; on the cost side, per-stage latency, gas, payload, and proof size.
- Baselines: the no-proof baseline path (fidelity reference); GenericProof+Wrapper and a reduced VRMaaS variant (RQ6, isolating statement semantics rather than prover scale).
- Evidence types: direct prototype measurements (D), real artifact verifier/contract replay (R), and trace-driven service simulation (S); the paper explicitly distinguishes the three.
- Hardware: 192-core AMD EPYC 9654, 503.35 GB RAM, NVIDIA A100 80GB; the optimized latency rows have 1–5 completed runs per setting (Table 5).
Main results
Fidelity (Table 3, evidence D, n=200 per setting):
Swipe horizontally to read the table
Model/sequence R2 MAE Pair agreement Flip Rate 1B/128 0.9959 0.1537 98% (196/200) 2% 1B/1024 0.9067 0.9094 93.50% (187/200) 6.50% 3B/128 0.9979 0.0889 99% (198/200) 1% 3B/1024 0.8849 1.7303 95% (190/200) 5% 8B/128 0.9989 0.1062 97.50% (195/200) 2.50% 8B/1024 0.9118 2.3256 94% (188/200) 6% (The six rows 1B/256, 1B/512, 3B/256, 3B/512, 8B/256, and 8B/512 are omitted; their agreement rates are between 96% and 98%; see Table 3 for the full data.)
- The authors state that the agreement rate across the 12 settings ranges from 93.50% to 99%, and that the R2 decline at 1024 tokens is consistent with long-context quantization drift.
- The authors emphasize that configID is not decorative metadata: a deployer can register, warn about, or reject a numeric configuration according to an observed drift threshold.
- The benchmark label accuracy in Appendix Table 8 is only context: for example, 8B/1024 has 87% for the baseline and 83% for the proof path (-4 pp); the authors state that the proof artifact can preserve the service decision even when the RM disagrees with the benchmark label.
Proof service cost (RQ2)
- End-to-end latency: after optimization, full artifact generation takes 49.8 s (1B/256), 94.3 s (1B/1024), 122.9 s (3B/512), and 206.1 s (8B/512) (Fig. 3, Table 5); weight binding is the largest producer-side component (37.87–154.63 s).
- Component profiling: shared challenge-opening aggregation reduces weight binding time by 24–37%, scalar whitening by 30–50%, and the evaluation-only Horner kernel by 17.5–26%; integer matmul speeds up the forward pass by 2.8–4.1×. The authors state that these are component-level comparisons and do not combine into an end-to-end speedup ratio.
- Before and after optimization: 8B/1024 weight binding drops from 3802.00 s to 198.30 s (Table 4); the paper notes that the two versions differ in proof coverage and execution settings and are not a controlled ablation.
Public wrapper and service-binding rejection (RQ3, RQ4)
- On-chain cost: all 36 public statements (12 settings × 3 artifacts) are accepted by the wrapper generation and Hardhat verification path; gas clusters around 217K, and the Groth16 proof is a fixed 164 bytes (Fig. 4, Table 10).
- Rejection test: the three settings 1B/128, 3B/512, and 8B/1024 each have 13 classes of attacks plus 1 valid control, 42 cases in total, all producing the expected results (Table 12); the attacks cover proof and reward tampering, model and weight-opening substitution, configuration and verifier replacement, request replay, proof reordering, and export digest and wrapper mismatch.
- Boundary: the authors state that the export digest and verifierID checks are offline verification, and the wrapper checks only its public tuple; request binding adds 32 payload bytes and 13,752–13,776 gas.
Baseline comparison and configuration diagnosis (RQ6, RQ7)
- GenericProof+Wrapper: on the two small models, this baseline prevents proof-byte and output tampering but accepts six classes of substitution: requestID, configID, model commitment, verifierID, proof order, and expired replay; the reduced VRMaaS variant rejects all eight classes of attacks (Table 18). The authors state that a generic proof system could be extended to include these bindings, and that VRMaaS's contribution is to specify and measure their execution cost for RM services.
- Configuration diagnosis: 8B/1024 reaches MAE 2.326 and P95 absolute error 7.332 and is flagged as recommending finer quantization (Table 19); the prototype admission policy judges ACCEPT with thresholds such as PairAgree ≥ 0.97 and MAE ≤ 0.50, and the authors state that the thresholds are deployment parameters rather than proof-system assumptions.
- Variant without matmul aggregation: the specified analytical variant estimates P2 at 19.4 s (versus a mean of 14.3 s for the optimized implementation, 1.35×); this is an analytical estimate, not an independently executed prover measurement (RQ6).
Other ablations and analyses
- Auditor verification: 1.94–2.58 s (1B), 3.17–4.09 s (3B), 4.14–5.11 s (8B), about 704–1852 artifacts/hour (Table 6).
- The amortization, batching, and queueing records in Appendix G are based on a conditional model that treats binding generation as reusable preparation; the authors state that they do not constitute measured throughput or SLA guarantees for the optimized producer.
- Appendix Table 20 case study: of the 12 flips for 8B/1024, 10 are small-margin cases and 2 (C7–C8) are large-quantization-error cases.
- Negative results: long context (especially 3B/1024 and 8B/1024) drops R2 to 0.8849 and 0.9118, which the authors attribute to long-context quantization drift under the registered fixed-point configuration.
What are some points that can be further explored?
The authors list limitations including the input proof boundary, partial wrapper, and single-node evaluation; the experiments cover three RM scales and four types of service tests.
Limitations and future directions noted by the authors
- Input boundary (Section 8 "Input and attestation boundaries"): the computation proof starts from the field-encoded hidden states in the canonical RM input package; embedding lookup and the derivation of padding/segment and last-token positions are not within the proof in the current implementation; request metadata binding itself does not establish the link from the original text to the hidden states.
- Partial public attest (Sections 5.2 and 8): the measured wrapper verifies only part of the relations; full computation and export guarantees require offline auditing; the export binding extension in Appendix O is a conditional design whose cost is not included in the measurements.
- Evaluation scope (Section 8 "Evaluation scope"): the experiments use a high-performance single-node setting; the optimized latency rows have only 1–5 completed runs per setting; multi-tenant scheduling, admission control, cache invalidation, checkpoint rotation, and SLA-aware verifier deployment are left for future work.
- Producer cost (Section 8 "Further producer optimization"): weight binding remains the main cost after batching is enabled at the request level, and its GPU kernels and memory traffic can be optimized in the future; the integer witness path requires the accumulation bound to fit in a 64-bit signed integer, and other numeric configurations need to check this bound.
- Semantic scope (Section 8 "Service and semantic scope"): VRMaaS does not prove that the RM is fair, unbiased, resistant to reward hacking, or aligned; these remain matters of model and policy governance.
- Privacy scope (Section 8 "Privacy scope"): offline weight binding exposes the opening value vj to the auditor; stronger audit-side weight hiding is an orthogonal commitment-opening design choice.
Experimental coverage
- The models under test are Skywork 1B, 3B, and 8B reward models, 3 scales in total, with sequence lengths of 128–1024, 12 settings in total; the baseline comparison additionally uses two small models, tiny-rm-l1 and tiny-transformer-l2.
- Fidelity uses n = 200 deterministic chosen/rejected pairs per setting; the rejection test uses 13 classes of attacks plus 1 valid control on each of 3 settings.
- The optimized latency measurements have 1–5 completed runs per setting (the Runs column of Table 5); the paper does not report statistical significance tests.
- The batching, audit capacity, and queueing results in service operation are trace-driven simulations (evidence S), based on conditional amortization assumptions, and were not rerun as deployments of the optimized producer.
- The paper discusses the TEE (Slalom) and optimistic verification (opML) routes and states that VRMaaS supports deferred settlement under cryptographic assumptions without rerunning inference or requiring a private checkpoint.
Summarize the main content of the paper
VRMaaS turns RM scores into verifiable artifacts bound to the service context; the prototype provides system-level evidence on fidelity, cost, and attack rejection.
A systems paper at the intersection of service computing and verifiable ML: it reframes reward model inference as a service output integrity problem and argues that an RM service should return a request-bound proof-carrying artifact rather than a bare score.
- Problem: RM scores are consumed by payment, audit, and governance processes, but general inference proofs do not bind the request, checkpoint, numerical configuration, and verifier; the paper's GenericProof+Wrapper baseline still accepts the proof after six types of service field substitution.
- Method: decompose the Transformer RM forward pass into arithmetic (matmul, hadamard, add, equality) and lookup (range, mapping) proof tasks and aggregate them into a composite proof; the offline acceptance rule binds requestID, weight commitment CW, verifierID, configID, task order, and export digest; an optional Groth16 wrapper provides partial attest for contracts. Engineering-wise, exact integer witnesses and request-level opening aggregation reduce producer cost.
- Fidelity: Skywork 1B/3B/8B, 128–1024 tokens, 12 settings in total; the pairwise agreement rate between the proof path and the baseline RM is 93.50%–99% (Table 3, n=200 per setting).
- Cost: full artifact generation 49.8–206.1 seconds (Table 5), auditor offline verification 1.94–5.11 seconds (Table 6), on-chain partial attest about 217K gas with a 164-byte proof (Fig. 4).
- Rejection capability: on 3 settings, 13 types of service field substitution attacks plus valid controls, 42 cases in total, all produce the expected result (Table 12); weight binding remains the largest producer-side component.
- Authors' conclusion: these costs are suitable for delayed audit, settlement, and governance workflows; a broader direction is to make LLM alignment service outputs portable and auditable without trusting a black-box API. The authors also state that the framework does not prove the RM is fair, unbiased, or aligned, that the proof starts from the hidden state encoded in the fields, and that the on-chain wrapper provides only partial guarantees.