KAUST Statistics Research Day
3 November 2026
\[ \definecolor{kaustorg}{RGB}{241,143,0} \definecolor{kausttur}{RGB}{0,166,170} \definecolor{kaustgry}{RGB}{140,140,140} \]
In statistics, all random variables are latentâbut some are more latent than others. âme đ
Regression of observed variables
\[ \begin{aligned} {\color{kaustorg}\eta_{s2}} &= \alpha_2 + \beta\,{\color{kaustorg}\eta_{s1}} + {\color{kaustgry}\zeta_{s2}} \end{aligned} \]
\[ \begin{aligned} {\color{kausttur}\eta_{s2}} &= \alpha_2 + \beta\,{\color{kausttur}\eta_{s1}} + {\color{kaustgry}\zeta_{s2}} \\ {\color{kausttur}\eta_{s1}} &= \alpha_1 + {\color{kaustgry}\zeta_{s1}} \end{aligned} \]



760k+ students in 91 countries and economies
$115 trillion OECD GDP gain if average scores rose 25 points (Hanushek & Woessmann, 2010)
2 hours computerised test, randomised booklets

Test answers different students, different questions
â
Latent variable model item response + latent regression
â
Student ability 10 plausible values = posterior draws
â
Country averages every point on the chart
Every point is an estimate of an ability nobody can observe. At national scale, the bottleneck is not data. It is inference.
GROUPS Systematic differences between European countries, or do they just answer differently?

TIME In binge eating disorder, does momentary perseverance drive eating restraint?

SPACE Are regional gaps in aptitude real, and how sure can we be?

Current Bayesian estimation methods struggle to cope with modern data complexities.
Advancing scalable Bayesian methods for latent variable modelling KAUST Competitive Research Grant \(\;\cdot\;\) USD 900K \(\;\cdot\;\) Apr 2026âMar 2029 \(\;\cdot\;\) Lead PI HĂĽvard Rue \(\;\cdot\;\) Co-I Haziq Jamil
WP1LVM at INLA speed
WP2Measurements on a map
WP3Latent variables in time
WP4Make it usable
done in development planned month 8 of 36
Funded positions
3 papers, all submitted to Psychometrika [Q1]
3,000+ CRAN downloads* ¡ INLAvaan v0.3.3
1 keynote ¡ EnviBayesâINLA 2027, Glasgow
3 invited seminars ¡ LSE, Fudan, Oslo
2 contributed talks ¡ Padova, Seoul

Data \(\mathbf y_s \mid \boldsymbol\eta_s, \boldsymbol\vartheta \sim \mathrm N_p\big(\boldsymbol\nu + \boldsymbol\Lambda\boldsymbol\eta_{s},\ \boldsymbol\Theta\big)\)
Latent field \(\boldsymbol\eta_s \mid \boldsymbol\vartheta \hphantom{\boldsymbol\eta_s,} \sim \mathrm N_q\big(\boldsymbol\mu_\eta(\boldsymbol\vartheta), \boldsymbol\Phi(\boldsymbol\vartheta)\big)\)
Parameters \(\mathbb R^{m} \ni \boldsymbol\vartheta = (\boldsymbol\nu, \boldsymbol\lambda, \boldsymbol\beta, \boldsymbol\theta, \boldsymbol\psi) \sim \pi(\boldsymbol\vartheta)\)
Gaussian SEM: integrate the people out, exactly
\[ \begin{aligned} \pi(\mathbf y_s \mid \boldsymbol\vartheta) &= \int \pi(\mathbf y_s \mid \boldsymbol\eta_s, \boldsymbol\vartheta)\, \pi(\boldsymbol\eta_s \mid \boldsymbol\vartheta)\, d\boldsymbol\eta_s \\ &= \mathcal N_p\big(\mathbf y_s;\ \boldsymbol\mu(\boldsymbol\vartheta), \boldsymbol\Sigma(\boldsymbol\vartheta)\big) \end{aligned} \]
where \(\boldsymbol\mu(\boldsymbol\vartheta)\) and \(\boldsymbol\Sigma(\boldsymbol\vartheta)\) are the model-implied mean and covariance.
SEMs are latent Gaussian models, therefore suitable for INLA. ButâŚ
| INLAâs sweet spot | SEM | |
|---|---|---|
| Latent field | large, coupled; sparse precision (space, time) | \(n\) small dense blocks, independent |
| Hyper-parameters | a handful | many (\(m\) = 20â250) |
| Conditional field (given \(\boldsymbol\vartheta\)) | approximately Gaussian | exactly Gaussian |
Plugging SEM into R-INLA drags an \(O(n)\)-dimensional latent field through every one of many evaluations over \(\boldsymbol\vartheta\).
Instead, integrate the people out, and then bring INLAâs ideas to \(\boldsymbol\vartheta\)-space.




