Skip to main content
QUICK REVIEW

[Paper Review] Convolutions Predictable Offloading to an Accelerator: Formalization and Optimization

Husson, Benjamin, Belcaïd, Mohammed|arXiv (Cornell University)|Mar 23, 2026
Advanced Neural Network ApplicationsComputer Science0 citations
TL;DR

The paper formalizes a strategy-based offloading framework for convolutional layers to accelerators with limited on-chip memory, and presents an ILP-based method plus a Python simulator to optimize end-to-end duration.

ABSTRACT

Convolutional neural networks (CNNs) require a large number of multiply-accumulate (MAC) operations. To meet real-time constraints, they often need to be executed on specialized accelerators composed of an on-chip memory and a processing unit. However, the on-chip memory is often insufficient to store all the data required to compute a CNN layer. Thus, the computation must be performed in several offloading steps. We formalise such sequences of steps and apply our formalism to a state of the art decomposition of convolutions. In order to find optimal strategies in terms of duration, we encode the problem with a set of constraints. A Python-based simulator allows to analyse in-depth computed strategies.

Motivation & Objective

  • Motivate real-time, safety-critical CNN deployment on accelerators with constrained on-chip memory.
  • Formalize the notion of a strategy as a sequence of memory-management steps.
  • Map convolution offloading to an ILP optimization problem to minimize duration.
  • Provide a Python-based simulator to analyze and visualize offloading strategies.
  • Demonstrate applicability across hardware architectures and decompose convolutions into slices for efficient execution.

Proposed method

  • Define a formal model of strategy as an n-step computation with explicit memory sets for inputs, kernels, and outputs.
  • Model each step as a sequence of memory operations and computations with quantified on-chip memory footprint.
  • Decompose 2D convolutions into patches (X) and patches groupings (g_i) to enable stepwise offloading.
  • Formalize S1-baseline and derive S1 by optimizing patch loading order and group sizing under accelerator capacity constraints.
  • Translate the strategy into an ILP formulation to minimize end-to-end duration under memory and data-reuse constraints.
  • Develop a Python simulator to execute user-defined strategies on a generic accelerator and visualize data movement.

Experimental results

Research questions

  • RQ1How can convolution offloading to accelerators be formalized as a sequence of memory-managed steps?
  • RQ2What is the optimal strategy (in terms of duration) for a given accelerator and convolution layer under limited on-chip memory?
  • RQ3How can the S1-baseline strategy be improved to reduce duration while respecting memory constraints?
  • RQ4Can ILP-based optimization and a simulator effectively compare and validate different offloading strategies across architectures?

Key findings

  • A formal strategy framework is introduced to capture memory transactions, footprint, and data reuse across steps.
  • An ILP formulation is proposed to find optimal step grouping and data loading for a given accelerator.
  • A Python-based simulator is built to track data movements and validate the computed strategies.
  • The approach applies across several accelerator paradigms (e.g., Eyeriss-like, TMMA, VTA) by adapting memory hierarchy assumptions.
  • The S1 improvement demonstrates how patch grouping and fixed kernel residency influence end-to-end duration.

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.