Cargando…
Efficient estimation of bounded gradient-drift diffusion models for affect on CPU and GPU
Computational modeling plays an important role in a gamut of research fields. In affect research, continuous-time stochastic models are becoming increasingly popular. Recently, a non-linear, continuous-time, stochastic model has been introduced for affect dynamics, called the Affective Ising Model (...
Autores principales: | , , , , , |
---|---|
Formato: | Online Artículo Texto |
Lenguaje: | English |
Publicado: |
Springer US
2021
|
Materias: | |
Acceso en línea: | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9170664/ https://www.ncbi.nlm.nih.gov/pubmed/34561819 http://dx.doi.org/10.3758/s13428-021-01674-7 |
_version_ | 1784721484693897216 |
---|---|
author | Loossens, Tim Meers, Kristof Vanhasbroeck, Niels Anarat, Nil Verdonck, Stijn Tuerlinckx, Francis |
author_facet | Loossens, Tim Meers, Kristof Vanhasbroeck, Niels Anarat, Nil Verdonck, Stijn Tuerlinckx, Francis |
author_sort | Loossens, Tim |
collection | PubMed |
description | Computational modeling plays an important role in a gamut of research fields. In affect research, continuous-time stochastic models are becoming increasingly popular. Recently, a non-linear, continuous-time, stochastic model has been introduced for affect dynamics, called the Affective Ising Model (AIM). The drawback of non-linear models like the AIM is that they generally come with serious computational challenges for parameter estimation and related statistical analyses. The likelihood function of the AIM does not have a closed form expression. Consequently, simulation based or numerical methods have to be considered in order to evaluate the likelihood function. Additionally, the likelihood function can have multiple local minima. Consequently, a global optimization heuristic is required and such heuristics generally require a large number of likelihood function evaluations. In this paper, a Julia software package is introduced that is dedicated to fitting the AIM. The package includes an implementation of a numeric algorithm for fast computations of the likelihood function, which can be run both on graphics processing units (GPU) and central processing units (CPU). The numerical method introduced in this paper is compared to the more traditional Euler-Maruyama method for solving stochastic differential equations. Furthermore, the estimation software is tested by means of a recovery study and estimation times are reported for benchmarks that were run on several computing devices (two different GPUs and three different CPUs). According to these results, a single parameter estimation can be obtained in less than thirty seconds using a mainstream NVIDIA GPU. |
format | Online Article Text |
id | pubmed-9170664 |
institution | National Center for Biotechnology Information |
language | English |
publishDate | 2021 |
publisher | Springer US |
record_format | MEDLINE/PubMed |
spelling | pubmed-91706642022-06-08 Efficient estimation of bounded gradient-drift diffusion models for affect on CPU and GPU Loossens, Tim Meers, Kristof Vanhasbroeck, Niels Anarat, Nil Verdonck, Stijn Tuerlinckx, Francis Behav Res Methods Article Computational modeling plays an important role in a gamut of research fields. In affect research, continuous-time stochastic models are becoming increasingly popular. Recently, a non-linear, continuous-time, stochastic model has been introduced for affect dynamics, called the Affective Ising Model (AIM). The drawback of non-linear models like the AIM is that they generally come with serious computational challenges for parameter estimation and related statistical analyses. The likelihood function of the AIM does not have a closed form expression. Consequently, simulation based or numerical methods have to be considered in order to evaluate the likelihood function. Additionally, the likelihood function can have multiple local minima. Consequently, a global optimization heuristic is required and such heuristics generally require a large number of likelihood function evaluations. In this paper, a Julia software package is introduced that is dedicated to fitting the AIM. The package includes an implementation of a numeric algorithm for fast computations of the likelihood function, which can be run both on graphics processing units (GPU) and central processing units (CPU). The numerical method introduced in this paper is compared to the more traditional Euler-Maruyama method for solving stochastic differential equations. Furthermore, the estimation software is tested by means of a recovery study and estimation times are reported for benchmarks that were run on several computing devices (two different GPUs and three different CPUs). According to these results, a single parameter estimation can be obtained in less than thirty seconds using a mainstream NVIDIA GPU. Springer US 2021-09-24 2022 /pmc/articles/PMC9170664/ /pubmed/34561819 http://dx.doi.org/10.3758/s13428-021-01674-7 Text en © The Author(s) 2021 https://creativecommons.org/licenses/by/4.0/Open AccessThis article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/ (https://creativecommons.org/licenses/by/4.0/) . |
spellingShingle | Article Loossens, Tim Meers, Kristof Vanhasbroeck, Niels Anarat, Nil Verdonck, Stijn Tuerlinckx, Francis Efficient estimation of bounded gradient-drift diffusion models for affect on CPU and GPU |
title | Efficient estimation of bounded gradient-drift diffusion models for affect on CPU and GPU |
title_full | Efficient estimation of bounded gradient-drift diffusion models for affect on CPU and GPU |
title_fullStr | Efficient estimation of bounded gradient-drift diffusion models for affect on CPU and GPU |
title_full_unstemmed | Efficient estimation of bounded gradient-drift diffusion models for affect on CPU and GPU |
title_short | Efficient estimation of bounded gradient-drift diffusion models for affect on CPU and GPU |
title_sort | efficient estimation of bounded gradient-drift diffusion models for affect on cpu and gpu |
topic | Article |
url | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9170664/ https://www.ncbi.nlm.nih.gov/pubmed/34561819 http://dx.doi.org/10.3758/s13428-021-01674-7 |
work_keys_str_mv | AT loossenstim efficientestimationofboundedgradientdriftdiffusionmodelsforaffectoncpuandgpu AT meerskristof efficientestimationofboundedgradientdriftdiffusionmodelsforaffectoncpuandgpu AT vanhasbroeckniels efficientestimationofboundedgradientdriftdiffusionmodelsforaffectoncpuandgpu AT anaratnil efficientestimationofboundedgradientdriftdiffusionmodelsforaffectoncpuandgpu AT verdonckstijn efficientestimationofboundedgradientdriftdiffusionmodelsforaffectoncpuandgpu AT tuerlinckxfrancis efficientestimationofboundedgradientdriftdiffusionmodelsforaffectoncpuandgpu |