Search bioRxiv⌕ Search

bioRxiv · 10.64898/2026.07.20.738933

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

Abstract

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.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Yen, F.-Y., Liu, Y., Fang, Q.. 2026-07-21. Using large language models for enhancing accessibility for Monte Carlo photon transport simulations and beyond. https://doi.org/10.64898/2026.07.20.738933

Cite the original work for its findings. Save a collection to share your selection of sources.

KEEP EXPLORING

Related preprints

Dynamic Compression Platform for Live Imaging of Scaffold-Transmitted Cellular Mechanoresponses

Mechanical characterization of biomaterial scaffolds is essential to evaluate their capacity to meet the functional demands of target tissues in tissue engineering and regenerative medicine applications. Scaffolds designed to interface with living tissues must support the transmission of mechanical cues to resident cells and stimulate mechanosignaling pathways that are essential to their function. In joints, bone and cartilage cells act as primary mechanosensors, converting mechanical stimuli into biochemical signals that regulate tissue homeostasis and remodelling. Therefore, evaluating cellular mechanoresponses to scaffold-transmitted compression in vitro can inform the development of functional tissue-engineered constructs. For example, poly({epsilon}-caprolactone) (PCL) scaffolds are highly relevant for bone and cartilage tissue engineering due to their biocompatibility, stable mechanical properties and slow degradation. Here, we applied a custom-built device to study compression-induced mechanosignaling in MC3T3-E1 pre-osteoblast cells. The device is composed of a polydimethylsiloxane (PDMS) pillar, a force-sensing load cell, and a piezoelectric linear track. A protocol is described in which MC3T3-E1 cells are repeatedly compressed, while in parallel live tracking of force measurements and live imaging of intracellular calcium dynamics in MC3T3-E1 cells are recorded. PCL scaffolds fabricated by melt electrowriting (MEW) were subsequently integrated into the platform. Scaffold-transmitted compression triggered dynamic increases in cytosolic calcium; in MC3T3-E1 cells located directly under the PCL microfibers, but also in cells located in the interfiber spaces. This device and workflow facilitate in vitro investigations of real-time cellular mechanoresponses to dynamic compression applied with biomaterial scaffolds, and provides a testing platform for evaluating the mechanotransductive properties of scaffolds intended for tissue engineering applications.

bioengineering↗

Ultrasound Tracking Reveals Progressive Regional Strain Differences in Human Achilles Tendons During Fatigue Loading

Ultrasound is commonly used to assess structural changes in symptomatic Achilles tendons, but quantitative biomechanical metrics for progressive tendon deterioration remain limited. The goal of this study was to develop and validate an automated ultrasound tracking algorithm for regional tendon deformation and evaluate strain progression in survived and ruptured tendons during fatigue loading. We hypothesized that maximum strain, average strain, and strain heterogeneity would exhibit different trajectories between groups. Ten cadaveric Achilles tendons underwent cyclic loading with stress tests every 500 cycles until rupture or 150,000 cycles. Ultrasound images acquired during stress tests were analyzed using an automated tracking algorithm to generate spatially resolved regional strain fields. Ultrasound-derived bulk strain was highly correlated with actuator-derived strain in survived (R^2 = 0.968 +/- 0.017) and ruptured tendons (R^2 = 0.972 +/- 0.014). Maximum and average longitudinal strains progressively diverged between groups across fatigue life (Group x FatigueLife: p = 0.003 and p < 0.0001, respectively). During the first 10,000 cycles, average strain decreased in survived tendons ({beta} = -0.0268%, p = 0.0215) but not ruptured tendons ({beta} = 0.0147%, p = 0.1197), with a significant Group x Cycle interaction (p = 0.0061). This study demonstrates that the algorithm quantified Achilles tendon deformation with high fidelity and enabled spatially resolved strain assessment throughout fatigue loading. Maximum and average strain followed different trajectories between groups, whereas strain heterogeneity did not. Early differences in tendon biomechanics suggest that regional strain behavior may change before pronounced differences in absolute magnitude develop.

bioengineering↗

Brain organoid computing for robotic decision-making

Biomimicry has inspired the evolution of robotics toward greater autonomy, adaptability, and symbiosis with humans and dynamic environments. However, current robotic systems still face major challenges in recapitulating the high-efficiency decision-making capabilities of the human brain under complex and dynamic conditions. Here, we present Brainobot, a biohybrid robotic system that establishes a brain organoid controller as a high-level robotic decision-making layer for closed-loop embodiment. By leveraging brain organoid reservoir computing, Brainobot interacts with dynamic environments by receiving and processing sensory inputs and generating motor actions. As a proof-of-concept demonstration, Brainobot is implemented in a humanoid robotic system to perform real-world tasks, including object grasping and laser chasing. Interestingly, Brainobot exhibits unique features, including cross-task adaptivity, high computing efficiency, and low energy consumption. Thus, our approach may provide insights for advancing robotic embodiment and understanding biological decision-making.

bioengineering↗