Skip to main navigation Skip to search Skip to main content

Fast Two-Level Non-Uniform Quantization with Constant Average-Case Time Lookup for Embedded Systems

Research output: Contribution to journal › Article › peer-review

4 Downloads (Pure)

Abstract

We propose a two-level method for quantizing real numbers into m non-uniform bins, optimized or real-time embedded systems such as IoT audio devices. Unlike standard binary search, which requires O(log m) time per value, our approach uses an O(m) preprocessing step to construct uniform bins, a histogram, and a prefix sum, reducing each query to O(log h) time, here h is the histogram value of the boundaries per uniform bin. Empirical analysis shows that h remains small (typically below 4), yielding near-constant average-case time per query. Each lookup involves a constant-time operation followed by a short binary search within the h boundaries. Experiments with up to 512 bins show a 4× speedup ver binary search, robust across unknown distributions, with a 3.2× speedup on real-world µ-law audio data. With low computational and memory overheads, this method is well suited for resource-constrained embedded platforms, including audio codecs for smart speakers or wearable devices.
Original languageEnglish
JournalIEEE Embedded Systems Letters
DOIs
Publication statusPublished - 3 Aug 2026

Cite this