Thijs van de Laar
Current Organizations / Institutes
The organizations/institutes from the scholar's latest article
Thijs van de Laar has a total of 26 co-authors. Here are the top co-authors by number of shared publications:
- Bert de Vries
Department of Electrical Engineering, Eindhoven University of Technology, Eindhoven, The Netherlands
3 shared publications Bert de Vries
Department of Electrical Engineering, Eindhoven University of Technology, Eindhoven, Netherlands
2 shared publications- Mateus Joffily2 shared publications
- Wouter W. L. Nuijten
Eindhoven University of Technology
2 shared publications - Alexandra Blenkinsop
Department of Mathematics, Imperial College London, London, UK
1 shared publication - Ard van Sighem
Stichting HIV Monitoring, Amsterdam, The Netherlands
1 shared publication
Latest Publications
- Open Access
- 21 May 2026
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Open Journal of Signal Processing
- Vol. 7, 591-611
A Probabilistic Generative Model for Spectral Speech Enhancement
Speech enhancement in hearing aids remains difficult in nonstationary acoustic environments. This paper introduces AIDA-2, a unified modular framework that formulates signal processing, learning, and personalization as Bayesian inference with explicit uncertainty tracking. The proposed framework replaces ad hoc algorithm design with a single probabilistic generative model that continuously adapts to changing acoustic conditions and user preferences. It extends spectral subtraction with principled mechanisms for in situ personalization and adaptation to acoustic context. The system is implemented as an interconnected probabilistic state-space model, and inference is performed via variational message passing in the RxInfer.jl probabilistic programming environment, enabling real-time Bayesian processing under hearing-aid constraints. We focus the evaluation on the warped-frequency filter bank (WFB) and speech enhancement model (SEM), evaluated on the public VoiceBank+DEMAND corpus. Additionally, an acoustic context model (ACM) and end-user model (EUM) are described architecturally. The evaluated system requires 85 parameters, two orders of magnitude fewer than the tens of thousands to millions of trainable parameters used by contemporary deep-learning baselines. This proof of concept establishes an interpretable, data-efficient foundation for uncertainty-aware hearing-aid processing, pointing toward devices that learn continuously through probabilistic inference.
- 21 May 2026
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Open Journal of Signal Processing
- Vol. 7, 591-611
Open AccessA Probabilistic Generative Model for Spectral Speech Enhancement
Speech enhancement in hearing aids remains difficult in nonstationary acoustic environments. This paper introduces AIDA-2, a unified modular framework that formulates signal processing, learning, and personalization as Bayesian inference with explicit uncertainty tracking. The proposed framework replaces ad hoc algorithm design with a single probabilistic generative model that continuously adapts to changing acoustic conditions and user preferences. It extends spectral subtraction with principled mechanisms for in situ personalization and adaptation to acoustic context. The system is implemented as an interconnected probabilistic state-space model, and inference is performed via variational message passing in the RxInfer.jl probabilistic programming environment, enabling real-time Bayesian processing under hearing-aid constraints. We focus the evaluation on the warped-frequency filter bank (WFB) and speech enhancement model (SEM), evaluated on the public VoiceBank+DEMAND corpus. Additionally, an acoustic context model (ACM) and end-user model (EUM) are described architecturally. The evaluated system requires 85 parameters, two orders of magnitude fewer than the tens of thousands to millions of trainable parameters used by contemporary deep-learning baselines. This proof of concept establishes an interpretable, data-efficient foundation for uncertainty-aware hearing-aid processing, pointing toward devices that learn continuously through probabilistic inference.
- Open Access
A Bayesian approach to the Machina paradox
Variants of the Ellsberg urn experiments introduced by Machina (Am. Econ. Rev., 99(1), 385-392, 2009) have challenged several prominent models of ambiguity aversion. We show that our Bayesian hierarchical model -originally developed to explain Ellsberg-type preferences -also captures the ambiguity preferences observed in Machina's reflection example. Our findings indicate that ambiguity aversion in both the Ellsberg and Machina paradoxes can be attributed to pessimistic prior beliefs about unobserved outcomes. Moreover, the model predicts an asymmetric pattern of preferences across intermediate payoff levels in the reflection example: ambiguity aversion is stronger when the intermediate payoff lies closer to the worst outcome, while the opposite holds for ambiguity-seeking preferences.
Open AccessA Bayesian approach to the Machina paradox
Variants of the Ellsberg urn experiments introduced by Machina (Am. Econ. Rev., 99(1), 385-392, 2009) have challenged several prominent models of ambiguity aversion. We show that our Bayesian hierarchical model -originally developed to explain Ellsberg-type preferences -also captures the ambiguity preferences observed in Machina's reflection example. Our findings indicate that ambiguity aversion in both the Ellsberg and Machina paradoxes can be attributed to pessimistic prior beliefs about unobserved outcomes. Moreover, the model predicts an asymmetric pattern of preferences across intermediate payoff levels in the reflection example: ambiguity aversion is stronger when the intermediate payoff lies closer to the worst outcome, while the opposite holds for ambiguity-seeking preferences.
- Open Access
A Bayesian hierarchical model of Ellsberg-type preferences
We consider a Bayesian hierarchical model of Ellsberg-type preferences based on conditional subjective expected utility. In our model, optimism and pessimism emanate from motivated prior beliefs about unobserved outcomes. This implies that optimism and pessimism can only propagate along the structure of the hierarchical model when the probability of outcomes is unknown (ambiguity) rather than known (risk). We show that the prevailing preferences observed in Ellsberg (1961)'s two-urn experiment and Jabarian and Lazarus (2023)'s two-ball experiment are reproduced by our model when motivated priors are pessimistic.
Open AccessA Bayesian hierarchical model of Ellsberg-type preferences
We consider a Bayesian hierarchical model of Ellsberg-type preferences based on conditional subjective expected utility. In our model, optimism and pessimism emanate from motivated prior beliefs about unobserved outcomes. This implies that optimism and pessimism can only propagate along the structure of the hierarchical model when the probability of outcomes is unknown (ambiguity) rather than known (risk). We show that the prevailing preferences observed in Ellsberg (1961)'s two-urn experiment and Jabarian and Lazarus (2023)'s two-ball experiment are reproduced by our model when motivated priors are pessimistic.
- Open Access
Automating Model Comparison in Factor Graphs
Bayesian state and parameter estimation are automated effectively in a variety of probabilistic programming languages. The process of model comparison on the other hand, which still requires error-prone and time-consuming manual derivations, is often overlooked despite its importance. This paper efficiently automates Bayesian model averaging, selection, and combination by message passing on a Forney-style factor graph with a custom mixture node. Parameter and state inference, and model comparison can then be executed simultaneously using message passing with scale factors. This approach shortens the model design cycle and allows for the straightforward extension to hierarchical and temporal model priors to accommodate for modeling complicated time-varying processes.
Open AccessAutomating Model Comparison in Factor Graphs
Bayesian state and parameter estimation are automated effectively in a variety of probabilistic programming languages. The process of model comparison on the other hand, which still requires error-prone and time-consuming manual derivations, is often overlooked despite its importance. This paper efficiently automates Bayesian model averaging, selection, and combination by message passing on a Forney-style factor graph with a custom mixture node. Parameter and state inference, and model comparison can then be executed simultaneously using message passing with scale factors. This approach shortens the model design cycle and allows for the straightforward extension to hierarchical and temporal model priors to accommodate for modeling complicated time-varying processes.
- Open Access
- 6 April 2022
- Published by Frontiers Media SA in Frontiers in Robotics and AI
- Vol. 9, 794464
Active Inference and Epistemic Value in Graphical Models
The Free Energy Principle (FEP) postulates that biological agents perceive and interact with their environment in order to minimize a Variational Free Energy (VFE) with respect to a generative model of their environment. The inference of a policy (future control sequence) according to the FEP is known as Active Inference (AIF). The AIF literature describes multiple VFE objectives for policy planning that lead to epistemic (information-seeking) behavior. However, most objectives have limited modeling flexibility. This paper approaches epistemic behavior from a constrained Bethe Free Energy (CBFE) perspective. Crucially, variational optimization of the CBFE can be expressed in terms of message passing on free-form generative models. The key intuition behind the CBFE is that we impose a point-mass constraint on predicted outcomes, which explicitly encodes the assumption that the agent will make observations in the future. We interpret the CBFE objective in terms of its constituent behavioral drives. We then illustrate resulting behavior of the CBFE by planning and interacting with a simulated T-maze environment. Simulations for the T-maze task illustrate how the CBFE agent exhibits an epistemic drive, and actively plans ahead to account for the impact of predicted outcomes. Compared to an EFE agent, the CBFE agent incurs expected reward in significantly more environmental scenarios. We conclude that CBFE optimization by message passing suggests a general mechanism for epistemic-aware AIF in free-form generative models.
- 6 April 2022
- Published by Frontiers Media SA in Frontiers in Robotics and AI
- Vol. 9, 794464
Open AccessActive Inference and Epistemic Value in Graphical Models
The Free Energy Principle (FEP) postulates that biological agents perceive and interact with their environment in order to minimize a Variational Free Energy (VFE) with respect to a generative model of their environment. The inference of a policy (future control sequence) according to the FEP is known as Active Inference (AIF). The AIF literature describes multiple VFE objectives for policy planning that lead to epistemic (information-seeking) behavior. However, most objectives have limited modeling flexibility. This paper approaches epistemic behavior from a constrained Bethe Free Energy (CBFE) perspective. Crucially, variational optimization of the CBFE can be expressed in terms of message passing on free-form generative models. The key intuition behind the CBFE is that we impose a point-mass constraint on predicted outcomes, which explicitly encodes the assumption that the agent will make observations in the future. We interpret the CBFE objective in terms of its constituent behavioral drives. We then illustrate resulting behavior of the CBFE by planning and interacting with a simulated T-maze environment. Simulations for the T-maze task illustrate how the CBFE agent exhibits an epistemic drive, and actively plans ahead to account for the impact of predicted outcomes. Compared to an EFE agent, the CBFE agent incurs expected reward in significantly more environmental scenarios. We conclude that CBFE optimization by message passing suggests a general mechanism for epistemic-aware AIF in free-form generative models.
- Open Access
Estimating the potential to prevent locally acquired HIV infections in a UNAIDS Fast-Track City, Amsterdam
Amsterdam and other UNAIDS Fast-Track cities aim for zero new HIV infections. Utilising molecular and clinical data of the ATHENA observational HIV cohort, our primary aims are to estimate the proportion of undiagnosed HIV infections and the proportion of locally acquired infections in Amsterdam in 2014-2018, both in MSM and heterosexuals and Dutch-born and foreign-born individuals. We located diagnosed HIV infections in Amsterdam using postcode data at time of registration to the cohort, and estimated their date of infection using clinical HIV data. We then inferred the proportion undiagnosed from the estimated times to diagnosis. To determine sources of Amsterdam infections, we used HIV sequences of people living with HIV (PLHIV) within a background of other Dutch and international sequences to phylogenetically reconstruct transmission chains. Frequent late diagnoses indicate that more recent phylogenetically observed chains are increasingly incomplete, and we use a Bayesian model to estimate the actual growth of Amsterdam transmission chains, and the proportion of locally acquired infections. We estimate that 20% [95% CrI 18-22%] of infections acquired among MSM between 2014-2018 were undiagnosed by the start of 2019, and 44% [37-50%] among heterosexuals, with variation by place of birth. The estimated proportion of MSM infections in 2014-2018 that were locally acquired was 68% [61-74%], with no substantial differences by region of birth. In heterosexuals, this was 57% [41-71%] overall, with heterogeneity by place of birth. The data indicate substantial potential to further curb local transmission, in both MSM and heterosexual Amsterdam residents. In 2014-2018 the largest proportion of local transmissions in Amsterdam are estimated to have occurred in foreign-born MSM, who would likely benefit most from intensified interventions.
Open AccessEstimating the potential to prevent locally acquired HIV infections in a UNAIDS Fast-Track City, Amsterdam
Amsterdam and other UNAIDS Fast-Track cities aim for zero new HIV infections. Utilising molecular and clinical data of the ATHENA observational HIV cohort, our primary aims are to estimate the proportion of undiagnosed HIV infections and the proportion of locally acquired infections in Amsterdam in 2014-2018, both in MSM and heterosexuals and Dutch-born and foreign-born individuals. We located diagnosed HIV infections in Amsterdam using postcode data at time of registration to the cohort, and estimated their date of infection using clinical HIV data. We then inferred the proportion undiagnosed from the estimated times to diagnosis. To determine sources of Amsterdam infections, we used HIV sequences of people living with HIV (PLHIV) within a background of other Dutch and international sequences to phylogenetically reconstruct transmission chains. Frequent late diagnoses indicate that more recent phylogenetically observed chains are increasingly incomplete, and we use a Bayesian model to estimate the actual growth of Amsterdam transmission chains, and the proportion of locally acquired infections. We estimate that 20% [95% CrI 18-22%] of infections acquired among MSM between 2014-2018 were undiagnosed by the start of 2019, and 44% [37-50%] among heterosexuals, with variation by place of birth. The estimated proportion of MSM infections in 2014-2018 that were locally acquired was 68% [61-74%], with no substantial differences by region of birth. In heterosexuals, this was 57% [41-71%] overall, with heterogeneity by place of birth. The data indicate substantial potential to further curb local transmission, in both MSM and heterosexual Amsterdam residents. In 2014-2018 the largest proportion of local transmissions in Amsterdam are estimated to have occurred in foreign-born MSM, who would likely benefit most from intensified interventions.
- Open Access
- 16 September 2021
- Published by MIT Press in Neural Computation
- Vol. 33 (10) , 2710-2735
Chance-Constrained Active Inference
Active inference (ActInf) is an emerging theory that explains perception and action in biological agents in terms of minimizing a free energy bound on Bayesian surprise. Goal-directed behavior is elicited by introducing prior beliefs on the underlying generative model. In contrast to prior beliefs, which constrain all realizations of a random variable, we propose an alternative approach through chance constraints, which allow for a (typically small) probability of constraint violation, and demonstrate how such constraints can be used as intrinsic drivers for goal-directed behavior in ActInf. We illustrate how chance-constrained ActInf weights all imposed (prior) constraints on the generative model, allowing, for example, for a trade-off between robust control and empirical chance constraint violation. Second, we interpret the proposed solution within a message passing framework. Interestingly, the message passing interpretation is not only relevant to the context of ActInf, but also provides a general-purpose approach that can account for chance constraints on graphical models. The chance constraint message updates can then be readily combined with other prederived message update rules without the need for custom derivations. The proposed chance-constrained message passing framework thus accelerates the search for workable models in general and can be used to complement message-passing formulations on generative neural models.
- 16 September 2021
- Published by MIT Press in Neural Computation
- Vol. 33 (10) , 2710-2735
Open AccessChance-Constrained Active Inference
Active inference (ActInf) is an emerging theory that explains perception and action in biological agents in terms of minimizing a free energy bound on Bayesian surprise. Goal-directed behavior is elicited by introducing prior beliefs on the underlying generative model. In contrast to prior beliefs, which constrain all realizations of a random variable, we propose an alternative approach through chance constraints, which allow for a (typically small) probability of constraint violation, and demonstrate how such constraints can be used as intrinsic drivers for goal-directed behavior in ActInf. We illustrate how chance-constrained ActInf weights all imposed (prior) constraints on the generative model, allowing, for example, for a trade-off between robust control and empirical chance constraint violation. Second, we interpret the proposed solution within a message passing framework. Interestingly, the message passing interpretation is not only relevant to the context of ActInf, but also provides a general-purpose approach that can account for chance constraints on graphical models. The chance constraint message updates can then be readily combined with other prederived message update rules without the need for custom derivations. The proposed chance-constrained message passing framework thus accelerates the search for workable models in general and can be used to complement message-passing formulations on generative neural models.
- Open Access
Variational Message Passing and Local Constraint Manipulation in Factor Graphs
Accurate evaluation of Bayesian model evidence for a given data set is a fundamental problem in model development. Since evidence evaluations are usually intractable, in practice variational free energy (VFE) minimization provides an attractive alternative, as the VFE is an upper bound on negative model log-evidence (NLE). In order to improve tractability of the VFE, it is common to manipulate the constraints in the search space for the posterior distribution of the latent variables. Unfortunately, constraint manipulation may also lead to a less accurate estimate of the NLE. Thus, constraint manipulation implies an engineering trade-off between tractability and accuracy of model evidence estimation. In this paper, we develop a unifying account of constraint manipulation for variational inference in models that can be represented by a (Forney-style) factor graph, for which we identify the Bethe Free Energy as an approximation to the VFE. We derive well-known message passing algorithms from first principles, as the result of minimizing the constrained Bethe Free Energy (BFE). The proposed method supports evaluation of the BFE in factor graphs for model scoring and development of new message passing-based inference algorithms that potentially improve evidence estimation accuracy.
Open AccessVariational Message Passing and Local Constraint Manipulation in Factor Graphs
Accurate evaluation of Bayesian model evidence for a given data set is a fundamental problem in model development. Since evidence evaluations are usually intractable, in practice variational free energy (VFE) minimization provides an attractive alternative, as the VFE is an upper bound on negative model log-evidence (NLE). In order to improve tractability of the VFE, it is common to manipulate the constraints in the search space for the posterior distribution of the latent variables. Unfortunately, constraint manipulation may also lead to a less accurate estimate of the NLE. Thus, constraint manipulation implies an engineering trade-off between tractability and accuracy of model evidence estimation. In this paper, we develop a unifying account of constraint manipulation for variational inference in models that can be represented by a (Forney-style) factor graph, for which we identify the Bethe Free Energy as an approximation to the VFE. We derive well-known message passing algorithms from first principles, as the result of minimizing the constrained Bethe Free Energy (BFE). The proposed method supports evaluation of the BFE in factor graphs for model scoring and development of new message passing-based inference algorithms that potentially improve evidence estimation accuracy.
- Open Access
- 28 March 2019
- Published by Frontiers Media SA in Frontiers in Robotics and AI
- Vol. 6
Simulating Active Inference Processes by Message Passing
The free energy principle (FEP) offers a variational calculus-based description for how biological agents persevere through interactions with their environment. Active inference (AI) is a corollary of the FEP, which states that biological agents act to fulfill prior beliefs about preferred future observations (target priors). Purposeful behavior then results from variational free energy minimization with respect to a generative model of the environment with included target priors. However, manual derivations for free energy minimizing algorithms on custom dynamic models can become tedious and error-prone. While probabilistic programming (PP) techniques enable automatic derivation of inference algorithms on free-form models, full automation of AI requires specialized tools for inference on dynamic models, together with the description of an experimental protocol that governs the interaction between the agent and its simulated environment. The contributions of the present paper are two-fold. Firstly, we illustrate how AI can be automated with the use of ForneyLab, a recent PP toolbox that specializes in variational inference on flexibly definable dynamic models. More specifically, we describe AI agents in a dynamic environment as probabilistic state space models (SSM) and perform inference for perception and control in these agents by message passing on a factor graph representation of the SSM. Secondly, we propose a formal experimental protocol for simulated AI. We exemplify how this protocol leads to goal-directed behavior for flexibly definable AI agents in two classical RL examples, namely the Bayesian thermostat and the mountain car parking problems.
- 28 March 2019
- Published by Frontiers Media SA in Frontiers in Robotics and AI
- Vol. 6
Open AccessSimulating Active Inference Processes by Message Passing
The free energy principle (FEP) offers a variational calculus-based description for how biological agents persevere through interactions with their environment. Active inference (AI) is a corollary of the FEP, which states that biological agents act to fulfill prior beliefs about preferred future observations (target priors). Purposeful behavior then results from variational free energy minimization with respect to a generative model of the environment with included target priors. However, manual derivations for free energy minimizing algorithms on custom dynamic models can become tedious and error-prone. While probabilistic programming (PP) techniques enable automatic derivation of inference algorithms on free-form models, full automation of AI requires specialized tools for inference on dynamic models, together with the description of an experimental protocol that governs the interaction between the agent and its simulated environment. The contributions of the present paper are two-fold. Firstly, we illustrate how AI can be automated with the use of ForneyLab, a recent PP toolbox that specializes in variational inference on flexibly definable dynamic models. More specifically, we describe AI agents in a dynamic environment as probabilistic state space models (SSM) and perform inference for perception and control in these agents by message passing on a factor graph representation of the SSM. Secondly, we propose a formal experimental protocol for simulated AI. We exemplify how this protocol leads to goal-directed behavior for flexibly definable AI agents in two classical RL examples, namely the Bayesian thermostat and the mountain car parking problems.