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).

Publications

† Equal contribution.

2026

SMFNet reveals principles of combinatorial transcription factor assembly

Schwämmle, T.†, Diamant, N.†, Badayeva, Y., Kleinendorst, R., Kundaje, A., Krebs, A. R.
bioRxiv, 2026 · Paper

Calibrating generative models to distributional constraints

Smith, H. D., Diamant, N. L., Trippe, B. L.
ICML, 2026 · Paper

Deep-learning-based virtual screening of antibacterial compounds

Scalia, G., Rutherford, S. T., Lu, Z., Buchholz, K. R., Skelton, N., Chuang, K., Diamant, N., Hütter, J. C., Luescher, J. M., Miu, A., Blaney, J., Gendelev, L., Skippington, E., Zynda, G., Dickson, N., Koziarski, M., Bengio, Y., Regev, A., Tan, M. W., Biancalani, T.
Nature Biotechnology, 2026 · Paper

Calibrating generative models to feature distributions with MMD finetuning

Diamant, N. L., Trippe, B. L.
NeurIPS, 2026 · Paper

Decoding sequence determinants of gene expression in diverse cellular and disease states

Lal, A., Karollus, A., Gunsalus, L., Garfield, D., Nair, S., Tseng, A. M., Gordon, M. G., Blischak, J., Van De Geijn, B., Bhangale, T., Collier, J. L., Diamant, N., Biancalani, T., Corrada Bravo, H., Scalia, G., Eraslan, G.
Nature Methods, 2026 · Paper

Learning multi-cellular representations of single-cell transcriptomics data enables characterization of patient-level disease states

Liu, T., De Brouwer, E., Verma, A., Missarova, A., Kuo, T., Diamant, N., Wang, H., Hao, M., Biancalani, T., Bravo, H. C., Scalia, G., Regev, A., Heimberg, G.
Cell Systems, 2026 · Paper

Scoring gene importance by interpreting single-cell foundation models

Gold, M. P., Reyes, M., Diamant, N., Kuo, T., Hajiramezanali, E., Newburger, J. W., Son, M. B. F., Lee, P. Y., Scalia, G., BenTaieb, A., Kapadia, S. B., Tripathi, A., Bravo, H. C., Heimberg, G., Biancalani, T.
Nature Biotechnology, 2026 · Paper

TxConformal: controlling false discoveries in AI-driven therapeutic discovery

Jin, Y., Huang, K., Diamant, N., Buchholz, K. R., Rutherford, S. T., Skelton, N., Biancalani, T., Scalia, G., Leskovec, J., Candès, E. J.
bioRxiv, 2026 · Paper

2025

Nona: a unifying multimodal masking framework for functional genomics

Nair, S., Hajiramezanali, E., Tseng, A., Diamant, N., Hingerl, J., Lal, A., Biancalani, T., Bravo, H. C., Scalia, G., Eraslan, G.
bioRxiv, 2025 · Paper

Deep evolutionary fitness inference for variant nomination from directed evolution

Shen, M. W.†, Diamant, N.†, Helmling, C., Newland, R., Lu, Z., Fannjiang, C., Kelow, S., Frey, N., Saremi, S., Kelly, R., Bonneau, R., Scalia, G., Cunningham, C., Biancalani, T.
bioRxiv, 2025 · Paper

A cell atlas foundation model for scalable search of similar human cells

Heimberg, G., Kuo, T., DePianto, D. J., Salem, O., Heigl, T., Diamant, N., Scalia, G., Biancalani, T., Turley, S. J., Rock, J. R., Corrada Bravo, H., Kaminker, J., Vander Heiden, J. A., Regev, A.
Nature, 2025 · Paper

Unsupervised deep learning of electrocardiograms enables scalable human disease profiling

Friedman, S. F., Khurshid, S., Venn, R. A., Wang, X., Diamant, N., Di Achille, P., Weng, L. C., Choi, S. H., Reeder, C., Pirruccello, J. P., Singh, P., Lau, E. S., Philippakis, A., Anderson, C. D., Maddah, M., Batra, P., Ellinor, P. T., Ho, J. E., Lubitz, S. A.
npj Digital Medicine, 2025 · Paper

2024

Feedback efficient online fine-tuning of diffusion models

Uehara, M., Zhao, Y., Black, K., Hajiramezanali, E., Scalia, G., Diamant, N. L., Tseng, A. M., Levine, S., Biancalani, T.
ICML, 2024 · Paper

Conformalized deep splines for optimal and efficient prediction sets

Diamant, N., Hajiramezanali, E., Biancalani, T., Scalia, G.
AISTATS, 2024 · Paper

A mechanistically interpretable neural-network architecture for discovery of regulatory genomics

Tseng, A. M., Eraslan, G., Diamant, N. L., Biancalani, T., Scalia, G.
ICLR workshop on Machine Learning for Genomics Explorations, 2024 · Paper

Fine-tuning of continuous-time diffusion models as entropy-regularized control

Uehara, M., Zhao, Y., Black, K., Hajiramezanali, E., Scalia, G., Diamant, N. L., Tseng, A. M., Biancalani, T., Levine, S.
arXiv, 2024 · Paper

Deep learned representations of the resting 12-lead electrocardiogram to predict V̇O₂ at peak exercise

Khurshid, S., Churchill, T. W., Diamant, N., Di Achille, P., Reeder, C., Singh, P., Friedman, S. F., Wasfy, M. M., Alba, G. A., Maron, B. A., Systrom, D. M., Wertheim, B. M., Ellinor, P. T., Ho, J. E., Baggish, A. L., Batra, P., Lubitz, S. A., Guseh, J. S.
European Journal of Preventive Cardiology, 2024 · Paper

2023

Genetic susceptibility to atrial fibrillation identified via deep learning of 12-lead electrocardiograms

Wang, X., Khurshid, S., Choi, S. H., Friedman, S., Weng, L. C., Reeder, C., Pirruccello, J. P., Singh, P., Lau, E. S., Venn, R., Diamant, N., Di Achille, P., Philippakis, A., Anderson, C. D., Ho, J. E., Ellinor, P. T., Batra, P., Lubitz, S. A.
Circulation: Genomic and Precision Medicine, 2023 · Paper

Identifying high risk clinical phenogroups of pulmonary hypertension through a clustering analysis

Rambarat, P., Zern, E. K., Wang, D., Roshandelpoor, A., Zarbafian, S., Liu, E. E., Wang, J. K., McNeill, J. N., Andrews, C. T., Pomerantsev, E. V., Diamant, N., Batra, P., Lubitz, S. A., Picard, M. H., Ho, J. E.
PLOS ONE, 2023 · Paper

Improving graph generation by restricting graph bandwidth

Diamant, N. L., Tseng, A. M., Chuang, K. V., Biancalani, T., Scalia, G.
ICML, 2023 · Paper

Complex preferences for different convergent priors in discrete graph diffusion

Tseng, A. M., Diamant, N., Biancalani, T., Scalia, G.
arXiv, 2023 · Paper

Accurate and efficient structural ensemble generation of macrocyclic peptides using internal coordinate diffusion

Grambow, C. A., Weir, H., Diamant, N. L., Scalia, G., Biancalani, T., Chuang, K. V.
arXiv, 2023 · Paper

GraphGUIDE: interpretable and controllable conditional graph generation with discrete Bernoulli diffusion

Tseng, A. M., Diamant, N. L., Biancalani, T., Scalia, G.
ICLR workshop on Machine Learning for Drug Discovery, 2023 · Paper

Artificial intelligence–enabled classification of hypertrophic heart diseases using electrocardiograms

Haimovich, J. S., Diamant, N., Khurshid, S., Di Achille, P., Reeder, C., Friedman, S., Singh, P., Spurlock, W., Ellinor, P. T., Philippakis, A., Batra, P., Ho, J. E., Lubitz, S. A.
Cardiovascular Digital Health Journal, 2023 · Paper

BMI-adjusted adipose tissue volumes exhibit depot-specific and divergent associations with cardiometabolic diseases

Agrawal, S., Klarqvist, M. D. R., Diamant, N., Stanley, T. L., Ellinor, P. T., Mehta, N. N., Philippakis, A., Ng, K., Claussnitzer, M., Grinspoon, S. K., Batra, P., Khera, A. V.
Nature Communications, 2023 · Paper

2022

A 3D-shape similarity-based contrastive approach to molecular representation learning

Atsango, A., Diamant, N. L., Lu, Z., Biancalani, T., Scalia, G., Chuang, K. V.
NeurIPS workshop on AI for Science: Progress and Promises, 2022 · Paper

Conditional diffusion with less explicit guidance via model predictive control

Shen, M. W., Hajiramezanali, E., Scalia, G., Tseng, A., Diamant, N., Biancalani, T., Loukas, A.
arXiv, 2022 · Paper

STab: self-supervised learning for tabular data

Hajiramezanali, E., Diamant, N. L., Scalia, G., Shen, M. W.
NeurIPS workshop on Table Representation Learning, 2022 · Paper

Deep learning on resting electrocardiogram to identify impaired heart rate recovery

Diamant, N., Di Achille, P., Weng, L. C., Lau, E. S., Khurshid, S., Friedman, S., Reeder, C., Singh, P., Wang, X., Sarma, G., Ghadessi, M., Mielke, J., Elci, E., Kryukov, I., Eilken, H. M., Derix, A., Ellinor, P. T., Anderson, C. D., Philippakis, A. A., Batra, P., Lubitz, S. A., Ho, J. E.
Cardiovascular Digital Health Journal, 2022 · Paper

Silhouette images enable estimation of body fat distribution and associated cardiometabolic risk

Klarqvist, M. D. R., Agrawal, S., Diamant, N., Ellinor, P. T., Philippakis, A., Ng, K., Batra, P., Khera, A. V.
npj Digital Medicine, 2022 · Paper

Inherited basis of visceral, abdominal subcutaneous and gluteofemoral fat depots

Agrawal, S., Wang, M., Klarqvist, M. D. R., Smith, K., Shin, J., Dashti, H., Diamant, N., Choi, S. H., Jurgens, S. J., Ellinor, P. T., Philippakis, A., Claussnitzer, M., Ng, K., Udler, M. S., Batra, P., Khera, A. V.
Nature Communications, 2022 · Paper

Cohort design and natural language processing to reduce bias in electronic health records research

Khurshid, S., Reeder, C., Harrington, L. X., Singh, P., Sarma, G., Friedman, S. F., Di Achille, P., Diamant, N., Cunningham, J. W., Turner, A. C., Lau, E. S., Haimovich, J. S., Al-Alusi, M. A., Wang, X., Klarqvist, M. D. R., Ashburner, J. M., Diedrich, C., Ghadessi, M., Mielke, J., Eilken, H. M., McElhinney, A., Derix, A., Atlas, S. J., Ellinor, P. T., Philippakis, A. A., Anderson, C. D., Ho, J. E., Batra, P., Lubitz, S. A.
npj Digital Medicine, 2022 · Paper

A deep learning model for inferring elevated pulmonary capillary wedge pressures from the 12-lead electrocardiogram

Schlesinger, D. E., Diamant, N., Raghu, A., Reinertsen, E., Young, K., Batra, P., Pomerantsev, E., Stultz, C. M.
JACC: Advances, 2022 · Paper

Patient contrastive learning: a performant, expressive, and practical approach to electrocardiogram modeling

Diamant, N., Reinertsen, E., Song, S., Aguirre, A. D., Stultz, C. M., Batra, P.
PLOS Computational Biology, 2022 · Paper

ECG-based deep learning and clinical risk factors to predict atrial fibrillation

Khurshid, S., Friedman, S., Reeder, C., Di Achille, P., Diamant, N., Singh, P., Harrington, L. X., Wang, X., Al-Alusi, M. A., Sarma, G., Foulkes, A. S., Ellinor, P. T., Anderson, C. D., Ho, J. E., Philippakis, A. A., Batra, P., Lubitz, S. A.
Circulation, 2022 · Paper

2021

Deep learning to predict cardiac magnetic resonance–derived left ventricular mass and hypertrophy from 12-lead ECGs

Khurshid, S., Friedman, S., Pirruccello, J. P., Di Achille, P., Diamant, N., Anderson, C. D., Ellinor, P. T., Batra, P., Ho, J. E., Philippakis, A. A., Lubitz, S. A.
Circulation: Cardiovascular Imaging, 2021 · Paper

Deep learning to estimate cardiac magnetic resonance–derived left ventricular mass

Khurshid, S., Friedman, S. F., Pirruccello, J. P., Di Achille, P., Diamant, N., Anderson, C. D., Ellinor, P. T., Batra, P., Ho, J. E., Philippakis, A. A., Lubitz, S. A.
Cardiovascular Digital Health Journal, 2021 · Paper

2020

Physiology as a lingua franca for clinical machine learning

Sarma, G. P., Reinertsen, E., Aguirre, A., Anderson, C., Batra, P., Choi, S. H., Achille, P. D., Diamant, N., Ellinor, P., Emdin, C., Fahed, A. C., Friedman, S., Harrington, L., Ho, J. E., Khera, A. V., Khurshid, S., Klarqvist, M., Lubitz, S., Philippakis, A., Pirruccello, J., Reeder, C., Stultz, C., Westover, B.
Patterns, 2020 · Paper

Conference Abstracts

2023

ECG deep learning predicts exercise peak V̇O₂, cardiovascular outcomes, and future death

Khurshid, S., Churchill, T. W., Diamant, N., Di Achille, P., Reeder, C., Singh, P., Wasfy, M., Alba, G. A., Maron, B. A., Systrom, D. M.
Journal of Electrocardiology (conference abstract), 2023 · Paper

Selected Talks

Calibrating generative models to distributional constraints

Starkly Speaking, January 19, 2026. With Henry Smith. · Details

No such thing as unlabeled: self-supervised learning on medical data

Broad Institute MIA seminar, October 13, 2021 · Details

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