Skip to main content
QUICK REVIEW

[Paper Review] Benchmarking the Accuracy and Robustness of Feedback Alignment Algorithms

Albert Jiménez Sanfiz, Mohamed Akrout|arXiv (Cornell University)|Aug 30, 2021
Advanced Memory and Neural ComputingEngineering4 citations
TL;DR

This paper introduces BioTorch, an open-source framework for training and benchmarking biologically plausible feedback alignment (FA) algorithms in deep neural networks. It evaluates FA variants—including uSF, brSF, and frSF—on MNIST, CIFAR-10, and ImageNet, demonstrating that sign-concordant methods like uSF achieve 34.97% top-1 error on ImageNet, rivaling backpropagation, while also showing enhanced robustness against white-box and black-box adversarial attacks.

ABSTRACT

Backpropagation is the default algorithm for training deep neural networks due to its simplicity, efficiency and high convergence rate. However, its requirements make it impossible to be implemented in a human brain. In recent years, more biologically plausible learning methods have been proposed. Some of these methods can match backpropagation accuracy, and simultaneously provide other extra benefits such as faster training on specialized hardware (e.g., ASICs) or higher robustness against adversarial attacks. While the interest in the field is growing, there is a necessity for open-source libraries and toolkits to foster research and benchmark algorithms. In this paper, we present BioTorch, a software framework to create, train, and benchmark biologically motivated neural networks. In addition, we investigate the performance of several feedback alignment methods proposed in the literature, thereby unveiling the importance of the forward and backward weight initialization and optimizer choice. Finally, we provide a novel robustness study of these methods against state-of-the-art white and black-box adversarial attacks.

Motivation & Objective

  • To address the lack of open-source tools for benchmarking biologically plausible learning algorithms, especially feedback alignment (FA) methods.
  • To investigate the impact of forward and backward weight initialization, optimizer choice, and network depth on FA algorithm performance.
  • To evaluate the robustness of FA-based models against state-of-the-art white-box and black-box adversarial attacks.
  • To provide a reproducible, modular, and extensible framework for training and comparing biologically inspired neural networks.
  • To establish a baseline for accuracy and adversarial robustness of feedback alignment methods across diverse datasets and architectures.

Proposed method

  • Developed BioTorch, an open-source PyTorch-based framework supporting five feedback alignment variants: FA, DFA, uSF, brSF, and frSF.
  • Implemented automatic model conversion and configurable training pipelines to enable reproducible benchmarking across datasets and optimizers.
  • Used variance-preserving weight initialization (e.g., Kaiming, Xavier) and normal distribution initialization to study their impact on convergence and alignment.
  • Trained shallow networks on MNIST and Fashion-MNIST, deeper networks on CIFAR-10 with ResNet-20, and a full ResNet-18 on ImageNet to assess scalability.
  • Applied white-box attacks (FGSM, PGD, APGD, TPGD) and black-box attacks (Few-Pixel, Square) using the Torchattacks library to evaluate robustness.
  • Measured performance via top-1 validation error and robustness under varying perturbation magnitudes (ε) and attack query budgets.

Experimental results

Research questions

  • RQ1How do different weight initialization strategies (e.g., Kaiming vs. normal) affect the convergence and performance of feedback alignment methods?
  • RQ2What is the impact of optimizer choice (SGD vs. Adam) on the alignment of forward and backward weights and final model accuracy?
  • RQ3Can feedback alignment methods achieve competitive accuracy on ImageNet compared to backpropagation?
  • RQ4How do feedback alignment-based models perform under state-of-the-art white-box and black-box adversarial attacks?
  • RQ5Do sign-concordant feedback alignment variants (uSF, brSF, frSF) offer improved robustness compared to standard FA and DFA?

Key findings

  • The uSF method achieved a top-1 validation error of 34.97% on ImageNet using a ResNet-18, significantly outperforming standard FA (85.25%) and DFA (82.45%).
  • Adam optimizer achieved faster weight alignment and better accuracy than SGD, especially when there was a mismatch between forward and backward weight initialization.
  • Models trained with FA and DFA showed minimal accuracy drop under PGD and APGD attacks (ε ≤ 0.1), indicating strong robustness to white-box adversarial attacks.
  • The uSF, brSF, and frSF variants exhibited higher robustness than full-weight or sign-only transport methods under white-box attacks, likely due to noisier gradients.
  • The Few-Pixel black-box attack effectively degraded model performance, but FA and sign-concordant methods (uSF, brSF) were more resilient than BP-trained models.
  • The Square black-box attack degraded performance across all methods, indicating no significant robustness advantage for feedback alignment methods against this query-intensive attack.

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.