YOUR-BRAIN COURSE GUIDE

Your Brain Is Not RAM: Mapping and Simulating Real Brains

A chapter-by-chapter readback of the free course by Viren Jain on Latent Space.

Length1:21:15
Chapters22
Modules7
Plain Markdown with clickable timestamps — drops into Obsidian, Notion or GitHub as-is.
Watch on Latent Space · chapter timestamps in the contents jump the video

The viral 'fly brain runs Minecraft' demos were not brain simulations: Viren Jain explains what a connectome actually is, what it cannot capture (neurotransmitters, dynamics), and the concrete path — zebrafish activity-plus-connectome datasets, pathfinder-based cost drops — toward models that predict behavior.

Who it's for
Read this guide if
  • You saw the viral fly connectome uploads and want the scientific reality check
  • You work in ML and want to know how connectomics pipelines (EM imaging, proofreading, Neuroglancer) actually function
  • You're curious about the real cost estimates for a whole mouse or human brain connectome
  • You want to understand how wiring diagrams explain behavior like fly navigation
Skip ahead if
  • You want a tutorial on training neural networks on connectome data
  • You're looking for a serious treatment of consciousness uploading as near-term tech
  • You need clinical neuroscience rather than basic research
In brief
  • Duration: 81 minutes (4,875 seconds) of interview
  • 9 transcript sections covering connectomics methods, circuits, costs, and simulation limits
  • Tools and methods discussed: electron microscopy, expansion microscopy, Neuroglancer, FlyWire crowdsourcing, GCaMP light-sheet imaging
  • Level: advanced — assumes comfort with graphs, ML pipelines, and neuroscience vocabulary
  • Real numbers throughout: ~$8B mouse connectome estimate cut to ~$80M, 100,000 fly neurons, 4x4x30 nm voxels

The walkthrough

Each chapter below is our original written explanation of what happens at that moment in the video — a paraphrase, not a transcript. Click any timestamp to jump the player.

The Viral Connectome and What Connectomics Really Is

The opening establishes why the fly connectome release went viral (~17 million views, people feeding it to coding agents to play Minecraft) and why those demos are not brain simulations. Jain reframes connectomics as a Human Genome Project-style foundational data structure whose purpose is understanding, not uploading.

0:00

Introduction: The Brain Is Not RAM

Jain opens with a thought experiment: people revived after their brain's electrical activity stops — for instance after falling through ice — remain recognizably 'the same' person. That suggests knowledge and personality live in physical structure rather than a transient electrical state, contradicting any RAM-like picture of the brain. He then recounts the Google Drosophila connectome release, which drew roughly 17 million views and went viral partly because the data was easy to download, leading hobbyists to feed it to coding agents that played Minecraft, Beat Saber, or traded bitcoin.

2:25

Why the Viral Demos Aren't Simulations

The Minecraft-playing fly projects embed the connectome's data structure inside an ML framework and train it on tasks, which Jain says has 'little to do with actual fly neuroscience.' He separates three real questions: what it means to simulate a brain, what data and methods are required, and how you would verify a simulation. He notes brain simulation is an old computer science obsession — von Neumann wrote a monograph on digitally representing analog devices like neurons shortly after inventing the computer, and Turing wondered about it too.

4:25

Connectomics as a Foundational Data Structure

Jain argues the main purpose of connectomics — including the fly project — is understanding the basic structure and circuit patterns of the nervous system, analogous to how the Human Genome Project aimed at molecular biology rather than creating artificial people. The pipeline turns physical tissue into a graph: first, 3D imaging at nanometer resolution, then computational analysis that traces each neuron's wire and finds its connections. He previews the scale problem: a single cubic millimeter of tissue can generate petabytes of data.

6:34

How a Brain Is Imaged: FIB-SEM and Stitching

Most connectomics uses electron microscopy. The fly project used focused ion beam SEM: image the tissue surface, vaporize the next roughly 8–10 nanometers, image again — destructive, but yielding consistently thin sections; other projects, such as work with Harvard, slice first and image each slice separately. Millions of resulting 2D images must then be stitched into one coherent 3D volume, which Jain compares to a phone panorama problem extended to 3D. A long-developed ML system then traces each wire, deducing a wiring diagram the way you might from a black-and-white photo of a server closet.

