betaFeedback

WorksComputer Science

OpenWoud: Vendor-Unlocked Scalable Adaptive Random Forest Accelerator

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.

Introduction

Satellite jamming detection and network intrusion detection are applications that require immediate action on events that cause loss of communication [1] [2]. These are examples of evolving data streams, in which the environment changes partly or completely, invalidating the previously learned model. This phenomenon is known as concept drift. Traditional batch-based offline ML models, such as Convolutional Neural Networks (CNNs) [3] or transformers [4], are designed for static datasets and must re-train from scratch upon changes in the data. This introduces long delays that a real-time system cannot afford.

Online stream-based ML offers a dynamic alternative. The model learns continuously, by processing a single sample at a time, for which it returns a prediction and trains on the sample, to provide an updated model for the next prediction. A popular state-of-the-art algorithm for this classification task is the ARF [5] [6] [7]. It consists of an ensemble of fast decision trees that learn independently and intuitively require a parallel architecture to increase throughput. This makes the ARF well-suited to port to a hardware accelerator [8] [9]. However, existing FPGA-based accelerators face two major limitations.

First, they are vendor-locked to Xilinx FPGAs, preventing cross-vendor deployment. This is limiting because the design cannot exploit alternative fabric technologies—for example, vendors such as Microsemi offer flash-based FPGAs (as opposed to SRAM-based technology from Xilinx) that provide relatively low-cost, radiation-hardened devices for improved fault-resilience in aerospace applications (e.g., satellites). Second, they rely on FP-based arithmetics in dataflows, which consumes significant FPGA resources, limiting the scalability.

To address this, we present OpenWoud, a vendor-unlocked scalable ARF framework for FPGAs. OpenWoud replaces complex FP-based arithmetics (division, square root, natural logarithm) in the train and drift-detector dataflows with flexible FxP alternatives, enabling fine-grained time/area trade-offs. This design is scalable on two fronts: locally, through parameterized arithmetic operations; and globally, through hyperparameter tuning (e.g., tree count, depth and class count). Our quantitative evaluation (benchmark test) shows that OpenWoud maintains or increases accuracy (up to 12.89%), achieves competitive throughput, and reduces the area footprint by half. The contribution of this work is threefold:

  • We present a vendor-unlocked ARF accelerator, improving its usability without hindering its precision.

  • A flexible open-source FxP arithmetic library, with fine-grained control over precision and resource utilization.

  • We propose a scalable training and drift-detection dataflow architecture, which is fully transparent and uses manually derived, adjustable task schedules.

The remainder of this paper is organized as follows: Section II introduces the ARF and FPGA acceleration, while Section II-D covers existing accelerators. Section III describes the OpenWoud framework, its flexible FxP arithmetic library and scalable dataflows. Then Section IV details the implementation and hyperparameter alignment across models. Section V provides a comprehensive evaluation. Finally, Section VI concludes the paper.

Background

This section introduces the ARF and supporting concepts to efficiently map it onto an FPGA hardware accelerator.

Adaptive Random Forest

The ARF [5] is a state-of-the-art algorithm to learn efficiently from evolving data streams and handle concept drift. The algorithm consists of an ensemble of Very Fast Decision Trees (VFDTs) and a majority voter. VFDTs split nodes using the Hoeffding bound to determine when (in time) and the information gain to decide on what attribute, to learn efficiently from infinite streams [10]. However, a single VFDT is also prone to instability and easily biased. The ARF follows the Random Forest (RF) [11] to address this issue by combining the knowledge of the diverse ensemble of weak learners (trains each tree on a random subset of attributes), masking biased trees and causing the overall error to decrease. Specifically, two additional mechanisms are used to extend the RF for evolving data streams:

  1. Online bagging [12]: introduces randomness between trees (diversity) through effective re-sampling using weights generated with a Poisson distribution.

  2. Drift detector: pairs each tree with a concept drift detection mechanism, to sense and recover from environment changes. On a change, the poor performing tree is replaced with another, trained only on the new concept.

Concept drift detection

In ARFs, concept drift detection is typically implemented using the ADaptive WINdowing (ADWIN) [13] [14] algorithm, which captures three drift types (see Figure 1), namely, abrupt, gradual, and mixed drift. Abrupt drift occurs at once, while abrupt drift occurs more slowly (spread over tens of thousands of samples, e.g., 25k - 50k). Mixed drift contains both sudden and gradual patterns. The error rate of each tree is stored in its own dynamic sliding window. A statistical cut-check is periodically applied by splitting the sliding window into two sub-windows and testing for significant differences in their data distributions. When a change is detected, the older portion is discarded, so the detector adapts to the new concept.

