DOI QR코드

DOI QR Code

Optimizing FPGA-based CNN Accelerators over Homomorphically Encrypted Data: Based on Survey

동형암호 CNN 가속기의 FPGA 최적화 디자인 설계 연구

  • Yunji Lee (Dept. of Electrical and Computer Engineering (ECE) and Inter-University Semiconductor Research Center (ISRC), Seoul National University) ;
  • Yongseok Lee (Dept. of Electrical and Computer Engineering (ECE) and Inter-University Semiconductor Research Center (ISRC), Seoul National University) ;
  • Yunheung Paek (Dept. of Electrical and Computer Engineering (ECE) and Inter-University Semiconductor Research Center (ISRC), Seoul National University)
  • 이윤지 (서울대학교 전기정보공학부, 서울대학교 반도체 공동연구소) ;
  • 이용석 (서울대학교 전기정보공학부, 서울대학교 반도체 공동연구소) ;
  • 백윤흥 (서울대학교 전기정보공학부, 서울대학교 반도체 공동연구소)
  • Published : 2025.05.29

Abstract

동형암호는 암호화된 상태에서도 연산을 수행할 수 있는 암호이다. 양자컴퓨터 시대가 눈앞에 도래한 지금 양자컴퓨터에도 안전한 격자 문제에 기반을 둔 동형암호가 적용될 수 있는 분야는 무궁무진하다. 특히 최근 AI 의 발전에 따라 프라이버시 문제가 더욱 쟁점이 되고 있는데, 이를 해결하기 위해 등장한 프라이버시 보존 머신 러닝 기술 중 대표적인 것이 동형암호를 이용해 CNN(Convolution Nueral Network)의 추론을 구현하는 것이다. 이 논문에서는 CryptoNets 를 시작으로 HE-CNN 기술의 발전 흐름에 대해 소개하고, FPGA 등 하드웨어 가속 기술을 바탕으로 기존에 적용된 설계 프로세스를 개선한 새로운 디자인 프로세스를 제안한다. 특히 동형암호의 level 변화(연산 횟수 판단)를 고려한 유연성 있는 설계를 위해 다양한 병렬성 파라미터를 도입하고, DSE 로 자원을 최적 분배함으로써 기존보다 더 빠르고 자원 효율적인 가속기를 구현하는 방법을 탐구한다.

Keywords

Acknowledgement

이 논문은 2025 년도 정부(과학기술정보통신부)의 재원으로 한국연구재단의 지원을 받아 수행되었으며(No.RS-2023-00277326, 비수학적 접근법 중심의 암호화된 신경망 데이터 영오차 처리 기술), 정부(과학기술정보통신부)의 재원으로 정보통신기획평가원의 지원을 받아 수행되고(No.RS-2024-00438729, 익명화된 기밀실행을 이용한 전주기적 데이터 프라이버시 보호 기술 개발), 정부(과학기술정보통신부)의 재원으로 정보통신기획평가원의 지원을 받아 수행되었으며(No.RS-2023-00277060, 개방형 엣지 AI 반도체 설계 및 SW 플랫폼 기술개발), 정부(과학기술정보통신부)의 재원으로 정보통신기획평가원의 지원을 받아 수행된 연구이며(No.2021-0-00528, 하드웨어 중심 신뢰계산기반과 분산 데이터보호박스를 위한 표준 프로토콜 개발), 정부(과학기술정보통신부)의 재원으로 정보통신기획평가원의 지원을 받아 수행된 연구임(IITP-2023-RS-2023-00256081). 그리고 2025 년도 BK21 FOUR 정보기술 미래인재교육연구단에 의하여 지원되었으며, 본 연구는 반도체 공동연구소 지원의 결과물임을 밝힙니다.

References

  1. Craig Gentry. "Fully Homomorphic Encryption Using Ideal Lattices." Proceedings of the forty-first annual ACM symposium on Theory of computing, 2009.
  2. Cheon Jung Hee, Kim Andrey, Kim Miran, Song Yongsoo. "Homomorphic Encryption for Arithmetic of Approximate Numbers." ASIACRYPT, 2017.
  3. R. Gilad-Bachrach, N. Dowlin, K. Laine, K. Lauter, M. Naehrig, J. Wernsing. "Cryptonets: Applying neural networks to encrypted data with high throughput and accuracy." International conference on machine learning. PMLR, 2016.
  4. A. Brutzkus, R. Gilad-Bachrach, O. Elisha. "Low latency privacy preserving inference." International Conference on Machine Learning. PMLR, 2019.
  5. M. S. Riazi, K. Laine, B. Pelton, W. Dai. "Heax: An architecture for computing on encrypted data." 25th International conference on architectural support for programming languages and operating systems, 2020.
  6. M. Han, Y. Zhu, Q. Lou, Z. Zhou, S. Guo, L. Ju. "coxhe: A software hardware co-design framework for fpga acceleration of homomorphic computation." Design, Automation & Test in Europe Conference & Exhibition (DATE). IEEE, 2022.
  7. Y. Zhu, X. Wang, L. Ju, S. Guo. "Fxhenn: Fpga-based acceleration framework for homomorphic encrypted cnn inference." IEEE International Symposium on High-Performance Computer Architecture (HPCA). IEEE, 2023.
  8. Q. Lou, W.-j. Lu, C. Hong, L. Jiang. "Falcon: Fast spectral inference on encrypted data." Advances in Neural Information Processing Systems, vol. 33, 2020.
  9. A. Al Badawi, C. Jin, J. Lin, C. F. Mun, S. J. Jie, B. H. M. Tan, X. Nan, K. M. M. Aung, V. R. Chandrasekhar. "Towards the alexnet moment for homomorphic encryption: Hcnn, the first homomorphic cnn on encrypted data with gpus." IEEE Transactions on Emerging Topics in Computing, vol. 9, no. 3, 2020.