Cheap exact posterior Gaussian SEM: closed-form \(\pi(\mathbf y \mid \boldsymbol\vartheta)\), so cheap \(\pi(\boldsymbol\vartheta \mid \mathbf y)\) and gradients
NEWVolume from gradients Volume correction from just \(m + 2\) gradients per param. (no Hessians)
Not R-INLA Rebuilt for SEM using INLAâs key approximation ideas




Application PISA 2022 Saudi Arabia

loo() takes ~4 sWhich school-level covariate predicts school safety? Compare 3 models:
M1Safetybaseline M2BelongingSafety+17.4 (6.2)MCMC +16.8 (6.8) M3BelongingSafetySES+16.7 (6.2)MCMC +19.7 (6.6)
213Ă faster than exact refits
~18Ă faster than MCMC + PSIS
\[ \small \begin{aligned} \frac{\pi(\boldsymbol\vartheta \mid \mathbf y_{-g})}{\pi(\mathbf y_g \mid \mathbf y_{-g})} &= \frac{\pi(\boldsymbol\vartheta \mid \mathbf y)}{\pi(\mathbf y_g \mid \boldsymbol\vartheta)} \\ \therefore \, \pi(\mathbf y_g \mid \mathbf y_{-g}) &= \Big\{ \mathrm E_{\boldsymbol\vartheta \mid \mathbf y} \Big[ \frac{1}{\pi(\mathbf y_g \mid \boldsymbol\vartheta)} \Big] \Big\}^{-1} \end{aligned} \]
WP1Binary & ordinal items

Scoring LLMs: models are examinees, benchmark questions are items
\[ \begin{gathered} \Pr(y_{si} > c \mid \boldsymbol\eta_s) = g^{-1}\big(\nu_{ic} + \boldsymbol\lambda_i^\top \boldsymbol\eta_s\big) \\ \pi(\mathbf y_s \mid \boldsymbol\vartheta) = \int {\textstyle\prod_i} \Pr(y_{si} \mid \boldsymbol\eta_s)\, \pi(\boldsymbol\eta_s \mid \boldsymbol\vartheta)\, d\boldsymbol\eta_s \end{gathered} \]
No closed form: one \(q\)-dimensional integral per person, for every \(\boldsymbol\vartheta\)
WP2Measurements on a map

ENEM 2023, Brazil: mean maths score by municipality (INEP)
\[ \begin{gathered} y_{si}(x) = \nu_i(x) + \lambda_i(x)\, \eta_s(x) + \epsilon_{si} \\ \eta_s(x) = u(x) + \zeta_s \\ u(x) \sim \text{BYM2 or SPDE} \end{gathered} \]
Is the gap real? A regional gap in ability, or in how items work by region
WP3Traits in continuous time

Experience sampling: phones prompt at random times
\[ \begin{gathered} y_{si}(t) = \nu_i + \lambda_i\, \eta_s(t) + \epsilon_{si}(t) \\ d\eta_s(t) = a\big(\mu - \eta_s(t)\big)\, dt + \sigma\, dW_s(t) \end{gathered} \]
One lag for every gap? Discrete-time results hinge on the prompt schedule
Bring us your latent variables.
install.packages("INLAvaan") ¡ haziqj.ml/kaust-stat26
arXiv
J&R (2026a) 2603.25690 ¡ J&R (2026b) 2604.00671 ¡ A et al. (2026) 2609.00670


Lemma 3.1 ¡ Walk the line For a Gaussian, slice summits lie on a known line, the conditional mean path (CMP): 21 evaluations per parameter, no re-optimising. Also Lemma 1 in Martins et al. (2013)
NEWLemma 3.2 + Corollary 3.3 ¡ Volume from gradients \(\gamma_j' = -\tfrac12\,\mathrm{tr}\big(\mathbf P_j^{\perp}\,\mathbf J'\big)\), a projected trace â m + 2 gradient calls per parameter: no Hessians, no determinants along the scan
NEWProposition 3.4 ¡ Two routes, one centre Scan + tilt puts each marginalâs mean on the VB-corrected centre, to \(O(n^{-2})\); both are Lindleyâs (1980) correction
Error vs MCMC ¡ with the volume correction 0.19% ¡ without 0.91% ¡ as accurate as the full-Hessian slope
1.28 s whole fit ¡ 42 parameters ¡ on a laptop
⼠98.5% agreement with 30,000 HMC draws, on every marginal
9 s vs ~8 min 156 parameters ¡ INLAvaan vs one MCMC chain

