Reproduce “Generating One-Hot Maps under Encryption” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Ehud Aharoni, Nir Drucker, Eyal Kushnir, Ramy Masalha, Hayim Shaul

Researchers at IBM Research - Israel propose and evaluate various input representations and conversion algorithms for generating one-hot maps under homomorphic encryption. This work provides designers with methods to efficiently manage one-hot maps, addressing practical bandwidth and latency overheads in privacy-preserving machine learning.

Key insights

  • A fundamental trade-off exists between bandwidth (client cost) and latency (server computation cost) for generating one-hot maps under encryption, with no single representation being optimal for all application requirements.
  • The proposed CRT and Hierarchical CRT representations offer practical intermediate solutions, providing a balance between bandwidth efficiency and conversion latency while maintaining high accuracy (virtually zero error).
  • Optimized tree-based algorithms (Algorithms 1 and 2) can outperform direct polynomial approximation (Eq operator) for numeric-to-one-hot conversion for certain category sizes, but require overflow mitigation strategies like the "shadow tree" for larger input ranges.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.