Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
research-article

Multivariate Gaussian Random Number Generation Targeting Reconfigurable Hardware

Published: 01 June 2008 Publication History

Abstract

The multivariate Gaussian distribution is often used to model correlations between stochastic time-series, and can be used to explore the effect of these correlations across N time-series in Monte-Carlo simulations. However, generating random correlated vectors is an O(N2) process, and quickly becomes a computational bottleneck in software simulations. This article presents an efficient method for generating vectors in parallel hardware, using N parallel pipelined components to generate a new vector every N cycles. This method maps well to the embedded block RAMs and multipliers in contemporary FPGAs, particularly as extensive testing shows that the limited bit-width arithmetic does not reduce the statistical quality of the generated vectors. An implementation of the architecture in the Virtex-4 architecture achieves a 500MHz clock-rate, and can support vector lengths up to 512 in the largest devices. The combination of a high clock-rate and parallelism provides a significant performance advantage over conventional processors, with an xc4vsx55 device at 500MHz providing a 200 times speedup over an Opteron 2.6GHz using an AMD optimised BLAS package. In a case study in Delta-Gamma Value-at Risk, an RC2000 accelerator card using an xc4vsx55 at 400MHz is 26 times faster than a quad Opteron 2.6GHz SMP.

References

[1]
Advanced Micro Devices 2006. AMD Core Math Library (ACML ). Advanced Micro Devices.
[2]
Altera Corporation 2005. Stratix II Device Handbook, Volume 1. Altera Corporation.
[3]
Anderson, T. W. and Darling, D. A. 1954. A test of goodness of fit. J. Amer. Statist. Asso. 49, 268, 765--769.
[4]
Barr, D. R. and Slezak, N. L. 1972. A comparison of multivariate normal generators. Comm. ACM 15, 12, 1048--1049.
[5]
Birnbaum, A. 1954. Combining independent tests of significance. J. Amer. Statist. Asso. 49, 267, 559--574.
[6]
Black, F. and Scholes, M. S. 1973. The pricing of options and corporate liabilities. J. Polit. Econo. 81, 637--659.
[7]
deLorimier, M. and DeHon, A. 2005. Floating-point sparse matrix-vector multiply for FPGAs. In Proceedings of the ACM/SIGDA International Symposium on Field-Programmable Gate Arrays. ACM Press, 75--85.
[8]
George, M. and Alfke, P. 2001. Linear feedback shift registers in Virtex devices. Tech. rep., Xilinx, Inc.
[9]
Jang, J.-W., Choi, S. B., and Prasanna, V. K. 2005. Energy- and time-efficient matrix multiplication on FPGAs. IEEE Trans. VLSI Syst. 13, 11, 1305--1319.
[10]
L'Ecuyer, P. and Simard, R. 2007. TestU01 random number test suite. www.iro.umontreal.ca/ simardr/indexe.html.
[11]
Lee, D., Villasenor, J., Luk, W., and Leong, P. 2006. A hardware Gaussian noise generator using the box-muller method and its error analysis. IEEE Trans. Comput. 55, 6, 659--671.
[12]
Lee, D.-U., Luk, W., Villasenor, J. D., and Cheung, P. Y. 2004. A Gaussian noise generator for hardware-based simulations. IEEE Trans. Comput. 53, 12, 1523--1534.
[13]
Lee, D.-U., Luk, W., Villasenor, J. D., Zhang, G., and Leong, P. H. 2005. A hardware Gaussian noise generator using the wallace method. IEEE Trans. VLSI Syst. 13, 8, 911--920.
[14]
Marsaglia, G. 1999. Random numbers for C: The END? Posted to sci.crypt.random-numbers on 20th January 1999.
[15]
Marsaglia, G. 2004. Evaluating the normal distribution. J. Statist. Softw. 11, 4, 1--11.
[16]
Marsaglia, G. and Marsaglia, J. 2004. Evaluating the Anderson-Darling distribution. J. Statist. Softw. 9, 2, 1--5.
[17]
Pearson, K. 1900. On the criterion that a given system of deviations from the probable in the case of a correlated system of variables is such that it can reasonably supposed to have arisen from random sampling. Philosoph. Maga., Series 5 50, 157--175.
[18]
Press, W. H., Teukolsky, S. A., Vetterling, W. T., and Flannery, B. P. 1997. Numerical Recipes in C, 2nd Ed. Cambridge University Press.
[19]
Shackleford, B., Tanaka, M., Carter, R. J., and Snider, G. 2002. FPGA implementation of neighborhood-of-four cellular automata random number generators. In Proceedings of the ACM/SIGDA International Symposium on Field-Programmable Gate Arrays. ACM Press, New York, USA, 106--112.
[20]
Thomas, D. B. and Luk, W. 2005. High quality uniform random number generation through LUT optimised linear recurrences. In Proceedings of the International Conference on Field-Programmable Technology. IEEE Computer Society.
[21]
Thomas, D. B. and Luk, W. 2006a. Efficient hardware generation of random variates with arbitrary distributions. In Proceedings of the IEEE Symposium on FPGA s for Custom Computing Machines. 57--66.
[22]
Thomas, D. B. and Luk, W. 2006b. Non-uniform random number generation through piecewise linear approximations. In Proceedings of the International Conference on Field Programmable Logic and Applications. 1--6.
[23]
Thomas, D. B. and Luk, W. 2007. Sampling from the multivariate Gaussian distribution using reconfigurable hardware. In Proceedings of the IEEE Symposium on FPGA s for Custom Computing Machines. 3--12.
[24]
Xilinx, Inc. 2000. Virtex-II platform FPGAs: Complete data sheet. Xilinx, Inc.
[25]
Xilinx, Inc. 2002. Additive white Gaussian noise (AWGN) core. Tech. rep., Xilinx, Inc.
[26]
Xilinx, Inc. 2005. XtremeDSP for Virtex-4 FPGAs User Guide. Xilinx, Inc.
[27]
Xilinx, Inc. 2006. Virtex-4---Why are the FIFO16 flags not working correctly? Tech. rep. AR22462.
[28]
Zhang, G. L., Leong, P. H., Lee, D.-U., Villasenor, J. D., Cheung, R. C., and Luk, W. 2005. Ziggurat-based hardware Gaussian random number generator. In Proceedings of the International Conference on Field Programmable Logic and Applications. IEEE Computer Society Press, 275--280.
[29]
Zhuo, L. and Prasanna, V. K. 2005. Sparse matrix-vector multiplication on FPGAs. In Proceedings of the ACM/SIGDA International Symposium on Field-Programmable Gate Arrays. ACM Press, 63--74.