Types of concept drift

Figure 1. Types of concept drift [9].

FPGA acceleration

Trees in an ARF ensemble operate independently, yielding intrinsic parallelism. FPGAs are a strong fit for ARF hardware acceleration because they support true sample-by-sample processing, exploit fine-grained parallelism, and efficiently handle streaming data, whereas GPUs are typically limited to batch-based sample insertion. However, the training and drift detection components contain algorithms with high design complexity:

  • Hoeffding bound (train): ϵ=R2⋅ln⁡(1/δ)2n\epsilon= \sqrt{\frac{R^2 \cdot\ln(1/\delta)}{2n}}

  • Information gain (train): GWA=∑b=1BTb⋅(1−∑c=1CPc2)G_{WA} = \sum_{b=1}^{B} T_b \cdot\left(1-\sum_{c=1}^{C} P_c^2\right)

  • Cutting point (drift): ϵcut=2m⋅σW2⋅ln⁡2δ+23mln⁡2δ\epsilon_{cut} = \sqrt{\frac{2}{m}\cdot\sigma_W^2\cdot\ln\frac{2}{\delta}+\frac{2}{3m}\ln\frac{2}{\delta}}

State-of-the-Arts

Prior work includes both GPU and FPGA accelerators based on the original, CPU-targeted, ARF model by Gomes et al [5]; These constitute the baselines against which we evaluate our work.

a) ARF (GPU baseline) [8]: It accelerates an ARF using a hybrid GPU–CPU architecture, GSARF, reporting a 138× speedup over their CPU baseline; however, this improvement applies only to batch-based sample insertion. Inference complexity is reduced using dataset preprocessing, replacing attribute values with a boolean. Moreover, the throughput is increased by approximating the information gain. Candidate trees are introduced to reduce training effort, during concept drift recovery on recurring concepts.

b) ARF (FPGA baseline) [9]: As the first reported FPGA-based ARF, the design inherits the two GSARF optimizations and outperforms the GPU approach by 1.6–7× (evaluated in simulation), all while processing the stream sample-by-sample. However, the framework is vendor-locked to Xilinx FPGAs. It was designed using Vitis-HLS tools to target the Alveo U55. The arithmetic operations within the training dataflow and the drift-detection control path were realized using proprietary floating-point libraries, the latter being the dominant performance bottleneck in ARF. The resulting FP architectures have compiler-generated task schedules with limited transparency and only coarse control via pragmas, often ignored or inconsistently applied by Vitis [15], [16].

Architecture Design

This section discusses the design of OpenWood1, an ARF hardware accelerator for FPGAs, designed to overcome the vendor-dependency (restricted deployment to Xilinx-FPGAs) and limited scalability (due to FP-based arithmetic and compiler-generated, opaque dataflows) of the FPGA baseline by Ridder et al [9]. Our design introduces (i) a vendor-unlocked ARF framework, (ii) a flexible FxP arithmetic library, and (iii) scalable dataflows for training and drift detection/voting, with manually derived, fully transparent task schedules.

High-level overview

OpenWood processes the evolving data stream in three stages: (S1) management, (S2) inference and (S3) training/drift detection/voting. The high-level components (Figure 2) are connected through Advanced eXtensible Interface Streaming (AXIS) interfaces, for a two-way communication flow, allowing stages to run concurrently.

OpenWoud high-level overview

Figure 2. OpenWoud high-level overview. Protocol definitions are AXIS slave: S, master: M, Advanced eXtensible Interface (AXI) highlighted in red.

S1: The manager centrally controls the forest by distributing incoming samples across all trees, inserting splits, resetting trees when concept drift is detected, and tracking each tree’s state (active/inactive) and role (foreground/background).

S2: Next, the inference-engine traverses each tree from root to leaf, using a pipelined architecture to enable parallel processing of the forest. Through the inference-demultiplexer, leaf end-points are passed on to the training-engine, while predictions are forwarded to the majority voter, and the error-rate goes to the drift detector.

S3: The final stage consists of training/drift detection/voting operating in parallel:

  • Training-engine: computes splits from leaf statistics (branch counters, branch class counters and total counter), with FxP-based dataflow architecture to process the information gain and hoeffding bound. Splits are reported back to the manager.

  • Drift detector: implements ADWIN2 [13] to sense concept drift independently for each tree. Using a FxP-based dataflow for the cutting points, applied on the histogram-based sliding window, for efficient error tracking. Drift warnings/errors are reported back to the manager.

  • Voter: tracks votes from foreground trees and sends the majority class to the output stream.

Tree nodes are stored in local dual-port Block RAM (BRAM), while leaf statistics go to main memory using multiple AXI interfaces. Skid buffers decouple the critical path introduced by backpressure, improving timing. Unlike the FPGA baseline, relying on Vitis-HLS, OpenWoud is implemented in Clash an open-source Hardware Description Language (HDL) [17]. In contrast to High Level Synthesis (HLS) that insert timing and autogenerate task schedules, HDLs require explicit timing definition [18]. The Clash-compiler generates generic Verilog, ensuring cross-FPGA-platform compatibility, to enable deployment on Lattice and Microsemi targets.

Flexible arithmetic library

Efficiently mapping complex arithmetic operations (division, square root, natural logarithm) is key to construct scalable train and drift detection dataflows. The FPGA baseline [9] relies on static FP-based arithmetic operations from Vitis-HLS, with limited flexibility. To address this, we developed an open-source FxP library based on existing algorithms, using Clash. Its key features: (i) dynamic (yet scalable) resolution, (ii) multiple configurations optimized for time/area.

We conducted a thorough Design Space Exploration (DSE): 8 division, 11 square root and 7 natural logarithm existing FPGA-optimized FxP-based implementations are considered. Our DSE narrowed down to iterative fast methods, these both scale and achieve high performance, as the required resolutions throughout the data paths are unknown (not relevant for FP in the FPGA baseline). Our dataflows use the Newton-Raphson [19] [20] method for division and square root, a multiplication intensive algorithm with fast convergence. While the natural logarithm is implemented using Generalized Hyperbolic Coordinate Rotation Digital Computer (GH-CORDIC) [21] [22], only requiring shift/add operations. The library provides two configurable modes: multi-cycle is area-optimized and pipelined is performance-optimized, enabling time/area trade-offs. To maximize efficiency, we applied FPGA optimizations:

  • Efficient normalization: single cycle leading-one-detector [19] for normalization, reducing the iterations.

  • Hardware efficient data types: normalized operants use Q2.15 to match hardware specific 18 × 25 and 18 × 18 Digital Signal Processing (DSP) units from Xilinx and Microsemi respectively. Reducing hardware multiplier usage by 4× compared to FP-based implementations.

  • Iteration tuning: square root/division/natural logarithm converge in 4/6/8 iterations respectively for 32-bit output precision, ensuring increased accuracy over the FPGA baseline [9].

Dataflows

Both training and drift detection dataflows are explicitly defined to ensure full transparency and flexibility, rather than compiler-generated schedules. We reformulate the information gain, Hoeffding bound, and cutting point into FPGA-optimized variants, e.g., removing constant terms and moving divisions outside summations.

  • Training dataflow (Figure 3): consists of three data paths, to which leaf statistics from the attribute subset are distributed by play. The Hoeffding bound (upper Figure 3) runs once per attribute subset and is area optimized (multi-cycle), while the information gain (middle) processes all attributes and is throughput optimized (pipelined). Look-Up Table (LUT)/Flip Flop (FF) usage is optimized by fine-tuning the branch class counter resolution. Furthermore, DSP usage is optimized by: (i) reusing the middle path for both the left and right branch, as the Multiply Accumulate (MAC)’s DSP count scales linearly with the number of classes, and (ii) prescaling using bit-shifts before the MAC and division.

Training dataflow architecture

Figure 3. Training dataflow architecture. Arithmetic operation configurations: multi-cycle (MC) and pipelined (II).

  • Drift detection dataflow (Figure 4): implements the ADWIN2 cut-check using an FxP-based pipelined architecture, for parallel processing of a set of cutting points, to sense concept drift. Both paths consume the same number of inputs and thus are configured for performance.

ADWIN2 cut-check dataflow architecture

Figure 4. ADWIN2 cut-check dataflow architecture.

The result is an adjustable dataflow architecture with a flexible resolution throughout the data path, reducing resource consumption, while maintaining precision. In addition, the modular structure makes it straightforward to swap arithmetic algorithms (e.g. optimized division operation) or to derive improved task schedules through dataflow analysis, intuitively improving performance.

