Add VGP: variational Gaussian inference for non-Gaussian likelihoods without inducing points
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 35/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 静か
- 技術スタック
- python
調査の方向性
まず、既存の fit/predict ワークフローと、issue で言及されている変分期待値求積、gauss_kl、conditional の仕組みを読みます。トレーニング入力全体に対する posterior と ELBO を中心に VGP を定義し、次に、観測ごとの likelihood dispatch で composite likelihoods をサポートできるかを検討します。非ガウス likelihoods とユーザー定義 likelihoods が inducing points なしで動作し、妥当な marginal-likelihood lower bound を生成できれば完了です。
索引モデルが issue の本文から書いたものです。
説明
This issue covers adding a VGP model, a full Variational Gaussian Process, that performs deterministic, gradient-based variational inference for non-Gaussian likelihoods on the full (non-sparse) GP, with no inducing points. The variational posterior q(f) = N(m, S) is placed directly over the latent function at the training inputs, and we maximize the ELBO, which is the sum over points of E_q(f_i)[log p(y_i | f_i)] minus KL[q(f) || p(f)]. The method follows Opper and Archambeau (2009), "The Variational Gaussian Approximation Revisited," Neural Computation 21(3), which shows the optimal Gaussian posterior needs only O(N) variational parameters.
The goal is to let users fit arbitrary likelihoods (Poisson, Student-t, Bernoulli, negative-binomial, and user-defined) on a small-to-moderate-N GP while getting a proper lower bound on the marginal likelihood. It fits naturally into the existing fit/predict workflow and reuses the existing variational-expectation quadrature, gauss_kl, and conditional machinery.
This work will also add support for composite likelihoods, meaning different likelihood factors on different observations (for example, some y_i under a Student-t likelihood and others interval-censored). Because the ELBO data term is a sum over independent points, each point can carry its own likelihood factor, so a combinator that dispatches per observation composes directly with the VGP objective.
The gap it fills: today a non-Gaussian likelihood forces SVGP, which brings inducing-point machinery whose only purpose is scaling. That is unnecessary at small N and introduces an approximation you do not want there. gp.Unapproximated is Gaussian-only, so there is currently no way to use a non-Gaussian likelihood on a full GP without the inducing-point approximation. VGP fills that slot. Conceptually it is SVGP with the inducing points pinned to the data and the Nystrom gap removed.
- 主要言語
- Jupyter Notebook
- スター
- 15
- フォーク
- 5
- 平均マージ
- 2日 10時間
- マージ済み PR(30日)
- 5
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
pymc-devs/ptgp のほかの issue
-
難易度 5/5 1週間以上 初心者へのやさしさ 22/100
-
Expose and document VGP variational parameters for fit diagnostics対応中かも @bwengals が 54 日前に担当しました。 オープン
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
-
pymc
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
[Bug]: PSNR overflows with a float16 tensor data range for 10-bit images対応中かも @AkshatPal2007 が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
bug good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
callstackincubator/ai#378 ·
メンテナーはふだん 1 日以内に返信
-
[BUG] KVarN assertion failure in build_inp_mem_hybrid_iswa() due to uninitialized self_kvarn_rotオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
Anbeeld/beellama.cpp#205 ·