Cpu matrix accelerators boost private data retrieval speeds drastically

High-Throughput Private Information Retrieval with on-CPU Accelerators

Operating SystemsCryptography and SecurityDatabases

Summary

When people want to look up data without letting anyone know what they searched for, private information retrieval (PIR) methods are used. The authors found a way to make PIR run much faster on regular computer processors by using special built-in matrix math features called Intel AMX. Their system, AltoPIR, processes many queries at once efficiently without needing extra hardware like GPUs. This lets it handle bigger databases quicker than older CPU-based methods.

What this means in practice

  • For cloud service providers: Run privacy-preserving data queries faster on existing CPU infrastructure without buying GPUs, enabling cost-effective scalable data privacy.
  • For secure database engineers: Build systems that handle large private database queries more efficiently by using CPU matrix accelerators to batch queries with low overhead.

Authors

Gyuyeong Kim

Abstract

Private information retrieval (PIR) hides which record a client retrieves by scanning the entire database, and batching is an effective technique to improve throughput by sharing this scan across queries. However, existing CPU-based solutions gain little from batching because each query still requires its own multiplications, and vector instructions perform only a few at a time. GPUs and other discrete accelerators can accelerate these computations, but require extra hardware and can constrain database size due to their limited memory capacity. In this paper, we present AltoPIR, the first PIR system that leverages on-CPU matrix accelerators such as Intel AMX. AltoPIR keeps the accelerator fed from the CPU caches, reading each database byte from memory once for all queries in a batch and never writing intermediate products to memory. This enables high-performance PIR through efficient batching without requiring discrete accelerators. Our evaluation shows that AltoPIR achieves up to 50.1x higher throughput than existing CPU-based solutions and serves databases larger than a GPU's memory.