Reconstruction, Proofreading, and Cell Typing

This module explains why turning images into an accurate graph is brutally hard: errors compound along a neuron's length and demand human 'proofreading' at scale. It grounds the difficulty in concrete figures — HHMI employed about 15 full-time people for roughly a year, and the FlyWire crowdsourcing project trained non-experts to help.

10:05

Error Rates and Manual Proofreading

Tracing errors are catastrophic because a single early termination or wrong branch corrupts every downstream connection; required accuracy grows with reconstruction length, which Jain likens to self-driving cars needing far more than 99% reliability over many miles. Despite high automation accuracy, collaborators at HHMI employed around 15 people working full-time for about a year to find and fix errors. Self-consistency checks help — a neuron cannot have two somas, and shape priors flag invalid forms — but many error types evade automated detection, which is why humans still use those same shape intuitions when proofreading.

12:27

Crowdsourcing and Synapse Detection

The female fly connectome, completed the year before, was partly built through crowdsourcing via FlyWire: non-experts were trained on the task, and experts reviewed difficult cases and signed off. Jain then clarifies that a complete connectome needs two separate pipelines — reconstructing the 'wires' (for example via flood filling) and a distinct ML pipeline that detects physical synapses — producing a graph of directed connections between cells. The result enables cell typing, where the fly brain's over 100,000 neurons are clustered into hundreds of types sharing neurotransmitter properties and shape.

15:27

Explaining Behavior Circuit by Circuit

Jain describes the long-standing goal of neuroscience: explaining high-level behaviors like flying, smelling, and escaping at the level of individual cells and synapses, with the fly as the first organism where this is genuinely coming together. His flagship example is navigation in the central complex: one region encodes current head direction as a bump of activity in a ring, another encodes desired direction, and Larry Abbott's group at Columbia showed the wiring implements vector subtraction between them. The circuit realizes a ring attractor, an old theoretical idea, with goal inputs arriving as pulses.

19:06

Static Wiring Versus Plastic Circuits

The head-direction 'position' is direction relative to the body — simpler than mammalian grid cells, which encode location in a physical environment; humans even repurpose such circuitry for mental landscapes like the mind palace. Flies use phase representations across neuron activities. Crucially, these navigation circuits are largely static and need no plasticity, whereas learning and memory — for instance the mushroom body learning favorable or aversive odors — involve synaptic change. Compared to humans, a much smaller share of the fly brain is dynamic, which affects what a static wiring diagram can explain.

What the Connectome Captures — and What It Misses

Jain returns to the RAM question with the state-versus-structure distinction, then catalogs the connectome's blind spots: synapse chemistry, neuromodulators, and neurotransmitters invisible to EM. He ends on new optical methods and gene-prediction experiments that aim to recover some of that missing molecular layer.

23:04

Brain State, Structure, and Synapse Strength

A brain's 'state' is the electrical activity of all neurons at a moment, evolving according to the connectome and inputs; the ice-revival example again shows identity resides in structure, not state. The fly connectome itself captures neuron shapes and synapses but largely not neurotransmitters. In flies, connection strength is approximated by synapse count between two neurons; in mammalian tissue individual synapses vary, but strength correlates with synapse size visible in EM, so it can be inferred. Jain defines a synapse as one specific directed connection, typically axon to dendrite.

27:31

Missing Chemistry and Light-Based Methods

Synapses vary in type — Drosophila often shows one-to-many synapses — and the receptors and neurotransmitters involved are simply not visible in EM connectomes. Neuromodulation is fundamentally different: secreted molecules diffuse through tissue and bind whoever has receptors, information absent from current maps, though Jain's team is testing whether an ML system given a detailed 3D neuron model can predict which genes that neuron expresses. He also introduces 'icon', a photon-based connectomics method developed last year with an Austrian group, where fluorescent dyes or genome editing label specific proteins or neurotransmitters in different colors.

New Microscopy, Better Tools, and the Human Cortex Sample

From expansion microscopy to Neuroglancer to the Harvard human cortex reconstruction, this module covers the tooling frontier. A memorable detail: the optical study used an off-the-shelf Zeiss confocal instead of a $5–6 million multi-beam electron microscope, at a voxel size of 4x4x30 nanometers for the EM alternative.

