High-Throughput GPU Implementation of Dilithium Post-Quantum Digital Signature
Presents a GPU implementation of CRYSTALS-Dilithium using warp-level kernels, memory-pool batching, and dynamic task scheduling, reaching about 575k Dilithium2 signs/s on an A100.
Schemes: CRYSTALS-Dilithium, Dilithium2, Dilithium3, Dilithium5, SHAKE128, SHAKE256
Findings (quotes checked against the source text)
-
On an A100, the GPU implementation gives 64x-73x speedup for Gen, 111x-118x for Sign, and 69x-79x for Verify over the CPU reference across security levels.
Compared to the CPU baseline, our implementation achieves 64×-73× improvement for Gen,
-
Expected Dilithium signing repetitions (rejection-loop rounds) are 4.25, 5.1, and 3.85 for the three security levels, so batched signing is limited by the worst-case tasks.
The expected number of repetitions is 4.25, 5.1, and 3.85 for the three security levels, respectively.
-
Against the AVX2 implementation, the GPU version gives over 20x improvement at all security levels.
Furthermore, our implementation demonstrates over a 20× improvement compared to the AVX2 implementation across
-
The authors state their code was submitted as an attachment and that they plan to open-source the full project after acceptance.
The code of our implementation has been submitted in attachments.
-
The paper frames the work as a high-throughput GPU implementation of Dilithium for server-side batched workloads, not as a blockchain or consensus design.
In this work, we present a high-throughput GPU implementation of the Dilithium post-quantum digital signature scheme, significantly improving its performance.
Numbers (as extracted, not quote-checked)
- Dilithium2 sign throughput on A100 GPU: 575k operations per second
- Dilithium2 verify throughput on A100 GPU: 1409k operations per second
- Dilithium2 sign speedup vs single-thread CPU: 111x
- Dilithium2 verify speedup vs single-thread CPU: 69x
- Expected sign repetitions, Dilithium2: 4.25
- Expected sign repetitions, Dilithium3: 5.1
- Expected sign repetitions, Dilithium5: 3.85
- Batch of 10,000 tasks, signing time on GPUs: less than 32 milliseconds
For builders
If a validator or sequencer must batch many Dilithium verifications, the GPU batching and memory-pool techniques are the transferable part, but benchmark it on your own hardware before relying on these numbers.
Limits
Throughput is batched server-side on A100 and RTX 3090 Ti with 10 streams; single-signature latency, blockchain integration, and code availability are not established.