skip to main content
10.1145/3287624.3287706acmconferencesArticle/Chapter ViewAbstractPublication PagesaspdacConference Proceedingsconference-collections
research-article

Hybrid binary-unary hardware accelerator

Published:21 January 2019Publication History

ABSTRACT

Stochastic computing has been used in recent years to create designs with significantly smaller area by harnessing unary encoding of data. However, the low area advantage comes at an exponential price in latency, making the area x delay cost unattractive. In this paper, we present a novel method which uses a hybrid binary / unary representation to perform computations. We first divide the input range into a few sub-regions, perform unary computations on each sub-region individually, and finally pack the outputs of all sub-regions back to compact binary. Moreover, we propose a synthesis methodology and a regression model to predict an optimal or sub-optimal design in the design space. The proposed method is especially well-suited to FPGAs due to the abundant availability of routing and flip-flop resources. To the best of our knowledge, we are the first to show a scalable method based on the principles of stochastic computing that can beat conventional binary in terms of a real cost, i.e., area x delay. Our method outperforms the binary and fully unary methods on a number of functions and on a common edge detection algorithm. In terms of area x delay cost, our cost is on average only 2.51% and 10.2% of the binary for 8- and 10-bit resolutions, respectively. These numbers are 2--3 orders of magnitude better than the results of traditional stochastic methods. Our method is not competitive with the binary method for high-resolution oscillating functions such as sin(15x).

References

  1. B. R. Gaines, Stochastic computing systems. in Advances in Information Systems Science, vol. 2, J. T. Tou, Ed. New York, NY, USA:Plenum, 1969, ch. 2, pp. 37172.Google ScholarGoogle Scholar
  2. B. Brown and H. Card, Stochastic neural computation I: Computational elements. IEEE Trans. Comput., vol. 50, no. 9, pp. 891--905, 2001. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. W., X. Li, M. Riedel, K. Bazargan, and D. Lilja, An Architecture for Fault-Tolerant Computation with Stochastic Logic. IEEE Trans. Comput., Vol. 60, No. 1, pp. 93105, 2011. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. M. H. Najafi and D. Lilja, High Quality Down-Sampling for Deterministic Approaches to Stochastic Computing. Emerging Topics in Computing, PP(99):11, 2018.Google ScholarGoogle Scholar
  5. W. Qian, M. Riedel, and I. Rosenberg, Uniform Approximation and Bernstein Polynomials with Coefficients in the Unit Interval. European Journal of Combinatorics, Vol. 32, No. 3, pp. 448463, 2011. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. S. Rasoul Faraji, M. Hassan Najafi, Bingzhe Li, Kia Bazargan, and David J. Lilja, Energy-Efficient Convolutional Neural Networks with Deterministic Bit-Stream Processing. Design, Automation, and Test in Europe (DATE), March, 2019.Google ScholarGoogle Scholar
  7. Z. Wang, N. Saraf, K. Bazargan, and A. Scheel, Randomness meets feedback: Stochastic implementation of logistic map dynamical system. Design Automation Conference (DAC), June 2015. Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. D. Jenson and M. Riedel, A Deterministic Approach to Stochastic Computation. In Proceedings of the 35th International Conference on Computer-Aided Design (ICCAD), Nov, 2016. Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. S. Mohajer, Z. Wang, and K. Bazargan, Routing Magic: Performing Computations Using Routing Networks and Voting Logic on Unary Encoded Data. International Symposium on Field Programmable Gate Arrays (FPGA), pp. 77--86, 2018. Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. S. A. Salehi, Y. Liu, M. D. Riedel, and K. K. Parhi, Computing Polynomials with Positive Coecients using Stochastic Logic by Double-NAND Expansion. Proc. of the on Great Lakes Symposium on VLSI, pp. 471474, 2017. Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. P. Li, D. Lilja, W. Qian, M. D. Riedel, and K. Bazargan, Logical Computation on Stochastic Bit Streams with Linear Finite State Machines. IEEE Trans. Comput., Vol. 63, No. 6, pp. 14731485, June 2014. Google ScholarGoogle ScholarDigital LibraryDigital Library

Recommendations

Comments

Login options

Check if you have access through your login credentials or your institution to get full access on this article.

Sign in
  • Published in

    cover image ACM Conferences
    ASPDAC '19: Proceedings of the 24th Asia and South Pacific Design Automation Conference
    January 2019
    794 pages
    ISBN:9781450360074
    DOI:10.1145/3287624

    Copyright © 2019 ACM

    Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

    Publisher

    Association for Computing Machinery

    New York, NY, United States

    Publication History

    • Published: 21 January 2019

    Permissions

    Request permissions about this article.

    Request Permissions

    Check for updates

    Qualifiers

    • research-article

    Acceptance Rates

    Overall Acceptance Rate466of1,454submissions,32%

    Upcoming Conference

    ASPDAC '25

PDF Format

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader