Skip to main content
QUICK REVIEW

[Paper Review] FastONN -- Python based open-source GPU implementation for Operational Neural Networks

Junaid Malik, Serkan Kıranyaz|arXiv (Cornell University)|Jun 3, 2020
Model Reduction and Neural NetworksPhysics and Astronomy7 references24 citations
TL;DR

FastONN is a Python-based, open-source GPU library for training Operational Neural Networks (ONNs), introducing a vectorized formulation of operational neurons to enable efficient, flexible, and differentiable computation. It leverages automatic reverse-mode differentiation for backpropagation, supports customizable operator sets and gradient flows, and includes auxiliary modules for performance tracking, checkpointing, and metric monitoring, significantly accelerating ONN training on GPU hardware.

ABSTRACT

Operational Neural Networks (ONNs) have recently been proposed as a special class of artificial neural networks for grid structured data. They enable heterogenous non-linear operations to generalize the widely adopted convolution-based neuron model. This work introduces a fast GPU-enabled library for training operational neural networks, FastONN, which is based on a novel vectorized formulation of the operational neurons. Leveraging on automatic reverse-mode differentiation for backpropagation, FastONN enables increased flexibility with the incorporation of new operator sets and customized gradient flows. Additionally, bundled auxiliary modules offer interfaces for performance tracking and checkpointing across different data partitions and customized metrics.

Motivation & Objective

  • To address the lack of efficient, extensible, and GPU-accelerated training frameworks for Operational Neural Networks (ONNs).
  • To enable flexible integration of heterogeneous non-linear operators within a differentiable neural network framework.
  • To support customizable gradient flows and operator sets for diverse ONN applications.
  • To provide modular tools for performance tracking, checkpointing, and metric monitoring during training.
  • To accelerate ONN training through GPU-optimized, vectorized computation and automatic differentiation.

Proposed method

  • Introduces a novel vectorized formulation of operational neurons to enable efficient GPU computation.
  • Employs automatic reverse-mode differentiation for end-to-end backpropagation in ONNs.
  • Designs a modular library architecture to support plug-in operator sets and custom gradient flows.
  • Utilizes PyTorch-style computational graph construction for seamless integration with existing deep learning workflows.
  • Bundles auxiliary modules for logging, checkpointing across data partitions, and custom metric computation.
  • Optimizes performance through GPU acceleration using CUDA-enabled tensor operations.

Experimental results

Research questions

  • RQ1How can Operational Neural Networks be efficiently trained using GPU acceleration?
  • RQ2What is the impact of a vectorized, differentiable formulation on ONN training speed and flexibility?
  • RQ3Can a modular, open-source library support diverse operator sets and custom gradient flows in ONNs?
  • RQ4How does the integration of performance tracking and checkpointing improve training stability and scalability?
  • RQ5To what extent can automatic differentiation simplify the implementation of complex ONN layers?

Key findings

  • FastONN enables significant speedups in ONN training through GPU-accelerated, vectorized computation of operational neurons.
  • The library supports flexible integration of new operator sets and custom gradient flows via automatic reverse-mode differentiation.
  • Auxiliary modules for performance tracking, checkpointing, and custom metrics enhance training reproducibility and scalability.
  • The vectorized formulation reduces computational overhead and improves memory efficiency on GPU hardware.
  • The open-source nature and Python-based design facilitate extensibility and community contributions.
  • The framework demonstrates strong compatibility with existing deep learning workflows, particularly those relying on automatic differentiation.

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.