cd /news/ai-chips/software-pipelining-the-number-theor… · home › topics › ai-chips › article
[ARTICLE · art-150113] src=eprint.iacr.org ↗ pub= topic=ai-chips verified=true sentiment=↑ positive

Software-Pipelining The Number Theoretic Transform on Neural Processing Units: A Loop-Fission Methodology

Researchers developed a loop-fission methodology that accelerates the number theoretic transform (NTT) on neural processing units, achieving 8.27x to 13.2x throughput speedups and 2.44x to 10.3x latency improvements per AIE tile on AMD's first-generation AI Engine architecture compared with prior work. The work constructs radix-2, radix-4, and radix-8 NTT implementations using efficient Barrett reduction primitives, supporting arbitrary NTT-friendly moduli and polynomial sizes up to degree 4096 for 14-bit moduli and 2048 for 30-bit moduli. The technique targets lattice-based post-quantum cryptography and fully homomorphic encryption workloads on NPUs, which the authors note remain largely unexplored for cryptographic acceleration.

by read1 min views5 publishedOct 14, 2026

Lattice-based post-quantum cryptography (PQC) and fully homomorphic encryption (FHE) rely heavily on the number theoretic transform (NTT) for efficient polynomial multiplication. While GPUs and FPGAs have been widely explored for NTT acceleration, neural processing units (NPUs), a rapidly growing class of AI accelerators, remain largely unexplored for cryptographic workloads. In this work, we develop a methodology for accelerating the NTT on NPUs, using AMD’s AI Engine (AIE) architecture as a representative NPU to develop and benchmark it. At its core is manual loop fission, in which large and complex loops are split into smaller primitives, enabling highly efficient software pipelining and avoiding memory stalls or register spilling. Applying it, we develop efficient Barrett reduction primitives and use these to construct three high-throughput, low-latency NTT implementations (radix-2, radix-4, and radix-8), achieving significant performance gains over the AIE compiler and prior literature. On AMD’s first-generation AIE specifically, we achieve speedups of $8.27\times$ to $13.2\times$ in throughput and $2.44\times$ to $10.3\times$ in latency per AIE tile in comparison with prior work. Our implementations support arbitrary NTT-friendly moduli and polynomial sizes up to degree 4096 for 14-bit moduli and 2048 for 30-bit moduli. Finally, we discuss the portability of our techniques to other NPU architectures, and identify which architectural features are most beneficial for NTT acceleration.

── more in #ai-chips 4 stories · sorted by recency
── more on @amd 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/software-pipelining-…] indexed:0 read:1min 2026-10-14 · —