Rajat Sainju

I'm an AI/ML postdoc at the Advanced Photon Source at Argonne National Laboratory. I build production LLM systems, including agentic RAG and AI harnesses, that help run a large accelerator facility, and I develop machine learning for accelerators and materials science.

My postdoctoral advisors at Argonne are Dr. Michael Borland and Dr. Yine Sun. I did my Ph.D. in Materials Science and Engineering at UConn with Prof. Yuanyuan Zhu, where I developed deep learning tools, like DefectTrack, that analyze in-situ electron microscopy videos in real time. Before that, I studied Engineering Physics at Ramapo College.

News

New perspective on deploying AI agents in production at scientific user facilities, drawing on agents running at the APS.
Sep, 2026
APS-RAG is on arXiv, and the code is open source! 🚀
Jul, 2026
Invited by the Argonne Accelerator Institute (AAI) to give a Beams and Applications Seminar on AI and ML for accelerator operations.
Apr, 2026
Our study of carbon gasification on a spent Ni/CeO₂ catalyst is out in ACS Catalysis.
Oct, 2025
Talk at TPC25 in San Jose on augmenting Advanced Photon Source search with retrieval-augmented generation.
Jul, 2025
Talk on large language model operations for the APS at BISCUIT, the X-ray Science Division seminar at Argonne. 🍪
Jul, 2025
Operando reduction of hollow NiO and Ni redispersion published in Nano Letters.
Jun, 2025
Tungsten nanofuzz oxidation, seen in situ at atmospheric pressure, published in Acta Materialia.
Oct, 2024
Named the Spring 2023 Outstanding Graduate Student Speaker in Materials Science and Engineering at UConn. 🎤
Apr, 2023
DefectTrack featured in Argonne's story Artificial intelligence reframes nuclear material studies.
Feb, 2023
DefectTrack, real-time tracking of defects in in-situ TEM videos, published in Scientific Reports.
Sep, 2022
Won an M&M 2022 Student Scholar Award for real-time tracking of irradiation defects in in-situ TEM videos. 🏆
Aug, 2022
Single-nanoparticle Ni oxidation, from nucleation to thickening, published in ACS Nano.
Apr, 2022
Presented deep learning-assisted in-situ ETEM of nanocatalyst sintering and regeneration at M&M 2021.
Aug, 2021
Tungsten oxidation watched in situ by environmental TEM, led by Maanas Togaru, published in Materials Characterization.
Mar, 2021
DefectSegNet featured by the DOE Office of Science: AI helps scientists quantify irradiation effects.
Sep, 2020
DefectSegNet made the Scientific Reports Top 100 in Materials Science of 2019. 🎉
Mar, 2020
DefectSegNet, deep learning segmentation of defects in steel, published in Scientific Reports.
Sep, 2019

Publications

APS-RAG: A Corrective Agentic Hybrid RAG and an Operations-Grounded Evaluation for a Scientific Facility

APS-RAG: A Corrective Agentic Hybrid RAG and an Operations-Grounded Evaluation for a Scientific Facility

Rajat Sainju, Dariusz Jarosz, Hairong Shang, Michael Prince, Ryan M. Aydelott, Mathew J. Cherukara, Yine Sun, Michael Borland
arXiv 2026
TLDRA deployed platform that lets Advanced Photon Source staff ask plain-language questions over logbooks, technical documents, work requests, chat and live control-system data, with cited answers. It fuses dense, keyword and knowledge-graph retrieval with a corrective agentic loop, and is evaluated on APS-Bench, an operations-grounded benchmark.
Operando Spatially and Time-Resolved Reduction of Hollow Polycrystalline NiO: How to Promote Ni Nanoparticle Redispersion

Operando Spatially and Time-Resolved Reduction of Hollow Polycrystalline NiO: How to Promote Ni Nanoparticle Redispersion

Rajat Sainju, Tianyu Li, Monia R. Nielsen, Yuanyuan Zhu
Nano Letters 2025
TLDRFollows hollow NiO grains being reduced in an environmental TEM and measures their kinetics with semantic segmentation. A milder 450 °C reduction slows and desynchronizes neighbouring grains, which breaks the oxide into more, smaller Ni particles: redispersion needs both a hollow oxide and slow, asynchronous reduction.
In-situ ETEM Study of Plasma-Facing Tungsten Nanofuzz Oxidation at Atmospheric Pressure: Microstructure Evolution and Substrate-Free Oxidation Kinetics

In-situ ETEM Study of Plasma-Facing Tungsten Nanofuzz Oxidation at Atmospheric Pressure: Microstructure Evolution and Substrate-Free Oxidation Kinetics

Rajat Sainju, Marlene Patino, Matthew J. Baldwin, Osman El Atwani, Robert Kolasinski, Yuanyuan Zhu
Acta Materialia 2024
TLDRThe first oxidation kinetics for substrate-free tungsten nanofuzz, measured in 1 bar dry air at 400 and 500 °C inside an environmental TEM. Nanofuzz oxidizes more slowly than bulk W: a durable amorphous surface oxide, likely promoted by He-plasma surface damage, acts as a passivating layer.
DefectTrack: A Deep Learning-Based Multi-Object Tracking Algorithm for Quantitative Defect Analysis of In-situ TEM Videos in Real-Time

DefectTrack: A Deep Learning-Based Multi-Object Tracking Algorithm for Quantitative Defect Analysis of In-situ TEM Videos in Real-Time

Rajat Sainju, Wei-Ying Chen, Samuel Schaefer, Qian Yang, Caiwen Ding, Meimei Li, Yuanyuan Zhu
Scientific Reports 2022
TLDRThe first deep-learning multi-object tracker for defect clusters in in-situ irradiation TEM videos. It reaches a MOTA of 66.4%, runs in real time, and measured defect lifetimes more accurately and faster than four human experts.
In Situ Studies of Single-Nanoparticle-Level Nickel Thermal Oxidation: From Early Oxide Nucleation to Diffusion-Balanced Oxide Thickening

In Situ Studies of Single-Nanoparticle-Level Nickel Thermal Oxidation: From Early Oxide Nucleation to Diffusion-Balanced Oxide Thickening

Rajat Sainju, Dinithi Rathnayake, Haiyan Tan, George Bollas, Avinash M. Dongare, Steven L. Suib, Yuanyuan Zhu
ACS Nano 2022
TLDRTracks the oxidation of individual 4–50 nm Ni nanoparticles at 600 °C in an environmental TEM. A two-stage model explains the size dependence: NiO nucleation first, then diffusion-balanced shell thickening, which in larger particles leaves hollow NiO.
Deep Learning for Semantic Segmentation of Defects in Advanced STEM Images of Steels

Deep Learning for Semantic Segmentation of Defects in Advanced STEM Images of Steels

Graham Roberts, Simon Y. Haile, Rajat Sainju, Danny J. Edwards, Brian Hutchinson, Yuanyuan Zhu
Scientific Reports 2019
TLDRDefectSegNet, a CNN that segments dislocations, precipitates and voids in DCI STEM images of steel, reaching 91.6–98.9% pixel accuracy from a small set of training images. Defect measurements from its output beat the human-expert average.

Conference Papers

A Domain-Aware Hybrid Retrieval Augmented Generation System for Accelerator Operations and Knowledge Synthesis

A Domain-Aware Hybrid Retrieval Augmented Generation System for Accelerator Operations and Knowledge Synthesis

Rajat Sainju, Dariusz Jarosz, Hairong Shang, Michael Prince, Ryan M. Aydelott, Mathew J. Cherukara, Yine Sun, Michael Borland
IPAC'26
TLDRThe production version of APS-RAG at the Advanced Photon Source: hybrid dense and BM25 retrieval with reciprocal-rank fusion and cross-encoder reranking over more than 10,000 documents from the BELY logbook, Teams operations chats, ICMS and work requests, with every answer linked back to its source records.
Leveraging Low-Cost Sensors and Machine Learning for Pump Anomaly Detection in Accelerator Facilities

Leveraging Low-Cost Sensors and Machine Learning for Pump Anomaly Detection in Accelerator Facilities

Rajat Sainju, O. Mohsen, J. Ackley, J. Fuerst, R. Wright, Yine Sun, Michael Borland
IPAC'26
TLDRLow-cost vibration sensors on a helium pump and storage-ring cooling-water pumps stream data to Linux edge nodes; an autoencoder flags anomalies every hour and a web dashboard shows trends, spectrograms and spectra. In the pilot at the APS, rolling weekly baselines and consistent sensor mounting mattered more than model tweaks.
Application of Low-Cost Sensors and Deep Autoencoders for Monitoring Water Pumps in Particle Accelerators

Application of Low-Cost Sensors and Deep Autoencoders for Monitoring Water Pumps in Particle Accelerators

Rajat Sainju, O. Mohsen, Michael Borland, Yine Sun
NAPAC 2025
TLDRA low-cost vibration sensor and a Raspberry Pi stream cooling-water pump vibrations to a transformer autoencoder that learns each pump's normal behaviour and flags anomalies. Trained with physics-based synthetic faults, it aims to catch pump failures before they cause downtime at the APS.

Software

🔎 Corrective agentic hybrid RAG for facility knowledge
Python 1 0
🎯 Real-time tracking of defects in in-situ TEM videos
PyTorch 0 0
🧩 Semantic segmentation of defects in STEM images of steel
TensorFlow 11 9
📚 Beginner-friendly notebooks that build core ML step by step
Jupyter 0 0
📈 Can LightGBM beat HAR and GARCH at forecasting SPY volatility?
Jupyter 0 0