Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Hugging Face 9 min read Deep dive hardMaster

Arc Virtual Cell Challenge: A Primer

Arc Institute's Virtual Cell Challenge asks for a model that predicts how a cell's transcriptome changes when a gene is silenced with CRISPR, including in partially unseen cell types. Because sequencing destroys the cell, models must learn from populations of unperturbed control cells and separate the true perturbation effect from baseline heterogeneity and technical noise. Arc's STATE baseline pairs a Llama-backbone State Transition Model, trained with Maximum Mean Discrepancy on covariate-matched control sets, with a BERT-like State Embedding Model. That embedding model builds gene embeddings from ESM2 protein-isoform embeddings and represents each cell as a sentence of its top 2048 expressed genes. Submissions are scored on Perturbation Discrimination (Manhattan-distance ranking), Differential Expression (Wilcoxon tests with Benjamini-Hochberg correction) and mean absolute error.

Assumes: transformer architecturesBERT-style masked pretrainingbasic statistics and hypothesis testingcentral dogma of molecular biology

Related posts

  • AI-generated synthetic neurons speed up brain mapping

    Google Research easyNovice

    MoGen, a point cloud flow matching model built on PointInfinity, generates realistic synthetic 3D neurite shapes. It was trained on 1,795 human-verified mouse axons, and human experts could not distinguish its outputs from real neurites. Adding 10% MoGen-generated data to the training set of the PATHFINDER connectomics reconstruction model cut reconstruction errors by 4.4%, mostly by reducing merge errors. At the scale of a full mouse brain, that equals an estimated 157 person-years of manual proofreading saved. MoGen is released open source with species-specific models for mouse, zebra finch and fruit fly, and future work targets error-prone geometries and synthetic electron microscopy images.

  • Train 400x faster Static Embedding Models with Sentence Transformers

    Hugging Face hardMaster

    Static embedding models, which replace the attention-based encoder with a token embedding lookup plus mean pooling (an EmbeddingBag), can be trained with modern contrastive losses and Matryoshka Representation Learning to run 100x to 400x faster on CPU than models like all-mpnet-base-v2 and multilingual-e5-small, while keeping at least 85% of their benchmark quality. The recipe trains two 1024-dimensional models from randomly initialized weights using BERT tokenizers and Sentence Transformers' StaticEmbedding module: an English retrieval model trained on 13 QA datasets chosen to avoid overlap with BEIR, and a multilingual similarity model trained on parallel-sentence and positive-pair datasets. The post covers dataset selection, loss choice, training arguments, evaluators, NanoBEIR results on CPU and GPU, and Matryoshka truncation tradeoffs. The resulting models suit on-device, in-browser and edge workloads.

  • Efficient Table Pre-training without Real Data: An Introduction to TAPEX

    Hugging Face hardMaster

    TAPEX pre-trains a language model (BART) for table reasoning by teaching it to act as a neural SQL executor. Its training corpus is synthetic: SQL queries are sampled over web tables and executed with a real engine such as MySQL to produce target outputs. Because SQL execution is structurally close to table question answering, TAPEX set new state-of-the-art results on WikiSQL (89.6%), TabFact (84.2%), SQA (74.5%) and WikiTableQuestions (57.5%). It beat TaBERT by 2% using only 2% of the pre-training corpus, roughly a 50x efficiency gain. The takeaway for continual pre-training is to synthesize a small, accurate, program-generated corpus rather than mine large, noisy natural-language data. Models and fine-tuning scripts are available in Hugging Face Transformers.

  • Constitutional AI with Open LLMs

    Hugging Face hardMaster

    An end-to-end recipe applies Anthropic's Constitutional AI to open models: Mistral-7B-Instruct critiques and revises its own responses to red-teaming prompts from Anthropic's HH dataset according to a set of written principles. The revisions become an SFT dataset and preference pairs for DPO, each built from a 50/50 split of the ~42.6k harmless-base examples. Small models need few-shot demonstrations, careful system prompts and post-processing to produce clean critiques and revisions. Generation at scale runs on llm-swarm, a new tool that launches TGI or vLLM endpoints on Slurm via sbatch, load-balances them with nginx using least connections, and tears them down when the job ends. The released datasets and models include a variant with a constitution written to mimic xAI's Grok.

  • Transfer learning for genomic prediction in underrepresented populations

    Google Research hardMaster

    Transfer learning from European UK Biobank data improves polygenic risk score prediction in Biobank Japan only when the Japanese training cohort is small. Beyond roughly 15k target samples, adding European samples degrades accuracy. The crossover depends on the trait: genetically conserved traits like BMI keep benefiting up to 25–40k+ target samples, while population-specific traits such as HDL, LDL and blood glucose lose the benefit much earlier. Cross-population meta-analysis for variant discovery helps population-specific traits at small sizes. PRS-CSx underperforms elastic net below 25k target samples but matches or beats it near 100k.

The quest for software engineering knowledge.

Look:
Layout: