Learn · CERN

Talk29 min

A Reconfigurable FPGA-Based ML Library for Kernel Methods

Yousef Alnaser · CERN

Watch At CERN

About

Kernel methods are fundamental in machine learning. They excel in regression, classification, and dimensionality reduction. They model nonlinear relationships and are widely used in many fields such as in face recognition, wind forecasting, and molecular energy estimation. However, their reliance on a kernel matrix leads to quadratic complexity in computation and storage, which makes large-scale datasets challenging. We propose an FPGA-accelerated library with high parallelism and efficient data movement. The library is accessed from Python via PYNQ with a plug-and-play solution without requiring hardware expertise. It currently supports Kernel Ridge Regression and Gaussian Processes. Five kernel functions are supported, with Partial Reconfiguration to switch between them. We achieve 30x speedup compared to Python libraries on a Kria SOM. Future work includes extending support to other kernel methods, and heterogeneous FPGA architectures like AMD Versal, with more advanced kernels..

0:00:00 Slide 1

0:02:07 Slide 2

0:03:37 Slide 3

0:05:03 Slide 4

0:07:09 Slide 5

0:09:08 Slide 6

0:10:20 Slide 7

0:11:49 Slide 8

0:13:11 Slide 9

0:15:26 Slide 10

0:18:13 Slide 11

The talk

  1. A Reconfigurable FPGA-Based ML Library for Kernel Methods 2025-05-21 · 29 min · CERN's player

Credits and licence

Institution
CERN
Department
FPGA Developers' Forum (FDF)
Speaker
Yousef Alnaser
Year
2025
Language
English
Source
CERN
Licence
CERN, as CERN states it. CERN's terms
Attribution
© CERN. CERN provides its audiovisual media free of charge for educational and informational use, credited to CERN; this lecture is shown in CERN's own player.
Who can watch
CERN gives no rating. Invisible Network shows it to Teens profiles and older, judged from what the source says about it. How courses are placed