SearcharxivSearch

arXiv subjects

Changwoo Do

Publications and source records attributed to Changwoo Do.

At least 19 recordsLinked to original sources

ColPackAgent: Agent-Skill-Guided Hard-Particle Monte Carlo Workflows for Colloidal Packing

We introduce ColPackAgent, an agent framework that autonomously runs Monte Carlo simulations of colloidal packing through a Model Context Protocol (MCP) tool server and an agent skill, whether as a standalone agent or inside an existing agent system. By harnessing the MCP server and agent skill, ColPackAgent executes a structured workflow for colloidal packing simulations, which are central to studies of phase behavior, self-assembly, and materials design. Without dedicated simulation tools and workflow instructions, general-purpose Large Language Model (LLM) agents tend to describe such workflows rather than execute them reliably. The MCP server exposes a custom-built colpack Python package that wraps HOOMD-blue hard-particle Monte Carlo, and the skill encodes a four-stage workflow contract. ColPackAgent can carry out the workflow interactively with human feedback, autonomously from an end-to-end prompt, or as autoresearch following a provided program file. We demonstrate the system in different modes with several colloidal packing simulation examples such as cube particles in 3D, a binary system of disks and capsules in 2D, and the 2D hard-disk freezing transition using autoresearch. We also compare model performance on this workflow across a panel of LLMs with 17 stage-specific prompts. This benchmark provides a stage-level check of how reliably different models follow the setup, planning, and analysis workflow. Together, these results show that pairing a domain Python package with MCP tools and a portable agent skill provides a practical route for turning a simulation toolkit into an agent-assisted research workflow.

cs.AI

EQSANS-CLI: A natural-language, agent-ready command-line tool for small-angle neutron scattering data reduction at EQ-SANS

Small-angle neutron scattering (SANS) data reduction at user facilities follows a largely repetitive workflow. Runs are first classified in the catalog and matched to transmission, background, and empty-beam references within the same instrument configuration. The data are then reduced, placed on an absolute scale using a standard, and stitched across configurations. Although these steps are individually well understood, they remain weakly connected, producing a coordination burden that scales with the number of runs and configurations. This paper describes EQSANS-CLI, a command-line tool that organizes this workflow into a coherent, scriptable, and agent-addressable system. The design rests on four principles: a shared command-handler layer that all input paths converge on; a persistent \emph{working table} that holds every reduction decision as editable rows; two input surfaces (an interactive terminal and a headless JSON mode) that compile to the same handler entry point; and a status-driven re-reduction model that treats parameter changes as first-class events. An \texttt{/autopilot} command chains the full pipeline from the IPTS number to stitched $I(Q)$ curves in one invocation. A Slack bot demonstrates that the headless interface, together with a single skill document loaded into an external agent's system prompt, is sufficient to drive complete reductions by natural language from a mobile device. The architecture is intentionally minimal on the agent side: the CLI is the authoritative executor, and the agent's only job is to translate human intent into commands on a stable contract.

physics.ins-det

Deep Learning the Small-Angle Scattering of Polydisperse Hard Rods

We present a deep learning framework for modeling and analyzing the small-angle scattering data of polydisperse hard-rod systems, a widely used models for anisotropic colloidal particles. We use a variational autoencoder-based neural network to learn the mapping from the system parameters such as the volume fraction, rod length, and polydispersity, to the scattering function. The dataset for training and testing such neural network model is obtained from Markov chain Monte Carlo simulation of 20,000 hard spherocylinders using the hard particle Monte Carlo package from the HOOMD-blue. Four datasets were generated, each with 5,500 pairs of system parameters and corresponding scattering functions. We use one of the dataset to investigate the feasibility of the learning, and three additional datasets with different polydisperse distribution to demonstrate the generality of our approach. The neural network model transcends the fundamental limitations of the Percus-Yevick approximation by accurately capturing anisotropic interactions and high-concentration effects that analytical models often fail to resolve. This framework achieves significantly higher accuracy in reproducing scattering functions and enables a least-square fitting routine for quantitative data analysis.