30:08

Expansion Microscopy

Visible light resolves only hundreds of nanometers, too coarse for neural structures at tens of nanometers. Ed Boyden's expansion microscopy, invented roughly 10–15 years ago, inserts a polymer scaffold into tissue — a material similar to diapers — that absorbs water and expands up to 10 times per dimension, creating a negative image of structures. An Austrian group validated a version for connectomics in a 2025 Nature paper: fluorescent molecules hooked to neuron boundaries or synapse types are locked in before the tissue is destroyed, and an expanded mouse brain becomes visibly large enough to see on a table.

34:07

Neuroglancer and the Human Cortex Reconstruction

Neuroglancer, a browser built by Jeremy Maitin and Shepard, solves viewing petascale images — hundreds of terabytes — with smooth zooming and annotation layers; because it runs in the browser, users share exact views by copying a URL, and it has become a connectomics standard. Jain then describes the Harvard collaboration reconstructing about one cubic millimeter of human cortex, sampled from tissue donated for science after an epilepsy patient's surgery. Synapses are found by morphology: two adjacent wires with a characteristic depression, sometimes with vesicles on one side; synapses measure roughly 50–100 nanometers, axons 30–40 nanometers.

40:20

Imaging Specs and the Economics of Scale

The human cortex was imaged on a multi-beam scanning electron microscope at 4x4 nanometers in-plane with 30-nanometer slices — a 4x4x30 nanometer voxel — taking nearly a year for one cubic millimeter, about 0.1% of a mouse brain. Speeding up single microscopes helps, but the fundamental strategy is parallelization: 10–30 microscopes on chopped tissue, where cheaper optical methods roughly 10x cheaper mean 10x throughput per dollar. The field is optimizing across quality, throughput, and cost with no steady state yet, and automated reconstruction work led by Michal Januszewski aims to cut proofreading costs.

Whole-Brain Costs, Drug Discovery, and Sex Differences

This module prices the dream: a Wellcome Trust estimate put a whole mouse connectome at ~$8 billion, mostly proofreading labor, until the pathfinder method cut errors by two orders of magnitude to ~$80 million. It then connects maps to GLP-1 drug mechanisms and shows how male and female fly brains diverge in a courtship-versus-escape circuit.

43:15

The $8 Billion Mouse Brain Becomes $80 Million

A Wellcome Trust study estimated a whole mouse brain connectome at roughly $8 billion, dominated by human proofreading time at current automated error rates. The new pathfinder automated approach reduces errors by about two orders of magnitude, bringing the estimate down to around $80 million — comparable to first-of-kind milestones like the Human Genome Project, which cost over $1 billion (roughly $8–10 billion inflation-adjusted). A human connectome is about a million times beyond current scale, and Jain stresses each 10x scale-up over his 20 years forced inventions that made the next one cheaper, as genomics demonstrated.

47:10

Why Map Brains? From Parkinson's to GLP-1s

Connectomics methods are invasive and fatal, so consciousness-upload arguments don't motivate near-term investment; the real motivation is fundamental neuroscience, where progress on Parkinson's and Alzheimer's has been limited despite major funding. Jain's striking example: GLP-1 receptor agonists are neuroscience drugs — small peptides crossing the blood-brain barrier to act on specific hypothalamus and brainstem neurons, affecting eating, gambling, and drinking. A map combining connectivity with receptor details could predict which agonists influence sleep, anxiety, and other behaviors, making it directly relevant to next-generation drug discovery.

50:16

Male Versus Female Fly Brains

Only one male and one female Drosophila brain have been mapped, and comparing them shows roughly 4% of neurons differing significantly — yet producing very different behaviors. Jain describes a visual stimulus circuit identical up to a point, then diverging so the same input triggers courtship in males but an escape motor program in females, visible directly in both reconstructed connectomes. Inferring behavior still requires combining wiring with existing physiology: knowing which neurons activate escape, then using the connectome to trace their downstream targets. He likens the connectome to AlphaFold — a new data layer integrating diverse information about the nervous system.

Toward Prediction: The Zebrafish Dataset

