Verba/Rapida

Explainers

Architecture surgery

Some parts of a trained model are more expensive than they need to be. Surgery swaps them for cheaper ones, which hurts quality at first. Then a healing step teaches the operated model to behave like the original again, by distillation.

EXArchitecture surgeryillustrative

Operate on the student, then heal it. All numbers are illustrative.

Original student
student, 42 layers (the 7 marked ones look at everything)teacher: the original modelquality100memory100

The picture and its numbers are illustrative.

The takeaway

The loop is operate, then heal: change the structure, then use the original as a teacher until the quality comes back. Nobody has shown it on Gemma's mix of layers yet, which is why the lab lists it as an open experiment.

What the lab knows

Papers on replacing global-attention layers with sliding-window ones and healing by distillation exist; none is reported for Gemma 4 (the E4B idea swaps 7 of 42 layers). reported

See it in the atlas

Want to see what these experiments produced? Lesto, the Gemma 4 inference engine for Apple silicon Macs, is on lestoengine.com

Made by Federico Andrioli, @fedeandri on X A research lab's own measurements, generated from its files. Data built