Cargando…

Accelerating Computation of DCM for ERP in MATLAB by External Function Calls to the GPU

This study aims to improve the performance of Dynamic Causal Modelling for Event Related Potentials (DCM for ERP) in MATLAB by using external function calls to a graphics processing unit (GPU). DCM for ERP is an advanced method for studying neuronal effective connectivity. DCM utilizes an iterative...

Descripción completa

Detalles Bibliográficos
Autores principales: Wang, Wei-Jen, Hsieh, I-Fan, Chen, Chun-Chuan
Formato: Online Artículo Texto
Lenguaje:English
Publicado: Public Library of Science 2013
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3694084/
https://www.ncbi.nlm.nih.gov/pubmed/23840507
http://dx.doi.org/10.1371/journal.pone.0066599
_version_ 1782274806355329024
author Wang, Wei-Jen
Hsieh, I-Fan
Chen, Chun-Chuan
author_facet Wang, Wei-Jen
Hsieh, I-Fan
Chen, Chun-Chuan
author_sort Wang, Wei-Jen
collection PubMed
description This study aims to improve the performance of Dynamic Causal Modelling for Event Related Potentials (DCM for ERP) in MATLAB by using external function calls to a graphics processing unit (GPU). DCM for ERP is an advanced method for studying neuronal effective connectivity. DCM utilizes an iterative procedure, the expectation maximization (EM) algorithm, to find the optimal parameters given a set of observations and the underlying probability model. As the EM algorithm is computationally demanding and the analysis faces possible combinatorial explosion of models to be tested, we propose a parallel computing scheme using the GPU to achieve a fast estimation of DCM for ERP. The computation of DCM for ERP is dynamically partitioned and distributed to threads for parallel processing, according to the DCM model complexity and the hardware constraints. The performance efficiency of this hardware-dependent thread arrangement strategy was evaluated using the synthetic data. The experimental data were used to validate the accuracy of the proposed computing scheme and quantify the time saving in practice. The simulation results show that the proposed scheme can accelerate the computation by a factor of 155 for the parallel part. For experimental data, the speedup factor is about 7 per model on average, depending on the model complexity and the data. This GPU-based implementation of DCM for ERP gives qualitatively the same results as the original MATLAB implementation does at the group level analysis. In conclusion, we believe that the proposed GPU-based implementation is very useful for users as a fast screen tool to select the most likely model and may provide implementation guidance for possible future clinical applications such as online diagnosis.
format Online
Article
Text
id pubmed-3694084
institution National Center for Biotechnology Information
language English
publishDate 2013
publisher Public Library of Science
record_format MEDLINE/PubMed
spelling pubmed-36940842013-07-09 Accelerating Computation of DCM for ERP in MATLAB by External Function Calls to the GPU Wang, Wei-Jen Hsieh, I-Fan Chen, Chun-Chuan PLoS One Research Article This study aims to improve the performance of Dynamic Causal Modelling for Event Related Potentials (DCM for ERP) in MATLAB by using external function calls to a graphics processing unit (GPU). DCM for ERP is an advanced method for studying neuronal effective connectivity. DCM utilizes an iterative procedure, the expectation maximization (EM) algorithm, to find the optimal parameters given a set of observations and the underlying probability model. As the EM algorithm is computationally demanding and the analysis faces possible combinatorial explosion of models to be tested, we propose a parallel computing scheme using the GPU to achieve a fast estimation of DCM for ERP. The computation of DCM for ERP is dynamically partitioned and distributed to threads for parallel processing, according to the DCM model complexity and the hardware constraints. The performance efficiency of this hardware-dependent thread arrangement strategy was evaluated using the synthetic data. The experimental data were used to validate the accuracy of the proposed computing scheme and quantify the time saving in practice. The simulation results show that the proposed scheme can accelerate the computation by a factor of 155 for the parallel part. For experimental data, the speedup factor is about 7 per model on average, depending on the model complexity and the data. This GPU-based implementation of DCM for ERP gives qualitatively the same results as the original MATLAB implementation does at the group level analysis. In conclusion, we believe that the proposed GPU-based implementation is very useful for users as a fast screen tool to select the most likely model and may provide implementation guidance for possible future clinical applications such as online diagnosis. Public Library of Science 2013-06-26 /pmc/articles/PMC3694084/ /pubmed/23840507 http://dx.doi.org/10.1371/journal.pone.0066599 Text en © 2013 Wang et al http://creativecommons.org/licenses/by/4.0/ This is an open-access article distributed under the terms of the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are properly credited.
spellingShingle Research Article
Wang, Wei-Jen
Hsieh, I-Fan
Chen, Chun-Chuan
Accelerating Computation of DCM for ERP in MATLAB by External Function Calls to the GPU
title Accelerating Computation of DCM for ERP in MATLAB by External Function Calls to the GPU
title_full Accelerating Computation of DCM for ERP in MATLAB by External Function Calls to the GPU
title_fullStr Accelerating Computation of DCM for ERP in MATLAB by External Function Calls to the GPU
title_full_unstemmed Accelerating Computation of DCM for ERP in MATLAB by External Function Calls to the GPU
title_short Accelerating Computation of DCM for ERP in MATLAB by External Function Calls to the GPU
title_sort accelerating computation of dcm for erp in matlab by external function calls to the gpu
topic Research Article
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3694084/
https://www.ncbi.nlm.nih.gov/pubmed/23840507
http://dx.doi.org/10.1371/journal.pone.0066599
work_keys_str_mv AT wangweijen acceleratingcomputationofdcmforerpinmatlabbyexternalfunctioncallstothegpu
AT hsiehifan acceleratingcomputationofdcmforerpinmatlabbyexternalfunctioncallstothegpu
AT chenchunchuan acceleratingcomputationofdcmforerpinmatlabbyexternalfunctioncallstothegpu