The zebrafish project is Jain's most concrete step toward simulation: one individual fish imaged for activity across ~8 behaviors over 4 hours, then sliced for its connectome. Public forecasting benchmarks set the bar — matching autoregressive baselines using the wiring — enabling in silico perturbation experiments.

55:33

One Fish: Activity, Connectome, and Behavior

The zebrafish project aims to capture whole-brain neural activity, the connectome, and behaviors from a single organism — possible almost only in transparent larval zebrafish — with collaborators at Harvard and Misha Ahrens' lab at HHMI Janelia. Genetically modified fish express GCaMP, a protein converting calcium fluctuations into fluorescence, read out by light-sheet microscopy (a measurement method, not optogenetics). Started in 2018, the project took four years and roughly 100 fish; functional data was collected in Virginia, then the fish was shipped to Cambridge for sectioning, yielding the first full vertebrate brain connectome.

58:02

Forecasting Benchmarks and In Silico Perturbations

The first analysis is a public benchmark: predict the next few seconds of neural activity from the previous 10 seconds without the connectome. Since past activity alone predicts to some extent, the goal is a connectome-driven model at least as accurate as autoregressive baselines; success would enable in silico neuron ablation, rewiring, or activation tested against real fish behavior. A complication: the imaged fish was sliced and vaporized and cannot be recovered, so validation happens on homologous circuits in other fish by identifying similar neurons. The long-term goal — running experiments impossible in real animals — remains far off.

Limits, Frontiers, and the Uploading Question

The closing modules weigh what simulation would require — from single-neuron biophysics to quantum-state objections — and where new value lies: subcortical structures, molecular annotation, and data efficiency. Jain's verdict: connectomics constrains theories more than it powers uploads.

1:01:10

Single Neurons, Nonlinearities, and Quantum Objections

Single-neuron biophysics is far better understood than circuit function: experiments isolate a neuron, apply voltage, and measure spike thresholds and refractory behavior. The artificial neural network's linear-plus-nonlinearity scheme originated from these experiments, and the actual nonlinearities vary by cell type and 3D shape, since morphology determines current flow. We know the 'knobs' but not which details matter at circuit level. Against claims that brains can never be simulated because of every electron's quantum state, Jain argues the brain must be robust to fluctuations to operate at all, so molecular-level state knowledge is likely unnecessary.

1:05:05

Surprising Findings in the Human Connectome

Jain reframes the field's purpose: connectomics chiefly constrains theories — dynamical systems ideas like attractors and memory states make specific connectivity predictions the data can falsify. From the human cortex study, some neuron pairs show roughly 50 times stronger connectivity than the average connected pair, far from the smooth distribution developmental models predict. He caveats that the sample came from an epilepsy patient, so those strong connections might relate to the epileptic state. Mouse and human brains are architecturally similar; the cortex, evolutionarily newer and a major site of plasticity, is expanded in humans but harder to understand because experience shapes it — making subcortical structures, which generate sleep and house GLP-1 action, a high-value near-term target.

1:11:23

Mouse Campaigns, Cell Types, and Biology's Gift to AI

A mouse connectome campaign is planned, and technology choice determines how much molecular information is captured alongside wiring — though even a synapse-only graph would help, since receptor data can be layered on afterward. Each cell gets a type from gene-expression taxonomies: the fly has roughly 11,000 debated types, mammalian brains at least thousands, and shape often reveals type. On biology inspiring AI, Jain recalls neural networks from neuroscience, RL from psychology, and convolutions from vision research, but says the biggest remaining gap is data efficiency — children learn without reading the internet — which is about plasticity, and connectomics is a static snapshot.

1:15:56

Uploading, Slicing, and What Small Brains Prove

Jain separates simulation from consciousness: we may eventually measure enough to model a brain realistically, but how that relates to consciousness is unknown — the fly connectome went viral partly because people wanted to believe in uploading. The most-wanted bottleneck is lossless tissue subdivision, since whole-mouse scaling requires parallel microscopes and slicing without losing atoms; once solved, 'money cleanly converts into larger connectomes.' Non-destructive alternatives like synchrotron X-rays are active research, though MRI is roughly a million-fold too low resolution for living humans. He closes: small organisms already provide the blueprint for explaining behavior at the level of cells and connections.

Moment by moment

