Bayesian Logistic Regression
As stated in Solution, giving the weight a normal prior distribution can ameliorate its overfitting phenomena. But unlike Ridge Regression/Bayesian Linear Regression, where we can get a closed solution/posterior distribution, the Logistic Sigmoid makes it impossible to calculate the posterior of in Logistic Regression.
One solution is to approximate the posterior using a parametrized distribution, e.g., Normal Distribution, and then approximate the parameter. Notice that the posterior has the expression
Then, by Taylor expansion, we can make a quadratic term, which gives a Normal Distribution approximating the posterior. This is called the Laplace approximation. Let . Expanding to the second order at MAP gives
where is given by the definition of . And -independent constants are canceled out from both the denominator and the numerator. Therefore, we get , where
Furthermore, by taking the prior , we have
and by Property 2 of Logistic Sigmoid, we get