Selection Criteria for Data-Driven Models
Alexandre René
a.rene@physik.rwth-aachen.de
NDy'23 workshop, Castro-Urdiales, 13 June 2023

These days, parameter searches can be increasingly automated with machine learning
⇒ more parameters
⇒ more models



Complex models can have degenerate parameter solutions
Prinz et al, Similar network activity from disparate circuit parameters, Nat. Neurosci. (2004)
Brute force search of 20’000’000 parameter combinations
Complex models can have degenerate parameter solutions
Models: Prinz et al (2004)
Own simulations
\(Θ_A\)
\(Θ_B\)
\(Θ_D\)
\(Θ_C\)
(LP #1)
(LP #2)
(LP #3)
(LP #5)
(LP #4)
Recorded input
Recorded input
Our goal
Define a probabilistic criterion for selecting between
specific parameter vectors
Model neurons distinguished by 8 channel conductances
| Model | |||
| LP 1 | 8 | 40 | 75 |
| LP 2 | 6 | 30 | 50 |
| LP 3 | 10 | 50 | 100 |
| LP 4 | 4 | 20 | 25 |
| LP 5 | 6 | 30 | 50 |
\(g(I_{\mathrm{CaS}})\)
\(g(I_{\mathrm{A}})\)
\(g(I_{\mathrm{Kd}})\)
+5
\(Θ_A\) vs \(Θ_C\) – 9 : 1
\(Θ_A\) vs \(Θ_B\) – 3 : 2
Odds ratio
Confusion matrix
Is this not just model selection ?
Model selection
No.
Why would we want to do this ?
- We want to interpret the parameters.
- We think a single set of parameters should exist.
- The model is overparameterized
- for interpretability;
- because it is a neural network.
- …

Multi-modal posterior
Non-convex optimization
Compare global maxima
Integrate over all parameters
(frequentist)
(bayesian)
≠ Parameter selection
Compare specific parameter vectors
vs.
vs.
Model A
Model B
vs
Outline
Some common model selection methods
- AIC
- WAIC
- …
- Bayes factor
- Cross-validation
- …
Compare
log likelihood
of global maxima
Integrate
likelihood
over parameters
Only make sense when comparing models with different equations
For a unifying overview, see Vehtari, Gelman, Gabra (2017)
Criteria
For single parameters, all criteria come down to log-odds
- AIC
- WAIC
- …
- Bayes factor
- Cross-validation
- …
Compare
log likelihood
of global maxima
Integrate
likelihood
over parameters
Criteria
For a unifying overview, see Vehtari, Gelman, Gabra (2017)
Expected log likelihood
Expected pointwise log likelihood
We really want to maximize the likelihood on unseen data, ergo:
Only make sense when comparing models with different equations
- we change the dataset size / sampling rate;
- we have modelling errors.
Criterion should be well-behaved when
Expected log likelihood
Expected pointwise log likelihood
Requirements

\(\mathrm{ell}\) difference increases with dataset size
⇒ unbounded confidence

\(\mathrm{epll}\) does saturates with dataset size…
Expected pointwise log likelihood
… but is still unstable w.r.t. modelling errors
!
… and is not interpretable as a probability.
!

Criteria

Physical model
Observation model
Equations motivated by theory/experiment
- We do not want to change them
- Parameters are interpretable
Equations typically ad hoc
- Account for (un)known noise sources
- If we could, we would eliminate the noise
- Actual parameter values unimportant

Physical model
Observation model
Equations motivated by theory/experiment
- We do not want to change them
- Parameters are interpretable
Equations typically ad hoc
- Account for (un)known noise sources
- If we could, we would eliminate the noise
- Actual parameter values unimportant
Standard model selection
computes the \(\mathrm{epll}\) for
(physical + observation) models together

Physical model
Observation model
Equations motivated by theory/experiment
- We do not want to change them
- Parameters are interpretable
Equations typically ad hoc
- Account for (un)known noise sources
- If we could, we would eliminate the noise
- Actual parameter values unimportant
Our approach
computes the \(\mathrm{epll}\) for
only the physical model

Physical model
Observation model
Equations motivated by theory/experiment
- We do not want to change them
- Parameters are interpretable
Equations typically ad hoc
- Account for (un)known noise sources
- If we could, we would eliminate the noise
- Actual parameter values unimportant
Our approach
computes the \(\mathrm{epll}\) for
only the physical model
and tests for robustness under variations of the observation model
Our approach
computes the \(\mathrm{epll}\) for
only the physical model
and tests for robustness under variations of the observation model
Log-odds criterion
- Expectation over data
- Conditioned on physical model
- Conditioned on
observation model


Confusion criterion
- Expectation over data
- Conditioned on physical model
- Random variable over observation models
Confusion criterion
- Expectation over data
- Conditioned on physical model
- Random variable over observation models
This yields a non-binary criterion, which quantifies the probability of confusing two models.
We use conservative approximations
(biased towards 50%) to avoid overconfidence

and tests for robustness under variations of the observation model
Our approach
computes the \(\mathrm{epll}\) for
only the physical model
Define the criterion
Compute the criterion
Confusion criterion
- Expectation over data
- Conditioned on physical model
- Random variable over observation models
This yields a non-binary criterion, which quantifies the probability of confusing two models.

Criteria
and tests for robustness under variations of the observation model
Our approach
computes the \(\mathrm{epll}\) for
only the physical model
Compute the criterion
Physical vs observation models
Define the criterion
Compute the criterion
Illustration model
Physical model :
Observation model :
\(n\)-d integral →
\(1\)-d integral →




Define the criterion
Compute the criterion
Illustration model
Physical model :
Observation model :
Each sampled path corresponds to an observation model
Assumptions



Empirical model discrepancy
Define the criterion
Compute the criterion
Limitations of
log-odds
Physical vs observation models
Sample observation models
Calibrate the EMD approximation

Assumptions

Evaluate \(\mathrm{epll}\) for each sampled \(l(Φ)\) path
Define the criterion
Compute the criterion
Limitations of
log-odds
Physical vs observation models
Sample observation models
Calibrate the EMD approximation
Assumptions
Criterion
\(B^{\mathrm{EMD}}\) is an approximation of \(B^{\mathrm{conf}}\) based on our assumptions
⇒ Construct a simulated experiment with known model mismatch to calibrate \(c\).
Red is the overconfidence region
Summary
Compute the criterion
Calibrate the EMD approximation
Criteria



Define the criterion
Limitations of
log-odds
Physical vs observation models
Sample observation models
Acknowledgments
Prof. André Longtin (Ottawa)
Prof. Moritz Helias (RWTH, FZ Jülich)
Prof. Carsten Honerkamp (RWTH)
Prof. Jakob H. Macke (Tübingen)
Colleagues
Claudia Merger
Peter Bouss
Sandra Nestler
Anno Kürth
Dr. Christian Keup (now EPFL)
Jan Bölts (Tübingen)
Advisory support
Funding
INM-6 group (FZ Jülich)

Extra slides
Likelihood commutative diagram
Likelihoods – exponential decay model
Biased
Unbiased




Whole dataset
Per data point
Calibration – Explanation figure
Talk - NDy 23
By Alexandre René
Talk - NDy 23
In today’s data-driven world, very different models can share the same equations (e.g. dynamical systems, neural networks), and fitting solutions only one among many. In this work we develop a statistical method to select among these solutions.
- 35