TimeWhy it matters
1:26The viral fly connectome: ~17M views and coding agents playing Minecraft — and why that isn't simulation
16:52HHMI's ~15 full-time proofreaders reveal the hidden human labor behind 'automated' reconstruction
17:44The central-complex ring attractor: wiring that literally computes vector subtraction
43:30Pathfinder cuts the mouse-brain estimate from ~$8 billion to ~$80 million
58:53The zebrafish benchmark: one fish's activity, connectome, and behavior as the testbed for prediction

Do this next

  1. Open a published connectome in Neuroglancer and trace a single neuron start-to-end to feel the proofreading problem firsthand
  2. Compare FlyWire's crowdsourced female fly connectome against the male connectome and look up the courtship-vs-escape circuit divergence
  3. Read the 2025 Nature expansion-microscopy connectomics paper and contrast its Zeiss confocal workflow with multi-beam EM cost figures

Common questions

Did the fly connectome really play Minecraft?

Viral projects fed the connectome data structure into coding agents and ML frameworks, producing demos of Minecraft, Beat Saber, and bitcoin trading that drew from a release with roughly 17 million views. Jain is explicit that these are not brain simulations: they train the wiring graph on tasks with little connection to actual fly neuroscience, and the scientific questions — what simulation means and how to verify it — remain open.

How is a connectome actually made?

Two stages: imaging and analysis. Tissue is imaged in 3D at nanometer resolution — the fly used focused ion beam SEM, vaporizing 8–10 nanometers at a time — then millions of 2D images are stitched into a 3D volume. Machine learning traces each neuron's wire and a separate pipeline detects synapses, yielding a graph. One cubic millimeter of tissue can produce petabytes of data.

Why did reconstruction need human workers?

A single tracing error, like an early termination or wrong branch, corrupts all downstream connections, and accuracy demands grow with neuron length — like self-driving cars needing well over 99% reliability. Despite automation, HHMI employed about 15 people full-time for roughly a year on proofreading. The female fly connectome also used crowdsourcing through FlyWire, with trained non-experts and expert sign-off.

What does the connectome miss?

Current EM connectomes capture neuron shapes and synapse locations but not neurotransmitters or receptors, which are invisible to electrons. Neuromodulators are especially absent: secreted molecules diffuse and bind whoever has receptors. In flies, strength is estimated by synapse count; in mammals, by synapse size. Optical methods like the Austrian 'icon' technique use color channels to label specific proteins and chemistries.

What would a whole mouse brain connectome cost?

A Wellcome Trust study estimated about $8 billion, mostly human proofreading time at then-current error rates. The automated 'pathfinder' approach cuts errors by roughly two orders of magnitude, bringing the estimate to about $80 million — comparable to the Human Genome Project's inflation-adjusted $8–10 billion. Each 10x scale-up historically forces inventions that cheapen the next attempt.

What is the zebrafish project's goal?

To capture behavior, whole-brain activity, and connectome from one organism. A GCaMP-expressing larval zebrafish was imaged under about 8 behaviors for 4 hours via light-sheet microscopy, then sectioned for connectome reconstruction. Begun in 2018 with roughly 100 fish over four years, it produced the first full vertebrate brain connectome and a public benchmark predicting neural activity from the prior 10 seconds.

Can we upload a brain?

Jain separates simulation from consciousness: their relationship is unknown, even if we eventually measure enough to model brains realistically. Connectomics is fatal and destructive, MRI is roughly a million-fold too low resolution, and the imaged fish cannot be recovered after slicing. The viral fly demos resonated partly because people wanted to believe in uploading, but that is not the field's motivating argument.

How do male and female fly brains differ?

Only about 4% of neurons differ significantly between the mapped male and female Drosophila connectomes, yet the behaviors differ dramatically. One visual stimulus circuit is identical up to a point, then diverges: it triggers courtship in males but an escape motor program in females, a divergence visible directly in the reconstructions. Whether individual brains are more unique remains an open question with only one brain of each sex mapped.

Spot a mistake?

Every summary above is hand-checked against the video before publication, but a two-hour technical conversation can still trip us up. If you spot a misattributed quote, a wrong number, or an error in any timestamp, tell us and we'll fix it.

More course guides