Optimized matrix permutations cut HE sparse MV diagonal count 5.5× on average
The proposed ordering heuristics and dense elimination reduce the number of cyclic diagonals and encrypted multiplication cost dramatically.
Crypto & theory arXiv 6 Apr 2026 Method Prototype evidence
Published as “Packing Entries to Diagonals for Homomorphic Sparse-Matrix Vector Multiplication”
Why it matters
Practitioners can substantially lower homomorphic SpMV latency by reordering matrices and eliminating dense rows/columns before encryption.
Summary
The authors achieve a 5.5× average reduction (up to 45.6× for a single matrix) in the number of non-empty cyclic diagonals, which translates into near-proportional speedups for homomorphic SpMV; dense-row/column elimination can further boost encrypted multiplication speed by 23.7× (versus only 1.9× without it), based on experiments on 175 SuiteSparse matrices, though the benefit depends on matrix structure.
What they found 2
- Average diagonal count reduction of 5.5× (maximum 45.6×) across 175 matrices.
“reduce the diagonal count by 5.5× on average (45.6× for one instance).”
- Dense row/column elimination can increase encrypted multiplication speed by 23.7×, compared to only 1.9× without elimination.
“the additional elimination helped to reduce the encrypted multiplication cost by 23.7× whereas without elimination, the improvement was only 1.9×.”
Caveats 3
- The permutation techniques alone are sometimes insufficient, requiring dense row/column elimination to achieve large speedups.
- When n > S, however, a single diagonal no longer fits into one ciphertext and must be split across ⌈n/S⌉ ciphertexts. Hence, for large n, minimizing the number of diagonals is not identical to minimizing the exact number of ciphertext vectors.
- the dense row/column elimination approach can be useful for cases where the proposed permutation techniques are not sufficient; for instance, in one case, the additional elimination helped to reduce the encrypted multiplication cost by 23.7× whereas without elimination, the improvement was only 1.9×.
What’s new here 4
- Formulation of the two-dimensional diagonal packing problem (2DPP) specific to Halevi-Shoup style homomorphic SpMV.
- Integer-programming model for optimal diagonal packing on small matrices.
- Practical heuristics combining graph-based orderings (RCM, anti-bandwidth, spectral) with 2OPT/3OPT iterative improvement.
- Dense row/column elimination strategy guided by an HE-aware cost model.