OpenWoud: Vendor-Unlocked Scalable Adaptive Random Forest Accelerator
Organizations: ∗University of Twente, The Netherlands · †University of Rome Tor Vergata, Italy · ‡University of Paderborn, Germany
Abstract
Online Machine Learning (ML) enables real-time decision-making on evolving data streams. These dynamic models learn continuously to adapt to new concepts, as previous ones become invalid, but their performance is often limited by throughput. The Adaptive Random Forest (ARF) is a state-of-the-art model for this setting, which naturally exposes parallelism and is therefore well-suited for hardware acceleration. However, prior Field Programmable Gate Array (FPGA)-based accelerators are vendor-locked and rely on resource-hungry Floating-Point (FP) arithmetics, limiting their scalability and portability. We present OpenWoud, a vendor-unlocked ARF framework for FPGAs. Our design replaces FP operators with a flexible FiXed-Point (FxP) arithmetic library and introduces fully transparent, manually scheduled dataflows for training and drift detection. This enables fine-grained time/area trade-offs and predictable behavior across platforms. A comprehensive evaluation on both synthetic and real datasets shows that OpenWoud maintains or increases accuracy (up to +12.89%), compared to a prior FPGA accelerator, while reducing the resource utilization by half. Competitive performance is observed compared to GPU (0.5 - 1.5x speed-up) and an FPGA baseline (0.2 - 0.5x), despite the latter being based on idealized simulation. Crucially, OpenWoud sustains true sample-by-sample inference, unlike GPUs that require batch insertion.
Figures & tables
| General | Drift Detector | Training-Engine | ||||||||||||
| Dataset | ARF | Target | T | D | GP | W | M | GP | SS | |||||
| AGR | River | CPU | 64 | 9 | 0.001 | 0.00001 | 32 | 1000 | 5 | 0.05 | 0.05 | 16 | 10 | 1 |
| GSARF | GPU | 96 | 9 | 0.001 | 0.00001 | 32 | 10 | 5 | 0.002 | – | 16 | 10 | 1 | |
| Vitis | FPGA | 64 | 9 | 0.001 | 0.00001 | 32 | 5 | 5 | 0.05 | 0.05 | 16 | 10 | 1 | |
| OpenWoud | FPGA | 64 | 9 | 0.001 | 0.00001 | 32 | 1000 | 5 | 0.05 | 0.05 | 16 | 10 | 1 | |
| LED | River | CPU | 64 | 9 | 0.001 | 0.00001 | 32 | 1000 | 5 | 0.05 | 0.05 | 16 | 5 | 1 |
| Dataset | Type | Samples | Attributes | Classes |
| AGRAWAL | Synthetic | 1,000,000 | 82 | 2 |
| LED | Synthetic | 1,000,000 | 24 | 10 |
| COVTYPE | Real | 581,012 | 44 | 7 |
| KDD99 | Real | 494,020 | 24 | 23 |
| SET | MODEL | 6LUT (117120) | DFF (234240) | DSP (1248) | BRAM (144) | URAM (64) |
| AGR | OpenWoud | 87046 | 24761 | 143 | 112 | 0 |
| Vitis | 180974 | 109229 | 191 | 404 | 16 | |
| LED | OpenWoud | 83803 | 26709 | 155 | 112 | 0 |
| Vitis | 159825 | 120439 | 192 | 211 | 16 | |
| COV | OpenWoud | 107322 | 29349 | 150 | 112 | 0 |
| Vitis | 189813 | 140074 | 196 | 288 | 16 |
| SET | MODEL | Fab 4LUT | Fab DFF | Intf 4LUT | Intf DFF | Math | uSRAM | LSRAM |
| (254k) | (254k) | (254k) | (254k) | (784) | (2.4k) | (812) | ||
| AGR | T64 | 13,691 | 29,704 | 14,292 | 14,292 | 297 | 128 | 170 |
| LED | T64 | 123,572 | 31,424 | 14,616 | 14,616 | 297 | 128 | 179 |
| COV | T64 | 151,092 | 35,622 | 14,508 | 14,588 | 297 | 128 | 176 |
| KDD | T32 | 224,700 | 50,886 | 11,244 | 11,244 | 169 | 64 | 192 |
| Dataset | #Concepts | Drift Width | Accuracy [%] | Inference Time | OpenWoud Speed Up Factor | ||||||
| River (CPU) | GSARF (GPU) | Vitis (FPGA) | OpenWoud (FPGA) | GSARF | Vitis | OpenWoud | vs GSARF | vs Vitis | |||
| AGRAWAL | 2 | 1 | 86.45 0.26 | 79.04 1.84 | 83.21 0.06 | 86.69 0.46 | 16.11s | 9.1s | 25.9s | 0.6 | 0.4 |
| 2 | 25k | 83.87 0.21 | 80.17 1.08 | 75.67 0.24 | 85.24 0.46 | 22.66s | 9.33s | 24.26s | 0.9 | 0.4 | |
| 2 | 50k | 81.28 0.14 | 77.62 0.74 | 68.93 0.36 | 75.23 0.53 | 22.99s | 9.33s | 20.34s | 1.1 | 0.5 | |
| 3 | 1 | 87.31 0.24 | 74.4 3.07 | 77.62 0.34 | 88.99 0.22 | 16.43s | 9.12s | 25.92s | 0.6 | 0.4 | |
| 3 | 25k | 81.87 0.21 | 73.57 1.76 | 69.56 0.27 | 80.55 0.37 | 22.78s | 9.34s | 24.76s | 0.9 | 0.4 | |
FPGA Acceleration
FPGA acceleration uses reconfigurable logic to speed compute-intensive workloads with hardware tailored to their needs.
See all 37 papers