Skip to the content

fatehi.devx2Learning

Paths, 22 steps in six parts after an overview, four written so far

DNA-Socket

DNA-Socket asks whether a language model that has only ever read text can use a gene’s DNA when a DNA model’s summary of that gene is written straight into its hidden state, with neither model trained. This path teaches what is needed to follow the study and judge its result: how a language model computes, how its states are read and written, what genes are and how DNA models represent them, how the map between the two models is fitted, and how the result is tested.

none read yet

StartMap

DNA-Socket injects an embedding of a gene’s DNA into a language model that has only ever read text, without training anything, and observes what the model does with it. This path explains the study from the bottom up. It opens with the whole study on one page; each of its six parts then teaches the fundamentals that one part of the study rests on, and ends with the pages that show what the study did with them.

Part 1 looks inside a language model: how text becomes vectors, how attention moves information between positions, and how a model answers a multiple-choice question. Part 2 shows how a model’s internal states are read and written, how other systems connect an encoder to a language model, and the study’s first idea, which failed. Part 3 turns to biology: what a gene is, how genes are related, and how a DNA model such as Evo 2 turns a sequence into numbers. Part 4 builds the translation between the two models, ridge regression against a nearest-neighbour baseline, and ends with the socket itself. Part 5 gives the statistics that keep a result honest, then the study’s benchmark, its controls and its single test run. Part 6 asks what the result means: what reaches the model, whether one plug serves many models, and what remains open.

The steps

  1. Overview of the studyUnder construction

    My studies

  2. Tokens and embeddings

    Deep learning

    A model computes with vectors, not words: how a text becomes those vectors, and how a prompt can hold places, the slots, for an input that is not text, which is where the study puts a gene’s DNA.

    Crossing: also step 4 of Attention paper

    Crossing: also step 1 of Inside a language model

  3. Softmax

    Deep learning

    A language model ends with a score for every token it could produce next, and the softmax turns those scores into probabilities. Every answer the study reads from a model is read through it.

    Crossing: also step 5 of Attention paper

    Crossing: also step 2 of Inside a language model

  4. Attention

    Deep learning

    Attention is how a position takes in information from other positions. In a language model a position may read only itself and the positions before it, so the position where the answer is read can reach the slots placed earlier in the prompt. Whether it actually uses what is there is a separate question, and the study tests it.

    Crossing: also step 6 of Attention paper

    Crossing: also step 3 of Inside a language model

  5. Transformers

    Deep learning

    The residual stream is the running vector at each position that every block reads and adds to: where a model’s state can be read and where the study writes the gene. This step also fixes how the rest of the path counts blocks and layers.

    Crossing: also step 5 of Weight-space programming

    Crossing: also step 17 of Attention paper

    Crossing: also step 4 of Inside a language model

  6. Multiple choiceUnder construction

    Deep learning

    Every number the study reports is an accuracy read from five letter scores in one forward pass: how that reading works and when it can be trusted.

  7. LLM hidden stateUnder construction

    Deep learning

    Before anything can be written into a model, one must know how to read what its hidden states hold: probes, the logit lens and the Jacobian lens, whose word directions the study’s first idea was built on. Then the socket’s one operation: stop the model after a block, change the state at chosen positions and let it run on; its use as an experiment and as an input channel, and why replacing and adding differ.

    Crossing: also step 6 of Weight-space programming

    Crossing: also step 3 of J-space

  8. Multimodal modelsUnder construction

    Deep learning

    How other systems give a language model a new kind of input, with an encoder and a trained connector, and the points on which the socket departs from that recipe.

  9. The first ideaUnder construction

    My studies

    The route the study started on, writes into the J-space by trained connectors: how its failure was diagnosed, and why that led to the socket.

  10. The cellUnder construction

    Biology

    The ground the path’s biology stands on: what a cell is made of, how a gene’s DNA becomes a protein, and the cell’s processes, in whose names the study’s questions ask about genes.

  11. DNAUnder construction

    Biology

    The study hands the language model a gene as DNA; this step makes that input exact: one coding sequence per gene, four letters read three at a time into the gene’s protein.

  12. DNA encodersUnder construction

    Deep learning

    How a model trained only to predict letters turns a gene’s sequence into vectors: the kind of input the study gives a language model, the DNA model it uses, Evo 2, and the systems that join such a model to a language model by training, ChatNT and BioReason.

  13. Ridge regressionUnder construction

    Machine learning

    The plug is one ridge regression: how the penalty steadies a fit with about as many inputs as genes, why its predictions come out too short, and why the study restores their length with the norm match.

  14. Nearest neighboursUnder construction

    Machine learning

    The nearest-neighbour lookup is the baseline the plug must beat: why retrieval is strong, why it depends on relatives, and why ridge regression is retrieval smoothed over many genes.

  15. The socketUnder construction

    My studies

    The method itself, now that its mathematics is in place: one ridge regression from Evo 2’s vector of a gene to the host’s own picture of that gene, rescaled and written after an early block, chosen by a rule that uses no task questions.

  16. Hypothesis testsUnder construction

    Mathematics

    Each model’s result is a one-sided test at 2.5 %, with its p-value taken from the bootstrap: what that p-value says, what it does not, and why the study also asks for a gap above 4 points.

  17. GeneBlindUnder construction

    My studies

    Every result of the study is a score on GeneBlind, so its construction decides what those scores can mean: genes given only as DNA, answer-blind options and a split that keeps relatives together.

  18. Measuring the DNA’s useUnder construction

    My studies

    A gain of real over shuffled DNA means something only once its dull causes are ruled out: the gap, the sham, the null controls, the retrieval baselines and the ceiling.

  19. The single test runUnder construction

    My studies

    The study’s main result: one run on questions none of its choices had touched, its table read row by row, and why the socket is called comparable to a trained projector, not better.

  20. What the socket carriesUnder construction

    My studies

    What reaches the model: the gene’s identity, delivered a little better than by copying the nearest training gene, and no sign of anything the model’s text knowledge lacks.

  21. One plug, many modelsUnder construction

    My studies

    Whether the socket’s two sides can be built apart: one DNA plug carried into the other models by maps fitted on text alone, and a protein encoder in the same sockets.

  22. LimitsUnder construction

    My studies

    The path closes where the study’s evidence ends: what the results do not show, and the experiments that would test more than the gene’s identity.

At the end of the path

At the end of the path you can explain the study from the bottom up: why a frozen model can answer questions about a gene it sees only as DNA, why what reaches it is the gene’s identity rather than new biology, and why that makes the socket a baseline that trained systems must beat rather than a finished system. The last step’s open questions are where the research goes next: tasks where identity is not enough, stronger retrieval baselines, and the puzzle of why models stop reading what is written into them after an early band of their layers.

Now see the researchDNA-Socket on sci.fatehi.dev

What you mark as read is kept in this browser only, never sent.