Nathaniel Diamant

Email:
Website:
GitHub: github.com/ndiamant
Publications: Google Scholar
LinkedIn: nathaniel-diamant

I am a CS PhD student at Stanford, applying ML and software engineering to the life sciences since 2019. I am co-advised by Anshul Kundaje and Brian Trippe, working on pretraining and fine-tuning methods for generative models in biomedicine. Previously, I was an ML engineer at the Broad Institute in the ML4H group and a senior AI scientist at Genentech in BRAID.

I have led projects in small-molecule discovery, genomics, and clinical risk prediction, including experimentally validated research and scientific tools used at Genentech and the Broad Institute.

Education

PhD Computer Science - StanfordStanford, CA - 2024–present

  • Stanford Graduate Fellow with three years of fellowship funding.
  • Coursework in information theory, measure theory, SDEs, game theory.

BS Computer Science and Math - Harvey Mudd CollegeClaremont, CA - 2015-2019

  • GPA: 3.87, dean's list all eight semesters, graduated with high distinction and math departmental honors.
  • Henry A. Krieger Prize for Outstanding Promise in the Field of Probability, Statistics, or Operations Research (1-2 per graduating class).

Experience

PhD Researcher - StanfordStanford, CA - 2024–present

  • Developing generative modeling and fine-tuning methods for biology, co-advised by Brian Trippe and Anshul Kundaje.

Senior AI Scientist - Genentech Early ResearchSouth SF, CA - 2022-2025

  • Developed and implemented graph deep learning, semi-supervised learning, uncertainty quantification, and generative modeling methods for small-molecule, macrocyclic peptide, single-cell RNA-seq, and regulatory genomic applications.
  • Received the gRED Recognition Award (top 10% of research employees) in both eligible years.
  • Developed a deep learning statistical inference method for peptide selection; experimentally validated 10-fold stronger binding relative to expert-selected peptides.
  • Designed a small-molecule selection algorithm responsible for hundreds of synthesized molecules and several candidates.

ML Engineer II - Broad Institute Machine Learning for Health GroupCambridge, MA - 2019-2022

  • Collaborated with clinical researchers on deep learning cardiovascular imaging and genetics applications using UK Biobank and Massachusetts General Hospital clinical databases, resulting in two patents.
  • Co-wrote and maintained an open-source TensorFlow framework for multimodal, multitask clinical deep learning used across the ML4H group for projects in cardiovascular imaging, risk prediction, and genetic analysis.

Research Affiliate (part-time) - MIT Computational Cardiovascular Research GroupCambridge, MA - 2019-2020

  • Developed and published an EKG foundation model that supported subsequent clinical and machine learning studies.

ML Engineering Intern: AdRoll (summer 2018); Yelp (summer 2017).

Selected Publications

† Equal contribution.

Calibrating generative models to feature distributions with MMD finetuningNeurIPS, 2026

Diamant, N. L., Trippe, B. L. · Paper
  • Developed the MMD fine-tuning method and led all experiments to align generated molecules, protein structures, and DNA with target feature distributions.

SMFNet reveals principles of combinatorial transcription factor assemblybioRxiv, 2026

Schwämmle, T.†, Diamant, N.†, Badayeva, Y., Kleinendorst, R., Kundaje, A., Krebs, A. R. · Paper
  • Co-developed and benchmarked SMFNet; developed PRISM for model interpretation and extended SMFNet to Fiber-seq and GpC-only data.

Deep evolutionary fitness inference for variant nomination from directed evolutionbioRxiv, 2025

Shen, M. W.†, Diamant, N.†, Helmling, C., et al. · Paper
  • Co-developed DeepEVFI, the deep learning method for inferring variant fitness from directed-evolution sequencing to guide binder selection.

Calibrating generative models to distributional constraintsICML, 2026

Smith, H., Diamant, N., Trippe, B. · Paper
  • Extended the calibration method to LLMs and discrete diffusion models and evaluated its performance in both settings.

A cell atlas foundation model for scalable search of similar human cellsNature, 2025

Heimberg, G., Kuo, T., DePianto, D., Salem, O., Heigl, T., ..., Diamant, N., et al. · Paper
  • Developed the method for interpreting cell-similarity predictions, later used in an internal tool; contributed to single-cell model training.

Conformalized deep splines for optimal and efficient prediction setsAISTATS, 2024

Diamant, N., Hajiramezanali, E., Biancalani, T., Scalia, G. · Paper
  • Designed and implemented a deep learning method for efficient prediction sets and conducted all experiments.

Improving graph generation by restricting graph bandwidthICML, 2023

Diamant, N., Tseng, A., Chuang, K., Biancalani, T., Scalia, G. · Paper
  • Designed and implemented bandwidth-constrained graph generation for small-molecule design and conducted all experiments.

Skills

  • Machine learning: PyTorch, TensorFlow, JAX, diffusion and generative models, LLM fine-tuning, RL methods development, uncertainty quantification, conformal prediction, graph neural networks, representation learning.
  • Life sciences: small-molecule and peptide discovery, single-cell RNA-seq, regulatory genomics, protein structure, clinical imaging and genetics.
  • Engineering: production Python, open-source ML codebases, data pipelines, evaluation workflows, scientific tools, coding agents, reusable skills for research notes shared across projects.

Last updated: November 12, 2026