Viktor Krapivin

Viktor Krapivin

Data Science, Machine Learning, Applied Physics

About

I’m curious about how machine learning, especially large language models, can speed up scientific discovery and make everyday tools more useful. My work has ranged from designing x-ray experiments at SLAC to building customer-facing AI. If you have an interesting problem in mind, I’d love to hear from you.

I earned my PhD in Applied Physics from Stanford. At SLAC National Accelerator Laboratory, I studied how crystals respond when driven out of equilibrium, designed ultrafast x-ray experiments to track atomic motion, and showed how a 50-femtosecond laser pulse suppresses a ferroelectric instability in potassium tantalate.

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 joined Treater as employee #3 and its first ML/DS hire. From May 2025 to November 2026, I helped build and ship production ML systems as a Member of Technical Staff. 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 worked with recurrent and convolutional neural networks, used synthetic data to model stockouts, flagged regressions with Bayesian modeling, and used multi-armed bandits to route traffic to better-performing prompts.

In a past life, I competed for the Lehigh Valley team in the American Regions Mathematics League (ARML). At Rutgers University, I earned degrees in physics and mathematics and received the Goldwater Scholarship, the premier undergraduate award in the natural sciences.

Projects

AI & Context Management

Enact

Enact lets you choose which sources and notes your AI assistant draws on as you draft, revise, and check a report, paper, or creative work.

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

I jailbroke the fifth-generation iPod nano and am writing custom firmware for the fourth- and fifth-generation models, with several contributions already merged into Rockbox, including code for the low-level flash sequencer that controls the iPod’s storage.

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