Search bioRxiv⌕ Search

Biology subjects

Yen, F.-Y.

Publications and source records attributed to Yen, F.-Y..

3 recordsLinked to original sources

Using large language models for enhancing accessibility for Monte Carlo photon transport simulations and beyond

SignificanceComputational modeling and the use of simulation software tools are essential for biomedical optics research. Designing effective simulations often requires in-depth understanding of the underlying physical problems and proper configuration of the software settings, which often constitute key barriers for novice users including students. The rapid emergence of large language models (LLMs) offers new opportunities for natural-language-based interaction, but integrating them with technical software remains challenging because of their limited output reproducibility. Overcoming these limitations would allow more intuitive, efficient, and reproducible interaction between scientists and scientific software. AimWe investigate the use of LLMs in quantitative biophotonics simulation tools, with a goal of enabling novice users to build complex photon simulations using intuitive natural-language-based problem descriptions. ApproachWe have explored prompt engineering strategies that enable LLMs to bridge the gap between natural language descriptions and advanced simulation software by constraining LLM outputs using a data schema (i.e., format) and a modular component architecture, followed by deterministic validation to ensure correctness and reproducibility of the outputs. ResultsUsing Monte Carlo eXtreme (MCX) - a widely used photon transport simulator - as an example, we showcase the capability of the proposed framework to convert user descriptions to structured simulation inputs. Benchmarked using 33 diverse natural language simulation descriptions, our LLM interface, MCX-LLM, achieves 98% accuracy and 99% repeatability, with an average processing time of 8.96 seconds per prompt. The framework also successfully handles various linguistic styles and diverse simulation settings, achieving a 100% success rate on 20 unconstrained real-world prompts. With only minor adjustments, our LLM interface also produces valid inputs for a finite-element-based diffusion solver to demonstrate generality towards other optical simulators. ConclusionsBy combining LLMs capability for textual data comprehension with structured constraints, this work provides a pathway to making complex scientific tools accessible while ensuring the reliability and technical correctness required for rigorous scientific research. MCX-LLM has been integrated with MCX Cloud accessible at https://mcx.space/cloud.

bioengineering↗

Improving neuroimaging headgear placement robustness using facial-landmark guided augmented reality

SignificanceAccurate and consistent probe placement is crucial in functional near-infrared spectroscopy (fNIRS) and electroencephalogram (EEG) experiments, especially in longitudinal and group-based studies. Both operator experience and subject head shape variability can affect placement accuracy. AimWe aim to develop an easy-to-use software, NeuroNavigatAR (NNAR), utilizing augmented reality (AR) and machine-learning to estimate and display in real-time the subjects cranial and head landmarks to guide consistent headgear placement. ApproachBy applying a facial recognition toolbox to the image frames extracted from a video camera, we can obtain and continuously track subject-specific three-dimensional (3-D) facial landmarks. Separately, we have precomputed a robust linear transformation between facial landmarks and key cranial landmarks, including nasion and preauricular points, using a large public head-model library consisting of over 1,000 subjects. These allow us to rapidly estmate subject-specific cranial landmarks and subsequently render atlas-derived head landmarks to the subjects camera stream. ResultsAn open-source graphical user interface implementing this AR system has achieved a speed of 15 frameper-second using a laptop. A median 10-20 position error of 1.52 cm was found when using a general adult atlas, and is further reduced to 1.33 cm and 0.75 cm when using age-matched atlas models and subject-specific head surfaces, respectively. NNAR demonstrated consistent head-landmark prediction errors across repeated measurement sessions; there is also no statistically significant difference in accuracy across age groups. ConclusionsNNAR is an easy-to-use AR headgear placement monitoring tool that is expected to significantly enhance consistency and reduce setup time for fNIRS and EEG probe donning across a wide range of studies.

neuroscience↗

Creating anatomically-derived, standardized, customizable, and three-dimensional printable head caps for functional neuroimaging

AbstractO_ST_ABSSignificanceC_ST_ABSConsistent and accurate probe placement is a crucial step towards enhancing the reproducibility of longitudinal and group-based functional neuroimaging studies. While the selection of headgear is central to these efforts, there does not currently exist a standardized design that can accommodate diverse probe configurations and experimental procedures. AimWe aim to provide the community with an open-source software pipeline for conveniently creating low-cost, 3-D printable neuroimaging head caps with anatomically significant landmarks integrated into the structure of the cap. ApproachWe utilize our advanced 3-D head mesh generation toolbox and 10-20 head landmark calculations to quickly convert a subjects anatomical scan or an atlas into a 3-D printable head cap model. The 3-D modeling environment of the open-source Blender platform permits advanced mesh processing features to customize the cap. The design process is streamlined into a Blender add-on named "NeuroCaptain". ResultsUsing the intuitive user interface, we create various head cap models using brain atlases, and share those with the community. The resulting mesh-based head cap designs are readily 3-D printable using off-the-shelf printers and filaments while accurately preserving the head topology and landmarks. ConclusionsThe methods developed in this work result in a widely accessible tool for community members to design, customize and fabricate caps that incorporate anatomically derived landmarks. This not only permits person-alized head cap designs to achieve improved accuracy, but also offers an open platform for the community to propose standardizable head caps to facilitate multi-centered data collection and sharing.

neuroscience↗