A Training-Free Socket for DNA in Frozen Language Models
Arash Fatehi
Key points
From the paper's conclusion- The authors introduced a method called the socket, which uses a frozen ridge regression (the plug) to map DNA features to a host LLM's representation of gene symbols, names, and descriptions.
- On the held-out test set, real DNA outperformed shuffled DNA by +22.2 [19.8, 25.0] on Qwen3.5-4B, +26.1 [24.3, 27.9] on Qwen3.6-27B, +16.7 [14.2, 19.7] on Mistral-7B, and +18.4 [16.2, 21.0] on OLMo-2-7B.
- The socket conveys gene identity, with the plug outperforming nearest-neighbour retrieval by 3.0-5.2 points and maintaining most of its effect without training homologs.
Abstract
Connecting a DNA foundation model to a large language model (LLM) usually requires training a connector, and often the LLM too. We show that a closed-form map is enough for gene-level questions. Our method, the socket, fits one ridge regression (the plug) from frozen Evo 2 features to the host LLM's own representation of the gene's symbol, name, and description at an early layer. The plug's output replaces the hidden state at placeholder positions, and no gradient passes through the host. We test it on GeneHop, a five-way multiple-choice benchmark split by homology. In a single run on the held-out test set, under a frozen analysis plan, real DNA beats shuffled DNA on all four hosts: by +22.2 points [19.8, 25.0] on Qwen3.5-4B, +26.1 [24.3, 27.9] on Qwen3.6-27B, +16.7 [14.2, 19.7] on Mistral-7B, and +18.4 [16.2, 21.0] on OLMo-2-7B. All four survive Holm correction, every null control stays within two points of the sham level, and the development results agree within 2.3 points. A layer rule that uses no task items was selected on three hosts; it predicted the working layer of the fourth before any DNA-plug scoring on it. A text-only linear map lets one plug feed any other host, at a cost of at most 0.9 points on test. The socket conveys gene identity: nearest-neighbour retrieval recovers 72-84% of the effect, but the plug beats it on every host by 3.0-5.2 points and keeps most of its effect without training homologs.
Read the paper
Discussion · 1
Science Skim's AI key points, plus readers' public thoughts
- The authors introduced a method called the socket, which uses a frozen ridge regression (the plug) to map DNA features to a host LLM's representation of gene symbols, names, and descriptions.
- On the held-out test set, real DNA outperformed shuffled DNA by +22.2 [19.8, 25.0] on Qwen3.5-4B, +26.1 [24.3, 27.9] on Qwen3.6-27B, +16.7 [14.2, 19.7] on Mistral-7B, and +18.4 [16.2, 21.0] on OLMo-2-7B.
- The socket conveys gene identity, with the plug outperforming nearest-neighbour retrieval by 3.0-5.2 points and maintaining most of its effect without training homologs.
Readers' thoughts
No reader thoughts yet.
Related papers
- DNA-LLM2Vec: Architecture-Aware Task-Conditioned Adaptation of Decoder DNA Foundation ModelsbioRxiv · 2026
- DNACSE: Enhancing Genomic LLMs with Contrastive Learning for DNA Barcode IdentificationJournal of Chemical Information and Modeling · 2026
- BarcodeMAE+: Rethinking Masked Pretraining and Global Representations for DNA Barcode Foundation ModelsarXiv · 2026
- MINA: Do frozen DNA encoders beat sequence composition? A homology-aware linear-probe benchmarkbioRxiv · 2026
- Single-cell foundation models transfer across deep evolutionary distancesbioRxiv · 2026
- LingoCell interprets gene perturbations through natural language and tissue nichesbioRxiv · 2026