Skip to main content
QUICK REVIEW

[Paper Review] Stochastic Configuration Machines: FPGA Implementation

Matthew J. Felicetti, Dianhui Wang|arXiv (Cornell University)|Oct 30, 2023
Machine Learning and ELMComputer Science9 citations
TL;DR

This paper implements SCMs with binary weights on FPGA, introduces binary input encoding schemes, and demonstrates near-PC level accuracy with memory and speed benefits across multiple datasets.

ABSTRACT

Neural networks for industrial applications generally have additional constraints such as response speed, memory size and power usage. Randomized learners can address some of these issues. However, hardware solutions can provide better resource reduction whilst maintaining the model's performance. Stochastic configuration networks (SCNs) are a prime choice in industrial applications due to their merits and feasibility for data modelling. Stochastic Configuration Machines (SCMs) extend this to focus on reducing the memory constraints by limiting the randomized weights to a binary value with a scalar for each node and using a mechanism model to improve the learning performance and result interpretability. This paper aims to implement SCM models on a field programmable gate array (FPGA) and introduce binary-coded inputs to the algorithm. Results are reported for two benchmark and two industrial datasets, including SCM with single-layer and deep architectures.

Motivation & Objective

  • Motivate hardware-efficient neural models for industrial applications with constraints on speed, memory, and power.
  • Extend stochastic configuration networks to binary-weight SCMs suitable for FPGA deployment.
  • Introduce and evaluate binary input encoding schemes to drive SCM performance on hardware.
  • Demonstrate memory reduction and power/speed gains while preserving accuracy across datasets.
  • Compare FPGA SCM performance with FPGA SCN and PC implementations.

Proposed method

  • Review and summarize SCM fundamentals including mechanism model and supervisory node selection.
  • Encode inputs as binary values with multiple encoding schemes to suit hardware constraints.
  • Implement SCM on an FPGA using binary dot-product implementations via XNOR-count and fixed-point arithmetic.
  • Use a three-part pipeline: mechanism model evaluation, binary-weighted hidden layer computation, and output weight optimization.
  • Evaluate single-layer and deep SCM architectures on four datasets, comparing FPGA SCM to PC SCM and reporting RMSE and resource metrics.
  • Present memory reduction strategies by storing per-node lambda scaling factors and binary weights.

Experimental results

Research questions

  • RQ1Can SCM with binary weights maintain accuracy comparable to PC implementations across diverse datasets?
  • RQ2How do binary input encoding schemes affect FPGA SCM performance and memory usage?
  • RQ3What is the impact of deep SCM architectures on accuracy and hardware efficiency compared to single-layer SCM?
  • RQ4How do FPGA SCM results compare to SCN implementations in terms of speed, memory, and power use?
  • RQ5What encoding choices optimize FPGA SCM performance for industrial datasets with varying characteristics?

Key findings

  • FPGA SCM achieves near-identical accuracy to PC SCM across tested configurations (examples show RMSE differences in the micro to sub-ppm range for several setups).
  • Binary input encoding schemes yield dataset-dependent gains, with scheme selection influencing training/testing RMSE in Table 1 results.
  • Deep SCM models (e.g., 40-40-40 node configurations) maintain high accuracy with RMSEs in the 0.008–0.034 range depending on dataset and activation.
  • XNOR-count based dot-product and fixed-point arithmetic enable multiplier-free hardware implementation, reducing resource usage.
  • Memory reduction is achieved by storing per-node lambda scaling values and representing hidden weights in binary form (three-bit lambda encoding).
  • FPGA SCM results closely match FPGA SCN and PC SCM performance, demonstrating hardware-friendly accuracy with speed and power benefits.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.