cond-mat.soft

LLMs Can Assist with Proposal Selection at Large User Facilities

We explore how large language models (LLMs) can enhance the proposal selection process at large user facilities, offering a scalable, consistent, and cost-effective alternative to traditional human review. Proposal selection depends on assessing the relative strength among submitted proposals; however, traditional human scoring often suffers from weak inter-proposal correlations and is subject to reviewer bias and inconsistency. A pairwise preference-based approach is logically superior, providing a more rigorous and internally consistent basis for ranking, but its quadratic workload makes it impractical for human reviewers. We address this limitation using LLMs. Leveraging the uniquely well-curated proposals and publication records from three beamlines at the Spallation Neutron Source (SNS), Oak Ridge National Laboratory (ORNL), we show that the LLM rankings correlate strongly with the human rankings (Spearman $\rho\simeq 0.2-0.8$, improving to $\geq 0.5$ after 10\% outlier removal). Moreover, LLM performance is no worse than that of human reviewers in identifying proposals with high publication potential, while costing over two orders of magnitude less. Beyond ranking, LLMs enable advanced analyses that are challenging for humans, such as quantitative assessment of proposal similarity via embedding models, which provides information crucial for review committees.

cs.AI

ToPolyAgent: AI Agents for Coarse-Grained Topological Polymer Simulations

We introduce ToPolyAgent, a multi-agent AI framework for performing coarse-grained molecular dynamics (MD) simulations of topological polymers through natural language instructions. By integrating large language models (LLMs) with domain-specific computational tools, ToPolyAgent supports both interactive and autonomous simulation workflows across diverse polymer architectures, including linear, ring, brush, and star polymers, as well as dendrimers. The system consists of four LLM-powered agents: a Config Agent for generating initial polymer-solvent configurations, a Simulation Agent for executing LAMMPS-based MD simulations and conformational analyses, a Report Agent for compiling markdown reports, and a Workflow Agent for streamlined autonomous operations. Interactive mode incorporates user feedback loops for iterative refinements, while autonomous mode enables end-to-end task execution from detailed prompts. We demonstrate ToPolyAgent's versatility through case studies involving diverse polymer architectures under varying solvent condition, thermostats, and simulation lengths. Furthermore, we highlight its potential as a research assistant by directing it to investigate the effect of interaction parameters on the linear polymer conformation, and the influence of grafting density on the persistence length of the brush polymer. By coupling natural language interfaces with rigorous simulation tools, ToPolyAgent lowers barriers to complex computational workflows and advances AI-driven materials discovery in polymer science. It lays the foundation for autonomous and extensible multi-agent scientific research ecosystems.

cs.AI

Optimal Binning for Small-Angle Neutron Scattering Data Using the Freedman-Diaconis Rule

Small-Angle Neutron Scattering (SANS) data analysis often relies on fixed-width binning schemes that overlook variations in signal strength and structural complexity. We introduce a statistically grounded approach based on the Freedman-Diaconis (FD) rule, which minimizes the mean integrated squared error between the histogram estimate and the true intensity distribution. By deriving the competing scaling relations for counting noise ($\propto h^{-1}$) and binning distortion ($\propto h^{2}$), we establish an optimal bin width that balances statistical precision and structural resolution. Application to synthetic data from the Debye scattering function of a Gaussian polymer chain demonstrates that the FD criterion quantitatively determines the most efficient binning, faithfully reproducing the curvature of $I(Q)$ while minimizing random error. The optimal width follows the expected scaling $h_{\mathrm{opt}} \propto N_{\mathrm{total}}^{-1/3}$, delineating the transition between noise- and resolution-limited regimes. This framework provides a unified, physics-informed basis for adaptive, statistically efficient binning in neutron scattering experiments.

physics.data-an

SasAgent: Multi-Agent AI System for Small-Angle Scattering Data Analysis

We introduce SasAgent, a multi-agent AI system powered by large language models (LLMs) that automates small-angle scattering (SAS) data analysis by leveraging tools from the SasView software and enables user interaction via text input. SasAgent features a coordinator agent that interprets user prompts and delegates tasks to three specialized agents for scattering length density (SLD) calculation, synthetic data generation, and experimental data fitting. These agents utilize LLM-friendly tools to execute tasks efficiently. These tools, including the model data tool, Retrieval-Augmented Generation (RAG) documentation tool, bump fitting tool, and SLD calculator tool, are derived from the SasView Python library. A user-friendly Gradio-based interface enhances user accessibility. Through diverse examples, we demonstrate SasAgent's ability to interpret complex prompts, calculate SLDs, generate accurate scattering data, and fit experimental datasets with high precision. This work showcases the potential of LLM-driven AI systems to streamline scientific workflows and enhance automation in SAS research.

cs.AI

Deciphering the Small-Angle Scattering of Polydisperse Hard Spheres using Deep Learning

We introduce a deep learning approach for analyzing the scattering function of the polydisperse hard spheres system. We use a variational autoencoder-based neural network to learn the bidirectional mapping between the scattering function and the system parameters including the volume fraction and polydispersity. Such that the trained model serves both as a generator that produce scattering function from the system parameters, and an inferrer that extract system parameters from the scattering function. We first generate a scattering dataset by carrying out molecular dynamics simulation of the polydisperse hard spheres modeled by the truncated-shifted Lennard-Jones model, then analyze the scattering function dataset using singular value decomposition to confirm the feasibility of dimensional compression. Then we split the dataset into training and testing set and train our neural network on the training set only. Our generator model produce scattering function with significant higher accuracy comparing to the traditional Percus-Yevick approximation and $\beta$ correction, and the inferrer model can extract the volume fraction and polydispersity with much higher accuracy than traditional model functions.

cond-mat.soft

Universal Convergence Metric for Time-Resolved Neutron Scattering

This work introduces a model-independent, dimensionless metric for predicting optimal measurement duration in time-resolved Small-Angle Neutron Scattering (SANS) using early-time data. Built on a Gaussian Process Regression (GPR) framework, the method reconstructs scattering profiles with quantified uncertainty, even from sparse or noisy measurements. Demonstrated on the EQSANS instrument at the Spallation Neutron Source, the approach generalizes to general SANS instruments with a two-dimensional detector. A key result is the discovery of a dimensionless convergence metric revealing a universal power-law scaling in profile evolution across soft matter systems. When time is normalized by a system-specific characteristic time $t^{\star}$, the variation in inferred profiles collapses onto a single curve with an exponent between $-2$ and $-1$. This trend emerges within the first ten time steps, enabling early prediction of measurement sufficiency. The method supports real-time experimental optimization and is especially valuable for maximizing efficiency in low-flux environments such as compact accelerator-based neutron sources.

physics.ins-det

Experimental evidence of non-equilibrium phase separation in supercritical fluids

Supercritical fluids (SCFs) have long been considered homogeneous and structureless, yet recent studies suggest the existence of transient, liquid-like clusters under dynamic processes. In this study, we provide experimental evidence of semi-stable non-equilibrium phase separation in SCFs through opacity measurements and small-angle neutron scattering (SANS). By investigating the thermophysical properties of helium, argon, and krypton during adiabatic expansion, we show that cooling dynamics vary significantly among species, influencing cluster formation. Neutron scattering measurements reveal distinct variations in signal intensity, supporting that the clusters slowly dissolve into the background with a surprisingly long time scale of tens of minutes. Given that SCFs in industrial applications frequently experience dynamic, non-equilibrium conditions rather than in strict thermodynamic equilibrium, our results provide crucial insights with potential implications for advanced material processing, energy systems, and chemical engineering.

cond-mat.soft

Deciphering the Scattering of Mechanically Driven Polymers using Deep Learning

