Fast meta-learning rates with variational task posteriors
Fast meta-learning rates with variational task posteriors Can a meta-learner train on variational approximations to within-task Gibbs posteriors and retain the fast meta-level complexity term for prediction on an independent task? The answer is yes when the new task uses exact Gibbs inference. When the new task also uses variational inference, the bound adds a taskwise reverse-KL approximation cost. For mixtures with fixed conditional distributions on a shared finite partition, the bound for variational deployment has the same form as the bound for exact deployment. Riou, Alquier and Chérief-Abdellatif ask in §4.2, Open Question 1, p. 12, whether the hyperposterior trained on variational task objectives can replace the exactly trained hyperposterior on the left of their Theorem 5. Theorem 5 already uses the variational family in its population comparator. Its fresh-task risk uses exact Gibbs inference. The learner replacement holds for any common variational family with measurable minimizing selections on the finite-score domain, a measurable minimizing training hyperposterior and a finite feasible comparison. Assume that the loss, the displayed risk and score maps, and the evaluation kernels are measurable. This includes the population infimum in \(J_{\mathcal F}\) as a function of \((P,N,\pi)\). The same population comparator is retained, with the meta-temperature specified below. Open Question 1 and Theorem 5 · Restatement in §7, p. 19 Objectives and guarantees The \(T\ge1\) training tasks \((P_t,N_t,S_t)\) are iid. An independent fresh task \((P,N,S)\) has the same law. Given \((P,N)\), the sample \(S=(Z_1,\ldots,Z_N)\) consists of iid draws from \(P\), with \(N\ge n_0\ge1\) almost surely. For a loss \(0\le\ell(\theta,z)\le C\) with \(C>0\), set \(R_P(\theta)=\mathbb E_P\ell(\theta,Z)\), \(\widehat R_S(\theta)=N^{-1}\sum_{i=1}^N\ell(\theta,Z_i)\), \(R_P^*=\inf_\theta R_P(\theta)\) and \(\bar R^*=\mathbb E_P R_P^*\). A probability measure acting on a function denotes integration. For a candidate prior \(\pi\) on the parameter space and \(0<\alpha<1/C\), define \[H_S(\pi)=\inf_\rho\left\{\rho\widehat R_S+\frac{\mathrm{KL}(\rho\Vert\pi)}{\alpha N}\right\},\qquad V_S(\pi)=\inf_{\rho\in\mathcal F}\left\{\rho\widehat R_S+\frac{\mathrm{KL}(\rho\Vert\pi)}{\alpha N}\right\}. \] Here the first infimum ranges over all probability measures, and \(\mathcal F\) is the within-task variational family used in training and in the comparator. The learner \(\widehat\Pi_{\mathcal F}\) minimizes \(\Pi T^{-1}\sum_{t=1}^T V_{S_t}+\mathrm{KL}(\Pi\Vert\Lambda)/(\beta T)\) over the hyperposterior class \(\mathcal G\), where \(\Lambda\) is the meta-prior. The population comparator is \[J_{\mathcal F}=\inf_{\Pi\in\mathcal G}\left\{ \mathbb E_{P,N}\int\inf_{\rho\in\mathcal F} \left[\rho R_P-R_P^*+\frac{\mathrm{KL}(\rho\Vert\pi)}{\alpha N}\right]\Pi(d\pi) +\frac{\mathrm{KL}(\Pi\Vert\Lambda)}{\beta T}\right\}. \] The outer infimum is over deterministic hyperposteriors. The within-task infimum is inside the task and prior averages. Set \(\tau=\min\{\alpha n_0,1/(2C)\}\), \(B=4e^{2C\tau}/\tau\) and \(\beta=1/(C+B)\). At \(\alpha n_0\ge1/(2C)\) this gives the source temperature \(1/((1+8e)C)\). Below that threshold the explicit choice of \(\beta\) ensures that the proof applies for every admissible sample size. At fixed within-task tuning the meta complexity term scales as \(\mathrm{KL}(\Pi\Vert\Lambda)/T\). For the within-task Bernstein branch, suppose that for almost every \(P\) a risk minimizer \(\theta_P^*\) satisfies \(\mathbb E_P[(\ell(\theta,Z)-\ell(\theta_P^*,Z))^2]\le c(R_P(\theta)-R_P^*)\) for all \(\theta\), with a common constant \(c\). Take \(a=1-\alpha c/[2(1-C\alpha)]>0\) and \(b=0\). The canonical choice \(\alpha=1/(C+c)\) for \(c>0\) gives \(a=1/2\). The bounded-loss branch takes \(a=1\) and \(b=\alpha C^2/8\). Let \(e_H\) and \(e_V\) denote the expected fresh-task population risk minus \(\bar R^*\) for, respectively, the exact Gibbs posterior \(\rho_S^G(\pi)\) and the variational rule. The variational rule uses a measurable minimizing selection where \(V_S(\pi)\) is finite and a measurable extension elsewhere. The expectation draws the training tasks, then \(\pi\sim\widehat\Pi_{\mathcal F}\), and the independent fresh task. The guarantees are \[e_H(\widehat\Pi_{\mathcal F})\le\frac{2(J_{\mathcal F}+b)}{a},\qquad e_V(\widehat\Pi_{\mathcal F})\le\frac{2(J_{\mathcal F}+b)}{a}+\frac{\mathbb E D_S(\pi)}{a}, \] where \[D_S(\pi)=V_S(\pi)-H_S(\pi)=\frac{1}{\alpha N}\inf_{\rho\in\mathcal F}\mathrm{KL}(\rho\Vert\rho_S^G(\pi)). \] An infinite right-hand side gives a vacuous bound. If \(V_S(\pi)=+\infty\) with positive probability under fresh-task evaluation, then \(\mathbb E D_S(\pi)=+\infty\) and the variational deployment bound is vacuous. A uniform upper bound \(d\) on the KL infimum gives an additional deployment cost of at most \(d\,\mathbb E(1/N)/(a\alpha)\). Why the training comparison works The Gibbs score satisfies that \(\pi\mapsto e^{-\tau H_S(\pi)}\) is concave when \(\tau\le\alpha N\). Its midpoint inequality controls the second moment of a difference of Gibbs scores by a population score difference. The resulting meta-level change-of-measure bound applies to any measurable training hyperposterior with finite expected objective. At the variationally trained hyperposterior, the pointwise inequality \(H_S(\pi)\le V_S(\pi)\) then allows comparison through the objective the learner actually minimizes. This is the step that brings the variational training optimizer into the bound of Theorem 5. The learner-independent inequality follows the argument leading to Appendix F, equation (25). Appendix F For the deployment bound without an added term, let \(A_1,\ldots,A_q\) be a finite measurable partition of the parameter space and fix probability measures \(\tau_j\) supported on \(A_j\). Let \(\mathcal F=\{\sum_{j=1}^q w_j\tau_j:w\in\Delta_q\}\), where \(\Delta_q\) is the full probability simplex. Require the meta-prior and each candidate hyperposterior to be supported on priors of this same form. For \(\pi=\sum_jp_j\tau_j\), the within-task KL between mixtures equals \(\mathrm{KL}(w\Vert p)\), including incompatible zero weights. Using the cell-averaged losses \(\ell_j(z)=\int\ell(\theta,z)\,\tau_j(d\theta)\), the variational score is an exact Gibbs score on the cell weights. The meta-level argument can therefore use \(V_S\) directly, and the within-task bound still uses the original risk baseline \(\bar R^*\). This gives \(e_V(\widehat\Pi_{\mathcal F})\le 2(J_{\mathcal F}+b)/a\) even when the exact Gibbs posterior changes the conditional distributions within cells.
Authors
- Zixuan He
Institutions
- University of Glasgow (GB)
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-12-03
- DOI
- https://doi.org/10.5281/zenodo.24797568
- Primary Topic
- Domain Adaptation and Few-Shot Learning
- Type
- preprint