Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to do double stochastic integrals? #120

Open
crowsonkb opened this issue Nov 7, 2022 · 1 comment
Open

How to do double stochastic integrals? #120

crowsonkb opened this issue Nov 7, 2022 · 1 comment

Comments

@crowsonkb
Copy link

crowsonkb commented Nov 7, 2022

Is it possible to use or modify this code to do double stochastic integrals in a reasonable way, in order to support higher order SDE solvers? I am using your BrownianTree implementation with my own custom solvers right now and would like to try a higher order solver.

Thank you,
Katherine Crowson

@patrick-kidger
Copy link
Collaborator

Right now torchsde is capable of providing both Davie and Davie-Foster approximations to Levy area (which is the double stochastic integral that usually matters). This can be done with e.g. BrownianInterval(..., levy_area_approximation="foster").

You can then access this at call-time by doing bm(..., return_A=True).

Note that this isn't the usual Wiktorrson approximation. That is typically used to give higher-order strong convergence, but is quite computationally expensive. The Davie[-Foster] approximations instead only give higher-order Wasserstein convergence, but are computationally much cheaper.

Let me know if you need more details. This topic is a bit of a can of worms, and the mathematics is not well-documented either here or in the academic literature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants