A MOLECULAR NEURAL NETWORK

What if a neural network could learn in a test tube?

DNA strands can act as inputs, memory, and logic. In this experiment, a mixture of molecules learned from labeled examples, then used its chemical memory to classify new patterns.

See how it works Read the Nature paper ↗

Conceptual illustration · not a photograph of the experiment

01 / THE IDEA

Weights made of molecules

In software, a weight is a number. Here, a weight is represented by how much of a particular DNA signal is present.

xi + Lj

Present an example

Each active input bit is a DNA strand Xi. A class label Lj tells the learning circuit which memory should receive it.

Actij ↑

Store the association

A matching learning gate releases an activator for that input and class pair. Across examples, its concentration records the strength of that association.

Wij · xi

Use the memory

During testing, the activator unlocks its matching, previously inhibited weight gate. The gate processes a new input, contributing to a class score.

02 / ANIMATED EXPLAINER

Follow one learned weight

A simplified four-input sketch of the chemistry. Use the controls to step through training and classification.

STEP 1 OF 4

A labeled pattern arrives

Active input strands and a class-label strand meet at matching learning gates. Only the input–label pairs present in this example produce their corresponding activators.

Illustrative animation. Bar lengths and scores are for explanation only; they are not measurements from the paper.

03 / UNDER THE HOOD

The number is a concentration

The network does not store a digital weight in a chip. It stores a chemical state in a liquid.

1

Start blank. Weight gates are inhibited, so their effective weights begin at zero.

2

Learn by accumulation. Repeated input–label examples produce class-specific activators. The concentration of each activator encodes the learned association for one input and one class.

3

Transfer and compute. An activator binds its matching inhibited weight gate, exposing a site where a test input can bind. DNA strand displacement lets that active gate generate a weighted input signal.

4

Choose an output. Signals for each class are summed. A winner-take-all reaction amplifies the larger one into a binary output, read by fluorescence.

04 / THE EXPERIMENT

From examples to a decision

Cherry and Qian demonstrated supervised learning in a DNA circuit using handwritten-digit patterns encoded as molecular inputs.

100input bits per pattern
2class memories in the network
3distinct training tasks tested

The reported classification demonstrations used selected representative tests. This is a proof of concept in vitro, not a general-purpose trained AI system.

SOURCE PAPER

Supervised learning in DNA neural networks

Kevin M. Cherry and Lulu Qian · Nature 645, 639–647 (2025)

Read the research ↗