tensorflow / tensorflow/probability
Adding Stochastic Gradient Hamiltonian Monte Carlo (SGHMC) to TFP
Nobody has claimed this yet.
- Dominant language
- Jupyter Notebook
- Stars
- 4.4k
- Forks
- 1.1k
- PR merge metrics
- No merged PRs in 30d
Description
Hello there!
I noticed that TFP still lacks an implementation of SGHMC [1]. I would like to use it in some of my projects, and since I am already relying heavily on the TFP ecosystem, it would be very convenient if it was there. There is definitely interest in this, see Issue #361.
I am wondering whether the reason that it is not implemented yet is simply due to commitments towards more burning issues on the internal development side, or there are deeper reasons involving e.g. compatibility or planned refactoring? In case it is the former reason, I would be very happy to have a stab at implementing it, most likely following up on the suggestions made in #361. Concretely, it appears that it would be more appropriate to implement it as a tf.optimizers.Optimizer as it is done with tfp.optimizer.StochasticGradientLangevinDynamics.
Cheers,
Greg
[1] Chen, T., Fox, E., and Guestrin, C. Stochastic Gradient Hamiltonian Monte Carlo. ICML 2014.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading the suggestions in issue #361 and the existing tfp.optimizer.StochasticGradientLangevinDynamics entry point, along with the proposed tf.optimizers.Optimizer direction. Done means reaching agreement on compatibility and refactoring concerns and adding an SGHMC implementation to TFP.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- tensorflow
- Domain
- machine-learning
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100