Skip to main content
QUICK REVIEW

[Paper Review] TENT: Efficient Quantization of Neural Networks on the tiny Edge with Tapered FixEd PoiNT

Hamed F. Langroudi, Vedant Karia|arXiv (Cornell University)|Apr 5, 2021
Advanced Neural Network ApplicationsComputer Science5 citations
TL;DR

TENT proposes a dynamic tapered fixed-point quantization framework that adapts numerical format parameters (integer bits and scaling) per layer to match weight and activation distributions in TinyML models, achieving up to 31% higher accuracy than standard fixed-point with only 17–30% higher energy overhead on CIFAR-10 and ImageNet benchmarks.

ABSTRACT

In this research, we propose a new low-precision framework, TENT, to leverage the benefits of a tapered fixed-point numerical format in TinyML models. We introduce a tapered fixed-point quantization algorithm that matches the numerical format's dynamic range and distribution to that of the deep neural network model's parameter distribution at each layer. An accelerator architecture for the tapered fixed-point with TENT framework is proposed. Results show that the accuracy on classification tasks improves up to ~31 % with an energy overhead of ~17-30 % as compared to fixed-point, for ConvNet and ResNet-18 models.

Motivation & Objective

  • Address the performance degradation in low-precision TinyML models caused by fixed dynamic range and uniform spacing in standard fixed-point formats.
  • Overcome quantization error in low-bit fixed-point arithmetic by leveraging a numerical format with tapered precision and flexible dynamic range.
  • Design a quantization framework that tailors the numerical format to the statistical distribution of each layer’s parameters and activations.
  • Develop a hardware-optimized accelerator architecture for tapered fixed-point inference to evaluate latency and energy efficiency.
  • Demonstrate that tapered fixed-point quantization outperforms standard fixed-point in accuracy with manageable energy overhead on real-world TinyML benchmarks.

Proposed method

  • Introduce a tapered fixed-point (TFX) numerical format that combines the hardware efficiency of fixed-point with the dynamic range and non-uniform resolution of posit formats.
  • Design a layerwise quantization algorithm that dynamically selects the integer bit width (IS) and scaling factor (SC) based on the statistical distribution of layer parameters and activations.
  • Apply the TENT framework to quantize both weights and activations in ConvNet and ResNet-18 models using the TFX format with bit widths from 5 to 8 bits.
  • Implement a custom hardware accelerator using an output-stationary dataflow and a 16×16 PE array to evaluate latency and energy consumption.
  • Optimize the MAC unit design for TFX to minimize area and energy while supporting variable IS and SC per layer.
  • Benchmark inference performance on MNIST, Fashion-MNIST, and CIFAR-10 using accuracy, energy-delay product (EDP), and computational efficiency metrics.

Experimental results

Research questions

  • RQ1Can a tapered fixed-point format with dynamic range and non-uniform resolution reduce quantization error in low-precision TinyML models compared to standard fixed-point?
  • RQ2To what extent does layerwise adaptation of integer bits and scaling factors improve inference accuracy across diverse TinyML models?
  • RQ3What is the energy and latency overhead of implementing tapered fixed-point arithmetic in a hardware accelerator for TinyML inference?
  • RQ4How does the performance of TENT compare to standard fixed-point quantization in terms of accuracy and energy efficiency on standard benchmarks?
  • RQ5Does the TENT framework achieve better accuracy than fixed-point at the same bit width, particularly for models with high parameter dynamic range like ResNet-18?

Key findings

  • TENT achieves up to 31% higher inference accuracy than standard fixed-point quantization on the CIFAR-10 dataset, particularly for 8-bit ResNet-18 models.
  • On CIFAR-10, 8-bit TFX achieves 81.66% top-1 accuracy compared to 54.20% for fixed-point, demonstrating a 27.44% relative improvement.
  • The energy-delay product (EDP) for TFX is only 17–30% higher than fixed-point, indicating minimal hardware cost for significant accuracy gains.
  • The TENT framework reduces total quantization error by adapting the numerical format to the layer-specific distribution of weights and activations.
  • The output-stationary dataflow with a 16×16 PE array improves computing efficiency from 89.58% to 91.82% and reduces latency by 24% compared to weight-stationary flow.
  • The proposed TFX MAC unit achieves high efficiency with reduced area and energy consumption, supporting variable IS and SC per layer for dynamic adaptation.

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.