Share
Embed
Recent Findings on Density-Ratio Approaches in Machineย Learning
Recent Findings on Density-Ratio Approaches in Machine Learning. FIML2022.
MasaKat0
March 30, 2022
Transcript
52 slides
-
Recent Findings on Density-Ratio Approaches in Machine Learning Workshop on
FIMI March. 30th, 2022 Masahiro Kato The University of Tokyo, Imaizumi Lab / CyberAgent, Inc. AILab -
Density-Ratio Approaches in Machine Learning (ML) n Consider two distributions
๐ and ๐ with a common support. n Let ๐โ and ๐โ be the density functions of ๐ and ๐, respectively. n Define the density ratio (function) as ๐โ ๐ฅ = "โ # $โ # . n Approaches using density ratios. โ Useful in many ML applications. 2 ๐โ(๐ฅ) ๐โ(๐ฅ) Density ratio ๐ ๐ฅ = "โ # $โ # . -
Density-Ratio Approach in ML n Many ML applications include two
or more distributions. โข Classification. โข Generative adversarial networks (GAN). โข Divergence between probability measures. โข Multi-armed bandit (MAB) problem (change of measures) โ In these tasks, the density ratio appears as a key component. 3 -
Empirical Perspective n An estimator of the density ratio ๐โ
provides a solution. โข Inlier-based outlier detection: finding outliers based on the density ratio (Hido et al. (2008)). โข Causal inference: conditional moment restrictions can be approximated by the density ratio (Kato et al. (2022)). โข GAN (Goodfellow (2010), Uehara et al. (2016)). โข Variational Bayesian (VB) method (Tran et al. (2017)) etc. 4 -
Theoretical Viewpoint n Using density ratios is also useful in
theoretical analysis โข Likelihood-ratio gives tight lower bounds on decision making problems. Ex. Lower bounds in MAB problems (Lai and Robbins (1985)). โข Transform an original problem to obtain a tight theoretical result. Ex. Large deviation principles for martingales (Fan et al. (2013, 2014)). 5 ๐ ๐ ๐โ(๐ฅ) ๐โ(๐ฅ) Some theoretical results Some theoretical results -
Presentation Outline: Recent (Our) Findings on Density Ratios 1. Density-Ratio
Estimation and its Applications Kato and Teshima (ICML2022), โNon-negative Bregman Divergence Minimization for Deep Direct Density Ratio Estimationโ 2. Causal Inference and Density Ratios Kato, Imaizumi, McAlinn, Yasui, and Kakehi (ICLR2022), โLearning Causal Relationships from Conditional Moment Restrictions by Importance Weightingโ 3. Density Ratios And Divergences between Probability Measures Kato, Imaizumi, and Minami (2022), โUnified Perspective on Probability Divergence via Maximum Likelihood Density Ratio Estimationโ 4. Change-of-Measure Arguments in Best Arm Identification Problem Kato, Ariu, Imaizumi, Uehara, Nomura, and Qin (2022), โBest Arm Identification with a Fixed Budget under a Small Gapโ 6 -
Density-Ratio Estimation and its Applications Workshop on Functional Inference and
Machine Intelligence Masahiro Kato, March. 30th, 2022 The University of Tokyo / CyberAgent, Inc. AILab 7 -
Density-Ratio Estimation (DRE) n Consider DRE from observations. n Two
sets of observations: ๐% %&' ( โผ ๐โ, ๐) )&' * โผ ๐โ. n Two-step method: โข Estimate ๐โ ๐ฅ and ๐โ(๐ฅ); then, construct an estimator of ๐โ(๐ฅ). ร Empirical performance. ร Theoretical guarantee. โ Consider direct estimation of ๐โ ๐ฅ : LSIF, KLIEP, and PU Learning 8 -
Least-Squares Importance Fitting (LSIF) n Let ๐ be a model
of the density ratio ๐โ. n The risk of the squared error is ๐ ๐ = ๐ผ+ ๐โ ๐ โ ๐ ๐ , . n The minimizer of the empirical risk, ฬ ๐, is an estimator of ๐โ. n Instead of ๐น(๐), we minimize an empirical risk of the following risk: 4 ๐ ๐ = โ2๐ผ- ๐ ๐ + ๐ผ+ ๐, ๐ . n This method is called LSIF (Kanamori et al. (2009)). 9 -
LSIF n Derivation: ๐โ = arg min . ๐ผ+ ๐โ
๐ โ ๐ ๐ , = arg min . ๐ผ+ ๐โ ๐ , โ 2๐โ ๐ ๐ ๐ + ๐,(๐) = arg min . ๐ผ+ โ2๐โ ๐ ๐ ๐ + ๐,(๐) = arg min . โ2๐ผ- ๐ ๐ + ๐ผ+ ๐,(๐) . โข Here, we used ๐ผ+ ๐โ ๐ฅ ๐ ๐ฅ = โซ ๐โ ๐ฅ ๐ ๐ฅ ๐โ ๐ฅ ๐๐ฅ = โซ ๐ ๐ฅ ๐โ ๐ฅ ๐๐ฅ = ๐ผ- ๐ ๐ฅ . 10 -
KL Importance Estimation Procedure (KLIEP) n KLIEP (Sugiyama et al.
(2007)) is another DRE method that uses the KL divergence between ๐โ(๐ฅ) and a model ๐ ๐ฅ = ๐ ๐ฅ ๐โ ๐ฅ : KL ๐โ ๐ฅ โฅ ๐ ๐ฅ = ' ๐โ ๐ฅ log ๐โ ๐ฅ ๐ ๐ฅ ๐๐ฅ = ' ๐โ ๐ฅ log ๐โ ๐ฅ ๐ ๐ฅ ๐โ(๐ฅ) ๐๐ฅ = ' ๐โ ๐ฅ log ๐โ ๐ฅ ๐โ(๐ฅ) ๐๐ฅ โ '๐โ ๐ฅ log ๐(๐ฅ) ๐๐ฅ n From ๐โ = arg min . KL ๐โ ๐ฅ โฅ ๐ ๐ฅ , we estimate ๐โ as ฬ ๐ ๐ฅ = arg min . โ 1 ๐ E %&' ( log ๐ ๐% s. t. 1 ๐ E )&' * ๐(๐) ) = 1. 11 -
Inlier-based Outlier Detection n Find outliers using inliers (correct samples)
and the density ratio (Hido et al. (2008)) โข Inliers are sampled from ๐โ ๐ฅ . โข Test data: inliers + outliers are sampled from ๐โ(๐ฅ) n Outlier detection using the density ratio ๐โ ๐ฅ = "โ # $โ(#) . 12 ๐โ ๐ฅ ๐โ ๐ฅ ๐โ ๐ฅ = ๐โ ๐ฅ ๐โ(๐ฅ) From Sugiyama (2016) Mean AUC values over 20 trials for the benchmark datasets (Hido et al, (2008)). -
Bregman (BR) Divergence Minimization Perspective n LSIF and KLIEP can
be regarded as special cases of BR divergence minimization (Sugiyama et al. (2012)). โข Let ๐(๐ก) be a twice continuously differentiable convex function. โข Using the BR divergence, we can rewrite the objective function as follows: M BR4 ๐ : = P ๐ผ+ ๐๐ ๐ ๐% ๐ ๐% โ ๐ ๐ ๐% โ P ๐ผ- ๐๐ ๐ ๐) . โข By changing ๐ ๐ก , we obtain objective functions for various direct DRE. Ex. ๐ ๐ก = ๐ก โ 1 ,: LSIF, ๐ ๐ก = ๐ก log ๐ก โ ๐ก: KLIEP. 13 -
Learning from Positive and Unlabeled Data (PU Learning) n PU
learning is a method for a classifier only from positive and unlabeled data (du Plessis et al, (2014, 2015)). โข Positive label: ๐ฆ = +1, negative label: ๐ฆ = โ1. โข Positive data: ๐ฅ% " %&' (" โผ ๐ ๐ฅ ๐ฆ = +1 โข Unlabeled data: ๐ฅ% 5 %&' (# โผ ๐ ๐ฅ . 14 -
Learning from Positive and Unlabeled Data (PU Learning) n A
classifier ๐ can be trained by minimizing โ ๐ โ ๐ :log ๐ ๐ฅ ๐ x y = +1 d๐ฅ โ ๐ :log 1 โ ๐ ๐ฅ ๐ x y = +1 d๐ฅ + :log 1 โ ๐ ๐ฅ ๐ x d๐ฅ, where ๐ is a class prior defined as ๐ = ๐(๐ฆ = +1). n Overfitting problem in PU learning (Kiryo et al. (2017)). n The empirical PU risk is not lower bounded and goes to โโ. 15 This term can go to โโ. -
Overfitting and Non-negative Correction n Kiryo et al. (2017) proposes
non-negative correction based on โ๐ #log 1 โ ๐ ๐ฅ ๐ x y = +1 d๐ฅ + #log 1 โ ๐ ๐ฅ ๐ x d๐ฅ โฅ 0. n The nonnegative PU risk is given as โ%%&' ๐ โ ๐ ,log ๐ ๐ฅ ๐ x y = +1 d๐ฅ + max 0, โ๐ ,log 1 โ ๐ ๐ฅ ๐ x y = +1 d๐ฅ + ,log 1 โ ๐ ๐ฅ ๐ x d๐ฅ . n In population, โ ๐ = โGGHI ๐ . n Minimize an empirical version of โGGHI ๐ . 16 From Kiryo et al. (2017) -
Overfitting and Non-negative Correction n In DRE, we face a
similar overfitting problem. n Kato and Teshima (2021) applies the non-negative method to DRE. 1. PU learning can be also regarded as BR divergence minimization (optimal classifier is ๐ ๐ฆ = 1 ๐ฅ = J"(#|L&M') "(#) ). 2. They apply non-negative correction to DRE. n In maximum likelihood nonparametric density estimation, this overfitting problem is known as the roughness problem (Good and Gaskin (1971)). 17 ๐โ(๐ฅ) ๐โ(๐ฅ) -
Inlier-based Outlier Detection with Deep Neural Networks (DNNs) n Inlier-based
outlier detection with high-dimensional data (ex. CIFAR-10) n We can use DNNs by using non-negative correction together. n PU learning-based DRE shows the best performance. 18 From Kato and Teshima (2021) -
Causal Inference and Density Ratios Workshop on Functional Inference and
Machine Intelligence Masahiro Kato, March. 30th, 2022 The University of Tokyo / CyberAgent, Inc. AILab -
Structural Equation Model n Consider the following linear model between
๐ and ๐: ๐ = ๐N๐ฝ + ๐, ๐ผ ๐N๐ โ 0. n ๐ผ ๐N๐ โ 0 implies the correlation between ๐ and ๐. n This situation is called endogeneity. n In this case, an OLS estimator is not unbiased and consistent. โข ๐N๐ฝ is not conditional mean ๐ผ[๐|๐] ๏ผ๐ผ ๐ ๐ โ ๐N๐ฝ๏ผ๏ผ n This model is called structural equation. 20 -
NPIV: Wage Equation n The true wage equation: log(๐ค๐๐๐) =
๐ฝO + ๐ฆ๐๐๐๐ ๐๐ ๐๐๐ข๐๐๐ก๐๐๐ร๐ฝ' + ๐๐๐๐๐๐ก๐ฆร๐ฝ, + ๐ข, ๐ผ ๐ข ๐ฆ๐๐๐๐ ๐๐ ๐๐๐ข๐๐๐ก๐๐๐, ๐๐๐๐๐๐ก๐ฆ = 0 n We cannot observe โabilityโ and estimate the following model: log(๐ค๐๐๐) = ๐ฝO + ๐ฆ๐๐๐๐ ๐๐ ๐๐๐ข๐๐๐ก๐๐๐ร๐ฝ' + ๐, ๐ = ๐๐๐๐๐๐ก๐ฆร๐ฝ, + ๐ข. โข If โ๐ฆ๐๐๐๐ ๐๐ ๐๐๐ข๐๐๐ก๐๐๐โ is correlated with โ๐๐๐๐๐๐ก๐ฆ,โ ๐ผ โyears of educationโร๐ โ 0 โ We cannot consistently estimate ๐ฝ' with OLS. 21 -
Instrumental Variable (IV) Method n By using IVs, we can
estimate the parameter ๐ฝ. n The IV is a random variable ๐ satisfying the following conditions: 1. Uncorrelated to the error term๏ผ ๐ผ ๐N๐ = 0๏ผ 2. Correlated with the endogeneous variable ๐. n Angrist and Krueger (1991): Using the quarter of birth as the IV. 22 ๐(๐ผ๐) ๐ (๐ฆ๐๐๐๐ ๐๐ ๐๐๐ข๐๐๐ก๐๐๐) ๐(๐ค๐๐๐) ๐ (๐๐๐๐๐๐ก๐ฆ) ๐ฝ -
Nonparametric Instrumental Variable (NPIV) Regression n A nonparametric version of
IV problems (Newey and Powell (2003)): ๐ = ๐โ ๐ + ๐, ๐ผ ๐|๐ โ 0. โข Want to estimate the structural function ๐โ. โข ๐ผ ๐|๐ โ 0 โ least-squires does not yield consistent estimator. n Instrumental variable ๐: the condition for IVs: ๐ผ ๐|๐ = 0. n Algorithms: Two-stage least squares with series regression (Newey and Powell (2003)), Minimax optimization 23 -
NPIV via Importance Weighting n Kato, Imaizumi, McAlinn, Yasui, and
Kakehi (ICLR2022) solves the problem with an approach similar to covariate shift adaptation (Shimodaira (2000)). n From ๐ผP,Q ๐|๐ = 0, if we know ๐โ ๐ฆ, ๐ฅ ๐ง = "โ(L,#|R) "(L,#) , we estimate ๐โ by minimizing an empirical approximation of ๐ผS ๐ผP,Q ๐|๐ , : ! ๐ = argmin ; 1 ๐ , <=> ? 1 ๐ , @=> ? ๐< โ ๐ ๐< ๐โ ๐ฆ, ๐ฅ ๐ง B n We show some theoretical results on the estimation error. 24 -
NPIV via Importance Weighting n Estimate ๐โ ๐ฆ, ๐ฅ ๐ง
= "โ(L,#|R) "(L,#) = "โ(L,#,R) " L,# "(R) by applying the idea of LSIF as ๐โ = arg min " ๐ผ# ๐ผ$,& ๐โ ๐, ๐|๐ โ ๐ ๐, ๐|๐ ' = arg min " ๐ผ# ๐ผ$,& ๐โ ๐, ๐|๐ ' โ 2๐โ ๐, ๐|๐ ๐ ๐, ๐|๐ + ๐'(๐, ๐|๐) = arg min " ๐ผ# ๐ผ$,& โ2๐โ ๐, ๐|๐ ๐ ๐, ๐|๐ + ๐'(๐, ๐|๐) = arg min " โ2๐ผ# ๐ผ$,& ๐ ๐, ๐|๐ + ๐ผ$,&,# ๐' ๐, ๐|๐ . n KLIEP-based estimation is proposed by Suzuki et al. (2009). 25 -
Density Ratios And Divergences between Probability Measures Workshop on Functional
Inference and Machine Intelligence Masahiro Kato, March. 30th, 2022 The University of Tokyo / CyberAgent, Inc. AILab 26 -
Reconsidering the BR Divergence Minimization from the Likelihood Approach n
Reconsider DRE methods from maximum likelihood estimation perspectives. โข We can define several likelihoods based on different sampling scheme. n The maximum likelihood estimation under the stratified sampling scheme is not included in BR divergence divergence. ร The risk belongs to integral probability metrics (IPMs). โข IPMs include the Wasserstein distance and MMD as special cases. n Reveal the relationships between probability distances and density ratios. โ Expand the range of applications of density ratios. 27 -
Likelihood of Density Ratios n Let ๐ ๐ฅ be a
model of ๐โ(๐ฅ) = "โ # $โ(#) ๏ผ n A model of ๐โ ๐ฅ is given as ๐ ๐ฅ = ๐ ๐ฅ ๐โ(๐ฅ). n For observations ๐% %&' ( โผ ๐โ, the likelihood of the model ๐ ๐ฅ is โ ๐ = n %&' ( ๐(๐%) = n %&' ( ๐ ๐% ๐โ(๐%) . n The log likelihood is given as โ ๐ = โ%&' ( log ๐ ๐% + โ%&' ( log ๐โ(๐%) . 28 -
Nonparametric Maximum Likelihood Estimation of Density Ratios n We can
estimate ๐โ by solving max . 1 ๐ E %&' ( log ๐ ๐% s. t. r๐ ๐ง ๐โ ๐ง d๐ง = 1 โข The constraint is based on โซ ๐โ ๐ฅ ๐โ ๐ฅ ๐๐ฅ = โซ ๐โ ๐ฅ ๐๐ฅ = 1. โข This formulation is equivalent to KLIEP. n Similarly, for observations ๐) )&' * โผ ๐โ, we can estimate1/๐โ by solving max . โ 1 ๐ E )&' * log ๐ ๐) s. t. r1/๐ ๐ฅ ๐โ ๐ฅ d๐ฅ = 1 29 -
KL Divergence and Likelihood of Density Ratios n KL divergence
is KL โ โฅ โ โ โซ ๐โ ๐ฅ log "โ # $โ # d๐ฅ n KL divergence can be interpreted as the maximized log likelihood because KL โ โฅ โ = sup .โโ U.W. โซ .(R) $โ R YR&' rlog ๐(๐ฅ) ๐โ ๐ฅ d๐ฅ n Derivation: KL โ โฅ โ = โซ ๐โ ๐ฅ log "โ # $โ # d๐ฅ = sup (โโฑ 1 + โซ ๐ ๐ฅ ๐โ ๐ฅ d๐ฅ โ โซ exp ๐ ๐ฅ ๐โ ๐ฅ d๐ฅ = 1 + โซ ๐โ ๐ฅ ๐โ ๐ฅ d๐ฅ โ โซ exp ๐โ ๐ฅ ๐โ ๐ฅ d๐ฅ = โซ ๐โ ๐ฅ ๐โ ๐ฅ d๐ฅ = sup +โโ -./. โซ +(2) $โ 2 45 โซ log ๐(๐ฅ) ๐โ ๐ฅ d๐ฅ 30 -
Stratified Sampling Scheme n Assume that for all ๐ฅ โ
๐, there exist ๐โ ๐ฅ and 1/๐โ(๐ฅ). n Define the likelihood of ๐ under a stratified sampling scheme. n The likelihood uses both ๐% %&' ( โผ ๐โ and ๐) )&' * โผ ๐โ, simultaneously. n The likelihood is given as โ ๐ = โ%&' ( ~ ๐. (๐% ) โ)&' * ~ ๐. (๐% ) โข This sampling scheme has been considered in causal inference๏ผImbens and Lancaster (1996))๏ผ 31 -
Stratified Sampling Scheme n The objective function is given as
max . E %&' ( log ๐(๐% ) โ E )&' * log ๐ ๐) s. t. r1/๐ ๐ฅ ๐โ ๐ฅ d๐ฅ = r๐ ๐ง ๐โ ๐ง d๐ง = 1 . n We consider the following equivalent unconstrained problem: max . E %&' ( log ๐(๐%) โ E )&' * log ๐ ๐) โ 1 ๐ E )&' * ๐ ๐) โ 1 ๐ E %&' ( 1 ๐ ๐% n This transformation is based on the results of Silverman (1982). โข We can apply this trick to KLIEP (see Nguyen et al. (2008)) 32 -
Integral Probability Metrics (IPMs) and Likelihood of Density Ratios n
IPMs with a function class โฑ defines the distance between two probability distributions ๐ and ๐ as sup Zโโฑ r๐ ๐ฅ ๐โ ๐ฅ d๐ฅ โ r๐ ๐ง ๐โ ๐ง d๐ง โข If โฑ is a class of Lipschitz continuous functions, this distance becomes the Wasserstein distance. 33 -
IPMs and Likelihood of Density Ratios n Consider a exponential
density ratio model, ๐(๐ฅ) = exp ๐ ๐ฅ . n IPMs is the maximized log likelihood under stratified sampling scheme: IPM\(โฑ) โ โฅ โ ๐ถ โฑ = ๐ โ โฑ: rexp ๐ ๐ง d๐โ ๐ง ๐๐ง = rexp โ๐ ๐ฅ ๐๐โ ๐ฅ d๐ฅ = 1 . 34 -
Density Ratio Metrics (DRMs) n The density ratio metrics (DRMs,
Kato, Imaizumi, and Minami (2022)): DRMโฑ ] โ โฅ โ = sup Zโ\(โฑ) ๐ r๐ ๐ฅ ๐โ ๐ฅ d๐ฅ โ (1 โ ๐) r๐ ๐ฅ ๐โ(๐ฅ) d๐ฅ ๐ถ โฑ = ๐ โ โฑ: rexp ๐ ๐ฅ ๐โ ๐ฅ d๐ฅ = rexp โ๐ ๐ฅ ๐โ ๐ฅ d๐ฅ = 1 โข A distance based on the weighted average of maximum log likelihood of the density ratio under stratified sampling scheme (๐ โ [0,1]). โข Bridges the IPMs and KL divergence๏ผ โข DRMs include the KL and IPMs as special cases. 35 -
Density Ratio Metrics (DRMs) โข If ๐ = 1/2, DRMโฑ
'/, ๐ โฅ ๐ = ' , IPM\(โฑ) ๐ โฅ ๐ โข If ๐ = 1, DRMโฑ ' ๐ โฅ ๐ = KL ๐ โฅ ๐ โข If ๐ = 0, DRMโฑ O ๐ โฅ ๐ = KL ๐ โฅ ๐ n Choice of โฑ โ Smoothness of the model of the density ratio. Ex. Non-negative correction, Spectral normalization (Miyato et al. (2016)) n Probability divergence can be defined without density ratios. โ What are the advantages? VB methods, DualGAN, causal inference... 36 From Kato et al. (2022) -
Change-of-Measure Arguments in Best Arm Identification Problem Workshop on Functional
Inference and Machine Intelligence Masahiro Kato, March. 30th, 2022 The University of Tokyo / CyberAgent, Inc. AILab 37 -
MAB Problem n There are ๐พ arms, ๐พ = 1,2,
โฆ ๐พ and fixed time horizon ๐. โข Pull an arm ๐ด_ โ [๐พ] in each round ๐ก. โข Observe a reward of chosen arm ๐ด_ , ๐_ = โ`โ[b] 1 ๐ด_ = ๐ ๐`,_ , where ๐`,_ is a (potential) reward of arm ๐ โ [๐พ] in each round ๐ก โข Stop the trial at round ๐ก = ๐ 38 Arm 1 Arm 2 โฏ Arm ๐พ ๐",$ ๐%,$ ๐&,$ ๐$ = โ'โ[&] 1 ๐ด$ = ๐ ๐',$ ๐ ๐ก = 1 -
MAB Problem n The distributions of ๐`,_ does not change
across rounds. n Denote the mean outcome of an arm ๐ by ๐` = ๐ผ ๐`,_ . n Best arm: an arm with the highest reward. โข Denote the best arm by ๐โ = arg max `โ[m] ๐` 39 -
BAI with a Fixed Budget n BAI with a fixed
budget is an instance of the MAB problems. n In the final round ๐, we estimate the best arm and denote it by ล ๐n โ n Probability of misidenfication: โ ล ๐n โ โ ๐โ n Goal: Minimizing the probability of misidenfication โ ล ๐n โ โ ๐โ . 40 -
Theoretical Performance Evaluation n How to evaluate the performance of
BAI algorithms? n โ ล ๐n โ โ ๐โ converges to 0 with an exponential speed; that is, โ ล ๐n โ โ ๐โ = exp(โ๐(โ)) for a constant term (โ). n Consider evaluating the term (โ) by lim sup nโp โ ' n log โ ล ๐n โ โ ๐โ . n A performance lower (upper) bound of โ ลฝ ๐๐ป โ โ ๐โ is an upper (lower) bound of lim sup nโp โ ' n log โ ล ๐n โ โ ๐โ . 41 -
Information Theoretic Lower Bound n Information theoretic lower bound. โข
Lower bound based on the distribution information. โข This kind of a lower bound is typically based on the likelihood ratio, Fisher information, and KL divergence. n The derivation technique is called change-of-measure arguments. โข This technique has been used in MAB problem (Lai and Robbins (1985)) โข In BAI, Kaufmann et al. (2016) suggests a lower bound. 42 -
Lower Bound: Transportation Lemma n Denote the true distribution (bandit
model) by ๐ฃ. n Denote a set of alternative hypothesizes by Alt(๐ฃ). n Consistent algorithm: return the true arm with probability 1 as ๐ โ โ. n For any ๐ฃr โ Alt(๐ฃ) and consistent algorithms, if ๐พ = 2, lim sup (โ* โ 1 ๐ log โ G ๐( โ โ ๐โ โค lim sup (โ* 1 ๐ ๐ผ+, K -./ ' K 0./ ( 1[๐ด0 = ๐] log ๐- , ๐ ๐- ๐ where ๐` and ๐` r are the pdfs of an arm ๐โs reward under ๐ฃ and ๐ฃโฒ. 43 Transportation Lemma (Lemma 1 of Kaufmann et al. (2016) Log likelihood ratio -
Open Problem: Optimal Algorithm? n Open problem: 1. The Kaufmannโs
bound is only applicable to two-armed bandit (๐พ = 2). 2. No optimal algorithm whose upper bound achieves the lower bound. n Kato, Ariu, Imaizumi, Uehara, Nomura, and Qin (2022) proposes an optimal algorithm under a small-gap setting. 1. Consider a small gap situation๏ผฮ` = ๐`โ โ ๐` โ 0 for all ๐ โ [๐พ]. 2. Proposes a large deviation upper bound. 3. Then, the upper bound matches the lower bound in the limit of ฮ` . 44 -
Lower Bound under a Small Gap n Let ๐ผ` (๐`
) be the Fisher information of parameter ๐` of arm ๐. n Let ๐ค` be an arm allocation lim sup nโp ๐ผ$ โ%&' ( ' t%&` n . lim sup nโp โ 1 ๐ log โ ล ๐n โ โ ๐โ โค sup (u)) min `v`โ ฮ` , 2 ๐ผ' ๐' ๐ค' + ๐ผ` ๐` ๐ค` + ๐(ฮ` , ) 45 Lower Bound (Lemma 1 of Kato et al. (2022) -
Upper Bound: Large Deviation Principles (LDPs) for Martingales n Let
ฬ ๐`,n be an estimator of the mean rewad ๐` . n Consider returning arg max ` ฬ ๐`,n as an estimated best arm. Then, โ ล ๐n โ โ ๐โ = E `v`โ โ ฬ ๐`,n โฅ ฬ ๐`โ,n = E `v`โ โ ฬ ๐`โ,n โ ฬ ๐`,n โ ฮ` โค โฮ` n LDP: evaluation of โ ฬ ๐`โ,n โ ฬ ๐`,n โ ฮ` โค ๐ถ , where ๐ถ is a constant. โข Central limit theorem (CLT): evaluation of โ ๐( ฬ ๐`โ,n โ ฬ ๐`,n โ ฮ` ) โค ๐ถ . โข We cannot use the CLT for obtaining the upper bound. 46 -
Upper Bound: LDPs for Martingales n There are existing well-known
results on Large deviation principals. Ex. Cramรฉr theorem and Gรคrtner-Ellis theorem โข These results cannot be applied to BAI problem owing to the non- stationarity of the stochastic process. n Fan et al. (2013, 2014): LDP for martingales. โข Key tool: change-of-measure arguments. 47 -
Upper Bound: Large Deviation Principles for Martingales n Let โ
be a probability measure of the original problem. n Define ๐n = โ_&' n wxy(]z%) ๐ผ[wxy ]z% |โฑ%*'] . n Define the conjugate probability measure โ] as dโ] = ๐ndโ 1. Derive the bound on โ] . 2. Then, transform it to the bound on โ via the density ratio Yโ Yโ+ . 48 โ" โ dโ dโ1 = ๐( Upper bound Upper bound Change measures -
Upper Bound: Large Deviation Principles for Martingales n Kato et
al. (2022) generalizes the result of Fan et al. (2013, 2014). ร Under an appropriately designed BAI algorithm, we show that the upper bound matches the lower bound. n If โ%&' ( ' t%&` n |.U ๐ค` , then under some regularity conditions, lim sup nโp โ 1 ๐ log โ ล ๐n โ โ ๐โ โฅ min `v`โ ฮ` , 2 ๐ผ' ๐' ๐ค' + ๐ผ` ๐` ๐ค` + ๐ ฮ` , . n This result implies Gaussian approximation of LDP in ฮ` โ 0. 49 Upper Bound (Theorem 4.1 of Kato et al. (2022) -
Conclusion 51 n Density-ratio approaches. โข Inlier-based outlier detection. โข
PU learning. โข Causal inference. โข Multi-armed bandit problem (change-of-measure arguments). โ Useful in many ML applications. n Other topics: Double/debiased machine learning (Chernozhukov et al. (2018)), Variational Bayesian methods (Tran et al. (2017)) etc -
Reference โข Kato, M., and Teshima, T. (2022), โNon-negative Bregman
Divergence Minimization for Deep Direct Density Ratio Estimation,โ ,โ in International Conference on Machine Learning. โข Kato, M., Imaizumi, M., McAlinn, K., Yasui, S., and Kakehi, H. (2022), โLearning Causal Relationships from Conditional Moment Restrictions by Importance Weighting,โ in International Conference on Learning Representations. โข Kato, M., Imaizumi, M., and Minami, K. (2022), โUnified Perspective on Probability Divergence via Maximum Likelihood Density Ratio Estimation: Bridging KL-Divergence and Integral Probability Metrics,โ . โข Kanamori, T., Hido, S., and Sugiyama, M. (2009), โA least-squares approach to direct importance estimation.โ Journal of Machine Learning Research, 10(Jul.):1391โ1445. โข Kiryo, R., Niu, G., du Plessis, M. C., and Sugiyama, M. (2017), โPositive-Unlabeled Learning with Non-Negative Risk Estimator,โ in Conference on Neural Information Processing Systems. โข Imbens, G. W. and Lancaster, T. (1996), โEfficient estimation and stratified sampling,โ Journal of Econometrics, 74, 289โ318. โข Chernozhukov, V., Chetverikov, D., Demirer, M., Duflo, E., Hansen, C., Newey, W., and Robins, J.(2018), โDouble/debiased machine learning for treatment and structural parameters,โ Econometrics Journal, 21, C1โC68. โข Good, I. J. and Gaskins, R. A. (1971), โNonparametric Roughness Penalties for Probability Densities,โ Biometrika, 58, 255โ277. โข Sugiyama, M., Nakajima, S., Kashima, H., von Bรผnau, P., and Kawanabe, M. (2007). Direct importance estimation with model selection and its application to covariate shift adaptation. In Proceedings of the 20th International Conference on Neural Information Processing Systems (NIPS'07). Curran Associates Inc., Red Hook, NY, USA, 1433โ1440. โข Sugiyama, M., Suzuki, T., and Kanamori, T. (2011), โDensity Ratio Matching under the Bregman Divergence: A Unified Framework of Density Ratio Estimation,โ Annals of the Institute of Statistical Mathematics, 64.โ (2012), Density Ratio Estimation in Machine Learning, New York, NY, USA: Cambridge University Press, 1st ed. โข Sugiyama, M., (2016), โIntroduction to Statistical Machine Learning.โ โข Silverman, B. W. (1982), โOn the Estimation of a Probability Density Function by the Maximum Penalized Likelihood Method,โ The Annals of Statistics, 10, 795 โ 810. 2 โข Suzuki, T., Sugiyama, M., Sese, Jun., and Kanamori, T. (2008). Approximating mutual information by maximum likelihood density ratio estimation. In Proceedings of the Workshop on New Challenges for Feature Selection in Data Mining and Knowledge Discovery at ECML/PKDD 2008,volume 4 of Proceedings of Machine Learning Research, pp. 5โ20. PMLR. โข Uehara, M., Sato, I., Suzuki, M., Nakayama, K., and Matsuo, Y. (2016), โGenerative Adversarial Nets from a Density Ratio Estimation Perspective.โ โข Tran, D., Ranganath, R., and Blei, D. M. (2017), โHierarchical Implicit Models and Likelihood-Free Variational Inference,โ in International Conference on Neural Information, Red Hook, NY, USA, p. 5529โ 5539. โข Nguyen, X., Wainwright, M. J., and Jordan, M. (2008), โEstimating divergence functionals and the likelihood ratio by penalized convex risk minimization,โ in Conference on Neural Information Processing Systems, vol. 20. โข Whitney K. Newey and James L. Powell. Instrumental variable estimation of nonparametric models. Econometrica, 71(5):1565โ1578, 2003. โข Hido, S., Tsuboi, Y., Kashima, H., Sugiyama, M., and Kanamori, T. (2011), โStatistical outlier detection using direct density ratio estimation,โ Knowledge and Information Systems, 26, 309โ336 โข Lai, T. and Robbins, H. (1985), โAsymptotically efficient adaptive allocation rules,โ Advances in Applied Mathematics โข Kaufmann, E., Cappe, O., and Garivier, A. (2016), โOn the Complexity of Best-Arm Identification in Multi-Armed ยด Bandit Models,โ Journal of Machine Learning Research, 17, 1โ42 โข Fan, X., Grama, I., and Liu, Q. (2013), โCramer large deviation expansions for martingales under Bernsteinโs condi- ยด tion,โ Stochastic Processes and their Applications, 123, 3919โ3942. โข Fan, X., Grama, I., and Liu, Q. (2014), โA generalization of Cramer large deviations for martingales,โ ยด Comptes Rendus Mathematique, 352, 853โ 858. โข Shimodaira, H. (2000), โImproving predictive inference under covariate shift by weighting the log-likelihood function,โ Journal of statistical planning and inference, 90, 227โ244. 52