SearcharxivSearch

arXiv subjects

Lijie Ding

Publications and source records attributed to Lijie Ding.

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

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

ProtocolBench: Which LLM MultiAgent Protocol to Choose?

As large-scale multi-agent systems evolve, the communication protocol layer has become a critical yet under-evaluated factor shaping performance and reliability. Despite the existence of diverse protocols (A2A, ACP, ANP, Agora, etc.), selection is often intuition-driven and lacks standardized guidance. We introduce ProtocolBench, a benchmark that systematically compares agent protocols along four measurable axes: task success, end-to-end latency, message or byte overhead, and robustness under failures. On ProtocolBench, protocol choice significantly influences system behavior. In the Streaming Queue scenario, overall completion time varies by up to 36.5% across protocols, and mean end-to-end latency differs by 3.48 s. Under Fail-Storm Recovery, resilience also differs consistently across protocols. Beyond evaluation, we present ProtocolRouter, a learnable protocol router that selects per-scenario (or per-module) protocols from requirement and runtime signals. ProtocolRouter reduces Fail-Storm recovery time by up to 18.1% versus the best single-protocol baseline, and achieves scenario-specific gains such as higher success in GAIA. We also release ProtocolRouterBench to standardize protocol evaluation and improve reliability at scale.

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

Deep Learning Option Pricing with Market Implied Volatility Surfaces

We present a deep learning framework for pricing options based on market-implied volatility surfaces. Using end-of-day S\&P 500 index options quotes from 2018-2023, we construct arbitrage-free volatility surfaces and generate training data for American puts and arithmetic Asian options using QuantLib. To address the high dimensionality of volatility surfaces, we employ a variational autoencoder (VAE) that compresses volatility surfaces across maturities and strikes into a 10-dimensional latent representation. We feed these latent variables, combined with option-specific inputs such as strike and maturity, into a multilayer perceptron to predict option prices. Our model is trained in stages: first to train the VAE for volatility surface compression and reconstruction, then options pricing mapping, and finally fine-tune the entire network end-to-end. The trained pricer achieves high accuracy across American and Asian options, with prediction errors concentrated primarily near long maturities and at-the-money strikes, where absolute bid-ask price differences are known to be large. Our method offers an efficient and scalable approach requiring only a single neural network forward pass and naturally improve with additional data. By bridging volatility surface modeling and option pricing in a unified framework, it provides a fast and flexible alternative to traditional numerical approaches for exotic options.

q-fin.CP

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

Fast Derivative Valuation from Volatility Surfaces using Machine Learning

We introduce a fast and flexible Machine Learning (ML) framework for pricing derivative products whose valuation depends on volatility surfaces. By parameterizing volatility surfaces with the 5-parameter stochastic volatility inspired (SVI) model augmented by a one-factor term structure adjustment, we first generate numerous volatility surfaces over realistic ranges for these parameters. From these synthetic market scenarios, we then compute high-accuracy valuations using conventional methodologies for two representative products: the fair strike of a variance swap and the price and Greeks of an American put. We then train the Gaussian Process Regressor (GPR) to learn the nonlinear mapping from the input risk factors, which are the volatility surface parameters, strike and interest rate, to the valuation outputs. Once trained, We use the GPR to perform out-of-sample valuations and compare the results against valuations using conventional methodologies. Our ML model achieves very accurate results of $0.5\%$ relative error for the fair strike of variance swap and $1.7\% \sim 3.5\%$ relative error for American put prices and first-order Greeks. More importantly, after training, the model computes valuations almost instantly, yielding a three to four orders of magnitude speedup over Crank-Nicolson finite-difference method for American puts, enabling real-time risk analytics, dynamic hedging and large-scale scenario analysis. Our approach is general and can be extended to other path-dependent derivative products with early-exercise features, paving the way for hybrid quantitative engines for modern financial systems.

q-fin.PR

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

Brownian Dynamics Simulations of Inclusions in an Active Fluid Bath

We carry out two-dimensional Brownian dynamics simulations of the behavior of rigid inclusion particles immersed in an active fluid bath. The active fluid is modeled as a collection of self-propelled circular disks interacting via a soft repulsive potential and a nematic alignment interaction. The fluid is characterized by its nematic order, polar order and orientational correlation length. The active fluid bath transitions from the isotropic to the nematic phase with increasing number density, increasing nematic interaction strength or increasing P\'eclet number. The inclusion particles are modeled as rigid assemblies of passive circular disks. Four types of inclusions are considered: a rod-like $I$ shape, a boomerang-like $L$ shape, and stair-like shapes $Z$ and $Z^*$, with opposite handedness. When inclusions are introduced into the active fluid bath, their diffusion is significantly enhanced by the force and torque exerted by the active fluid particles and the chiral inclusion particles exhibit constant rotational drift. These diffusion and rotation enhancements increase as the swimming speed of the active fluid particles increases. The translational motion of the inclusion particles also couples with their orientational motion, and the correlation is modulated by the active fluid particles' swimming speed. This work paves the way for future simulations of inclusions in active fluid baths and suggests potential avenues for controlling transport properties in active materials.

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-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

Machine Learning Inversion from Scattering for Mechanically Driven Polymers

We develop a Machine Learning Inversion method for analyzing scattering functions of mechanically driven polymers and extracting the corresponding feature parameters, which include energy parameters and conformation variables. The polymer is modeled as a chain of fixed-length bonds constrained by bending energy, and it is subject to external forces such as stretching and shear. We generate a data set consisting of random combinations of energy parameters, including bending modulus, stretching, and shear force, along with Monte Carlo-calculated scattering functions and conformation variables such as end-to-end distance, radius of gyration, and the off-diagonal component of the gyration tensor. The effects of the energy parameters on the polymer are captured by the scattering function, and principal component analysis ensures the feasibility of the Machine Learning inversion. Finally, we train a Gaussian Process Regressor using part of the data set as a training set and validate the trained regressor for inversion using the rest of the data. The regressor successfully extracts the feature parameters.

cond-mat.soft