← Back to Home

Dense Model Verification

Worker-Verifier model identity experiments using log probabilities on different GPU models and devices.

Download the Report PDF · 235 KB Download the Source Data CSV + JSON · ZIP · 195 KB All Papers & Experiments

CitationThese experiments, figures and data files are published by the TrueOpen.ai team. When citing or redistributing them, in whole or in part, state that the source is the TrueOpen.ai team and link to www.trueopen.ai. The same requirement is repeated in the download bundle's README, in CITATION.txt, and in the header of every CSV file.

Worker-Verifier Method

Worker Evidence

The worker performs normal decode generation and records the following evidence:

input_ids
output_ids
worker_selected_logprob[d]
worker_selected_rank[d]
worker_topk_logprobs[d]

Here, d is the output token depth. The worker generation stage can use greedy decoding or sampling. In the main experiments, we use:

temperature = 0.0
top_p = 1.0
top_k = 0
max_new_tokens = 128

Verifier Replay

The verifier does not regenerate text. Instead, it fixes the path submitted by the worker:

full_prompt_ids = input_ids + output_ids

It then uses vLLM prompt logprobs to perform full-prefill replay. For output token output_ids[d], the verifier alignment position is:

prompt_pos = len(input_ids) + d

Therefore, the comparison is between the model distributions produced by the worker and verifier on the exact same token path, rather than a text similarity comparison between two freely generated outputs.

Logprob Metrics

This paper mainly uses the following metrics:

Metric Meaning
abs_logprob_diff abs(worker_selected_logprob - verifier_selected_logprob)
p95/p99/p999 Percentiles of abs_logprob_diff
rank_delta_rate Fraction of selected tokens whose rank changes
topk_jaccard Jaccard overlap between worker/verifier top-k token sets
union_js Jensen-Shannon divergence over the top-k union
missing_selected_count Number of worker selected tokens not returned by the verifier logprobs

It is important to emphasize that these experiments compare selected/top-k logprobs exposed by vLLM, not full-vocabulary raw logits.

Dense Model Experiments

For dense models, the GPU comparison is mainly in the logprob verifier dimension: Qwen3-32B covers 6000ws and H100 NVL verifiers, while Qwen3-8B covers 4090 and L4 verifiers. Therefore, the dense-model conclusion compares not only model and quantization differences, but also whether the same-model logprob baseline remains stable across GPUs.

Qwen3-32B Setup

The Qwen3-32B dense experiment uses 300 prompts covering the following input token buckets:

32, 128, 512, 2048, 8192, 16384

Each bucket has 50 prompts. The worker is:

Qwen/Qwen3-32B BF16
GPU: 6000ws
backend: vLLM 0.23.0
batch size: 8
logprobs: 64
output rows: 36882

The verifiers cover:

Qwen3-32B Results

verifier GPU verifier model quant mean p95 p99 p999 rank_delta_rate jaccard p05 union_js p99
6000ws Qwen3-32B BF16 0.0102 0.0598 0.1167 0.2478 0.0081 0.8824 0.0035
H100 NVL Qwen3-32B BF16 0.0099 0.0583 0.1140 0.2243 0.0070 0.8824 0.0033
6000ws Qwen3-32B-FP8 FP8 0.0268 0.1370 0.2997 0.7665 0.0205 0.7067 0.0217
H100 NVL Qwen3-32B-FP8 FP8 0.0354 0.1847 0.4021 1.0112 0.0271 0.6410 0.0336
6000ws Qwen3-32B-AWQ AWQ 0.0671 0.3365 0.7962 2.2053 0.0478 0.5238 0.0921
6000ws Qwen3-14B BF16 0.2608 1.3907 3.9261 8.1296 0.1165 0.3061 0.4250
6000ws Qwen3-8B BF16 0.3749 2.0618 5.8105 11.6767 0.1402 0.2549 0.5189

Using 6000ws worker -> 6000ws Qwen3-32B BF16 verifier as the baseline:

challenger p99 ratio p999 ratio rank_delta ratio
Qwen3-32B-FP8 2.57x 3.09x 2.54x
Qwen3-32B-AWQ 6.82x 8.90x 5.92x
Qwen3-14B 33.63x 32.81x 14.42x
Qwen3-8B 49.77x 47.12x 17.35x

The results show that same-model BF16 forms a narrow valid drift envelope on both 6000ws and H100 NVL. FP8 already deviates significantly, while AWQ and smaller models deviate even more strongly. Therefore, for dense models such as Qwen3-32B, selected/top-k logprob traces form an effective model identity fingerprint.

Qwen3-8B Results

The Qwen3-8B experiment uses 200 prompts covering the following input buckets:

32, 128, 512, 2048

The worker is Qwen3-8B BF16 on a 4090 GPU. The verifiers cover 4090 and L4, and include Qwen3-8B BF16, Qwen3-8B-FP8, Qwen3-8B-AWQ, and Qwen2/Qwen2.5-7B models.

verifier GPU verifier model quant runs mean p99 mean abs diff mean rank_delta mean union_js_p99
4090 Qwen3-8B BF16 4 0.1018 0.0081 0.0060 0.0028
L4 Qwen3-8B BF16 3 0.1033 0.0090 0.0071 0.0033
4090 Qwen3-8B-FP8 FP8 3 0.3123 0.0290 0.0191 0.0229
L4 Qwen3-8B-FP8 FP8 3 0.3065 0.0273 0.0192 0.0225
4090 Qwen3-8B-AWQ AWQ 2 1.1339 0.0800 0.0494 0.1436
L4 Qwen3-8B-AWQ AWQ 3 1.1358 0.0799 0.0495 0.1431
4090 Qwen2.5-7B BF16 2 5.8311 0.5703 0.1954 0.6279
4090 Qwen2-7B BF16 2 6.3173 0.6087 0.2036 0.6281

The Qwen3-8B results further confirm that dense models have a narrow same-model BF16 baseline, small cross-GPU differences, and clear deviations for FP8/AWQ/other models. Based on these results, reasonably clear batch-level pass/reject thresholds can be defined, for example:

BF16 pass:
mean_abs_logprob_diff <= 0.015
p95_abs_logprob_diff <= 0.090
p99_abs_logprob_diff <= 0.200
rank_delta_rate <= 0.012
topk_jaccard_mean >= 0.940
union_js_p99 <= 0.012

Reject:
mean_abs_logprob_diff > 0.020
p95_abs_logprob_diff > 0.120
p99_abs_logprob_diff > 0.250
rank_delta_rate > 0.030
topk_jaccard_mean < 0.920
union_js_p99 > 0.020

Limitations

  1. The logprob experiments use selected/top-k logprobs exposed by vLLM, not full-vocabulary raw logits.
  2. The output length limit is mainly 128 tokens; long-output settings require separate calibration.
  3. The main Dense 32B experiment uses 6000ws worker evidence and does not cover every worker/verifier direction.
  4. MoE logprobs already fail to form a clean and robust decision boundary in the same-GPU setting, so cross-GPU logprob verification is not a key missing experiment required for the paper's conclusion. MoE cross-GPU stability should mainly be verified through routed_experts, especially the layer-0 route fingerprint.
  5. routed_experts experiments already cover 6000ws/H100 cross-GPU comparisons. For production deployment, the vLLM version, prefix cache, batching policy, and routed_experts return format should still be fixed or calibrated.
  6. This paper studies statistical identity verification, not a cryptographic proof.