Skip to main content

Approximating Complex Arithmetic Circuits with Guaranteed Worst-Case Relative Error

  • Conference paper
  • First Online:
Computer Aided Systems Theory – EUROCAST 2019 (EUROCAST 2019)

Part of the book series: Lecture Notes in Computer Science ((LNTCS,volume 12013))

Included in the following conference series:

  • 831 Accesses

Abstract

We present a novel method allowing one to approximate complex arithmetic circuits with formal guarantees on the worst-case relative error, abbreviated as WCRE. WCRE represents an important error metric relevant in many applications including, e.g., approximation of neural network HW architectures. The method integrates SAT-based error evaluation of approximate circuits into a verifiability-driven search algorithm based on Cartesian genetic programming. We implement the method in our framework ADAC that provides various techniques for automated design of arithmetic circuits. Our experimental evaluation shows that, in many cases, the method offers a superior scalability and allows us to construct, within a few hours, high-quality approximations (providing trade-offs between the WCRE and size) for circuits with up to 32-bit operands. As such, it significantly improves the capabilities of ADAC.

This work has been partially supported by the Brno Ph.D. Scholarship Program, the Czech Science Foundation (project No. 19-24397S), the IT4Innovations Excellence in Science (project No. LQ1602), and the FIT BUT internal project FIT-S-17-4014.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    We estimate the area as the sum of sizes of the gates (in the target 45 nm technology) used in the circuit. The estimation tends to be accurate and also adequately captures the circuit power consumption [9].

References

  1. Češka, M., Matyáš, J., Mrazek, V., Sekanina, L., Vasicek, Z., Vojnar, T.: ADAC: automated design of approximate circuits. In: Chockler, H., Weissenbacher, G. (eds.) CAV 2018. LNCS, vol. 10981, pp. 612–620. Springer, Cham (2018). https://doi.org/10.1007/978-3-319-96145-3_35

    Chapter  Google Scholar 

  2. Chandrasekharan, A., et al.: Precise error determination of approximated components in sequential circuits with model checking. In: DAC 2016. IEEE (2016)

    Google Scholar 

  3. Chippa, V.K., et al.: Analysis and characterization of inherent application resilience for approximate computing. In: DAC 2013. ACM (2013)

    Google Scholar 

  4. Ciesielski, M., et al.: Verification of gate-level arithmetic circuits by function extraction. In: DAC 2015. ACM (2015)

    Google Scholar 

  5. Judd, P., Albericio, J., et al.: Proteus: exploiting numerical precision variability in deep neural networks. In: ICS 2016, pp. 1–12 (2016)

    Google Scholar 

  6. Miller, J.F., Thomson, P.: Cartesian genetic programming. In: Poli, R., Banzhaf, W., Langdon, W.B., Miller, J., Nordin, P., Fogarty, T.C. (eds.) EuroGP 2000. LNCS, vol. 1802, pp. 121–132. Springer, Heidelberg (2000). https://doi.org/10.1007/978-3-540-46239-2_9

    Chapter  Google Scholar 

  7. Mrazek, V., et al.: Library of approximate adders and multipliers for circuit design and benchmarking of approximation methods. In: DATE 2017 (2017)

    Google Scholar 

  8. Vasicek, Z., Sekanina, L.: Circuit approximation using single- and multi-objective cartesian GP. In: Machado, P., et al. (eds.) EuroGP 2015. LNCS, vol. 9025, pp. 217–229. Springer, Cham (2015). https://doi.org/10.1007/978-3-319-16501-1_18

    Chapter  MATH  Google Scholar 

  9. Vasicek, Z., et al.: Towards low power approximate DCT architecture for HEVC standard. In: DATE 2017, pp. 1576–1581. IEEE (2017)

    Google Scholar 

  10. Češka, M., et al.: Approximating complex arithmetic circuits with formal error guarantees: 32-bit multipliers accomplished. In: ICCAD 2017, pp. 416–423 (2017)

    Google Scholar 

  11. Venkataramani, S., et al.: SALSA: systematic logic synthesis of approximate circuits. In: DAC 2012, pp. 796–801. ACM (2012)

    Google Scholar 

  12. Venkataramani, S., et al.: Substitute-and-simplify: a unified design paradigm for approximate and quality configurable circuits. In: DATE 2013. EDA (2013)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Jiří Matyáš .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2020 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Češka jr., M., Češka, M., Matyáš, J., Pankuch, A., Vojnar, T. (2020). Approximating Complex Arithmetic Circuits with Guaranteed Worst-Case Relative Error. In: Moreno-Díaz, R., Pichler, F., Quesada-Arencibia, A. (eds) Computer Aided Systems Theory – EUROCAST 2019. EUROCAST 2019. Lecture Notes in Computer Science(), vol 12013. Springer, Cham. https://doi.org/10.1007/978-3-030-45093-9_58

Download citation

  • DOI: https://doi.org/10.1007/978-3-030-45093-9_58

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-030-45092-2

  • Online ISBN: 978-3-030-45093-9

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics