Abstract
Unary computing is a relatively new method for implementing non-linear functions using few hardware resources compared to binary computing. In its original form, unary computing provides no trade-off between accuracy and hardware cost. In this work, we propose a novel self-similarity-based method to optimize the previous hybrid binary-unary method and provide it with the trade-off between accuracy and hardware cost by introducing controlled levels of approximation. Given a target maximum error, our method breaks a function into sub-functions and tries to find the minimum set of unique sub-functions that can derive all the other ones through trivial bit-wise transformations. We compare our method to previous works such as HBU (hybrid binary-unary) and FloPoCo-PPA (piece-wise polynomial approximation) on a number of non-linear functions including Log, Exp, Sigmoid, GELU, Sin, and Sqr, which are used in neural networks and image processing applications. Without any loss of accuracy, our method can improve the area-delay-product hardware cost of HBU on average by 7% at 8-bit, 20% at 10-bit, and 35% at 12-bit resolutions. Given the approximation of the least significant bit, our method reduces the hardware cost of HBU on average by 21% at 8-bit, 49% at 10-bit, and 60% at 12-bit resolutions, and using the same error budget as given to FloPoCo-PPA, it reduces the hardware cost of FloPoCo-PPA on average by 79% at 8-bit, 58% at 10-bit, and 9% at 12-bit resolutions. We finally show the benefits of our method by implementing a 10-bit homomorphic filter, which is used in image processing applications. Our method can implement the filter with no quality loss at lower hardware cost than what the previous approximate and exact methods can achieve.
Original language | English (US) |
---|---|
Title of host publication | Proceedings - 31st IEEE International Symposium on Field-Programmable Custom Computing Machines, FCCM 2023 |
Publisher | Institute of Electrical and Electronics Engineers Inc. |
Pages | 105-113 |
Number of pages | 9 |
ISBN (Electronic) | 9798350312058 |
DOIs | |
State | Published - 2023 |
Event | 31st IEEE International Symposium on Field-Programmable Custom Computing Machines, FCCM 2023 - Marina Del Rey, United States Duration: May 8 2023 → May 11 2023 |
Publication series
Name | Proceedings - 31st IEEE International Symposium on Field-Programmable Custom Computing Machines, FCCM 2023 |
---|
Conference
Conference | 31st IEEE International Symposium on Field-Programmable Custom Computing Machines, FCCM 2023 |
---|---|
Country/Territory | United States |
City | Marina Del Rey |
Period | 5/8/23 → 5/11/23 |
Bibliographical note
Publisher Copyright:© 2023 IEEE.
Keywords
- n/a