RequantTESTNET
Requant research

Exact Finite-Field Arithmetic on INT8 and FP4 Tensor Cores

Abstract

A fast finite-field matrix product does not automatically make a faster dependent application. This study evaluates exact GF(13) block recurrences with changing state and equal matrix reuse for INT8 and FP4. Once the fixed matrix is cached on both paths, FP4 has no resident advantage in the tested recurrences. A separate batched reconstruction kernel helps small wider-prime products, but its memory cost and negligible larger-size gain favour keeping the streamed path as the general default.

This is the web edition of a completed experimental follow-up, with its original numerical tables, reproduction instructions and limitations. Read the baseline study for the earlier methods and results, and the completed source report for the retained repository edition. The experiments are from November 2026; this web edition was published on 15 November 2026. It is a Requant technical report, not a peer-reviewed publication or independent external replication.

Experimental report

This supplement resolves the GF(13) application-reuse and wider-field join questions from the historical report.

GF(13) block recurrence

The controlled application is X(t+1) = A X(t) mod 13, with a fixed dense matrix A and changing block vectors. It executes 8 or 32 dependent steps. Each step includes encoding the changing state, exact TensorCore multiplication, modular reconstruction and the transpose needed by the next step. Cached-A and reencoded-A paths are compared for both INT8 and FP4; no approximate result is accepted. Independent CPU modular products validate every final state. This is a block-Krylov workload, not a full Wiedemann solver.

Two matrix seeds, five warm-ups and thirty samples per case use alternating variant order. Captured device timing excludes setup; the separate offload path includes initial matrix/state upload and final state download. Plan/allocation and independent verification are outside the steady-state timing. Selected resident medians, milliseconds:

SeedNBlock columnsStepsINT8 reencode AINT8 cached AFP4 reencode AFP4 cached A
2026111225612880.07760.05900.08970.0796
20261112102425680.37980.21120.28990.2130
202611121024256321.48710.81451.14090.8307
2026121225612880.07740.05900.08980.0798
20261212102425680.37940.21100.29030.2133
202612121024256321.49000.81691.14150.8321

Caching A is useful. After that reuse is applied to both implementations, FP4 has no resident advantage in these tested complete recurrences: at N=1024 it is close to INT8, and at N=256 it is slower. A stand-alone small-field GEMM speedup therefore does not establish an application-level FP4 advantage. Some transfer-inclusive FP4 observations are lower because its input encoding is smaller; those are scope-specific results in the CSV, not evidence of faster dependent arithmetic.

Batched wider-field reconstruction

The added join kernel reduces all INT8 limb-product partials in one pass rather than launching a separate modular join per pair. It preserves the original accumulation bounds, reduces each partial modulo p before multiplying by its radix weight, and uses signed 64-bit intermediates within the established bounds. The cost is retaining all limb-pair partials instead of one reusable partial matrix. Exact independent CPU oracles check every output element at p=65521 and p=2013265921.

SeedNPrimeStreamed joinBatched joinStreamed partial MiBBatched partial MiB
20261112256655210.05280.04260.252.25
2026111225620132659210.10400.08350.254.00
202611121024655210.45670.45374.0036.00
20261112102420132659210.95270.94404.0064.00
20261212256655210.05270.04270.252.25
2026121225620132659210.10410.08360.254.00
202612121024655210.45750.45324.0036.00
20261212102420132659210.95250.94414.0064.00

Batching helps the small N=256 case by roughly one fifth. At N=1024 the resident gain is approximately one percent or less, while partial-buffer memory grows substantially. Use the batched form only when launch overhead matters and its memory cost is acceptable; this evidence does not justify replacing the streaming path for all sizes.

The full median/p95 table includes offload results. Run reuse_study.py and join_study.py, then repeat with seed 20261212 and --output results/reuse-replication.json / --output results/join-replication.json. Both use the same native modular plan and the pinned original library. python verify_followups.py checks all source bindings, exact-result flags, sample counts and memory accounting. The original artifact checks remain required.

Residue-number/extension-field constructions and production sparse solvers need distinct reconstruction and application designs. They are not inferred from these results. Hardware conclusions apply to the measured single RTX 5060 Ti, not heterogeneous multi-GPU execution or energy efficiency.

Server timing boundary

GPU campaigns run serially on the same RTX 5060 Ti. Clocks, power limits and unrelated server services are unchanged. Measurements describe this server and retained workload; small percentage differences are not treated as universal improvements. No energy measurement or heterogeneous multi-GPU throughput is inferred.

Cite this report

Requant. Exact Finite-Field Arithmetic on INT8 and FP4 Tensor Cores. Technical report, 15 November 2026. Canonical web edition. Experimental evidence revision: ca9950fcea5d. No DOI has been assigned.