# On the complexity of logistic regression models

**Authors:** Nicola Bulso, Matteo Marsili, Yasser Roudi

arXiv: 1903.00386 · 2019-03-04

## TL;DR

This paper explores the complexity of logistic regression models, revealing how input distribution and correlations influence model complexity, and proposes a new model selection criterion based on input entropy.

## Contribution

It introduces a novel complexity measure for logistic models considering input distribution and correlations, and develops an entropy-based model selection method.

## Key findings

- Input correlations reduce model complexity.
- Entropy-based criterion outperforms standard methods in various conditions.
- Complexity contribution from input alphabet size is minimal.

## Abstract

We investigate the complexity of logistic regression models which is defined by counting the number of indistinguishable distributions that the model can represent (Balasubramanian, 1997). We find that the complexity of logistic models with binary inputs does not only depend on the number of parameters but also on the distribution of inputs in a non-trivial way which standard treatments of complexity do not address. In particular, we observe that correlations among inputs induce effective dependencies among parameters thus constraining the model and, consequently, reducing its complexity. We derive simple relations for the upper and lower bounds of the complexity. Furthermore, we show analytically that, defining the model parameters on a finite support rather than the entire axis, decreases the complexity in a manner that critically depends on the size of the domain. Based on our findings, we propose a novel model selection criterion which takes into account the entropy of the input distribution. We test our proposal on the problem of selecting the input variables of a logistic regression model in a Bayesian Model Selection framework. In our numerical tests, we find that, while the reconstruction errors of standard model selection approaches (AIC, BIC, $\ell_1$ regularization) strongly depend on the sparsity of the ground truth, the reconstruction error of our method is always close to the minimum in all conditions of sparsity, data size and strength of input correlations. Finally, we observe that, when considering categorical instead of binary inputs, in a simple and mathematically tractable case, the contribution of the alphabet size to the complexity is very small compared to that of parameter space dimension. We further explore the issue by analysing the dataset of the "13 keys to the White House" which is a method for forecasting the outcomes of US presidential elections.

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/1903.00386/full.md

## Figures

6 figures with captions in the complete paper: https://tomesphere.com/paper/1903.00386/full.md

## References

37 references — full list in the complete paper: https://tomesphere.com/paper/1903.00386/full.md

---
Source: https://tomesphere.com/paper/1903.00386