ReducedLUT: Table Decomposition with "Don't Care" Conditions

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Cassidy, Oliver, Andronic, Marta, Coward, Samuel, Constantinides, George A.
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866909445481562112
author Cassidy, Oliver
Andronic, Marta
Coward, Samuel
Constantinides, George A.
author_facet Cassidy, Oliver
Andronic, Marta
Coward, Samuel
Constantinides, George A.
contents Lookup tables (LUTs) are frequently used to efficiently store arrays of precomputed values for complex mathematical computations. When used in the context of neural networks, these functions exhibit a lack of recognizable patterns which presents an unusual challenge for conventional logic synthesis techniques. Several approaches are known to break down a single large lookup table into multiple smaller ones that can be recombined. Traditional methods, such as plain tabulation, piecewise linear approximation, and multipartite table methods, often yield inefficient hardware solutions when applied to LUT-based NNs. This paper introduces ReducedLUT, a novel method to reduce the footprint of the LUTs by injecting don't cares into the compression process. This additional freedom introduces more self-similarities which can be exploited using known decomposition techniques. We then demonstrate a particular application to machine learning; by replacing unobserved patterns within the training data of neural network models with don't cares, we enable greater compression with minimal model accuracy degradation. In practice, we achieve up to $1.63\times$ reduction in Physical LUT utilization, with a test accuracy drop of no more than $0.01$ accuracy points.
format Preprint
id arxiv_https___arxiv_org_abs_2412_18579
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle ReducedLUT: Table Decomposition with "Don't Care" Conditions
Cassidy, Oliver
Andronic, Marta
Coward, Samuel
Constantinides, George A.
Hardware Architecture
Machine Learning
Lookup tables (LUTs) are frequently used to efficiently store arrays of precomputed values for complex mathematical computations. When used in the context of neural networks, these functions exhibit a lack of recognizable patterns which presents an unusual challenge for conventional logic synthesis techniques. Several approaches are known to break down a single large lookup table into multiple smaller ones that can be recombined. Traditional methods, such as plain tabulation, piecewise linear approximation, and multipartite table methods, often yield inefficient hardware solutions when applied to LUT-based NNs. This paper introduces ReducedLUT, a novel method to reduce the footprint of the LUTs by injecting don't cares into the compression process. This additional freedom introduces more self-similarities which can be exploited using known decomposition techniques. We then demonstrate a particular application to machine learning; by replacing unobserved patterns within the training data of neural network models with don't cares, we enable greater compression with minimal model accuracy degradation. In practice, we achieve up to $1.63\times$ reduction in Physical LUT utilization, with a test accuracy drop of no more than $0.01$ accuracy points.
title ReducedLUT: Table Decomposition with "Don't Care" Conditions
topic Hardware Architecture
Machine Learning
url https://arxiv.org/abs/2412.18579