Optimizing Hybrid Binary-Unary Hardware Accelerators Using Self-Similarity Measures

Alireza Khataei, Gaurav Singh, Kia Bazargan

    Research output: Chapter in Book/Report/Conference proceedingConference contribution

    3 Scopus citations

    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 languageEnglish (US)
    Title of host publicationProceedings - 31st IEEE International Symposium on Field-Programmable Custom Computing Machines, FCCM 2023
    PublisherInstitute of Electrical and Electronics Engineers Inc.
    Pages105-113
    Number of pages9
    ISBN (Electronic)9798350312058
    DOIs
    StatePublished - 2023
    Event31st IEEE International Symposium on Field-Programmable Custom Computing Machines, FCCM 2023 - Marina Del Rey, United States
    Duration: May 8 2023May 11 2023

    Publication series

    NameProceedings - 31st IEEE International Symposium on Field-Programmable Custom Computing Machines, FCCM 2023

    Conference

    Conference31st IEEE International Symposium on Field-Programmable Custom Computing Machines, FCCM 2023
    Country/TerritoryUnited States
    CityMarina Del Rey
    Period5/8/235/11/23

    Bibliographical note

    Publisher Copyright:
    © 2023 IEEE.

    Keywords

    • n/a

    Fingerprint

    Dive into the research topics of 'Optimizing Hybrid Binary-Unary Hardware Accelerators Using Self-Similarity Measures'. Together they form a unique fingerprint.

    Cite this