We present a deep learning approach for analyzing two-dimensional scattering data of semiflexible polymers under external forces. In our framework, scattering functions are compressed into a three-dimensional latent space using a Variational Autoencoder (VAE), and two converter networks establish a bidirectional mapping between the polymer parameters (bending modulus, stretching force, and steady shear) and the scattering functions. The training data are generated using off-lattice Monte Carlo simulations to avoid the orientational bias inherent in lattice models, ensuring robust sampling of polymer conformations. The feasibility of this bidirectional mapping is demonstrated by the organized distribution of polymer parameters in the latent space. By integrating the converter networks with the VAE, we obtain a generator that produces scattering functions from given polymer parameters and an inferrer that directly extracts polymer parameters from scattering data. While the generator can be utilized in a traditional least-squares fitting procedure, the inferrer produces comparable results in a single pass and operates three orders of magnitude faster. This approach offers a scalable, automated tool for polymer scattering analysis and provides a promising foundation for extending the method to other scattering models, experimental validation, and the study of time-dependent scattering data.

cond-mat.soft

Unlocking Hidden Information in Sparse Small-Angle Neutron Scattering Measurement

Small-angle neutron scattering (SANS) is a powerful technique for probing the nanoscale structure of materials. However, the fundamental limitations of neutron flux pose significant challenges for rapid, high-fidelity data acquisition required in many experiments. To circumvent this difficulty, we introduce a Bayesian statistical framework based on Gaussian process regression (GPR) to infer high-quality SANS intensity profiles from measurements with suboptimal signal-to-noise ratios (SNR). Unlike machine learning approaches that depend on extensive training datasets, the proposed one-shot method leverages the intrinsic mathematical properties of the scattering function, smoothness and continuity, offering a generalizable solution beyond the constraints of data-intensive techniques. By examining existing SANS experimental data, we demonstrate that this approach can reduce measurement time by between one and two orders of magnitude while maintaining accuracy and adaptability across different SANS instruments. By improving both efficiency and reliability, this method extends the capabilities of SANS, enabling broader applications in time-sensitive and low-flux experimental conditions.

physics.app-ph

Machine Learning Inversion from Small-Angle Scattering for Charged Polymers

We develop Monte Carlo simulations for uniformly charged polymers and machine learning algorithm to interpret the intra-polymer structure factor of the charged polymer system, which can be obtained from small-angle scattering experiments. The polymer is modeled as a chain of fixed-length bonds, where the connected bonds are subject to bending energy, and there is also a screened Coulomb potential for charge interaction between all joints. The bending energy is determined by the intrinsic bending stiffness, and the charge interaction depends on the interaction strength and screening length. All three contribute to the stiffness of the polymer chain and lead to longer and larger polymer conformations. The screening length also introduces a second length scale for the polymer besides the bending persistence length. To obtain the inverse mapping from the structure factor to these polymer conformation and energy-related parameters, we generate a large data set of structure factors by running simulations for a wide range of polymer energy parameters. We use principal component analysis to investigate the intra-polymer structure factors and determine the feasibility of the inversion using the nearest neighbor distance. We employ Gaussian process regression to achieve the inverse mapping and extract the characteristic parameters of polymers from the structure factor with low relative error.

cond-mat.soft

Scattering Insights into Shear-Induced Scission of Rod-like Micelles

Hypothesis Understanding the scission of rod-like micelles under mechanical forces is crucial for optimizing their stability and behavior in industrial applications. This study investigates how micelle length, flexibility, and external forces interact, offering insights into the design of micellar systems in processes influenced by mechanical stress. Although significant, direct experimental observations of flow-induced micellar scission using scattering techniques remain scarce. Experiments and Simulations Small angle neutron scattering (SANS) is used to explore the shear response of aqueous cetyltrimethylammonium bromide (CTAB) solutions with sodium nitrate. Rheological tests show shear thinning with no shear banding, ensuring a uniform flow field for reliable interpretation of scattering data. As shear rate increases, the scattering spectra show angular distortion, which is analyzed using spherical harmonic decomposition to characterize flow-induced scission and micelle orientation under shear. Findings Two analysis steps are used: a model-independent spectral eigendecomposition reveals a decrease in micellar length, while regression analysis quantifies the evolution of the length distribution and mean length with shear rate. Additionally, micelle alignment increases with shear, quantified by the orientational distribution function. These findings provide experimental evidence for flow-induced alignment and scission, offering a new framework for understanding shear-induced phenomena in micellar systems

cond-mat.soft

Elongated particles in flow: Commentary on small angle scattering investigations

This work thoroughly examines several analytical tools, each possessing a different level of mathematical intricacy, for the purpose of characterizing the orientation distribution function of elongated objects under flow. Our investigation places an emphasis on connecting the orientation distribution to the small angle scattering spectra measured experimentally. The diverse range of mathematical approaches investigated herein provides insights into the flow behavior of elongated particles from different perspectives and serves as powerful tools for elucidating the complex interplay between flow dynamics and the orientation distribution function.

cond-mat.soft

Scattering-Based Structural Inversion of Soft Materials via Kolmogorov-Arnold Networks

Small-angle scattering (SAS) techniques are indispensable tools for probing the structure of soft materials. However, traditional analytical models often face limitations in structural inversion for complex systems, primarily due to the absence of closed-form expressions of scattering functions. To address these challenges, we present a machine learning framework based on the Kolmogorov-Arnold Network (KAN) for directly extracting real-space structural information from scattering spectra in reciprocal space. This model-independent, data-driven approach provides a versatile solution for analyzing intricate configurations in soft matter. By applying the KAN to lyotropic lamellar phases and colloidal suspensions -- two representative soft matter systems -- we demonstrate its ability to accurately and efficiently resolve structural collectivity and complexity. Our findings highlight the transformative potential of machine learning in enhancing the quantitative analysis of soft materials, paving the way for robust structural inversion across diverse systems.

cond-mat.soft

Machine Learning-Informed Scattering Correlation Analysis of Sheared Colloids

We carry out theoretical analysis, Monte Carlo simulations and Machine Learning analysis to quantify microscopic rearrangements of dilute dispersions of spherical colloidal particles from coherent scattering intensity. Both monodisperse and polydisperse dispersions of colloids are created and undergo a rearrangement consisting of an affine simple shear and non-affine rearrangement using Monte Carlo method. We calculate the coherent scattering intensity of the dispersions and the correlation function of intensity before and after the rearrangement, and generate a large data set of angular correlation functions for varying system parameters, including number density, polydispersity, shear strain, and non-affine rearrangement. Singular value decomposition of the data set shows the feasibility of machine learning inversion from the correlation function for the polydispersity, shear strain, and non-affine rearrangement using only three parameters. A Gaussian process regressor is then trained based on the data set and can retrieve the affine shear strain, non-affine rearrangement, and polydispersity with a relative error of 3\%, 1\% and 6\%, respectively. Together, our model provides a framework for quantitative studies of both steady and non-steady microscopic dynamics of colloidal dispersions using coherent scattering methods.

cond-mat.soft

Machine Learning-Assisted Profiling of Ladder Polymer Structure using Scattering

Ladder polymers, known for their rigid, ladder-like structures, exhibit exceptional thermal stability and mechanical strength, positioning them as candidates for advanced applications. However, accurately determining their structure from solution scattering remains a challenge. Their chain conformation is largely governed by the intrinsic orientational properties of the monomers and their relative orientations, leading to a bimodal distribution of bending angles, unlike conventional polymer chains whose bending angles follow a unimodal Gaussian distribution. Meanwhile, traditional scattering models for polymer chains do not account for these unique structural features. This work introduces a novel approach that integrates machine learning with Monte Carlo simulations to address this challenge. We first develop a Monte Carlo simulation for sampling the configuration space of ladder polymers, where each monomer is modeled as a biaxial segment. Then, we establish a machine learning-assisted scattering analysis framework based on Gaussian Process Regression. Finally, we conduct small-angle neutron scattering experiments on a ladder polymer solution to apply our approach. Our method uncovers structural details of ladder polymers that conventional methods fail to capture.

cond-mat.soft