Code-Based Cryptography for Confidential Inference on FPGAs: An End-to-End Methodology

Rupesh Raj Karn, Johann Knechtel, Ozgur Sinanoglu

Research output: Chapter in Book/Report/Conference proceedingConference contribution

Abstract

Confidential inference (CI) involves leveraging data encryption to safeguard privacy while allowing inference on encrypted data. Various cryptographic methods, such as homomorphic encryption or order-preserving encryption (OPE), are commonly employed for CI. In this work, we inspect the validity and efficiency of code-based cryptography for CI in FPGAs for the case of an ensemble of decision trees called the random forest (RF) machine learning (ML) model. FPGAs are an excellent platform for accelerating ML inference because of their low-latency performance, power efficiency, and high reconfigurability. However, creating hardware descriptions for encrypted ML models can pose challenges, especially for ML developers unfamiliar with hardware description languages. Thus, we propose an end-to-end methodology that includes high-level synthesis for ease of ML accelerator implementation on FPGAs. Additionally, we introduce variants of lightweight OPE tailored for CI in RFs. The successful and efficient implementation has been demonstrated using the Jet and MNIST datasets on the Xilinx Artix-7 FPGA.

Original languageEnglish (US)
Title of host publicationProceedings of the 25th International Symposium on Quality Electronic Design, ISQED 2024
PublisherIEEE Computer Society
ISBN (Electronic)9798350309270
DOIs
StatePublished - 2024
Event25th International Symposium on Quality Electronic Design, ISQED 2024 - Hybrid, San Francisco, United States
Duration: Apr 3 2024Apr 5 2024

Publication series

NameProceedings - International Symposium on Quality Electronic Design, ISQED
ISSN (Print)1948-3287
ISSN (Electronic)1948-3295

Conference

Conference25th International Symposium on Quality Electronic Design, ISQED 2024
Country/TerritoryUnited States
CityHybrid, San Francisco
Period4/3/244/5/24

Keywords

  • Confidential Inference
  • FPGA
  • HQC
  • ML Accelerator
  • McEliece
  • Order-preserving Cryptography
  • Random Forest

ASJC Scopus subject areas

  • Hardware and Architecture
  • Electrical and Electronic Engineering
  • Safety, Risk, Reliability and Quality

Fingerprint

Dive into the research topics of 'Code-Based Cryptography for Confidential Inference on FPGAs: An End-to-End Methodology'. Together they form a unique fingerprint.

Cite this