Align manuscript cost claims with separate experiment scopes
Browse files- paper/LMCV.md +11 -24
paper/LMCV.md
CHANGED
|
@@ -35,11 +35,7 @@ heterogeneous smaller models separate sharply on p99, rank-delta rate, top-*k*
|
|
| 35 |
Jaccard, and union-JS. For MoE, per-token logprob is confounded by sparse heavy-tailed spikes,
|
| 36 |
but the layer-0 routed-experts fingerprint forms a structurally stable, cross-GPU-reproducible gap
|
| 37 |
between same- and cross-model cases (under a layer-0 random-5 aggregate, a BF16 verifier attains
|
| 38 |
-
TPR = 1.000 with 0.000 false-pass at threshold 0.060). On
|
| 39 |
-
shows a single verification prefill costs about 1% of one generation
|
| 40 |
-
(worker/verifier ≈ 80×–114×), so three verifiers together consume
|
| 41 |
-
roughly **1.9%–14.8%** of the GPU time of a single generation—direct
|
| 42 |
-
quantitative evidence that verification is far cheaper than generation.
|
| 43 |
|
| 44 |
**Keywords:** execution verification; logprob fingerprint; majority consensus; commit–reveal; VRF; Mixture-of-Experts; routed experts; vLLM; decentralized inference
|
| 45 |
|
|
@@ -89,7 +85,7 @@ distributions in parallel under the causal mask, and reads off each token's prob
|
|
| 89 |
rank—**with no token-by-token decoding.**
|
| 90 |
|
| 91 |
This demotes “verification” from “replaying generation” to “one
|
| 92 |
-
forward pass,”
|
| 93 |
that, LMCV uses cryptographic commitments, random selection, and majority consensus to turn it into
|
| 94 |
a collusion-resistant, settleable, auditable protocol (§3–§5).
|
| 95 |
|
|
@@ -109,10 +105,7 @@ a collusion-resistant, settleable, auditable protocol (§3–§5).
|
|
| 109 |
structural criterion based on routed experts—in particular the **layer-0 routing
|
| 110 |
fingerprint**—with an explanation of why layer 0 has a higher signal-to-noise ratio
|
| 111 |
than all-layer aggregation (§5).
|
| 112 |
-
4. **Cost and empirics.**
|
| 113 |
-
verify/generate cost ratio (80×–114×; three verifiers total 1.9%–14.8% of a
|
| 114 |
-
generation), plus dense/MoE, cross-GPU evidence for fingerprint separability and stability
|
| 115 |
-
(§6, §7).
|
| 116 |
5. **Security analysis.** Resistance to model substitution, quantization
|
| 117 |
substitution, probability forgery, verifier copying, and collusion—and the boundaries of
|
| 118 |
those guarantees (§8).
|
|
@@ -472,17 +465,13 @@ pays off:
|
|
| 472 |
| 2048 / 4096 | 73.04 | 0.819 | **89.2×** |
|
| 473 |
| 1024 / 4096 | 72.24 | 0.691 | **104.6×** |
|
| 474 |
|
| 475 |
-
|
| 476 |
-
overhead makes it slightly slower (ratio 0.62–0.82), a corner case. In typical long-output
|
| 477 |
-
settings, a single verification is about 1% of one generation; across the measured input/output
|
| 478 |
-
configurations, **three verifiers each doing one prefill together consume roughly
|
| 479 |
-
1.9%–14.8% of the GPU time of one generation**—precisely the affordability basis
|
| 480 |
-
for two-of-three majority consensus.
|
| 481 |
|
| 482 |
-
|
| 483 |
-
|
| 484 |
-
|
| 485 |
-
|
|
|
|
| 486 |
|
| 487 |
## 7. Empirical Evaluation
|
| 488 |
|
|
@@ -605,7 +594,7 @@ through.
|
|
| 605 |
## 9. Discussion and Related Work
|
| 606 |
|
| 607 |
LMCV sits between replay-based verification and cryptographic proof: versus full recomputation it
|
| 608 |
-
|
| 609 |
adds almost no proving overhead, making it suitable as a *first-layer* verification for
|
| 610 |
cost- and throughput-sensitive open inference networks. The two are complementary within TrueOpen:
|
| 611 |
fixed-point-compliant quantized models can take the cryptographic-proof layered random verification
|
|
@@ -676,9 +665,7 @@ consensus—builds it into a collusion-resistant, settleable, auditable protocol
|
|
| 676 |
dense logprob fingerprint is narrow and cross-GPU-stable with sharp separation of quantized and
|
| 677 |
smaller models, allowing a direct hard decision; MoE cannot be hard-decided by logprob alone due to
|
| 678 |
sparse heavy tails, but the layer-0 routed-experts fingerprint provides a cross-GPU-stable structural
|
| 679 |
-
criterion. On
|
| 680 |
-
settings, and three verifiers total 1.9%–14.8% across the measured configurations, making majority
|
| 681 |
-
consensus economically feasible.
|
| 682 |
|
| 683 |
Worker–verifier verification should therefore be designed by architecture:
|
| 684 |
**dense relies primarily on the logprob fingerprint; MoE relies primarily on the layer-0
|
|
|
|
| 35 |
Jaccard, and union-JS. For MoE, per-token logprob is confounded by sparse heavy-tailed spikes,
|
| 36 |
but the layer-0 routed-experts fingerprint forms a structurally stable, cross-GPU-reproducible gap
|
| 37 |
between same- and cross-model cases (under a layer-0 random-5 aggregate, a BF16 verifier attains
|
| 38 |
+
TPR = 1.000 with 0.000 false-pass at threshold 0.060). On compute time, Qwen3-8B / Qwen3-32B benchmarks report one verification replay at **0.85%–8.42%** of generation time for outputs of **1,024–8,192 tokens**. A separate Qwen2.5-7B experiment reports **three replay passes combined at 1.9%–14.8%**, with output fixed at **1,000 tokens**. These configuration-dependent timing results are not measurements of total online-service cost (§6).
|
|
|
|
|
|
|
|
|
|
|
|
|
| 39 |
|
| 40 |
**Keywords:** execution verification; logprob fingerprint; majority consensus; commit–reveal; VRF; Mixture-of-Experts; routed experts; vLLM; decentralized inference
|
| 41 |
|
|
|
|
| 85 |
rank—**with no token-by-token decoding.**
|
| 86 |
|
| 87 |
This demotes “verification” from “replaying generation” to “one
|
| 88 |
+
forward pass,” reducing measured compute time in the evaluated long-output configurations (§6). On top of
|
| 89 |
that, LMCV uses cryptographic commitments, random selection, and majority consensus to turn it into
|
| 90 |
a collusion-resistant, settleable, auditable protocol (§3–§5).
|
| 91 |
|
|
|
|
| 105 |
structural criterion based on routed experts—in particular the **layer-0 routing
|
| 106 |
fingerprint**—with an explanation of why layer 0 has a higher signal-to-noise ratio
|
| 107 |
than all-layer aggregation (§5).
|
| 108 |
+
4. **Cost and empirics.** Separate compute-time results for one Qwen3 verification replay and three Qwen2.5-7B replay passes, with their model, output-length and measurement boundaries stated explicitly (§6), plus dense/MoE, cross-GPU evidence for fingerprint separability and stability (§7).
|
|
|
|
|
|
|
|
|
|
| 109 |
5. **Security analysis.** Resistance to model substitution, quantization
|
| 110 |
substitution, probability forgery, verifier copying, and collusion—and the boundaries of
|
| 111 |
those guarantees (§8).
|
|
|
|
| 465 |
| 2048 / 4096 | 73.04 | 0.819 | **89.2×** |
|
| 466 |
| 1024 / 4096 | 72.24 | 0.691 | **104.6×** |
|
| 467 |
|
| 468 |
+
For output=1, the reported worker/verifier ratio is 0.62–0.82: verification can take longer than generation. The representative rows above do not define a universal verification ratio.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 469 |
|
| 470 |
+
Across the published **Qwen3-8B / Qwen3-32B** timing tables, restricted to outputs of **1,024–8,192 tokens**, one replay takes approximately **0.85%–8.42%** of generation time. The models were measured on an RTX 4090 and an H100 NVL, respectively. See the [benchmark report](https://github.com/TrueOpen/lmcv-experiments/blob/main/experiments/worker-verifier-latency/reports/worker_verifier_latency_benchmark_report.md) and [whitepaper §3.1.5](https://www.trueopen.ai/docs/whitepaper/#315-verification-cost-and-scope).
|
| 471 |
+
|
| 472 |
+
A **separate Qwen2.5-7B** experiment reports **1.9%–14.8%** for **three replay passes combined**, calculated as `3 × tf_full / gen`, with output fixed at **1,000 tokens** and input lengths of 50–8,000 tokens. It used FP16, batch size 1, vLLM 0.20.1 and one RTX PRO 6000 Blackwell (96 GB). See the [7B experiment report](https://www.trueopen.ai/docs/verification-cost-7b/). This range is not obtained by multiplying the Qwen3 ratios by three.
|
| 473 |
+
|
| 474 |
+
> **Measurement scope.** Both results concern compute time under their respective configurations. Neither includes networking, gas, queuing, evidence handling or settlement costs. Three replay passes do not establish an end-to-end service running on three independent nodes. Continuous batching and production scheduling may change the ratios; production total cost and throughput must be measured separately.
|
| 475 |
|
| 476 |
## 7. Empirical Evaluation
|
| 477 |
|
|
|
|
| 594 |
## 9. Discussion and Related Work
|
| 595 |
|
| 596 |
LMCV sits between replay-based verification and cryptographic proof: versus full recomputation it
|
| 597 |
+
reduces measured compute time in the evaluated long-output configurations (§6); versus zkML / verifiable computation it offers no cryptographic soundness but
|
| 598 |
adds almost no proving overhead, making it suitable as a *first-layer* verification for
|
| 599 |
cost- and throughput-sensitive open inference networks. The two are complementary within TrueOpen:
|
| 600 |
fixed-point-compliant quantized models can take the cryptographic-proof layered random verification
|
|
|
|
| 665 |
dense logprob fingerprint is narrow and cross-GPU-stable with sharp separation of quantized and
|
| 666 |
smaller models, allowing a direct hard decision; MoE cannot be hard-decided by logprob alone due to
|
| 667 |
sparse heavy tails, but the layer-0 routed-experts fingerprint provides a cross-GPU-stable structural
|
| 668 |
+
criterion. On compute time, the Qwen3-8B / Qwen3-32B results show one replay at 0.85%–8.42% of generation time for outputs of 1,024–8,192 tokens. The separate Qwen2.5-7B experiment shows three replay passes combined at 1.9%–14.8% with output fixed at 1,000 tokens. These measurements support further evaluation of verification overhead; they do not establish production total cost or the economics of a deployed three-node service.
|
|
|
|
|
|
|
| 669 |
|
| 670 |
Worker–verifier verification should therefore be designed by architecture:
|
| 671 |
**dense relies primarily on the logprob fingerprint; MoE relies primarily on the layer-0
|