Efficient Ranking, Order Statistics, and Sorting under CKKS
summary
Presents an algorithmic redesign for ranking, order-statistics, and sorting under CKKS that replaces swap-based methods with a SIMD re-encoding so one comparison reveals all pairwise relations, achieving a comparison depth of 2 and costing only O(log N) homomorphic rotations. Reports concrete timings: rank 128 elements in 5.76s, argmin/argmax in 12.83s, sort 128 elements in 78.64s. Fits in one ciphertext up to sqrt(slots); multi-ciphertext mode scales with parallel cores.
AI-written summary · about
chapters (9)
- 0:00Homomorphic encryption and CKKS
- 1:59CKKS operations and comparison
- 4:06Plaintext limits under CKKS
- 5:51Reduce comparison depth
- 6:54Encrypted matrices in CKKS
- 8:19Ranking algorithm implementation
- 11:56Vector size limits in CKKS
- 13:23Performance comparison
- 14:26Real-world use cases
related talks
01h 06mAlgorithms for the k-List Problems
52mFaster, Smaller, Weaker, Darker
57mAlgorithms for Lattice Problems, in Practice
01h 08mCryptography from Ideal Lattices
20mBenchmarking RISC-V Post-Quantum
52mAn LLL Algorithm for Module Lattices
57mEssentially Optimal Interactive Certificates in Linear Algebra
41mReducibility and Statistical-Computational Gaps from Secret Leakage
