From Tokens to Cells: Foundation Models for Single-Cell Biology - Akram Baharlouei, Altos Labs

AI Engineer · 16 min · 136 sentences · from YouTube's caption track

Each timecode opens YouTube at the start of that sentence. Line anchors (#s42) are the cue ids in the WebVTT, and every line carries its start and end seconds. All transcripts has every talk, and the whole corpus as one file.

  1. 00:12Okay, let's get it started.
  2. 00:13Uh My name is Akram.
  3. 00:15I'm a machine learning engineer at Altos Labs.
  4. 00:18Altos Labs is a biotech startup and the goal is to restore cell health and resilience through cellular rejuvenation to inverse disease and disabilities that can happen throughout the life.
  5. 00:32And the title of my talk is uh from tokens to cells.
  6. 00:37And this is uh my kind of view as someone without bio background to kind of looking into the engineering challenges of foundation models for single-cell biology.
  7. 00:51And what I want to talk about first, what is single-cell?
  8. 00:54Why do we care about single-cell?
  9. 00:56How do How do we measure it?
  10. 00:57What are the problems with the data, getting the data?
  11. 01:01And then looking at current state of the art foundation models and then some takeaways in the end.
  12. 01:08Uh so, what is single-cell and why do we care about it?
  13. 01:12I would like to start with my favorite example, Yamanaka factor.
  14. 01:17In 2006, Shinya Yamanaka discovered four transcription factors.
  15. 01:22There are four specific type of a proteins that when they were overexpressed in a cell, uh they did it for in a cell which was age old skin cell,
  16. 01:36it could reprogram the skin cell old skin cell to embryonic stem cell like state.
  17. 01:42So, basically from cell type skin cell old, it could reprogram it back to a young embryonic stem cell type.
  18. 01:53Uh type and this was a breakthrough for biology and then got him Nobel Prize later in 2012 uh because of the application and the new chapters possibilities for medicine.
  19. 02:07From regenerative medicine for like to be able to kind of regenerate tissues or organs.
  20. 02:13Uh when we can like reprogram specific cell to any cell that we want to partially programming and aging application.
  21. 02:22For partial programming specifically is that we can also turn out that we can also only change the age of the cell.
  22. 02:29We don't have to change the type.
  23. 02:31So, by changing the age of the cell the goal is the hope is we can restore some of youthful function that we lose toward life as we age and then kind of like having this as a medicine maybe like an mRNA medicine
  24. 02:46uh for curing the disease that the we encounter as we age.
  25. 02:51And that's a one example.
  26. 02:54And then I think this year 2026 we got the first type of reprogramming medicine.
  27. 03:00I think it's OSK and uh it's going to be tested in a human.
  28. 03:06[clears throat]
  29. 03:06So, it took kind of like 20 20 years.
  30. 03:11And uh and the reason the other reason is that why we want to study a single cell is that we would like to model to have this unified holistic
  31. 03:22view of single cell to be able to model cell and from there hopefully we can model tissue and organ and then the entire human.
  32. 03:31And there are like projects like human cell atlas that actually started this effort this initiative and then they like you know they have they have mapped every single cell inside human.
  33. 03:43And the goal ultimately is something like maybe for a ultimately some after some long time we can actually actually model like model human body or there are terminologies like virtual cell,
  34. 03:59virtual tissue, virtual human, digital twins.
  35. 04:02They all saying the same thing that the more we can model this living organisms.
  36. 04:10The better we are in understanding our body and the how we can treat medicine, we can develop drugs.
  37. 04:19And the other the other problem is that so we you know, I think for this audience we know about Moore's law, the computer is getting like double every year.
  38. 04:32And then we have exact opposite on drug development.
  39. 04:35Basically, the number of drugs that developed each year is kind of declining, which is surprising with all the advances in technology, in AI.
  40. 04:45This is surprising to see.
  41. 04:47And then drug development is a field that failure is you know, very normal.
  42. 04:50Maybe the acceptance rate is kind of like you know, 5% or even less.
  43. 04:57And when we're looking at drug development pipeline from the early like research and development all the way to preclinical, clinical trial and then the final stage.
  44. 05:08The whole pipeline it could take up to 10 years easily and then it cost it can cost billions.
  45. 05:16And the goal here is that with the advances of AI and also like with this virtual cell, virtual organ, virtual human, the goal is that we can kind of like reduce
  46. 05:27this time, improve reduce this timeline.
  47. 05:30And and also we're looking at the entire timeline.
  48. 05:34Let's say if we only look at like research and development, the models like you know, protein design and the stuff, we might like save like you know, few years here,
  49. 05:43but at the end maybe it's not going to help for the entire pipeline.
  50. 05:47So, it's important to have innovation and breakthrough across all pipeline.
  51. 05:56Now that we know single cell is important, how can we measure single cell?
  52. 06:03So, looking at single, yeah, it's amazing.
  53. 06:05This is just one single cell.
  54. 06:07There is a lot going on inside that one little tiny organism.
  55. 06:11Uh there are different modalities and each modality is measure different things.
  56. 06:18Uh from genome, which is like, you know, DNA sequencing is almost, you know, same for all cells, to RNA sequence.
  57. 06:25RNA sequence or transcriptomic is like the profile of the genes that they are expressed at each time.
  58. 06:33And then that it's like a matrix and then basically cell it says for each cell uh what are the genes what are the genes how many genes are expressed
  59. 06:42and then in which quantity.
  60. 06:43And is like 20,000 K. It's it's 20,000 scale.
  61. 06:51And the other maybe modality is proteomics.
  62. 06:54Proteomics maybe is like what maybe we care about more like because the proteins are the one that they're doing most of the functions in our body.
  63. 07:03But the problem is that proteomics is a very hard to measure and you know, there are ways to measure it but it's a very low throughput.
  64. 07:11And morphology is about like the cell shape and structure.
  65. 07:15And there are like really good imaging technologies to kind of also measure to have like microscopic imaging from single cell.
  66. 07:24And um it's very I've also useful for a special special dimension kind of like, you know, knowing the place of like, you know, how the single cell is located within tissue.
  67. 07:39Um so, from all these modalities maybe the one that has been used mostly for foundation model training, I would say is RNA-seq.
  68. 07:47And there is an issue that the technology is is it's easier to measure and the technology is like because of like PC PCR technologies and the stuff, it's easier to a scale.
  69. 07:59So we have like usually data set for single cell RNA in the scale of like tens of tens of uh millions of cells to even like you know, I've heard 500 million
  70. 08:10cells and then kind of like even like there's a project 1 billion cells.
  71. 08:13But usually what they talk about is RNA-seq.
  72. 08:17And then also this is also a problem that if you really want to understand biology and then starting from single cell, we really need to kind of have technological
  73. 08:26advances in other dimensions as well.
  74. 08:30And now having said that, let's say we got like you know, gathered 1 billion RNA-seq, 1 billion cells, 1 billion samples of RNA-seq data.
  75. 08:40Is this good for foundation models that we can you know, train on?
  76. 08:43And then the the problem is uh it's it's very hard.
  77. 08:48The nature of the data is if you measure two identical cell at the they don't read the same.
  78. 08:54And then the problem is the problem is this is very very heterogeneous.
  79. 09:00I'll give you give an example here that usually cells they're living organism, they go through a lot of changes and cycles like from like you know, growing to uh kind of copying
  80. 09:13RNA to cell division.
  81. 09:16And usually some of these changes happens like in a burst, not like it's not something you know, continuous.
  82. 09:23And what we are measuring with current uh single cell sequencing is like a snapshot.
  83. 09:30We're taking a snapshots from from a whole movie.
  84. 09:36Uh now with that and then also there's their biological reason that the data is very noisy, it's very heterogeneous.
  85. 09:43Also, there is like technical reasons that usually if you measure in different labs, different machines, also the data would be the data wouldn't be the same.
  86. 09:53Now, let's see how what are look at some of the foundation models that we have and then see what they're doing with this uh, data.
  87. 10:01Um, and then also like maybe a small note here that given the nature that is very high dimensional is like multi-state.
  88. 10:10I think maybe, you know, some might argue that uh, a quantum computing would be there like kind of like natural fit for this application.
  89. 10:18And then, yeah, we don't know, it might be true.
  90. 10:21Uh, but you know, until we have quantum compute, for now we want to see what we can get with current state of the art AI.
  91. 10:30And now, uh, I want to start with like transformer-based models.
  92. 10:34And there have been really good like, you know, papers and models out there from the communities starting from like SCGPT and Informer.
  93. 10:43Uh, and what they want, they kind of like treat each uh, cell like a sentence and then genes like tokens.
  94. 10:52So, basically cell cell are built from genes.
  95. 10:56And what they do is like uh, uh, they um, like you know, BERT BERT style model like from language that kind of uh, masking some of the genes and they're trying
  96. 11:11having the model to predict that them predict that genes uh, that gene counts.
  97. 11:19So, looking at the data is like a matrix.
  98. 11:22Uh, and then for each cell we have like, you know, we have the count of uh, each genes.
  99. 11:28How many genes are, you know, how many genes are active, uh, per cell.
  100. 11:34And then it's trying to mask this to like, uh, attention, bidirectional attention across, and then kind of understand the relationship between, you know, between these genes.
  101. 11:45And, uh, this is how it's trained.
  102. 11:47And then like there are some, uh, uh, some some some downstream tasks that this model is used to.
  103. 11:54Uh, one is for, uh, so like, you know, predicting cell type, kind of predicting, uh, also, um, perturbation response modeling.
  104. 12:06Uh, but overall, when we look into these models, what they try to do, they try to kind of get the single cell data and then compress it in a kind of a latent vector and then do either decoding
  105. 12:19for like generative task or like classification for, uh, classic for other task.
  106. 12:26And then what happens is when you, uh, compress this data, we're losing a lot of information.
  107. 12:31It doesn't preserve the, it doesn't preserve the information.
  108. 12:36And then that's why when we're looking into this model, like, um, these models, we see that sometimes, sometimes like, uh, maybe, uh, simple linear models are on par or like sometimes even outperforming
  109. 12:51this, uh, these, uh, models that, you know, it's like, you know, complex models with a lot of compute is being used to train those.
  110. 13:00Um, then also we had like two papers last year at NeurIPS, we did like comprehensive benchmarking on uh, on these models.
  111. 13:09One is, uh, multimodal data for like imaging and RNA-seq, and the other one is for perturbation response modeling.
  112. 13:17So I have the links at the end of my talk, uh, go ahead and check them out, but like the final, the results, uh, the uh, what we found out was the
  113. 13:27Uh, that also is known in the community that even though these models are very expensive to train, uh, at the end they're not performing as well comparing to, you know, other domain language,
  114. 13:41uh, and and imaging.
  115. 13:43And this is our newer and then so transformer-based also we have like flow matching-based models that you you started to try to uh, predict the distribution of the data and
  116. 13:57uh, starting from like, you know, Gaussian noise and then trying to to match the distribution.
  117. 14:03And we have uh, this paper, uh, we have this model PrimeFlow uh, that is available on archive and it seems that these models they seem to do better.
  118. 14:16There is a better comparing to trans autoregressive-based models, um, because it's tries to kind of match the distribution predict the distribution rather than kind of, you know, understanding the
  119. 14:30understanding the data and compressing it into into uh, uh, into into a a latent vector.
  120. 14:38Um, and this is like some of the results that uh, we have.
  121. 14:43So, on the left we see like PrimeFlow it's the green the green dots are uh, ground truth label and then we see that PrimeFlow is kind of trying to match the distribution.
  122. 14:55Whereas other models like CPADR autoencoder-based is kind of like just mapping to the it's trying to predict the mean rather than understanding understanding the distribution.
  123. 15:07And then we have like MMD score at the bottom.
  124. 15:11Uh, so yeah, that was uh, my top three things to take away from this talk is that single cell is important and it's important to understand this.
  125. 15:22It has application for cellular rejuvenation.
  126. 15:25It's a path to like digital human and they're helping with drug development cycle.
  127. 15:32Then also we looked at at the different modalities to measure from single cell.
  128. 15:38RNA sequence data is the one that maybe it's we have it more available in a scale and also it's measuring something important in expression profile.
  129. 15:47But at the same at the same time that we would like to kind of get more data, work on the scale, but it's important that to work on quality of the data of the way that we are measuring this data to be a bit more realistic
  130. 16:02of the real organism than than just like you know scale the data the way it is.
  131. 16:08And then my final conclusion is that for now it seems flow matching models they're doing better for single cell data trying to match to the distribution.
  132. 16:20And also it to be able to scale these models that you know they can also do well on the data they haven't seen, they haven't trained on.
  133. 16:30We would need you know massive scaling scaling of the data I would say and then also the quality and the way that we measure data.
  134. 16:38And then with that yeah we have like three papers SCGENE scope, perturbation last year in NeurIPS and then PrimeFlow.
  135. 16:45You check them out and yeah, let me know if you have any questions.
  136. 16:48Thank you.