Implementation

To validate OpenWoud’s vendor-independence, scalability and performance, we mapped the ARF onto two FPGAs from different vendors (Xilinx/AMD and Microsemi) and compared it against three baseline models: River (CPU) [5], GSARF (GPU) [8] and Vitis (FPGA) [9]. This section goes over the hardware targets and hyperparameter alignment to ensure a reproducible fair comparison.

Hardware targets

OpenWoud is synthesized for the low-end Xilinx/AMD Kria KV260 System on Chip (SoC) (Vivado 2022.2), used for on-target inference and Microsemi PolarFire SoC (Libero 2022.1) for cross-vendor validation. We use River, a Python framework targeting CPUs, as baseline for accuracy measurements. Performance metrics are omitted for River, since CPU execution is 2 orders of magnitude slower than hardware accelerators such as GSARF (138x speed-up). GSARF is implemented on a NVIDIA GeForce GTX 1650 GPU, while Vitis (FPGA baseline) is evaluated in Vitis-HLS simulation, targeting the high-end Alveo U55 with High Bandwidth Memory 2 (HBM2) main memory. Both Xilinx-SoCs have four

DatasetModelTargetTDδW\delta_WδE\delta_EGPWMδ\deltaτ\tauGPSSλ\lambda
AGRRiverCPU6490.0010.0000132100050.050.0516101
GSARFGPU9690.0010.00001321050.002–16101
VitisFPGA6490.0010.0000132550.050.0516101
OpenWoudFPGA6490.0010.0000132100050.050.0516101
LEDRiverCPU6490.0010.0000132100050.050.051651
GSARFGPU9690.0010.00001321050.002–1651
VitisFPGA6490.0010.0000132550.050.051651
OpenWoudFPGA6490.0010.0000132100050.050.051651
COVRiverCPU6490.0010.0000132100050.050.051671
GSARFGPU9690.0010.00001321050.002–1671
VitisFPGA6490.0010.0000132550.050.051671
OpenWoudFPGA6490.0010.0000132100050.050.051671

Table 1. ARF hyperparameters per dataset and model.

High Performance Bus (HPB) buses between the FPGA fabric and main memory, bypassing the central management unit, for high-throughput burst transfers. However, HBM2 allows for fully parallel read/write behavior, while Double Data Rate (DDR)-4 internally queues requests from different channels. Both the CPU baseline and hardware accelerators use the binary attribute optimization, as the latter only accept binary attributes.

Hyperparameters

The accelerator’s hyperparameters are fine-tuned/aligned for each dataset (Table I). In this work, the considered models are restricted to T=64T = 64 trees with a depth of D=9D = 9, as the smallest target (Kria) has limited LUTs and BRAM depth respectively. Please note that the design is also scalable for larger FPGAs. While no systematic study has established the optimal tree count for an ARF, Oshiro et al [23] show that an optimal RF contains between 64 and 128 trees, therefore we adopt the lower bound. Drift detector hyperparameters: δW\delta_W and δE\delta_E are concept drift warning/error thresholds, cut-check is applied periodically via the Grace Period (GP) to improve throughput, WW is the minimum sliding-window size required to apply the cutting point algorithm, MM indicates the minimum buckets of size 2i2^i to enable compression. Training hyperparameters: δ\delta is the Hoeffding bound’s confidence threshold, tie threshold τ\tau ensures a split after an upper bound of cycles, GP enables training, attribute subset size SSSS, Poisson distribution λ\lambda.

GSARF has an additional candidate tree type. For fair comparison the foreground trees need to match up, thus GSARF has 96 trees in total, giving it an edge over other models during concept drift recovery. OpenWoud avoids information gain approximation (unlike GSARF/Vitis), enabling higher precision.

Evaluation

This section presents a comprehensive quantitative evaluation of OpenWoud, in the form of a benchmark test.

Experimental Setup

To evaluate OpenWoud, an infrastructure is developed to apply various evolving data streams to the ARF.

DatasetTypeSamplesAttributesClasses
AGRAWALSynthetic1,000,000822
LEDSynthetic1,000,0002410
COVTYPEReal581,012447
KDD99Real494,0202423

Table 2. Synthetic and real datasets.

