Skip to main content
Log in

Pipelined HAC Estimation Engines for Multivariate Time Series

  • Published:
Journal of Signal Processing Systems Aims and scope Submit manuscript

Abstract

Heteroskedasticity and autocorrelation consistent (HAC) covariance matrix estimation, or HAC estimation in short, is one of the most important techniques in time series analysis and forecasting. It serves as a powerful analytical tool for hypothesis testing and model verification. However, HAC estimation for long and high-dimensional time series is computationally expensive. This paper describes a pipeline-friendly HAC estimation algorithm derived from a mathematical specification, by applying transformations to eliminate conditionals, to parallelise arithmetic, and to promote data reuse in computation. We discuss an initial hardware architecture for the proposed algorithm, and propose two optimised architectures to improve the worst-case performance. Experimental systems based on proposed architectures demonstrate high performance especially for long time series. One experimental system achieves up to 12 times speedup over an optimised software system on 12 CPU cores.

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

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Institutional subscriptions

Figure 1
Figure 2
Figure 3
Figure 4
Figure 5
Figure 6

Similar content being viewed by others

References

  1. Jegadeesh, N., & Titman, S. (1993). Returns to buying winners and selling losers: implications for stock market efficiency. The Journal of Finance, 48(1), 65–91.

    Article  Google Scholar 

  2. Bollerslev, T., Tauchen, G., Zhou, H. (2009). Expected stock returns and variance risk premia. Review of Financial Studies, 22(11), 4463–4492.

    Article  Google Scholar 

  3. Bekaert, G., Harvey, C., Lundblad, C., Siegel, S. (2011). What segments equity markets.Review of Financial Studies, 24(12), 3841–3890.

    Article  Google Scholar 

  4. Guo, C., & Luk, W. (2013). Accelerating HAC estimation for multivariate time series. International conference on application-specific systems. Architectures and Processors.

  5. Hamilton, J. D. (1994). Time series analysis. Cambridge University Press.

  6. Newey, W. K., & West, K. D. (1987). A simple, positive semi-definite, heteroskedasticity and autocorrelation consistent covariance matrix. Econometrica: Journal of the Econometric Society, 55, 703–708.

    Article  MATH  MathSciNet  Google Scholar 

  7. Newey, W. K., & West, K. D. (1994). Automatic lag selection in covariance matrix estimation. Review of Economic Studies, 61, 631–653.

    Article  MATH  MathSciNet  Google Scholar 

  8. Andrews, D. (1991). Heteroskedasticity and autocorrelation consistent covariance matrix estimation. Econometrica: Journal of the Econometric Society, 59, 817–858.

    Article  MATH  MathSciNet  Google Scholar 

  9. Sart, D., Mueen, A., Najjar, W., Keogh, E., Niennattrakul, V. (2010). Accelerating dynamic time warping subsequence search with GPUs and FPGAs. International conference on data mining (pp. 1001–1006).

  10. Wang, Z., Huang, S., Wang, L., Li, H., Wang, Y., Yang, H. (2013). Accelerating subsequence similarity search based on dynamic time warping distance with FPGA. International symposium on field-programmable gate arrays.

  11. Preis, T., Virnau, P., Paul, W., Schneider, J. J. (2009). Accelerated fluctuation analysis by graphic cards and complex pattern formation in financial markets. New Journal of Physics, 11(9), 093024.

    Article  Google Scholar 

  12. Gembris, D., Neeb, M., Gipp, M., Kugel, A., Männer, R. (2011). Correlation analysis on GPU systems using NVIDIA’s CUDA. Journal of Real-Time Image Processing, 6(4), 275–280.

    Article  Google Scholar 

  13. Baker, Z., & Prasanna, V. (2005). Efficient hardware data mining with the apriori algorithm on FPGAs. International symposium on field-programmable custom computing machines (pp. 3–12).

  14. Agrawal, R., & Srikant, R. (1994). Fast algorithms for mining association rules. International conference on very large databases (VLDB) (pp. 487–499).

  15. MacQueen, J. (1967). Some methods for classification and analysis of multivariate observations. Berkeley symposium on mathematical statistics and probability (pp. 281–297).

  16. Quinlan, J. R. (Mar. 1986). Induction of decision trees. Machine Learning, 1(1), 81–106.

    Google Scholar 

  17. Saegusa, T., & Maruyama, T. (2006). An FPGA implementation of K-means clustering for color images based on kd-tree. International conference on field programmable logic and applications (pp. 1–6).

  18. Narayanan, R., Honbo, D., Memik, G., Choudhary, A., Zambreno, J. (2007). An FPGA implementation of decision tree classification. Conference on design, automation and test in Europe (pp. 1–6).

  19. Moerland, P., & Fiesler, E. (1997). Neural network adaptations to hardware implementations. Tech. Rep., Switzerland: The Idiap Research Institute.

  20. Guo, C., Fu, H., Luk, W. (2012). A fully-pipelined expectation-maximization engine for Gaussian mixture models. International conference on field-programmable technology.

  21. Zeileis, A. (2004). Econometric computing with HC and HAC covariance matrix estimators.Distributed with the sandwich R package.

  22. Cottrell, A., & Lucchetti, R. (2012). Gretl user’s guide.Distributed with the Gretl library.

  23. Lin, C. Y., So, H. K., Leong, P. H. W. (2011). A model for matrix multiplication performance on FPGAs. International conference on field programmable logic and applications (pp. 305–310).

  24. Jacob, A. C., Buhler, J. D., Chamberlain, R. D. (2010). Rapid RNA folding: analysis and acceleration of the zuker recurrence. International symposium on field-programmable custom computing machines (pp. 87–94).

  25. Urquhart, R., & Wood, D. (1984). Systolic matrix and vector multiplication methods for signal processing. IEE Proceedings, 131(6), 623–631.

    Google Scholar 

Download references

Acknowledgments

The authors would like to thank the anonymous reviewers for their constructive comments. This work is supported in part by the China Scholarship Council, by the European Union Seventh Framework Programme under grant agreement number 257906, 287804 and 318521, by UK EPSRC, by Maxeler University Programme, and by Xilinx.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Ce Guo.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Guo, C., Luk, W. Pipelined HAC Estimation Engines for Multivariate Time Series. J Sign Process Syst 77, 117–129 (2014). https://doi.org/10.1007/s11265-014-0897-9

Download citation

  • Received:

  • Revised:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s11265-014-0897-9

Keywords

Navigation