Cited By

View all
  • (2024)Discovering outlying attributes of outliers in data streamsData & Knowledge Engineering10.1016/j.datak.2024.102349(102349)Online publication date: Aug-2024
  • (2021)Machine Intelligence of Pi From Geometrical Figures With Variable Parameters Using SCILabMethodologies and Applications of Computational Statistics for Machine Intelligence10.4018/978-1-7998-7701-1.ch003(38-63)Online publication date: 2021
  • (2021)Importance Gaussian QuadratureIEEE Transactions on Signal Processing10.1109/TSP.2020.304552669(474-488)Online publication date: 2021
  • Show More Cited By

Index Terms

  1. Multivariate Gaussian Random Number Generation Targeting Reconfigurable Hardware

    Recommendations

    Comments

    Information & Contributors

    Information

    Published In

    cover image ACM Transactions on Reconfigurable Technology and Systems
    ACM Transactions on Reconfigurable Technology and Systems  Volume 1, Issue 2
    June 2008
    143 pages
    ISSN:1936-7406
    EISSN:1936-7414
    DOI:10.1145/1371579
    Issue’s Table of Contents
    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: 01 June 2008
    Accepted: 01 March 2008
    Revised: 01 February 2008
    Received: 01 August 2007
    Published in TRETS Volume 1, Issue 2

    Permissions

    Request permissions for this article.

    Check for updates

    Author Tags

    1. FPGA
    2. Random numbers
    3. multivariate Gaussian distribution

    Qualifiers

    • Research-article
    • Research
    • Refereed

    Funding Sources

    Contributors

    Other Metrics

    Bibliometrics & Citations

    Bibliometrics

    Article Metrics

    • Downloads (Last 12 months)7
    • Downloads (Last 6 weeks)0
    Reflects downloads up to 04 Oct 2024

    Other Metrics

    Citations

    Cited By

    View all
    • (2024)Discovering outlying attributes of outliers in data streamsData & Knowledge Engineering10.1016/j.datak.2024.102349(102349)Online publication date: Aug-2024
    • (2021)Machine Intelligence of Pi From Geometrical Figures With Variable Parameters Using SCILabMethodologies and Applications of Computational Statistics for Machine Intelligence10.4018/978-1-7998-7701-1.ch003(38-63)Online publication date: 2021
    • (2021)Importance Gaussian QuadratureIEEE Transactions on Signal Processing10.1109/TSP.2020.304552669(474-488)Online publication date: 2021
    • (2021)Real-Time SAR Imaging Based on Reconfigurable ComputingIEEE Access10.1109/ACCESS.2021.30932999(93684-93690)Online publication date: 2021
    • (2021)Two methods of conjoint summands of generating bivariate and trivariate normal pseudo-random numbersJournal of Statistical Computation and Simulation10.1080/00949655.2021.200559692:8(1714-1739)Online publication date: 27-Nov-2021
    • (2020)OpenCL Performance on the Intel Heterogeneous Architecture Research Platform2020 IEEE High Performance Extreme Computing Conference (HPEC)10.1109/HPEC43674.2020.9286213(1-9)Online publication date: 22-Sep-2020
    • (2020)Enterprise financial investment platform simulation based on FPGA-based high-performance algorithmMicroprocessors and Microsystems10.1016/j.micpro.2020.103408(103408)Online publication date: Nov-2020
    • (2019)A FPGA Based Parallel Multivariate Gaussian Random Number Generation Framework2019 IEEE International Conference on Artificial Intelligence and Computer Applications (ICAICA)10.1109/ICAICA.2019.8873482(126-129)Online publication date: Mar-2019
    • (2013)Multiplierless Algorithm for Multivariate Gaussian Random Number Generation in FPGAsIEEE Transactions on Very Large Scale Integration (VLSI) Systems10.1109/TVLSI.2012.222801721:12(2193-2205)Online publication date: 1-Dec-2013
    • (2013)Analysis of hybrid and cooperative positioning algorithms in urban canyon scenarios2013 International Conference on Localization and GNSS (ICL-GNSS)10.1109/ICL-GNSS.2013.6577257(1-6)Online publication date: Jun-2013
    • Show More Cited By

    View Options

    Get Access

    Login options

    Full Access

    View options

    PDF

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader

    Media

    Figures

    Other

    Tables

    Share

    Share

    Share this Publication link

    Share on social media