Viktor Krapivin
Stanford Applied Physics PhD → Data Science

Viktor Krapivin

Data Scientist & ML Builder

I build production ML systems and AI agents, from statistical signal detection to real-time inference. Previously the first ML/DS hire at Treater, a consultant at Bain, and an Applied Physics researcher at Stanford and SLAC.

About

I build ML systems that turn noisy data into useful decisions. From May 2025 to November 2026, I was a Member of Technical Staff and the first ML/DS hire at Treater, where I helped build and ship production ML systems. My work included predictive models and inventory intelligence, AI agents and customer-facing automation, automated prompt tuning, anomaly detection, and agent evaluation and monitoring. I also built MCP tools, data pipelines, and infrastructure for deploying and operating ML systems.

Tools & methods: Python, TypeScript, SQL, PyTorch, scikit-learn, and LightGBM; LLMs, recurrent and convolutional neural networks, Bayesian modeling, synthetic data, and multi-armed bandits; AWS, Terraform, and CI/CD.

Before Treater, I was a Consultant at Bain & Company from January 2024 to April 2025. I developed generative AI and ML strategies for customer success and helped shape quantum computing R&D strategy, translating technical analysis into recommendations for senior client leaders.

I earned my PhD and MS in Applied Physics from Stanford in January 2024, where I worked at SLAC National Accelerator Laboratory, designing x-ray experiments, wrangling vacuum systems and lasers, and building custom data tools such as a fast binning pipeline and an online analysis system for x-ray scattering experiments. My research combined statistical signal detection and uncertainty estimation with CNN-based data-quality checks and MPI parallel processing on SLURM-scheduled HPC clusters.

Before Stanford, I graduated summa cum laude from Rutgers University with degrees in physics and mathematics and a minor in economics. I did experimental research all four years: Raman scattering at Rutgers, x-ray scattering as a SULI intern at SLAC, and neutron scattering during an REU at Lehigh University. I was awarded the Goldwater Scholarship (2017–18), the premier undergraduate award in the natural sciences.

Projects

AI & Context Management

Enact

A harness for strict context management.

Prepare reports, papers, and creative works with explicit control over the context supplied to your AI assistant. Organize sources, notes, outlines, and drafts, define what informs each request, and carry that context through drafting, revision, and custom quality checks.

Transit & Open Data

NJ Transit Delays

Better estimates for arrivals and departures.

I designed a model that tracks NJ Transit delays to provide more accurate arrival and departure estimates.

Embedded Systems & Open Source

Building Rockbox on the iPod Nano 4G + 5G

An up-to-date music player without an internet connection.

I’m developing Rockbox support for the iPod nano 4G and 5G, from NAND drivers to bootloaders. On the 5G, I built a fully untethered boot chain that loads Rockbox directly from NAND. My low-level flash sequencer commits have been merged into Rockbox.

Selected Publications

2025

Dynamical scaling reveals topological defects and anomalous evolution of a photoinduced phase transition

G. Orenstein, R.A. Duncan, G.A. de la Peña Muñoz, Y. Huang, V. Krapivin, Q.L. Nguyen, S. Teitelbaum, A.G. Singh, R. Mankowsky, H. Lemke, M. Sander, Y. Deng, C. Arrell, I.R. Fisher, D.A. Reis, M. Trigo

Physical Review X 15, 031058 (2025)

2025

Observation of polarization density waves in SrTiO3

G. Orenstein, V. Krapivin, Y. Huang, Z. Zhang, G.A. de la Peña Muñoz, R.A. Duncan, Q. Nguyen, J. Stanton, S. Teitelbaum, H. Yavas, T. Sato, M.C. Hoffmann, P. Kramer, J. Zhang, A. Cavalleri, R. Comin, M.P.M. Dean, A.S. Disa, M. Forst, S.L. Johnson, M. Mitrano, A.M. Rappe, D.A. Reis, D. Zhu, K.A. Nelson, M. Trigo

Nature Physics 21, 961–965 (2025)

2024

All-optical seeding of a light-induced phase transition with correlated disorder

A.S. Johnson, E. Pastor, S. Batlle-Porro, H. Benzidi, T. Katayama, G.A. de la Peña Muñoz, V. Krapivin, S. Kim, N. López, M. Trigo, S.E. Wall

Nature Physics (2024)

2023

Ultrafast lattice disordering can be accelerated by electronic collisional forces

G.A. de la Peña Muñoz, A.A. Correa, S. Yang, O. Delaire, Y. Huang, A.S. Johnson, T. Katayama, V. Krapivin, E. Pastor, D.A. Reis, S. Teitelbaum, L. Vidas, S. Wall, M. Trigo

Nature Physics 19, 1489–1494 (2023)

2023

Ultrafast Measurements of Mode-Specific Deformation Potentials of Bi2Te3 and Bi2Se3

Y. Huang, J.D. Querales-Flores, S.W. Teitelbaum, J. Cao, T. Henighan, H. Liu, M. Jiang, G. De la Peña, V. Krapivin, J. Haber, T. Sato, M. Chollet, D. Zhu, T. Katayama, R. Power, M. Allen, C.R. Rotundu, T.P. Bailey, C. Uher, M. Trigo, P.S. Kirchmann, E.D. Murray, Z.-X. Shen, I. Savic, S. Fahy, J.A. Sobota, D.A. Reis

Physical Review X 13, 041050 (2023)

2023

Ultrafast X-Ray Scattering Reveals Composite Amplitude Collective Mode in the Weyl CDW Material (TaSe4)2I

Q.L. Nguyen, R.A. Duncan, G. Orenstein, Y. Huang, V. Krapivin, G. de la Peña, C. Ornelas-Skarin, D.A. Reis, P. Abbamonte, S. Bettler, M. Chollet, M.C. Hoffmann, M. Hurley, S. Kim, P.S. Kirchmann, Y. Kubota, F. Mahmood, A. Miller, T. Osaka, K. Qu, T. Sato, D.P. Shoemaker, N. Sirica, S. Song, J. Stanton, S.W. Teitelbaum, S.E. Tilton, T. Togashi, D. Zhu, M. Trigo

Physical Review Letters 131, 076901 (2023)

2023

Ultrafast Dynamics Beyond the Average Response: A Case Study of KTaO3 and SrTiO3

V. Krapivin

PhD Dissertation, Stanford University (2023)

2022

Ultrafast Suppression of the Ferroelectric Instability in KTaO3

V. Krapivin, M. Gu, D. Hickox-Young, S.W. Teitelbaum, Y. Huang, G. de la Peña, D. Zhu, N. Sirica, M.-C. Lee, R.P. Prasankumar, A.A. Maznev, K.A. Nelson, M. Chollet, J.M. Rondinelli, D.A. Reis, M. Trigo

Physical Review Letters 129, 127601 (2022)

2016

Discovery of an Unconventional Charge Density Wave at the Surface of K0.9Mo6O17

D. Mou, A. Sapkota, H.-H. Kung, V. Krapivin, Y. Wu, A. Kreyssig, X. Zhou, A.I. Goldman, G. Blumberg, R. Flint, A. Kaminski

Physical Review Letters 116, 196401 (2016)

Other Interests

Empire Open Math Contest

Co-organizer of the Empire Open, an olympiad-style math competition open to adults and kids alike. Problems range from AMC-12 to AIME difficulty, held annually in Manhattan.

Get in Touch

Open to collaborations, interesting problems, and good conversations.

Email vak [at] viktorkrapivin [dot] com