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

Create summary table of all DP benchmarks #1

Open
9 of 35 tasks
luiarthur opened this issue May 7, 2020 · 2 comments
Open
9 of 35 tasks

Create summary table of all DP benchmarks #1

luiarthur opened this issue May 7, 2020 · 2 comments
Milestone

Comments

@luiarthur
Copy link
Owner

luiarthur commented May 7, 2020

The DP models benchmark for a given sample size can be summarized in the table below, with the cells being compile times (if applicable) and execution times. Timings for forward passes and gradient computations of the models will also be computed if high-level API is available and exposed. The appropriate accompanying data visualizations (line plots, surface plots) will be included to make the results more interpretable. Links will be included to MWEs.

  • Make a dynamic table which changes N. (e.g. N=50, 100, 200, 400, 800, 1600).
  • Make interactive line plots where
    • x-axis is N, and y-axis is execution time or compile time
    • be able to select which implementations / PPL to show on the plot
Model (PPL), sample size = N Collapsed Gibbs SMC Particle Gibbs HMC/NUTS (SB) ADVI (SB)
DP mixture of Gaussians (Turing)
  • TODO
  • TODO
  • TODO
  • TODO
  • TODO
DP mixture of Gaussians (STAN) NA NA NA
  • TODO
  • TODO
DP mixture of Gaussians (Nimble)
  • TODO
  • TODO
  • TODO
NA NA
DP mixture of Gaussians (Pyro) NA
  • TODO
NA
  • TODO
  • TODO
DP mixture of Gaussians (TFP) NA NA NA
  • TODO
  • TODO
DP mixture of non-Gaussians (Turing)
  • TODO
  • TODO
  • TODO
  • TODO
  • TODO
DP mixture of non-Gaussians (STAN) NA NA NA
  • TODO
  • TODO
DP mixture of non-Gaussians (Nimble)
  • TODO
  • TODO
  • TODO
  • TODO
  • TODO
DP mixture of non-Gaussians (Pyro) NA
  • TODO
  • TODO
  • TODO
  • TODO
DP mixture of non-Gaussians (TFP) NA NA NA
  • TODO
  • TODO

Notes:

  • Prefer doing the experiments by column as opposed to by row in this table. This way, if we are run out of time, we have benchmarks across PPLs, for a few implementations; and not benchmarks across a few implementations for one or two PPLs.
  • For now, for fix truncation level for number of stick-breaking components. Time permitting, see if a benchmark can be done to include varying truncation levels.
@luiarthur
Copy link
Owner Author

This Google sheet contains the timings.

@luiarthur luiarthur modified the milestones: First month, Second Month Jul 3, 2020
@luiarthur
Copy link
Owner Author

  • Some changes in decorators provided significant speedups in TFP implementation. Need to update
    • timings
    • notebook
    • snippets

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

1 participant