Data movers A Direct Memory Access (DMA) controller moves samples and votes in bulk between the ARF and main memory, through AXI HPB interfaces, minimizing software overhead and additional design complexity (e.g. caused by an external stream generator). Its read/write channels are multiplexed using a smart-connect on HP1 and HP2, while the training-engine uses HP0 and HP3 to update leaf statistics. The hard-processor of the SoC is used for: configuring DMA transfers, sample/vote processing and polling completion flags. All FPGA experiments run with a system clock of 100MHz.

Datasets Benchmark tests are performed using two synthetic datasets called AGRAWAL by Agrawal et al [24] and LED by Breiman et al [11] (each contains abrupt, gradual and mixed drift), and, two real datasets: Forest cover type (COVTYPE) by Blackard et al [25], and KDD Cup 1999 (KDD-99) for network intrusion detection by Hettich et al [26]. These four sets allow us to study both concept drift recovery and real-world classification performance, in line with the FPGA baseline. Attribute preprocessing is performed with conversion scripts2 by Wu et al.

Area footprint

Compared to the FPGA baseline, OpenWoud requires: 52% LUT, 24% FF, 77% DSP and 40% BRAM resources on average, while eliminating Ultra RAM (URAM) usage (Xilinx-specific building-block). Enabling deployment on smaller Xilinx-FPGAs, where the FPGA baseline fails to fit (3 out of 4 datasets on Kria Table III) and non-Xilinx (all datasets on PolarFire Table IV). Crucially, this cross-vendor portability allows OpenWoud to exploit build-in fabric features of different families, including radiation-tolerant platforms, widely used in the aerospace domain, to increase fault-resilience.

A closer look at the resource breakdown shows that LUTs and BRAM are the most heavily utilized building blocks. LUTs primarily in the training and drift detection components, to implement multiplexing logic for leaf statistics and sliding-window indexing. While tree and histogram storage obtain most of the BRAMs.

In addition, OpenWoud provides improved scalability over the FPGA baseline, when adapting hyperparameters such as: tree count/depth, attributes and classes, resource usage grows predictably, fine-tuning the baseline is less intuitive, due to its reliance on HLS pragmas and compiler-driven, non-transparent scheduling.

Accuracy

OpenWoud maintains or improves precision across all datasets (Table V), average accuracy differences compared to River (CPU) / GSARF (GPU) / Vitis (FPGA) respectively:

  • AGRAWAL (synthetic): -0.97%/+6.3%/+8.45%

  • LED (synthetic): -7.11%/+6.55%/+6.55%

  • COVTYPE (real): -2.93%/+12.89%/+7.31%

The improvement stems from fast precise FxP dataflows, avoiding information gain approximations (unlike GSARF/Vitis). As a result, OpenWoud maintains baseline CPU accuracy, while still benefitting from hardware acceleration.

We evaluate the concept drift recovery behavior of the ARF on synthetic AGRAWAL and LED datasets, for abrupt (w1), gradual (w25k) and mixed drift (Figure 5 and Figure 6)

Figure 5. AGRAWAL (synthetic) drift recovery comparison GSARF (GPU) [8], Vitis (GPU) [9] and OpenWoud (FPGA).

Three plots comparing GSARF, Vitis, and OpenWoud on LED

Figure 6. LED (synthetic) drift recovery comparison GSARF (GPU) [8], Vitis (GPU) [9] and OpenWoud (FPGA).

On AGRAWAL, OpenWoud consistently achieves faster and more stable recovery than the GPU and FPGA baseline. When a new concept occurs, the accuracy drops sharply across all models, OpenWoud goes back to pre-drift levels quicker.

On LED, the GPU shows an advantage on recurring concepts, where its candidate tree mechanism yields quicker recovery. In contrast, OpenWoud experiences slightly deeper accuracy dips, but still recovers steadily. While the FPGA baseline collapses completely on gradual concept drift.

Overall, these results demonstrate that OpenWoud provides robust recovery of concept drift, while sustaining its vendor-independence and sample-by-sample processing.

Inference-time

We measure OpenWoud’s end-to-end inference-time (Table V) from the DMA bulk transfer start signal, till the DMA-finished interrupt on the hard-processor. OpenWoud achieves competitive performance compared to the GPU (0.5 - 1.5× speed-up) and FPGA baseline (0.2 - 0.5×).

Importantly, the reported FPGA baseline is not measured on hardware, but derived analytically [9], using the active average.

SETMODELLUT (117120)DFF (234240)DSP (1248)BRAM (144)URAM (64)
AGROpenWoud87046247611431120
Vitis18097410922919140416
LEDOpenWoud83803267091551120
Vitis15982512043919221116
COVOpenWoud107322293491501120
Vitis18981314007419628816
KDDOpenWoud14898554378140720
Vitis23109427876394648

Table 3. OpenWoud resource utilization report Kria.

SETMODELFab 4LUT (254k)Fab DFF (254k)Intf 4LUT (254k)Intf DFF (254k)Math (784)uSRAM (2.4k)LSRAM (812)
AGRT6413,69129,70414,29214,292297128170
LEDT64123,57231,42414,61614,616297128179
COVT64151,09235,62214,50814,588297128176
KDDT32224,70050,88611,24411,24416964192
Dataset#ConceptsDrift WidthRiver (CPU)GSARF (GPU)Vitis (FPGA)OpenWoud (FPGA)GSARFVitisOpenWoudvs GSARFvs Vitis
AGRAWAL2186.45 ± 0.2679.04 ± 1.8483.21 ± 0.0686.69 ± 0.4616.11s9.1s25.9s0.60.4
AGRAWAL225k83.87 ± 0.2180.17 ± 1.0875.67 ± 0.2485.24 ± 0.4622.66s9.33s24.26s0.90.4
AGRAWAL250k81.28 ± 0.1477.62 ± 0.7468.93 ± 0.3675.23 ± 0.5322.99s9.33s20.34s1.10.5
AGRAWAL3187.31 ± 0.2474.4 ± 3.0777.62 ± 0.3488.99 ± 0.2216.43s9.12s25.92s0.60.4
AGRAWAL325k81.87 ± 0.2173.57 ± 1.7669.56 ± 0.2780.55 ± 0.3722.78s9.34s24.76s0.90.4
AGRAWAL3mixed83.69 ± 0.2176.03 ± 1.2272.98 ± 0.181.95 ± 0.2519.76s9.24s25.63s0.80.4
LED2172.87 ± 0.0469.6 ± 1.2665.51 ± 1.6367.13 ± 0.2542.99s9.87s42.78s1.00.2
LED225k67.82 ± 0.0567.32 ± 0.447.8 ± 2.8958.23 ± 0.4147.51s9.52s42.07s1.10.2
LED250k64.06 ± 0.1564.15 ± 0.6542.81 ± 3.0557.68 ± 0.4248.06s9.37s31.49s1.50.3
LED3173.16 ± 0.0667.49 ± 0.7765.38 ± 1.5466.62 ± 0.2241.34s9.12s42.95s1.00.2
LED325k69.54 ± 0.0566.51 ± 0.3755.9 ± 1.6561.88 ± 0.2149.37s9.45s42.15s1.20.2
LED3mixed71.55 ± 0.0668.64 ± 0.5359.65 ± 1.1665.45 ± 0.1747.34s9.78s42.3s1.10.2
COVTYPE--72.856.9862.5669.8712.71s6.78s25.24s0.50.3

Table 4. OpenWoud resource utilization report PolarFire.

number of foreground trees, obtained through simulation. In addition, the calculation assumes that main memory does not queue requests, this is true for HBM2, however DDR4 (available on Kria) cannot deliver truly parallel read/write behavior across multiple interfaces. Furthermore, the GPU requires batch-based sample insertion, while the FPGA models sustain true sample-by-sample inference, required for low latency on evolving data streams for real-time applications.

Our quantitative evaluation (benchmark test) shows OpenWoud maintains or increases accuracy (up to 12.89%) over existing hardware accelerators. It sustains competitive throughput, delivers true sample-by-sample processing and robust drift recovery. Importantly, OpenWoud scales predictably when adjusting hyperparameters, avoiding non-intuitive pragma tuning and opaque task scheduling of HLS-based baselines. These results demonstrate that OpenWoud provides a practical and portable framework, for real-time online ML.

Conclusion

We presented OpenWoud, a vendor-unlocked FPGA accelerator for the ARF. By introducing a flexible FxP arithmetic library, and fully transparent, manually scheduled dataflow architectures, OpenWoud overcomes the scalability limitations of the FPGA baseline.

By mapping successfully onto both Xilinx and MicroSemi FPGAs, OpenWoud validates its cross-vendor portability. This capability allows it to exploit vendor-specific fabric features, such as radiation-tolerant flash-based solutions from MicroSemi, making the framework especially relevant for aerospace research, where fault-resilience is critical. Looking ahead, several research directions remain open. First, investigating the ARF’s fault-resilience for aerospace applications, through a radiation-hardening campaign on flash-based platforms. Second, exploring the ARF’s power efficiency, which is particularly promising on FPGA accelerators due to fine-grained clock gating. Third, deriving Pareto-optimal resolutions for time/area trade-offs in dataflows, and extending this with dataflow analysis, to optimize the task schedule.

References

References

  1. [2]S. Salim, N. Moustafa, and M. Reisslein, “Cybersecurity of Satellite Communications Systems: A Comprehensive Survey of the Space, Ground, and Links Segments,” IEEE Communications Surveys & Tutorials, vol. 27, no. 1, pp. 372–425, Feb. 2025. [Online]. Available: https://ieeexplore.ieee.org/abstract/document/10546924DOI
  2. [3]Z. Li, F. Liu, W. Yang, S. Peng, and J. Zhou, “A Survey of Convolutional Neural Networks: Analysis, Applications, and Prospects,” IEEE Transactions on Neural Networks and Learning Systems, vol. 33, no. 12, pp. 6999–7019, Dec. 2022. [Online]. Available: https://ieeexplore.ieee.org/document/9451544DOI
  3. [4]P. Agarwal, A. A. Rahman, P.-L. St-Charles, S. J. D. Prince, and S. E. Kahou, “Transformers in Reinforcement Learning: A Survey,” Jul. 2023, arXiv:2307.05979 [cs]. [Online]. Available: http://arxiv.org/abs/2307.05979
  4. [5]H. M. Gomes, A. Bifet, J. Read, J. P. Barddal, F. Enembreck, B. Pfahringer, G. Holmes, and T. Abdessalem, “Adaptive random forests for evolving data stream classification,” Machine Learning, vol. 106, no. 9, pp. 1469–1495, Oct. 2017. [Online]. Available: https://doi.org/10.1007/s10994-017-5642-8
  5. [7]A. O. Alqabbany and A. A. Azmi, “An Empirical Study of the Effectiveness of Adaptive Random Forest for Handling Concept Drift in Big Data Streams,” Entropy, vol. 23, no. 7, p. 859, Jul. 2021, number: 7 Publisher: Multidisciplinary Digital Publishing Institute. [Online]. Available: https://www.mdpi.com/1099-4300/23/7/859
  6. [8]O. Wu, Y. Sing Koh, and G. Russello, “GPU-based State Adaptive Random Forest for Evolving Data Streams,” in 2020 International Joint Conference on Neural Networks (IJCNN), Jul. 2020, pp. 1–8, ISSN: 2161-4407. [Online]. Available: https://ieeexplore.ieee.org/document/9207333DOI
  7. [9]F. Ridder, K.-H. Chen, and N. Alachitotis, “Accelerated Real-Time Classification of Evolving Data Streams using Adaptive Random Forests,” in 2023 International Conference on Field Programmable Technology (ICFPT), Dec. 2023, pp. 232–237, ISSN: 2837-0449. [Online]. Available: https://ieeexplore.ieee.org/abstract/document/10416141DOI
  8. [10]G. Hulten, L. Spencer, and P. Domingos, “Mining Time-Changing Data Streams,” Proceedings of the Seventh ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, Jul. 2001. [Online]. Available: https://dl.acm.org/doi/10.1145/502512.502529DOI
  9. [11]L. Breiman, “Random Forests,” Machine Learning, vol. 45, no. 1, pp. 5–32, Oct. 2001. [Online]. Available: https://doi.org/10.1023/A:1010933404324
  10. [12]N. Oza and S. Russell, “Online Bagging and Boosting,” Proceedings of Artificial Intelligence and Statistics, Jan. 2001. [Online]. Available: https://www.researchgate.net/publication/2453583_Online_Bagging_and_Boosting
  11. [13]A. Bifet and R. Gavaldà, “Learning from Time-Changing Data with Adaptive Windowing,” in Proceedings of the 2007 SIAM International Conference on Data Mining. Society for Industrial and Applied Mathematics, Apr. 2007, pp. 443–448. [Online]. Available: https://epubs.siam.org/doi/10.1137/1.9781611972771.42DOI
  12. [14]P. M. Grulich, S. Breß, R. Saitenmacher, T. Rabl, J. Traub, and V. Markl, “Scalable Detection of Concept Drifts on Data Stream with Parallel Adaptive Windowing,” 2018. [Online]. Available: https://www.researchgate.net/publication/325217048_Scalable_Detection_of_Concept_Drifts_on_Data_Streams_with_Parallel_Adaptive_WindowingDOI
  13. [15]H. Folmer, “High-Level Synthesis using SDF-AP, Template Haskell, QuasiQuotes, and GADTs to Generate Circuits from Hierarchical Input Specification,” Apr. 2025. [Online]. Available: https://research.utwente.nl/en/publications/high-level-synthesis-using-sdf-ap-template-haskell-quasiquotes-anarxiv.org/abs/2504.07595
  14. [16]H. Folmer, R. d. Grootе, and M. Bekooij, “High-Level Synthesis of Digital Circuits from Template Haskell and SDF-AP,” Apr. 2025, issN: 0302-9743, 1611-3349 arXiv:2504.07585 [cs]. [Online]. Available: http://arxiv.org/abs/2504.07585
  15. [17]C. Baaij, “Clash: From Haskell To Hardware: Of Christiaan Baaij | PDF | Hardware Description Language | Vhdl,” 2009. [Online]. Available: https://www.scribd.com/document/50588123/scriptie-C-Baaij
  16. [18]S. Lahti and T. D. Hämäläinen, “High-Level Synthesis for FPGAs—A Hardware Engineer’s Perspective,” IEEE Access, vol. 13, pp. 28 574–28 593, 2025. [Online]. Available: https://ieeexplore.ieee.org/abstract/document/10878985DOI
  17. [19]E. Libessart, M. Arzel, C. Lahuec, and F. Andrieux, “A scaling-less Newton-Raphson pipelined implementation for a fixed-point inverse square root operator,” in 2017 15th IEEE International New Circuits and Systems Conference (NEWCAS), Jun. 2017, pp. 157–160. [Online]. Available: https://ieeexplore.ieee.org/document/8010129/?arnumber=8010129DOI
  18. [20]P. K. Pandey, D. Singh, and R. Chandel, “Fixed-Point Divider Using Newton Raphson Division Algorithm,” in Proceeding of Fifth International Conference on Microelectronics, Computing and Communication Systems, V. Nath and J. K. Mandal, Eds. Singapore: Springer, 2021, pp. 225–234. [Online]. Available: https://www.researchgate.net/publication/354484213_Fixed-Point_Divider_Using_Newton_Raphson_Division_AlgorithmDOI
  19. [21]L. Bangqiang, H. Ling, and Y. Xiao, “Base-N logarithm implementation on FPGA for the data with random decimal point positions,” in 2013 IEEE 9th International Colloquium on Signal Processing and its Applications, Mar. 2013, pp. 17–20. [Online]. Available: https://ieeexplore.ieee.org/document/6530006/?arnumber=6530006
  20. [22]D. Llamocca and C. Agurto, “A fixed-point implementation of the natural logarithm based on a expanded hyperbolic CORDIC algorithm,” Mar. 2006. [Online]. Available: https://www.researchgate.net/publication/230668515_A_fixed-point_implementation_of_the_natural_logarithm_based_on_a_expanded_hyperbolic_CORDIC_algorithm
  21. [23]T. M. Oshiro, P. S. Perez, and J. A. Baranauskas, “How Many Trees in a Random Forest?” in Machine Learning and Data Mining in Pattern Recognition, P. Perner, Ed. Berlin, Heidelberg: Springer, 2012, pp. 154–168. [Online]. Available: https://link.springer.com/chapter/10.1007/978-3-642-31537-4_13DOI
  22. [24]R. Agrawal, T. Imieliński, and A. Swami, “Database mining: a performance perspective,” IEEE Transactions on Knowledge and Data Engineering, vol. 5, no. 6, pp. 914–925, Dec. 1993. [Online]. Available: https://ieeexplore.ieee.org/document/250074/
  23. [25]J. Blackard, “Covertype,” Jul. 1998. [Online]. Available: https://archive.ics.uci.edu/dataset/31/covertype
  24. [26]S. Hettich, “KDD CUP 1999,” 1999. [Online]. Available: https://kdd.ics.uci.edu/databases/kddcup99/kddcup99.html

Paper details

vlnc:W_r2ky5vr2
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC0-1.0
Usage

views · 0

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Computer Science

Not recorded for this paper

View statement
Looking for related papers…
Contents