Ironman: Accelerating Oblivious Transfer Extension for Privacy-Preserving AI with Near-Memory Processing

Chenqi Lin, Kang Yang, Tianshi Xu, Ling Liang, Yufei Wang, Zhaohui Chen, Runsheng Wang, Mingyu Gao, Meng LiarXiv 2025 · DOI

Introduction

Privacy-Preserving Machine Learning (PPML) enables the execution of AI models on encrypted data, protecting sensitive user information. While linear operations like matrix multiplication can be efficiently offloaded to GPUs, nonlinear functions such as ReLU and Softmax rely on a cryptographic primitive known as Oblivious Transfer (OT). As PPML frameworks evolve, OT has emerged as the primary performance bottleneck, often overshadowing the computation time of the neural network layers themselves.

The OT Bottleneck in Modern PPML

Modern PPML frameworks utilize PCG-style OT Extension (OTE) to generate the vast quantities of OT correlations required for nonlinear operations. Analysis of state-of-the-art frameworks like CrypTFlow2, Cheetah, and Bolt reveals that OTE accounts for 51% to 69% of total execution time across various models, including ResNet and GPT-2.

Figure 1(a): Breakdown of execution time across different PPML frameworks and models, highlighting the dominance of OT Extension.

OTE is composed of two distinct tasks with conflicting resource requirements:

  1. SPCOT: A computation-intensive task involving the construction of "GGM trees."
  2. LPN: A memory-intensive task characterized by irregular, random access to large vectors.

General-purpose CPUs struggle with the massive parallel bit-manipulation required for SPCOT, while standard memory hierarchies are inefficient at handling the random access patterns inherent in LPN operations.

Ironman: Hardware-Software Co-Design

Ironman addresses these challenges through a specialized Near-Memory Processing (NMP) architecture and cryptographic co-optimization. By placing accelerator logic directly on the DIMM buffer chip, Ironman bypasses the traditional CPU-memory bottleneck.

Architectural Innovations

  • Algorithm Co-Optimization: Ironman replaces the standard binary tree expansion with a hardware-aware 4-ary GGM tree. Furthermore, it switches from AES to the ChaCha8 PRG. While CPUs favor AES due to specialized instructions (AES-NI), ChaCha8 is more area-efficient in custom hardware and generates longer output blocks, reducing the total number of operation calls by 6x when paired with $m$-ary trees.
  • Memory-Side Intelligence: To resolve the LPN memory bottleneck, Ironman employs an offline index sorting phase. This transforms irregular DRAM accesses into sequential, cache-friendly patterns. As shown in the performance analysis, this shift is critical because LPN is fundamentally memory-bound, while SPCOT is compute-bound.
Figure 1(c): Roofline analysis showing LPN operations are memory-bound while SPCOT operations are computation-bound.

Key Results and Evaluation

Ironman was evaluated against a suite of standard AI models, including CNNs (MobileNetV2, ResNet) and Transformers (BERT, GPT-2). The results demonstrate a transformative impact on PPML performance:

  • Throughput: Ironman achieves a 39.2x to 237.4x increase in OT throughput compared to optimized multi-threaded CPU implementations.
  • End-to-End Latency: Secure inference for complete models is accelerated by 2.1x to 3.4x. For instance, the latency of a secure GPT2-Large inference is significantly reduced from its original 2300-second baseline.
  • Efficiency: Ironman provides an 84.5x reduction in power consumption compared to high-end GPUs (e.g., NVIDIA A6000) running the same protocols, with a minimal hardware footprint of approximately 1.48–2.99 $mm^2$ per DIMM.

Conclusion

Ironman demonstrates that the path to practical privacy-preserving AI lies in specialized hardware that targets cryptographic primitives. By co-optimizing algorithms with a near-memory architecture, Ironman effectively mitigates the OT bottleneck. As computation and memory access become highly optimized, future research must now address the emerging bottleneck: network communication, particularly in wide-area network (WAN) deployments.

Summary updated

BibTeX
@misc{lin2025ironman,
  author = {Chenqi Lin and Kang Yang and Tianshi Xu and Ling Liang and Yufei Wang and Zhaohui Chen and Runsheng Wang and Mingyu Gao and Meng Li},
  title = {{Ironman: Accelerating Oblivious Transfer Extension for Privacy-Preserving AI with Near-Memory Processing}},
  year = {2025},
  eprint = {2507.16391},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2507.16391},
}
Figure