Mohsen Bayati

Mohsen Bayati

Business School Trust Faculty Fellow for 2026-27
Courtesy appointments in Electrical Engineering and Radiation Oncology; faculty affiliate of Stanford HAI
Visiting faculty researcher at Google; previously at Amazon and Turing

I work on the mathematics of using AI systems in high-stakes decisions. Two questions take up most of my time. One is how to give a deployed model the properties its users actually need. A model learns from data that carries gaps and anomalies, and its architecture brings assumptions of its own, so the properties a clinician or an operator depends on are not guaranteed to be there. The other is how to learn efficiently from experiments and from the decisions themselves, which is where multi-armed bandits, adaptive design, panel data methods, and estimation under interference all come in.

The health care work began at Microsoft Research and has continued with clinicians at Washington Hospital Center, Stanford, San Mateo Medical Center, and Amazon Pharmacy. More recently I have worked with industry teams on experimentation, on adapting language models for online retail, and on the evaluation of agentic systems.

Research

AI alignment and oversight

Giving a deployed model the properties its users need, and working out how a human and an AI agent should divide authority when the agent is usually right and occasionally badly wrong.

Language models and agentic systems

Agent pipelines for tasks a domain expert would otherwise do by hand, paired with measurement designs that say how often the system is right and where it fails.

Experimentation and causal inference

Estimating treatment effects when units interfere with each other and the interference network is unknown, plus design tools for staggered rollouts and panel data.

Bandits and online decision-making

Learning while deciding. Regret theory for linear and Thompson sampling policies, personalization when the covariates are high-dimensional, and the conditions under which a simple greedy rule is already near optimal.

AI and analytics in health care

Work with clinicians since 2009 on readmission risk, cancer recurrence, emergency department flow, drug safety, and the burden electronic health records place on physicians.

Message passing and high-dimensional statistics

The methodological base underneath the rest: rigorous analysis of belief propagation and approximate message passing, estimation and inference in high dimensions, and random graph algorithms.

Selected work

  1. The Oversight Game: Learning to Cooperatively Balance an AI Agent's Safety and Autonomy W. Overman, M. Bayati · ICML 2026
    A way of training a human and an AI agent to work well together. Their interaction is set up as a game, with the agent choosing whether to act or defer and the person choosing whether to trust or oversee, and borrowing the theory of Markov potential games then buys a guarantee: the agent taking on more autonomy never costs the human anything. Nothing inside the underlying model has to change.
  2. Causal message passing for experiments with unknown and general network interference S. Shirani, M. Bayati · Proceedings of the National Academy of Sciences, 2024
    Methods for handling interference in experiments normally need to know who influences whom. This paper studies the case where that network is unknown. Treatment effects propagate through a population with stable distributional dynamics, so outcomes observed over time can be used in place of the network.
  3. Large language models for preventing medication direction errors in online pharmacies C. Pais, J. Liu, R. Voigt, V. Gupta, E. Wade, M. Bayati · Nature Medicine, 2024
    A domain-tuned model with pharmacy guardrails, evaluated on real prescriptions at an online pharmacy and scored by pharmacists, cut near-miss medication direction errors by about a third against the checks that pharmacy was already running. General-purpose language models did worse than those existing checks.
  4. Simulating and Experimenting with Social Media Mobilization Using LLM Agents S. Shirani, M. Bayati · Preprint, 2025
    Twenty thousand language model agents, built from census attributes, replay a 61-million-person Facebook mobilization experiment. The simulation reproduces the direction of the real result and overstates its size, which makes it a usable testbed and a caution at the same time.
  5. The Unreasonable Effectiveness of Greedy Algorithms in Multi-Armed Bandit with Many Arms M. Bayati, N. Hamidi, R. Johari, K. Khosravi · NeurIPS 2020, spotlight
    With many arms, the arm pool itself supplies enough exploration that a purely greedy policy is near optimal. In a clinical setting that means fewer subjects assigned to the worse treatment while still learning which treatment is better.

All publications by topic · by year

News

Code and data

Most of the methods papers ship with a public implementation.

Teaching

All courses and advising

Service

Associate editor at Management Science (Data Science and Healthcare Management) and Stochastic Systems. Member of the Stanford AI Advisory Committee and of the faculty leadership committee of the Stanford Leadership Institute, where I organize the faculty AI flash talk series. Area coordinator for the OIT group at the GSB.

Contact

Office

Knight Management Center
655 Knight Way, E363
Stanford, CA 94305
bayati [at] stanford.edu
(650) 725-2285

Assistant

Sandra Davis
655 Knight Way, E324
Stanford, CA 94305
srdavis [at] stanford.edu
(650) 736-0939