arXiv:2610.17099cs.AROct 2026

Manuscript Offprint

arXiv:2610.17099

LocalTrain: Integer-Only Local Learning for Energy-Efficient CNN Training on Edge FPGAs

Shiqi Ding, Xuanyu Liang, Xinyang Liu, Boyang Li, Zhiqiang Que, Guosheng Hu, Jiayang Li

Shiqi Ding 1^{1}, Xuanyu Liang 2^{2}, Xinyang Liu 3^{3}, Boyang Li 1^{1}, Zhiqiang Que 3^{3}, Guosheng Hu 3^{3}, Jiayang Li 3∗^{3*}

1^{1}University of Cambridge 2^{2}University College London 3^{3}University of Bristol

*Corresponding author: jiayang.li.9@bristol.ac.uk

Abstract—Local learning reduces cross-layer training dependencies, but an efficient accelerator must still retain operands, accumulate gradients, and select quantization scales. We present an FPGA system that trains a CNN and its regional auxiliary classifiers using a shared integer matrix engine. Compact errors are expanded on chip, gradients are folded tile by tile, and historical scales permit direct output conversion. At 200 MHz, the KV260 prototype achieves 76.57% accuracy on CIFAR-10 and 91.85% on SVHN at approximately 4.20 W mean module power. Effective matrix throughput is 31.22 and 31.57 GMAC/s, respectively. Against the same integer method on Jetson Orin Nano, measured training energy is 40.4% and 42.1% lower, with 1.86× and 1.82× longer runtime; measurements use the respective platform power domains. Selected state checks and matching complete-run prediction counts support functional agreement with the software reference.

I. INTRODUCTION

On-device training allows edge devices to learn from local data and adapt models to individual users without uploading private data. However, gradient computation and weight updates add computation, while retaining forward inputs consumes memory and recomputing them adds further work. Reducing computation, intermediate storage, and data movement while maintaining learning accuracy is therefore a key challenge for training on resource-constrained edge devices.

Local learning and low-precision arithmetic address these costs in complementary ways. By assigning an objective to each layer or block, local learning enables updates without waiting for errors from later layers and can shorten activation lifetimes [1], [2], [3]. Low precision reduces storage per value; NITRO-D and FF-INT8 demonstrate integer local training and its potential on GPUs [4], [5]. These algorithmic results, however, do not establish how convolutional and local-learning operations should share limited hardware resources, or how their intermediate data should be stored and reused.

Prior FPGA accelerators for backpropagation share compute resources across forward, backward, and weight-gradient operations [6], [7], [10]. Our design provides local supervision through a trainable classifier attached to each convolutional layer. This removes cross-layer error propagation but introduces the computations needed to train each classifier and generate errors for its associated layer. We map these computations and convolutional operations to a shared integer matrix engine, avoiding a separate matrix engine for the local classifiers. Training completes one layer before advancing, so its saved input storage can be reused after gradient computation.

We reduce the data that must be expanded, buffered, or accumulated at once. Regional errors remain compact in DDR and are expanded only for convolutional weight gradients. Tile-wise folding bounds on-chip gradient storage, while scales selected from earlier batches [9], [12] allow direct INT32-to-INT8 output conversion after warmup.

The KV260 prototype completes CIFAR-10 and SVHN training at 76.57% and 91.85% accuracy, using 19.62 and 32.01 kJ of measured module energy. It uses 40.4% and 42.1% less energy than the same integer method on Jetson, with 1.86×1.86\times and 1.82×1.82\times longer runtime under the measurement boundaries in Section IV. Controlled RTL experiments and storage accounting separately characterize the cost of intermediate representations.

The contributions of this work are twofold:

  1. A shared architecture for integer local CNN training. The FPGA trains both a CNN backbone and its local classifiers from random initialization using integer-only learning operations. Eight 8×88 \times 8 INT8 compute units support convolutional and classifier computations, including score generation, errors for the associated convolutional layers, and weight gradients.

  2. Reduced intermediate storage and memory traffic. We combine compact regional-error storage with on-chip expansion, tile-wise gradient accumulation, and direct output conversion using historical scales. For the evaluated network at batch size 256, regional errors require 64–256 KiB per layer, compared with 8–16 MiB for expanded INT8 spatial error maps. Tile accumulation limits on-chip accumulator capacity, while direct conversion avoids raw-output writes and reads in external memory after warmup.