Lossless Compression of Lookup Tables for Hardware Applications
Abstract
Large lookup tables are widely used in hardware to store constant-valued arrays for applications ranging from elementary mathematical operations, such as constant-coefficient multiplication and nonlinear function evaluation, to emerging machine learning models, including table-based neural networks (NNs) and Kolmogorov-Arnold networks (KANs). However, storing extensive tables of constant values can lead to excessive hardware costs in resource-constrained edge devices such as FPGAs. In this paper, we propose CompressedLUT, a lossless compression scheme and its decoder hardware architecture for the efficient storage and retrieval of arbitrary data in hardware. Our method combines decomposition, self-similarities, higher-bit compression, and multilevel compression techniques to maximize table size savings without accuracy loss. Its hardware decoder primarily uses addition, arithmetic right shift, and several small lookup tables, ensuring low area and high throughput. We evaluated CompressedLUT on FPGAs by implementing multiple nonlinear functions, constant-coefficient multipliers (CCMs), and KANs at 12-bit resolution. CompressedLUT is available as an open-source tool.
Create a lesson
Metadata
- Comments
- 12 pages, submitted to IEEE Transactions on Computers
Related papers
CRAFT: Analog Circuit Design by Reasoning LLM Agents from Pre-Computed Lookup Tables
Shared title terminologycs.ARHyunjun Park, Seungyub Han, Jason Jaesung Lee et al.
Cartesian Byte-Bank Models and Warp Lag Screening for GPU Lossless Compression
Shared title terminologycs.ARZeyu Jia
Sattva: A Hardware-Algorithm Co-Designed SAT Solving Accelerator with Off-Chip Scalability
Shared title terminologycs.ARHuifeng Ke, Michael Lo, Justin Oh et al.
Survey on FPGAs in Medical Radiology Applications: Challenges, Architectures and Programming Models
Shared title terminologycs.ARDaniele Passaretti, Jan Moritz Joseph, Thilo Pionteck
Exploring Runtime-Configurable Piecewise Linear Function Interpolation for FPGA-Based LLM Hardware Acceleration
Shared title terminologycs.ARPatrick Nepveu-Nelson, Fabiola Jiménez-Chacón, Roger Morales-Monge et al.
VeSGA: Microsecond, Microjoule Hyperdimensional Graph Classification through Algorithm-Hardware Co-Design
Shared title terminologycs.ARAhmad Tahmasivand, Hamed Poursiami, Guojing Cong et al.