ADVERSARIAL VARIATIONAL BAYES METHODS FOR TWEEDIE COMPOUND POISSON MIXED MODELS Yaodong Yang∗, Rui Luo, Yuanyuan Liu American International Group Inc. ABSTRACT 1.5 w The Tweedie Compound Poisson-Gamma model is routinely 1.0 λ =1.9, α =49, β =0.03 random i effect used for modeling non-negative continuous data with a discrete x bi Σb Density probability mass at zero. Mixed models with random effects ac- i 0.5 U count for the covariance structure related to the grouping hier- λi αi βi archy in the data. An important application of Tweedie mixed 0.0 i yi models is pricing the insurance policies, e.g. car insurance. 0 5 10 n Tweedie Value M However, the intractable likelihood function, the unknown vari- ance function, and the hierarchical structure of mixed effects (a) Tweedie Density Function (b) Tweedie Mixed-Effects model. have presented considerable challenges for drawing inferences Fig. 1: Graphical model of Tweedie mixed-effect model. on Tweedie. In this study, we tackle the Bayesian Tweedie i:i:d mixed-effects models via variational inference approaches. In Poisson(λ);Gi ∼ Gamma(α; β): Tweedie is heavily used particular, we empower the posterior approximation by im- for modeling non-negative heavy-tailed continuous data with plicit models trained in an adversarial setting. To reduce the a discrete probability mass at zero (see Fig. 1a). As a result, variance of gradients, we reparameterize random effects, and Tweedie gains its importance from multiple domains [4, 5], in- integrate out one local latent variable of Tweedie. We also cluding actuarial science (aggregated loss/premium modeling), employ a flexible hyper prior to ensure the richness of the ap- ecology (species biomass modeling), meteorology (precipi- proximation. Our method is evaluated on both simulated and tation modeling). On the other hand, in many field studies real-world data. Results show that the proposed method has that require manual data collection, for example in insurance smaller estimation bias on the random effects compared to tra- underwriting, the sampling heterogeneity from a hierarchy ditional inference methods including MCMC; it also achieves of groups/populations has to be considered. Mixed-effects a state-of-the-art predictive performance, meanwhile offering models can represent the covariance structure related to the a richer estimation of the variance function. grouping hierarchy in the data by assigning common random effects to the observations that have the same level of a group- Index Terms— Tweedie model, variational inference, in- ing variable; therefore, estimating the random effects is also surance policy pricing an important component in Tweedie modeling. Despite the importance of Tweedie mixed-effects models, 1. INTRODUCTION the intractable likelihood function, the unknown variance index Tweedie models [1, 2] are special members in the exponen- P, and the hierarchical structure of mixed-effects (see Fig. 1b) arXiv:1706.05446v5 [stat.ML] 3 Feb 2019 tial dispersion family; they specify a power-law relationship hinder the inferences on Tweedie models. Unsurprisingly, between the variance and the mean: Var(Y ) = E(Y )P . For there has been little work devoted to full-likelihood based arbitrary positive P, the index parameter of the variance func- inference on the Tweedie mixed model, let alone Bayesian tion, outside the interval of (0; 1), Tweedie corresponds to a treatments. In this work, we employ variational inference to particular stable distribution, e.g., Gaussian (P = 0), Pois- solve Bayesian Tweedie mixed models. The goal is to intro- son (P = 1), Gamma (P = 2), Inverse Gaussian (P = 3). duce an accurate and efficient inference algorithm to estimate When P lies in the range of (1; 2), the Tweedie model is the posterior distribution of the fixed-effect parameters, the equivalent to Compound Poisson–Gamma Distribution [3], variance index, and the random effects. hereafter Tweedie for simplicity. Tweedie serves as a spe- cial Gamma mixture model, with the number of mixtures 2. RELATED WORK determined by a Poisson-distributed random variable, param- PT To date, most practice of Tweedie modeling are conducted eterized byfλ, α; βg and denoted as: Y = Gi;T ∼ i=1 within the quasi-likelihood (QL) framework [6] where the ∗Correspondence to: <[email protected]>. density function is approximated by the first and second order moments. QL does not come with the schema of estimating Poisson model with the parameters of the general Tweedie the variance function, even though the estimation of the index EDM model, parameterized by the mean, the dispersion and parameter plays an important role in hypothesis testing and the index parameter fµ, P; φg is denoted as: uncertainty evaluation [7]. Extended quasi-likelihood (EQL) 8 µ2−P 8µ = λαβ [8], together with the profile likelihood method [9] is proposed >λ = > <> φ(2−P) <> to fill the gap of index estimation for QL. Nonetheless, EQL is 2−P α+2 α = ; P = α+1 (2) not capable of handling exact zero values. P−1 > > 1−P 2−P :> P−1 :> λ (αβ) It was not until recently that numerical approximations β = φ(P − 1)µ φ = 2−P : to the Tweedie density function appeared. Well-known ap- proaches include series expansion method [10] and Fourier A mixed-effects model contains both fixed effects and random inversion method [11]. Yang et al. [12] and Chen et al. [13] effects; graphical model is shown in Fig. 1b. We denote the > applied the gradient boosted trees that try to incorporate non- mixed model as: κ(µi) = fw(Xi) + Ui bi; bi∼N (0; Σb) linear interactions in estimating the mean value of the Tweedie where Xi is the i-th row of the design matrix of fixed-effects model. Qian et al. [14] investigated the grouped elastic net covariates, w are parameters of the fixed-effects model which and Lasso methods for the Tweedie model. Nonetheless, the could represent linear function or deep neural network. Ui dependence on density approximations also makes the above is the i-th row of the design matrix associated with random algorithms vulnerable to numerical issues. Both series expan- effects, bi is the coefficients of the random effect which is sion and Fourier inversion methods are noted to suffer from usually assumed to follow a multivariate normal distribution unbounded increment in the number of required terms. with zero mean and covariance Σb, κ(·) is the link function, When the Tweedie model is expended to incorporate the and µi is the mean of the i-th response variable Y . In this random effects, the profiled quasi-likelihood (PQL) method work, we have considered the random effects on the intercept. still suffers from the numerical restrictions. Likelihood-based In the context of conducting Bayesian inference on inference methods require approximation of the integral over Tweedie mixed models, we define 1) the observed data the distribution of the random effect. Advances in numerical D = (xi; ui; yi)i=1;:::;M . 2) global latent variables fw; σbg, approximation like Laplace approximation [15] and adaptive we assume Σb is a diagonal matrix with its diagonal elements Gauss-Hermite quadrature (AGQ) [16] are then applied to σb; 3) local latent variables fni; big, indicating the number solve the mixed model. However the complex density of the of arrivals and the random effect. The parameters of Tweedie Tweedie model stills bothers the profiled likelihood methods. is thus denoted by (λi; αi; βi) = fλ,α,β(xi; uijw; σb). The The expectation of a latent variable for an intractable like- latent variables thus contain both local and global ones lihood function can typically be estimated using the EM algo- z = (w; ni; bi; σb)i=1;:::;M , and they are assigned with rithm in an empirical Bayes approach or MCMC methods in prior distribution P (z). The joint log-likelihood is com- full Bayesian approach. Simsekli et al. [3, 17] proposed solv- puted by summing over the number of observations M by PM ing the Tweedie mixed-effect models by explicitly exploiting i=1 log [P (yijni; λi; αi; βi) · P (nijλi) · P (bijσb)]. The the latent variable in the Bayesian formulation. Both MCMC goal here is to find the posterior distribution of P (zjD) and Monte Carlo EM methods have been applied. Zhang et and make future predictions via P (ypredjD; xpred; upred) = R al. [17] compared the latent variable approach with the den- P (ypredjz; xpred; upred)P (zjD) d z. sity function approximations aforementioned, and found that MCMC are computationally demanding on the high dimen- 4. METHODS sional dataset, and dedicated supervisions are needed in order Adversarial Variational Bayes. Variational Inference (VI) to adjust the Monte Carlo error and the sampling variance [18]. [19] approximates the posterior distribution, often compli- 3. TWEEDIE MIXED-EFFECTS MODELS cated and intractable, by proposing a class of probability distributions Qθ(z) (so-called inference models), and then Tweedie EDM fY (yjµ, φ, P) equivalently describes the finding the best set of parameters θ by minimizing the KL compound Poisson–Gamma distribution when P 2 (1; 2). divergence between the proposal and the true distribution, i.e., Tweedie assumes Poisson arrivals of the events, and Gamma– KL(Qθ(z)jjP (zjD)). Minimizing the KL divergence is equiv- distributed “cost” for each individual event. Judging on alent to maximizing the evidence of lower bound (ELBO) [20], whether the aggregated number of arrivals N is zero, the joint expressed as Eq. 3. Optimizing the ELBO requires the gradient density for each observation can be written as: information of rθELBO. In our experiments, we find that the −λ P (Y; N = njλ, α; β) =d0(y) · e · 1n=0 model-free gradient estimation method – REINFORCE [21] fails to yield reasonable results due to the unacceptably-high ynα−1e−y/β λne−λ 1 variance issue [22], even equipped with baseline trick [23] or + nα · · n>0; (1) β Γ(nα) n! local expectation [24].
Details
-
File Typepdf
-
Upload Time-
-
Content LanguagesEnglish
-
Upload UserAnonymous/Not logged-in
-
File Pages5 Page
-
File Size-