-
Notifications
You must be signed in to change notification settings - Fork 219
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
AISTATS camera-ready plan #424
Comments
Note: for testing we need to test both with ReverseDiff.jl and ForwardDiff.jl as backend. Also I have set a flag to use ReverseDiff.jl either "safely" or `unsafely". "safely" means Turing.jl force to re-compile the tape each time it get gradient - it is much slower but can handle dynamic model.
|
Here is the CrossCat model I mentioned - http://probcomp.csail.mit.edu/crosscat/. This model is not super urgent, let's focus on existing models for now. When we are done, we can consider the following two models
|
If you need more realish benchmarks you can use ours from DiffEqBayes.jl. Some of them we have Turing.jl omitted because of SciML/DiffEqBayes.jl#30 , but for what works it seems to work well according to the benchmarks in https://github.com/JuliaDiffEq/DiffEqBenchmarks.jl/ There's a question of how to address time and accuracy at the same time that is being worked on by @Vaibhavdixit02. If you have any pointers that would be helpful. |
Thanks! I checked the benchmark results. Just FYI the benchmark results actually indicates Turing.jl is slower than Stan as the sampling algorithm used is different. E.g. https://github.com/JuliaDiffEq/DiffEqBenchmarks.jl/blob/master/ParameterEstimation/DiffEqBayesFitzHughNagumo.ipynb shows Stan uses 93.0s and Turing.jl uses 30.9s, however, Stan takes I managed to make Turing.jl faster on high dimensional problem by adapting ReverseDiff.jl (branch not merged yet) but it seems that another main slowness of Turing.jl comes from things mentioned in #400, which I don't have yet a very clear approach about how to improve. |
Benchmark models are added in PR #424 |
More benchmark (Improving Wiki #335, Add more models to benchmarking #309)
Improve documentation (Doc Turing.assume, Turing.observe and Turing.VarName #344, Better documentations, especially get-started #280, Turing Interface Design #104)
Finishing ReverseDiff.jl integration (AutoDiff #331,
ForwardDiff.gradient
is slow #234)Only return log posterior and change vi as side effect
Better typing in the code
@code_warntype
(suggested by Maxime)Replace
vi.vals
byvi.rvs
VarInfo
: dist ==> typeof{dist} #191Try to resolve adaptation problem (Robust adaption for NUTS #324 (comment))
The text was updated successfully, but these errors were encountered: