Vectorized Falcon-Sign Implementations using SSE2, AVX2, AVX-512F, NEON, and RVV
Vectorizes Falcon's BaseSampler and FFT/iFFT across SSE2, AVX2, AVX-512F, NEON, RVV and RV64 to speed up Falcon signature generation.
Schemes: Falcon, Falcon-512, Falcon-1024
Findings (quotes checked against the source text)
-
Vectorized BaseSampler yields an 8.4x speedup over prior work on AVX2, and BaseSampler can take up to 30% of Falcon signing time.
The BaseSampler accounts for up to 30% of the time required for signature generation, making it a significant performance bottleneck.
-
On RISC-V Vector, a strided load/store FFT method with 4+4 and 4+5 layer merging gives over 4x speedup.
For the RVV implementation, we introduce a new method using strided load/store instructions, with 4+4 and 4+5 layer merging strategies for Falcon-512 and Falcon-1024, respectively, resulting in a speedup of more than 4×.
-
End-to-end Falcon-512 signing improves by 23% on AVX2, 36% on AVX-512F, and 59% on RV64GCVB.
For instance, our AVX2, AVX-512F, and RV64GCVB implementations achieve performance improvements of 23%, 36%, and 59%, respectively, for signature generation of Falcon-512.
-
Falcon is NTRU-based and signature generation is slower than verification, making signing the performance bottleneck.
Compared to verification, the signature generation of Falcon is relatively slow.
Numbers (as extracted, not quote-checked)
- AVX2 BaseSampler speedup over prior work: 8.4x
- BaseSampler share of Falcon signing time: up to 30%
- RVV FFT speedup: more than 4x
- Falcon-512 signing improvement on AVX2 / AVX-512F / RV64GCVB: 23% / 36% / 59%
For builders
If you deploy Falcon on a chain, vectorized BaseSampler and FFT kernels materially cut signing cost on x86 and RISC-V validators, while verification is already fast.
Limits
Abstract-only summary; full text was not read. Speedups are against the authors' stated baselines, and signing-side constant-time and side-channel properties are not evaluated here.