Skip to main content
Log in

A Class of Mesh-Free Algorithms for Some Problems Arising in Finance and Machine Learning

  • Published:
Journal of Scientific Computing Aims and scope Submit manuscript

Abstract

We introduce a numerical methodology, referred to as the transport-based mesh-free method, which allows us to deal with continuous, discrete, or statistical models in the same unified framework, and leads us to a broad class of numerical algorithms recently implemented in a Python library (namely, CodPy). Specifically, we propose a mesh-free discretization technique based on the theory of reproducing kernels and the theory of transport mappings, in a way that is reminiscent of Lagrangian methods in computational fluid dynamics. We introduce kernel-based discretizations of a variety of differential and discrete operators (gradient, divergence, Laplacian, Leray projection, extrapolation, interpolation, polar factorization). The proposed algorithms are nonlinear in nature and enjoy quantitative error estimates based on the notion of discrepancy error, which allows one to evaluate the relevance and accuracy of, both, the given data and the numerical solutions. Our strategy is relevant when a large number of degrees of freedom are present as is the case in mathematical finance and machine learning. We consider the Fokker–Planck–Kolmogorov system (relevant for problems arising in finance and material dynamics) and a class of neural networks based on support vector machines.

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.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9
Fig. 10
Fig. 11
Fig. 12
Fig. 13
Fig. 14
Fig. 15

Similar content being viewed by others

Data availability

Enquiries about data availability should be directed to the authors.

Notes

  1. By consistency, we mean that the schemes can only converge to a solution to the given problem.

  2. We do not perform here comparisons with existing algorithms (a task tackled in [19]).

  3. The points are arbitrary at this stage while later they will be chosen in order to minimize an error functional such as (2.2) below.

  4. In practice, the error estimate should also take into account the are approximation errors, in the form of a variance term taking into account the variability of random data.

  5. This expression is motivated from (2.8) and (2.9).

  6. Here, the term “extrapolation” is used when some data defined on a “small” set are extended to a “large” set. Statistician reader might prefer a different terminology here.

  7. Our notation may be unconventional for a statistician reader, as we use Y for a regression variable (and not for a dependent variable).

  8. As define at https://www.tensorflow.org/tutorials/quickstart/beginner.

  9. By definition, i.i.d. variables are independent and identically distributed random variables.

  10. For convex maps, the choice \(\partial _t T^{-1} = \zeta \circ T^{-1}\) is an alternate and simpler computational choice.

