Skip to main content
QUICK REVIEW

[Paper Review] Training for 'Unstable' CNN Accelerator:A Case Study on FPGA

Kouzi Xing|arXiv (Cornell University)|Dec 2, 2018
Embedded Systems Design TechniquesComputer Science21 references4 citations
TL;DR

This paper proposes a novel training framework that integrates accelerator-specific instability—caused by overclocking or hardware faults—into the CNN training process to improve robustness. By fine-tuning pre-trained models with simulated unstable behaviors on FPGAs, the method reduces accuracy loss under extreme conditions, achieving up to 3.4% top-5 accuracy improvement under extreme overclocking and 6.8% under severe fault injection.

ABSTRACT

With the great advancements of convolution neural networks(CNN), CNN accelerators are increasingly developed and deployed in the major computing systems.To make use of the CNN accelerators, CNN models are trained via the off-line training systems such as Caffe, Pytorch and Tensorflow on multi-core CPUs and GPUs first and then compiled to the target accelerators. Although the two-step process seems to be natural and has been widely applied, it assumes that the accelerators' behavior can be fully modeled on CPUs and GPUs. This does not hold true and the behavior of the CNN accelerators is un-deterministic when the circuit works at 'unstable' mode when it is overclocked or is affected by the environment like fault-prone aerospace. The exact behaviors of the accelerators are determined by both the chip fabrication and the working environment or status. In this case, applying the conventional off-line training result to the accelerators directly may lead to considerable accuracy loss. To address this problem, we propose to train for the 'unstable' CNN accelerator and have the 'un-determined behavior' learned together with the data in the same framework. Basically, it starts from the off-line trained model and then integrates the uncertain circuit behaviors into the CNN models through additional accelerator-specific training. The fine-tuned training makes the CNN models less sensitive to the circuit uncertainty. We apply the design method to both an overclocked CNN accelerator and a faulty accelerator. According to our experiments on a subset of ImageNet, the accelerator-specific training can improve the top 5 accuracy up to 3.4% and 2.4% on average when the CNN accelerator is at extreme overclocking. When the accelerator is exposed to a faulty environment, the top 5 accuracy improves up to 6.8% and 4.28% on average under the most severe fault injection.

Motivation & Objective

  • To address the accuracy degradation in CNN accelerators operating in unstable modes due to overclocking or environmental faults.
  • To overcome the limitations of conventional two-step training (off-line on CPUs/GPUs followed by compilation), which assumes deterministic accelerator behavior.
  • To develop a method that trains CNN models to be resilient to unpredictable circuit-level behaviors in real-time hardware deployment.
  • To enable reliable inference on resource-constrained or fault-prone systems such as aerospace platforms using FPGA-based accelerators.

Proposed method

  • Start from a pre-trained CNN model obtained via standard frameworks like PyTorch or TensorFlow.
  • Introduce accelerator-specific instability—such as timing errors or voltage variations—into the training loop using hardware-aware simulation.
  • Fine-tune the pre-trained model with synthetic instability patterns that emulate real-world FPGA behavior under overclocking or fault injection.
  • Use backpropagation to update network weights so the model learns to be robust against the uncertain behaviors.
  • Train the model end-to-end with both data and instability patterns, effectively learning the distribution of hardware-induced errors.
  • Deploy the resulting robust model on the target FPGA accelerator, where it maintains high accuracy despite unstable operation.

Experimental results

Research questions

  • RQ1How does training with simulated instability improve CNN inference accuracy on unstable FPGA accelerators?
  • RQ2To what extent can accelerator-specific training mitigate accuracy loss under extreme overclocking conditions?
  • RQ3Can the proposed method effectively handle hardware faults such as bit flips or timing errors in real-time inference?
  • RQ4How does the robustness of the model trained with instability compare to standard fine-tuning or retraining?
  • RQ5What is the trade-off between training complexity and accuracy improvement under hardware uncertainty?

Key findings

  • The proposed method improved top-5 accuracy by up to 3.4% on ImageNet when the FPGA accelerator was operated under extreme overclocking.
  • Under the most severe fault injection conditions, the method achieved a top-5 accuracy improvement of up to 6.8% compared to standard fine-tuning.
  • On average, the method improved accuracy by 2.4% across multiple overclocking levels, demonstrating consistent robustness.
  • The method also showed a 4.28% average improvement in accuracy under fault injection, indicating strong resilience to hardware faults.
  • The results confirm that integrating hardware instability into the training process significantly reduces sensitivity to unpredictable circuit behavior.
  • The approach maintains high performance without requiring changes to the inference hardware, making it practical for deployment in aerospace and embedded systems.

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.