Past Projects

AI x Bio Projects

Efficient
data loading

Training deep learning models on single-cell data is often bottlenecked by data loading. We introduce scDataset (ICML, 2026), a fast, memory-efficient PyTorch tool designed to address this challenge by enabling randomized training directly from disk, without format conversion or full in-memory loading. It works out of the box with AnnData and significantly outperforms existing solutions like HuggingFace Datasets and NVIDIA’s BioNeMo-SCDL. To our knowledge, this makes scDataset the fastest available data loader for large single-cell datasets.

See usage examples on GitHub or this blog post. The tool is installable via pip.

Hierarchical
learning objectives

dag_mlp (1)

Cell types are organized within a hierarchical ontology. Yet most models trained to classify them use cross-entropy, a “flat” loss function that ignores this structure. We introduce hierarchical cross-entropy (HCE), a loss function that incorporates the ontology directly into the training objective. Applied to models of increasing complexity, from linear classifiers to MLPs and transformers, we showed that HCE improves performance by 12–15%. Check out the paper here (Nat. Comp. Sci., 2026)!

The idea extends beyond single-cell biology to any classification task where labels have a known hierarchical structure. We recently applied the same principle to image classification and showed that it improves performance there too.

Conditional generation
of single-cell data

figure1

We developed GENESIS, a conditional generative model for predicting single-cell responses to biological perturbations directly from experimental covariates. Trained using the energy score, GENESIS approaches experimental reproducibility of independent lab experiments. The model is highly sample-efficient, outperforming competing approaches trained on 20 times more data. Beyond predictive accuracy, GENESIS recapitulates both shared and context-specific signaling pathway responses to cancer therapies, demonstrating its ability to capture biologically meaningful variation across cellular contexts.

Maths & CS Projects

Computational Topology

The tumour immune microenvironment (TME), which showcases the battlefield between the cancer cells and the immune cells, carries important biological information and can vary significantly from patient to patient. Motivated by wanting to describe the geometry of these cellular arrangements, we developed a geometric and topological framework for quantifying spatial interactions between point sets. A summary of our findings, together with a collection of open questions we stumbled upon, can be found in this recent survey. 

Algorithms & Data Structures

The persistent homology (PH) of a function encodes topological features of a space at different spatial resolutions. If the function or the space undergo a local change can we update the PH efficiently or shall we just recompute it from scratch? In the context of graph persistence, we gave a geometric characterization of the persistent pairs, which we used to construct an efficent data structure for maintaining them: the banana tree. For dynamic time series data, we showed that banana trees are fast in practice, outperforming the state of the art static algorithm in many realistic settings.

Computational Geometry

What geometric structures are useful to model a collection of data points? What are their properties? Natural candidates are Voronoi tessellations, Delaunay mosaics and their higher order generalisations. Together with colleagues at ISTA, we try to make sense of these objects through the lenses of discrete Morse theory and persistent homology. See [1, 2, 3] or my PhD thesis.