References

  1. Afrasiabi, M., Roethlin, M., Wegener, K.: Contemporary mesh-free methods for three-dimensional heat conduction problems. Arch. Comput. Methods Eng. 27, 1413–1447 (2020)

    Article  MathSciNet  Google Scholar 

  2. Antonov, A., Konikov, M., Spector, M.: The free boundary SABR: natural extension to negative rates, January 2015, technical report available at http://ssrn.com/abstract=2557046

  3. Babuska, I., Banerjee, U., Osborn, J.E.: Survey of mesh-less and generalized finite element methods: a unified approach. Acta Numer. 12, 1–125 (2003)

    Article  MathSciNet  MATH  Google Scholar 

  4. Berlinet, A., Thomas-Agnan, C.: Reproducing Kernel Hilbert Spaces in Probability and Statistics. Springer, Berlin (2004)

    Book  MATH  Google Scholar 

  5. Bessa, M.A., Foster, J.T., Belytschko, T., Liu, W.K.: A mesh-free unification: reproducing kernel peridynamics. Comput. Mech. 53, 1251–1264 (2014)

    Article  MathSciNet  MATH  Google Scholar 

  6. Brace, A., Gatarek, D., Musiela, M.: The market model of interest rate dynamics. Math. Finance 7, 127–154 (1997)

    Article  MathSciNet  MATH  Google Scholar 

  7. Chen, J.-S., Liu, W.-K., Hillman, M.C., Chi, S.-W., Lian, Y.-P., Bessa, M.A.: Reproducing kernel particle method for solving partial differential equations. In: Encyclopedia for Computational Mechanics, 2nd edn (2018)

  8. Fasshauer, G.E.: Mesh-free methods. In: Handbook of Theoretical and Computational Nanotechnology, vol. 2 (2006)

  9. Haghighat, E., Raissib, M., Moure, A., Gomez, H., Juanes, R.: A physics-informed deep learning framework for inversion and surrogate modeling in solid mechanics. Comput. Methods Appl. Mech. Eng. 379, 113741 (2021)

    Article  MathSciNet  MATH  Google Scholar 

  10. Koester, J.J., Chen, J.-S.: Conforming window functions for mesh-free methods. Commun. Numer. Methods Eng. 347, 588–621 (2019)

    MATH  Google Scholar 

  11. LeCun, Y., Cortes, C., Burges, C.J.C.: The MNIST database of handwritten digits, document available at the link http://yann.lecun.com/exdb/mnist

  12. LeFloch, P.G., Mercier, J.-M.: Revisiting the method of characteristics via a convex hull algorithm. J. Comput. Phys. 298, 95–112 (2015)

    Article  MathSciNet  MATH  Google Scholar 

  13. LeFloch, P.G., Mercier, J.-M.: A new method for solving Kolmogorov equations in mathematical finance. C. R. Math. Acad. Sci. Paris 355, 680–686 (2017)

    Article  MathSciNet  MATH  Google Scholar 

  14. LeFloch, P.G., Mercier, J.-M.: The transport-based mesh-free method (TMM). A short review. Wilmott J. 109, 52–57 (2020)

    Article  Google Scholar 

  15. LeFloch, P.G., Mercier, J.-M.: Mesh-free error integration in arbitrary dimensions: a numerical study of discrepancy functions. Comput. Methods Appl. Mech. Eng. 369, 113245 (2020)

    Article  MathSciNet  MATH  Google Scholar 

  16. LeFloch, P.G., Mercier, J.-M., Miryusupov, S.: CodPy: a tutorial, January 2021, technical report available at http://ssrn.com/abstract=3769804

  17. LeFloch, P.G., Mercier, J.-M., Miryusupov, S.: CodPy: an advanced tutorial, January 2021, technical report available at http://ssrn.com/abstract=3769804

  18. LeFloch, P.G., Mercier, J.-M., Miryusupov, S.: CodPy: a kernel-based reordering algorithm, January 2021, technical report available at http://ssrn.com/abstract=3770557

  19. LeFloch, P.G., Mercier, J.-M., Miryusupov, S.: CodPy: a Python library for machine learning, mathematical finance, and statistics, textbook in preparation

  20. Li, S.F., Liu, W.K.: Mesh-Free Particle Methods. Springer, Berlin (2004)

    Google Scholar 

  21. Liu, G.R.: Mesh-Free Methods: Moving Beyond the Finite Element Method. CRC Press, Boca Raton (2003)

    MATH  Google Scholar 

  22. Liu, G.R.: An overview on mesh-free methods for computational solid mechanics. Int. J. Comput. Methods 13, 1630001 (2016)

    Article  MathSciNet  MATH  Google Scholar 

  23. Liu, W.-K., Jun, S., Li, S., Adee, J., Belytschko, T.: Reproducing kernel particle methods for structural dynamics. Int. J. Numer. Methods Fluids 38, 1655–1679 (1995)

    Article  MathSciNet  MATH  Google Scholar 

  24. Liu, W.-K., Jun, S., Sihling, D., Chen, Y., Hao, W.: Multiresolution reproducing kernel particle method for computational fluid dynamics. Int. J. Numer. Methods Fluids 24, 1391–1415 (1997)

    Article  MathSciNet  MATH  Google Scholar 

  25. Mercier, J.-M., Miryusupov, S.: Hedging strategies for net interest income and economic values of equity, Sept. 2019, available at http://ssrn.com/abstract=3454813

  26. Nakano, Y.: Convergence of mesh-free collocation methods for fully nonlinear parabolic equations. Numer. Math. 136, 703–723 (2017)

    Article  MathSciNet  MATH  Google Scholar 

  27. Salehi, R., Dehghan, M.: A moving least square reproducing polynomial mesh-less method. Appl. Numer. Math. 69, 34–58 (2013)

    Article  MathSciNet  MATH  Google Scholar 

  28. Sirignano, J., Spiliopoulos, K.: DGM: a deep learning algorithm for solving partial differential equations. J. Comput. Phys. 375, 1339–1364 (2018)

    Article  MathSciNet  MATH  Google Scholar 

  29. Sod, G.A.: A survey of several finite difference methods for systems of nonlinear hyperbolic conservation laws. J. Comput. Phys. 27, 1–31 (1978)

    Article  MathSciNet  MATH  Google Scholar 

  30. Varga, R.S.: Matrix Iterative Analysis. Springer, Berlin (2000)

    Book  MATH  Google Scholar 

  31. Villani, C.: Optimal Transport, Old and New. Springer, Berlin (2009)

    Book  MATH  Google Scholar 

  32. Wendland, H., Sobolev-type error estimates for interpolation by radial basis functions. In: Surface Fitting and Multiresolution Methods (Chamonix-Mont-Blanc, 1996). Vanderbilt University Press, Nashville, pp. 337–344 (1997)

  33. Wendland, H.: Scattered Data Approximation. Cambridge Monograph. Applied and Computational Mathematics. Cambridge University, Cambridge (2005)

    Google Scholar 

  34. Zhou, J.X., Li, M.E.: Solving phase field equations using a mesh-less method. Commun. Numer. Methods Eng. 22, 1109–1115 (2006)

    Article  MATH  Google Scholar 

Download references

Funding

The authors have not disclosed any funding.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Philippe G. LeFloch.

Ethics declarations

Conflict of interest

The authors have not disclosed any competing interests.

Additional information

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

LeFloch, P.G., Mercier, JM. A Class of Mesh-Free Algorithms for Some Problems Arising in Finance and Machine Learning. J Sci Comput 95, 75 (2023). https://doi.org/10.1007/s10915-023-02179-5

Download citation

  • Received:

  • Revised:

  • Accepted:

  • Published:

  • DOI: https://doi.org/10.1007/s10915-023-02179-5

Keywords

Navigation