bioRxivBioengineeringPreprint
TLS-Sim: An Open-Source Toolkit for Individualized Transcranial Light Stimulation Modeling with Deep-Learning-Accelerated Simulation
Keyao ZhangiD, Hai JiaiD, Zhilin LiiD, Shaodi WangiD, Yushuai Zhang, Fengyu CongiD, Zaixu CuiiD, Xiaoli Li AiD, Chenguang Zhao
Abstract
Background: Accurate modeling of photon transport through the heterogeneous tissues of the human head is important for individualized transcranial light stimulation (tLS). However, high-precision Monte Carlo (MC) simulations can be computationally demanding, and existing general-purpose simulation tools do not provide an integrated, brain-oriented workflow. Methods: We developed TLS-Sim, a framework that integrates subject-specific head-model construction, multiple light-source configuration, GPU-accelerated MC photon simulation, visualization, and intracranial dosimetric analysis. Its central feature is a deep-learning-accelerated MC pathway, termed Flux-to-Flux, that estimates a high-photon-count energy-deposition field from a paired low-photon-count simulation. Sparse and full Monte Carlo fields were encoded using a three-dimensional variational autoencoder (VAE), and a three-dimensional velocity network was trained to transform the sparse latent representation toward the corresponding full-simulation representation. Results: We demonstrate the end-to-end toolkit and the Flux-to-Flux (F2F) pathway on a representative individualized head model evaluated across three source configurations. Relative to the sparse simulation, the learned prediction improved agreement with the full Monte Carlo reference by approximately +4 dB in signal-to-noise ratio on average, with correspondingly higher structural similarity and lower mean absolute error. Conclusions: TLS-Sim provides a modular, openly released computational framework for individualized tLS simulation and analysis. The Flux-to-Flux pathway is presented as an implemented capability that reduces the computational burden of high-photon-count simulation while improving spatial agreement with the full MC reference, most strongly at the low-fluence field boundaries where the sparse simulation is noisiest.
- organism: human
- assay: imaging
- research focus: benchmarking
- research focus: software / tool
- approach: deep learning
- approach: variational autoencoder
- approach: graph neural network
- approach: statistical model
- Citations
- 0
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- Computation of transcranial magnetic stimulation electric fields using self-supervised deep learning
Hongming Li, Zhi‐De Deng, … Yong Fan A·NeuroImagePeer-reviewed·Oct 21, 2022
- Framework for Denoising Monte Carlo Photon Transport Simulations Using Deep Learning
M. Raayai Ardakani, L. Yu, … Q. Fang·bioRxiv·Jan 19, 2022
- Efficient Electric Field Simulations for Transcranial Brain Stimulation
G. Bicalho Saturnino, K. H. Madsen, A. Thielscher·bioRxiv·Feb 5, 2019
- Real-time computation of the TMS-induced electric field in a realistic head model
Matti Stenroos, Lari M. Koponen·NeuroImagePeer-reviewed·Sep 5, 2019
- Effect of Transcranial Light Stimulation on the Neurovascular Unit in the Human Brain
Chenguang Zhao, Zhilin Li, … Xiaoli Li A·bioRxiv·Apr 23, 2025
- A flexible workflow for simulating transcranial electric stimulation in healthy and lesioned brains
Benjamin Kalloch, Pierre‐Louis Bazin, … Mario Hlawitschka·PLoS ONEPeer-reviewed·May 14, 2020