IDEAS home Printed from https://ideas.repec.org/a/eee/dyncon/v111y2020ics0165188919301939.html
   My bibliography  Save this article

Benchmarking machine-learning software and hardware for quantitative economics

Author

Listed:
  • Duarte, Victor
  • Duarte, Diogo
  • Fonseca, Julia
  • Montecinos, Alexis

Abstract

We investigate the performance of machine-learning software and hardware for quantitative economics. We show that the use of machine-learning software and hardware can significantly reduce computational time in compute-intensive tasks. Using a sovereign default model and the Least Squares Monte Carlo option pricing algorithm as benchmarks, we show that specialized hardware and software speed up calculations by up to four orders of magnitude when compared to programs written in popular high-level programming languages, such as MATLAB, Julia, Python/Numpy, and R, and high-performing low-level languages such as C++.

Suggested Citation

  • Duarte, Victor & Duarte, Diogo & Fonseca, Julia & Montecinos, Alexis, 2020. "Benchmarking machine-learning software and hardware for quantitative economics," Journal of Economic Dynamics and Control, Elsevier, vol. 111(C).
  • Handle: RePEc:eee:dyncon:v:111:y:2020:i:c:s0165188919301939
    DOI: 10.1016/j.jedc.2019.103796
    as

    Download full text from publisher

    File URL: http://www.sciencedirect.com/science/article/pii/S0165188919301939
    Download Restriction: Full text for ScienceDirect subscribers only

    File URL: https://libkey.io/10.1016/j.jedc.2019.103796?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    As the access to this document is restricted, you may want to search for a different version of it.

    References listed on IDEAS

    as
    1. Longstaff, Francis A & Schwartz, Eduardo S, 2001. "Valuing American Options by Simulation: A Simple Least-Squares Approach," Review of Financial Studies, Society for Financial Studies, vol. 14(1), pages 113-147.
    2. Juan Carlos Hatchondo & Leonardo Martinez & Horacio Sapriza, 2010. "Quantitative properties of sovereign default models: solution methods," Review of Economic Dynamics, Elsevier for the Society for Economic Dynamics, vol. 13(4), pages 919-933, October.
    3. Nengjiu Ju & Jianjun Miao, 2012. "Ambiguity, Learning, and Asset Returns," Econometrica, Econometric Society, vol. 80(2), pages 559-591, March.
    4. Cristina Arellano, 2008. "Default Risk and Income Fluctuations in Emerging Economies," American Economic Review, American Economic Association, vol. 98(3), pages 690-712, June.
    5. Fernández-Villaverde, Jesús & Zarruk Valencia , David, 2018. "A Practical Guide to Parallelization in Economics," CEPR Discussion Papers 12890, C.E.P.R. Discussion Papers.
    6. Jesús Fernández‐Villaverde & Samuel Hurtado & Galo Nuño, 2023. "Financial Frictions and the Wealth Distribution," Econometrica, Econometric Society, vol. 91(3), pages 869-901, May.
    7. Fatih Guvenen, 2009. "A Parsimonious Macroeconomic Model for Asset Pricing," Econometrica, Econometric Society, vol. 77(6), pages 1711-1750, November.
    8. Shihao Gu & Bryan Kelly & Dacheng Xiu, 2020. "Empirical Asset Pricing via Machine Learning," Review of Financial Studies, Society for Financial Studies, vol. 33(5), pages 2223-2273.
    9. Greg Kaplan & Giovanni L. Violante, 2014. "A Model of the Consumption Response to Fiscal Stimulus Payments," Econometrica, Econometric Society, vol. 82(4), pages 1199-1239, July.
    10. Aruoba, S. Borağan & Fernández-Villaverde, Jesús, 2015. "A comparison of programming languages in macroeconomics," Journal of Economic Dynamics and Control, Elsevier, vol. 58(C), pages 265-273.
    11. Chase Coleman & Spencer Lyon & Lilia Maliar & Serguei Maliar, 2021. "Matlab, Python, Julia: What to Choose in Economics?," Computational Economics, Springer;Society for Computational Economics, vol. 58(4), pages 1263-1288, December.
    12. Volodymyr Mnih & Koray Kavukcuoglu & David Silver & Andrei A. Rusu & Joel Veness & Marc G. Bellemare & Alex Graves & Martin Riedmiller & Andreas K. Fidjeland & Georg Ostrovski & Stig Petersen & Charle, 2015. "Human-level control through deep reinforcement learning," Nature, Nature, vol. 518(7540), pages 529-533, February.
    13. Aldrich, Eric M. & Fernández-Villaverde, Jesús & Ronald Gallant, A. & Rubio-Ramírez, Juan F., 2011. "Tapping the supercomputer under your desk: Solving dynamic equilibrium models with graphics processors," Journal of Economic Dynamics and Control, Elsevier, vol. 35(3), pages 386-393, March.
    14. Susan Athey & Mohsen Bayati & Guido Imbens & Zhaonan Qu, 2019. "Ensemble Methods for Causal Effects in Panel Data Settings," AEA Papers and Proceedings, American Economic Association, vol. 109, pages 65-70, May.
    15. Mr. Leonardo Martinez & Horacio Sapriza & Juan Carlos Hatchondo, 2010. "Quantitative properties of sovereign default models: solution methods matter," IMF Working Papers 2010/100, International Monetary Fund.
    16. Jesus Fernandez-Villaverde & Samuel Hurtado & Galo Nuno, 2019. "Financial Frictions and the Wealth Distribution," PIER Working Paper Archive 19-015, Penn Institute for Economic Research, Department of Economics, University of Pennsylvania.
    17. Longstaff, Francis A & Schwartz, Eduardo S, 2001. "Valuing American Options by Simulation: A Simple Least-Squares Approach," University of California at Los Angeles, Anderson Graduate School of Management qt43n1k4jb, Anderson Graduate School of Management, UCLA.
    Full references (including those not matched with items on IDEAS)

    Citations

    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
    as


    Cited by:

    1. Victor Duarte & Diogo Duarte & Dejanir H. Silva, 2024. "Machine Learning for Continuous-Time Finance," CESifo Working Paper Series 10909, CESifo.

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Mingzhuo Deng & Pablo A. Guerron-Quintana & Lewis Tseng, 2023. "Parallel Computation of Sovereign Default Models," Computational Economics, Springer;Society for Computational Economics, vol. 62(3), pages 1047-1085, October.
    2. Thomas J. Sargent & John Stachurski, 2024. "Dynamic Programming: Finite States," Papers 2401.10473, arXiv.org.
    3. Jesus Fernandez-Villaverde, 2020. "Simple Rules for a Complex World with Arti?cial Intelligence," PIER Working Paper Archive 20-010, Penn Institute for Economic Research, Department of Economics, University of Pennsylvania.
    4. Hui Chen & Antoine Didisheim & Simon Scheidegger, 2021. "Deep Structural Estimation:With an Application to Option Pricing," Cahiers de Recherches Economiques du Département d'économie 21.14, Université de Lausanne, Faculté des HEC, Département d’économie.
    5. Peri, Alessandro, 2020. "A hardware approach to value function iteration," Journal of Economic Dynamics and Control, Elsevier, vol. 114(C).
    6. Victor Duarte & Diogo Duarte & Dejanir H. Silva, 2024. "Machine Learning for Continuous-Time Finance," CESifo Working Paper Series 10909, CESifo.
    7. Hui Chen & Antoine Didisheim & Simon Scheidegger, 2021. "Deep Structural Estimation: With an Application to Option Pricing," Papers 2102.09209, arXiv.org.
    8. Falko Juessen & Andreas Schabert, 2013. "Fiscal Policy, Sovereign Default, and Bailouts," Working Paper Series in Economics 67, University of Cologne, Department of Economics.
    9. Carré, Sylvain & Cohen, Daniel & Villemot, Sébastien, 2019. "The sources of sovereign risk: a calibration based on Lévy stochastic processes," Journal of International Economics, Elsevier, vol. 118(C), pages 31-43.
    10. Ricardo Sabbadini, 2018. "International Reserves Management in a Model of Partial Sovereign Default," Working Papers, Department of Economics 2018_14, University of São Paulo (FEA-USP).
    11. Takefumi Yamazaki, 2018. "Accuracy and speed of the solution methods for sovereign default models: The stable performance of the Tauchen method and cubic spline interpolation," Public Policy Review, Policy Research Institute, Ministry of Finance Japan, vol. 14(4), pages 641-662, July.
    12. Cohen, Daniel & Villemot, Sébastien, 2012. "The Sovereign Default Puzzle: Modelling Issues and Lessons for Europe," CEPR Discussion Papers 8971, C.E.P.R. Discussion Papers.
    13. Kaas, Leo & Mellert, Jan & Scholl, Almuth, 2020. "Sovereign and private default risks over the business cycle," Journal of International Economics, Elsevier, vol. 123(C).
    14. Ricardo Sabbadini, 2017. "Overcoming the Original Sin: Gains from Local Currency External Debt," Working Papers, Department of Economics 2017_27, University of São Paulo (FEA-USP).
    15. Javier Bianchi & Juan Carlos Hatchondo & Leonardo Martinez, 2018. "International Reserves and Rollover Risk," American Economic Review, American Economic Association, vol. 108(9), pages 2629-2670, September.
    16. de Ferra, Sergio & Mallucci, Enrico, 2022. "Sovereign risk matters: Endogenous default risk and the time-varying volatility of interest rate spreads," Journal of International Economics, Elsevier, vol. 134(C).
    17. Athreya, Kartik B., 2014. "Big Ideas in Macroeconomics: A Nontechnical View," MIT Press Books, The MIT Press, edition 1, volume 1, number 0262019736, December.
    18. Damián Pierri & Julián Martínez, 2020. "Accuracy in Recursive Minimal State Space Methods," Working Papers 147, Universidad de San Andres, Departamento de Economia, revised Aug 2020.
    19. Grey Gordon & Pablo Guerron-Quintana, 2018. "Dynamics of Investment, Debt, and Default," Review of Economic Dynamics, Elsevier for the Society for Economic Dynamics, vol. 28, pages 71-95, April.
    20. Fink, Fabian & Scholl, Almuth, 2016. "A quantitative model of sovereign debt, bailouts and conditionality," Journal of International Economics, Elsevier, vol. 98(C), pages 176-190.

    More about this item

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:eee:dyncon:v:111:y:2020:i:c:s0165188919301939. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Catherine Liu (email available below). General contact details of provider: http://www.elsevier.com/locate/jedc .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.