A solution to AlphaGenome 2's indel offset:
ranking SNVs and indels together

Aleksandar Stalevski · aleksandar.stalevski1@gmail.com · 3 December 2026 · PDF

TL;DR: DeepMind's DNA model AlphaGenome 2 can score a harmless insertion or deletion as highly as a real disease variant, and the score changes with where the model's reading window starts. My method, scoring each variant 16 times with the window shifted and averaging the results, removes that for gene-activity scores on every test I ran, and allows insertions and deletions to be ranked together with single-letter changes. The AlphaGenome 2 paper published by Google DeepMind tests single-letter changes only, without giving a reason or listing this among the models’ limits.

Google DeepMind's current fix, stitching, leaves this error on gene-activity scores, and they have to resort to scoring insertions and deletions separately. Benchmarks with my method in place rank better than using Google DeepMind’s method, and rank SNVs, deletions and insertions together as well as remove the offset associated with insertions or deletions.

Limitation: 16 calls instead of one.

Why it happens - AlphaGenome reads about a million DNA bases at once and internally groups them into bins of up to 128 bases counted from the start of that window, so inserting or deleting even one base pushes every later base into a different bin and the same DNA gets read slightly differently.

Korsakova, Srivastava and Kelley published it in April 2025 for a sister model, with two remedies called "stitch" and "average", and DeepMind built the stitch into its service, which runs the changed DNA twice, lined up once on each side of the change, and joins the good halves.

What DeepMind's fix leaves - The stitch repairs what the model reads at the place of the change. But how active a gene is depends on regulatory elements (enhancers) up to hundreds of thousands of bases away, on both sides of the change, and in each of the stitch's two runs one side is still cut into blocks differently. A gene's score is taken from one run, so it carries that side's misreading in full. I measured it and even with the stitching in effect, a harmless one-base deletion still lands up to 0.24 from zero, and the number depends only on where the window starts.

The key observation - The error is not random noise. The model's reading of the unchanged DNA already depends on where the window starts: for the gene HK1 the predicted level runs from 1.87 to 2.36 as the window slides through 128 positions, and once it has slid exactly 128 bases the answer is the same again. A deletion's false score is a step of the same kind: the DNA on one side of the deletion is read one position out of step. This let me calculate other scores in advance, with nothing fitted: an insertion's score is minus the matching deletion's one position on, and a two-base deletion is the sum of two single-base ones. The calculated and measured scores agree with a correlation of 0.997.

Why averaging works - Steps around a closed loop add up to zero. Slide the window through the whole cycle of 128 positions and the false scores cancel: for a harmless deletion the mean is -0.003 at HK1 and 0.000 at BCL11A. A real effect has the same sign at every position, so it stays: one proven variant reads between +0.06 and +0.13 on single windows and +0.09 on the mean.

The method: 16 calls not 128 - I center the window on the variant and then slide it 49 bases at a time around the cycle: positions 0, 49, 98, 19, 68 and so on. The step is odd, so 16 placements cut the small bins of 2, 4, 8 and 16 base pairs in every possible way exactly once, which is where most of the error lives. Forty-nine comes from the golden ratio (128 / 1.618 is about 79, and 128 - 79 = 49); such a step keeps spreading new placements over the rest of the cycle, so the first 8 are part of the first 16, and those of the first 32. On eight variants for which I hold all 128 positions, 16 such placements land within 0.016 of the full-cycle mean from any starting point. Sixteen positions in a row are six times worse, and 16 evenly spaced ones are hardly better than a single call. A single-nucleotide variant has no offset, but its score wobbles with the window too (one known variant reads +0.14 to +0.26), so it’s computed with 8 placements.

Fig. 1 | Why a harmless insertion or deletion gets a score, and why averaging removes it. a, The model groups bases into bins that are counted from the start of its window (bins of four are drawn; the largest hold 128 bases). Deleting one base moves every later base to a different place in its bin. b, Predicted level of HK1 for unchanged DNA as the start of the window moves one base at a time. It runs from 1.87 to 2.36 and repeats every 128 bases. c, Scores calculated in advance from single-base deletions, against the scores measured (r = 0.997). d, Scores at each of the 128 window starts. A harmless single-base deletion ranges from −0.15 to +0.24 and averages −0.003; a known disease variant keeps its effect (mean +0.186).
Fig. 2 | The method: 16 window positions instead of 128. a, The window is centred on the variant and then moved 49 bases at a time around the cycle of 128. The first four positions are labelled. b, Largest distance between the mean over a given number of positions and the mean over all 128, from any starting position, for the eight variants measured at all 128 positions. Sixteen positions keep insertions and deletions within the tolerance of 0.02 (0.016); eight are enough for single-nucleotide variants (0.009).

A November 2026 preprint (ShiftCache; Barazandeh, Banka and Lugo-Martinez) proves the 128-base cycle for this kind of model. The 2025 paper's own "average" takes two readings on one window, which in my data still leaves a harmless deletion up to 0.14 from zero. What I have not found published is averaging over the whole cycle as the remedy, or the measurement that the stitch leaves this error on a gene's score. DeepMind's service returns one reading per variant, and its documentation (389 pages) neither says that a score depends on where the window starts nor suggests averaging.

Findings / benchmarks –

Fig. 3 | DeepMind's HK1 example with the insertions and deletions included. a, b, Predicted change in HK1 expression for 80 common single-nucleotide variants, 27 common insertions and deletions and 11 disease variants, scored with one call (a) or as the mean of 16 shifted windows (b). c, The first 40 places when all 118 variants are ranked by the size of their score. With one call, harmless insertions and deletions rank among the disease variants; with the mean of 16, none ranks above a disease variant.
Fig. 4 | Three further tests. a, BCL11A: size of the score for 172 common insertions and deletions. Blue lines mark the regulatory variant rs1427407; the shaded band is within 0.02 of zero. b, Fine-mapped eQTLs: how well the score separates 95 likely causal insertions and deletions from matched controls (area under the curve; lines show the range over 2,000 resamples). c, LDLR promoter: spread of the score among variants with no measured effect. Open symbols, one call; filled symbols, mean of 16.

How this compares with DeepMind's benchmarks - The AlphaGenome 2 paper's tests use single-nucleotide variants only. The paper (posted 17 Nov, 2026) mentions nothing about the limitation and gives no warning. Since two days ago (1st Dec, 2026) its documentation says to judge insertions and deletions on a separate scale. I noticed the issue on 29 November and flagged it to Google DeepMind through a form on 30 November, one day before that warning was published; I do not know whether the two are connected. My tests cover the kind of variant the paper leaves out, and they show that the two kinds can share one ranking once my method of averaging is used leading to far better results.

I will share data upon request and will gladly participate in further discussions on the topic. I am a final-year high school student passionate about biological sciences and am currently applying to university. Email me at aleksandar.stalevski1@gmail.com!

My GitHub is currently empty as all of my projects about rare disease research are private, upon the completion of this current project it will be public at github.com/AleksandarStalevski, along with another related project I made while at Carnegie Mellon University's Pre-College Program in Computational Biology and a couple others when I finish refining and updating them.

By using this information, you agree to AlphaGenome Output Terms of Use found at https://deepmind.google.com/science/alphagenome/output-terms. The averages are my own modification of the service's outputs.