SheffieldML / SheffieldML/GPy

SparseGP: how to bound the range of inducing points during optimization

Open
#1,007 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
2.2k
Forks
570
PR merge metrics
No merged PRs in 30d

Description

Hi,

First of all, thanks for this great GPy package! Recently I've been using the GPy package to implement sparse GP regression, and have encountered some issues that I haven't been able to resolve due to my ignorance of GP. I have around 60000 2-dimensional inputs and the corresponding one-dimensional output. When I tried to fit a sparse GP model, I tried two different approaches to select the inducing points: 1) choose fixed sub-data points from the raw input/output; 2) treat the inducing points as parameters and find the optimal inducing points through the optimization process.

For the first approach, the results were pretty good in terms of getting a converged log-likelihood if the number of inducing points is large (e.g., larger than 900 inducing points). However, the second approach which is essentially letting the GP find the optimal inducing points itself returns pretty bad/crazy results in terms of log-likelihood. When I print out those 'optimal' inducing points, I noticed that those optimal inducing points are mostly outside the range where my training datasets lie in. So I think one thing I could try is to sort of bound the range of inducing points during optimizing the inducing points, but I haven't been able to find the function in the current model (or maybe it is impossible or it's somewhere yet I haven't been able to find it?)

Anyway, I just want to reach out to see if there is already a function somewhere (yet I haven't been able to find it) to help me do this or if it's just mathematically impossible. Any feedback will be greatly appreciated!

Thanks and Regards!

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files, tests, or concrete entry points are named. Start with GPy's sparse GP model and inducing-point optimization APIs; determine whether bounds are supported and what behavior is expected. Done would be a documented supported approach or a clarified limitation or design request.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
machine-learning
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.