Latent cartography · Krea 2, then three more models · November 2026
A hair slider found inside Krea 2
Nothing was trained. We measured how Krea 2 represents dark brown versus blonde hair, computed a one-direction change to a single layer of its weights, and saved it as an ordinary LoRA. The LoRA's strength is the slider. Later in November the recipe became three ComfyUI nodes and ran on MiniMax H3, Qwen Image 2.1 and MOSS Image.
Updated 29 November with four blocks for a beard, the ComfyUI nodes and three more models.
Where this came from. It grew out of latent cartography, an idea from ComfyUI-ShaderNoiseKSampler: map how controls move a picture, so generation can be steered with intent rather than by hopping between random seeds. The shader-noise work maps the input, the starting noise. This maps the inside of the model: where a concept such as hair colour lives, by block and by denoising step, and how to push it. Along the way it borrowed a question from Sparks of Weight-Space Programming (Takehi et al., 2026): can a model be edited from inside its weights? The method that came out of it is different. No language model reads or writes weights here; each slider is a fixed calculation from the model's own activations.
Research, not a replacement for training. In the two training runs tried here, training did no better (see four blocks for a beard), but those were short runs on one concept. Well-trained slider LoRAs, built from more data over longer runs, look stronger and cleaner in use, most of all on shape, and they were not benchmarked here. Where computed sliders hold up is colour, light and material, built in minutes. Code, sliders and example workflows: ComfyUI-ComputedSliders The sliders are also on Hugging Face.
−2
−1
0 · as prompted
+1
+2
+3
One prompt and one seed, held out from everything used to build the edit. The prompt asks for a woman with blonde hair; only the LoRA strength changes from frame to frame.
The short version
- The edit is two vectors written into one layer of a 12.8-billion-parameter image model: the MLP output projection of block 21 of 28. The file is 90 KB.
- It moves hair from dark to platinum on prompts it never saw, including prompts that never mention hair. Person and scene hold up to about +2.
- It was found from the model's activations, with the weights used to place and check it. The weights alone did not point to it.
- Building one costs 20 to 25 minutes on a 12 GB RTX 4070 with Krea 2: renders, recordings and two linear solves. No gradient descent.
- The same recipe, unchanged, then built 8 more sliders: 5 pass, 2 partial and 1 fail on held-out prompts.
- Three style sliders (disposable flash, oil pastel, ukiyo-e) move pictures toward a style's look but not its medium. Mixing them showed that, inside the model, oil pastel and ukiyo-e share most of one direction.
- One block could not draw a beard. Spread over four blocks, the same recipe drew one on 6 of 8 faces.
- The recipe now runs as three ComfyUI nodes. On three more models the hair slider passes on MiniMax H3 and Qwen Image 2.1 and partly works on MOSS Image. Qwen Image 2.1 is the first model where a beard slider grows real beards.
Use it in ComfyUI
Any LoRA loader → the slider's .safetensors · strength −2 … +3
Build one: Slider Prompt Pairs → render and SAM3 → Record Slider Activations → Build Slider LoRA
Inside a Krea 2 block
At 1024×1024 Krea 2 cuts the picture into 64×64 = 4096 patches of 16×16 pixels, called tokens. The prompt adds its own tokens in front. Each token is a list of 6144 numbers, the residual stream, and it passes through 28 blocks. Every block adds two updates to it: attention, where tokens read each other and the prompt, then an MLP that works on each token separately.
The MLP expands each token to 16384 hidden units, then mlp.down projects back to 6144. You can read mlp.down as 16384 key and value memories: each hidden unit fires on some pattern and writes its own column into the stream. The edit adds one more memory.
Block 21 of 28, with the edit in blue. The added path reads the same hidden units down reads, asks one question of them (u), and when the answer is yes, adds one direction (v) to the block's output. Because it sits before the post-gate, it is scaled exactly like the layer's own output.
What the edit does to each token
As a weight change the edit is ΔW = v·uᵀ, stored as a LoRA with lora_up = v (6144×1) and lora_down = uᵀ (1×16384). For any token with hidden units h, the layer's output gains strength × (u·h) × v. So u decides how much each token is pushed, and v decides which way.
Average detector scores at block 21 on four scene templates kept out of the fit. Arrow lengths are drawn to the same scale. A LoRA on this layer also touches the prompt's tokens, so text tokens were included as negatives when u was fitted.
How it was found
Seven steps, in order
- Render contrast pairs. 24 scene templates, each rendered twice on the same seed: once with "dark brown hair", once with "blonde hair". The same seed keeps the layout aligned, so patch 2000 is roughly the same place in both pictures. Many different scenes average out everything that is not hair.
- Mask the hair. SAM3, prompted with the word "hair", marks which of the 4096 tokens are hair in every picture.
One training pair with its hair (magenta) and face (green) masks. Swapping one word in the prompt also changed the face, eyes and skin. The edit is computed from hair tokens only, which is how it avoids most of that.
- Record the activations. Hooks on all 28 blocks store the average residual stream over hair tokens and over the other image tokens, at each of the 8 sampling steps, for all 48 pictures.
- Find where the difference lives. For every block and step, compare each pair's brown-to-blonde difference with the average difference. If the pairs agree, the direction is real at that point in the model. That comparison is the map below.
agreement between pairs (mean cosine)0.10.30.50.70.9
Where hair lightness is represented, by depth (blocks) and time (denoising steps), over 23 pairs with hair visible in both pictures. Early blocks only agree once the latent has already started turning blonde, so they read colour that is already drawn. From block 10 on, the pairs agree from step 0, before any pixel differs, which looks like the model deciding the colour. The three marked blocks were tried as edit sites.
Show the map as a table
- Compute v and u. v is the average hair-token difference at the chosen block, divided by that block's post-gate and fitted by least squares over the steps, so that strength 1 writes the whole brown-to-blonde change. u is a ridge regression from the 16384 hidden units to "is this token hair", with text tokens as negatives. Fitted on 20 templates, it scored 87–91% on the other 4.
- Read the weights. Check whether the layer's own structure would have pointed at v. It would not have; see below.
- Test on new prompts. Six prompts and seeds never used above, strengths −2 to +3, measured with SAM3 masks in CIELAB lightness (L*). Two controls: a random direction of the same size, and the same direction without the hair detector.
Did it work?
Yes. Averaged over the six held-out prompts, hair gets lighter or darker smoothly with strength, while the rest of the picture changes much less than under either control.
slider (block 21)
random direction, same hair detector
same direction, no hair detector
typing "blonde" instead (+31 hair, 16.6 outside)
Hair lightness change, ΔL*
Change outside the hair, ΔE
Both measured against the same prompt and seed at strength 0, averaged over six held-out prompts. ΔE outside the hair is the pixel change beyond a widened hair mask, so it counts recomposition as well as colour spill. The reference line is the result of replacing "dark brown" with "blonde" in the three prompts that mention dark brown hair.
Show the numbers
A held-out prompt that never mentions hair: "A smiling man in a blue shirt at a picnic in a park". The slider moves hair and beard from black to platinum and keeps the man. The random direction rewrites the person and the scene. Without the detector, the same direction becomes an exposure change for the whole picture.
Against typing the word
On the three prompts that mention dark brown hair, replacing it with "blonde" lightened hair by +31 on average and changed the rest of the picture by 16.6. The slider at +2 lightened hair by +34 and changed the rest by 9.1, and kept the same person.
prompt: dark brown hair
prompt: blonde hair
prompt: dark brown · slider +2
The word changes who is in the picture. The slider changes the hair.
Where in the model matters
The same recipe at earlier blocks also moves hair, but it pulls more of the picture with it. At +3, block 5 turns the man into an older grey-haired one; block 21 keeps him.
0 · no edit
block 5 · +3
block 13 · +3
block 21 · +3
Eight more sliders, same recipe
To check that hair was not a lucky case, the identical recipe was run on eight more concepts: block 21, the same detector fit, the same strengths and the same controls, with no per-concept tuning. Each slider was graded on six held-out prompts by two rules fixed before the eight ran:
- Monotone. The change toward b rises with strength (Spearman ρ ≥ 0.9 over −2 to +3) on at least 5 of the 6 prompts.
- A direction, not damage. The slider's −2→+2 effect is at least twice a random direction's, and the slider spills less than the random direction at +2.
Pass means both rules hold; partial means one does. The rule as first written compared only the +2 side with the random control. That graded the original hair slider as partial, because the random direction's damage happened to lighten hair at both −2 and +2. It was corrected before the eight new concepts ran, and the table shows both verdicts.
Change is measured inside the SAM3 mask for each concept, along the colour direction from a to b measured on the training pairs. Skin uses the change in fine texture, and beard the share of the picture SAM marks as beard. Spill is the colour change outside the widened mask; for the whole-picture grade it is structural change (1 − SSIM). The last column compares the slider at +2 with replacing a by b in the prompts that name a.
Red hair
passdark brown hair → bright copper-red hair“A woman in a green dress walking through a flower market”. Monotone on 6/6 prompts; −2→+2 effect +45.1 against -16.4 for a random direction. LoRA: weightspace/hair_red_cond_b21.safetensors
Clothing colour
partialnavy blue → bright red“A woman walking through a busy city square at noon”. Monotone on 3/6 prompts; −2→+2 effect +41.5 against +2.7 for a random direction. LoRA: weightspace/clothing_cond_b21.safetensors
Overcast sky
passa clear blue sky → a heavy grey overcast sky“A seaside promenade with people walking”. Monotone on 6/6 prompts; −2→+2 effect +51.3 against +1.5 for a random direction. LoRA: weightspace/sky_cond_b21.safetensors
Autumn foliage
passlush green summer trees → orange and red autumn trees“A family walking a dog in a city park”. Monotone on 5/6 prompts; −2→+2 effect +19.3 against -1.5 for a random direction. LoRA: weightspace/foliage_cond_b21.safetensors
Warm colour grade
passcool blue color grading → warm golden color grading“A woman tending flowers in a greenhouse”. Monotone on 6/6 prompts; −2→+2 effect +80.4 against +2.7 for a random direction. LoRA: weightspace/grade_cond_b21.safetensors
Wet street
passdry → wet, rain-soaked“A city street with cafes and parked cars”. Monotone on 6/6 prompts; −2→+2 effect +40.2 against -6.1 for a random direction. LoRA: weightspace/street_cond_b21.safetensors
Skin texture
partialairbrushed, flawless smooth skin → natural skin texture with visible pores“A close-up portrait of a smiling woman in a garden”. Monotone on 6/6 prompts; −2→+2 effect +29.5 against -30.4 for a random direction. LoRA: weightspace/skin_cond_b21.safetensors
Beard
failclean-shaven → full-bearded“A man wearing a cap at a baseball game”. Monotone on 3/6 prompts; −2→+2 effect +0.7 against +0.9 for a random direction. LoRA: weightspace/beard_cond_b21.safetensors
Each strip shows the first held-out prompt that does not mention the attribute, a rule fixed before the results came in.
All nine on one picture
Every slider on the same prompt, seed and settings, from −2 to +3. Under each tile: the colour change of the whole picture against the unedited render (mean ΔE), then its structural change (1 − SSIM, from 0 for the same shapes to about 0.6 for a largely redrawn picture).
“A clean-shaven man in his 30s with short dark brown hair, wearing a navy blue jacket, standing on a quiet city street lined with green summer trees under a clear blue sky, waist-up photo, natural daylight”, seed 777. How cleanly a slider behaves depends on the picture: hair lightness re-framed this shot, which it did not do on the held-out prompts; skin texture barely shows at waist-up distance; the sky changes colour with almost no structural change.
Styles
Three styles, each measured from the model's default look: the same prompt with and without the style words, on 24 shared scenes. The edit was written four ways: the same recipe at block 21, at block 13, at block 5, and spread over blocks 5, 9, 13, 17 and 21 with each block carrying a fifth of its own difference.
Colour measures cannot tell an oil pastel from a film photo, so Krea 2 itself was used as the meter. Each finished picture is fed back through the model once, and its activations at block 21 are projected on the style's direction; 100 means as far as typing the style moved the training pictures. The meter has a weakness: a randomly damaged picture also reads as painterly, up to +92 "pastel". Read the numbers with the pictures.
block 21 (same recipe)
block 13
block 5
blocks 5–21, spread
style typed into the prompt
Disposable flash
Oil pastel
Ukiyo-e print
How far Krea 2 reads the held-out pictures as each style, by strength, averaged over six prompts. Exact values are in the tooltips and the table above.
“A cat sitting on a kitchen counter next to a bowl of lemons”, with the default render in the 0 column. Under each tile: the meter reading, then 1 − SSIM.
- Flash moves toward flash photography: a darker background, flatter frontal light, a cleaner face. It also shaves men, because the typed flash portraits happened to be clean-shaven.
- Oil pastel and ukiyo-e both turn the picture into a light, flat illustration, much the same for either. Earlier blocks get further, block 5 most, with the most structural change. None reaches the medium the typed prompt gives: strokes, or outlines with flat perspective and a title box.
Mixing styles
How much the three directions overlap explains what the sliders do. Oil pastel and ukiyo-e share most of their direction at every depth. Flash shares little with either, and in the meter it points slightly away from both, toward "more photographic".
Cosine similarity: 1 means the same direction, 0 unrelated, negative opposed.
So inside Krea 2, most of "oil pastel" and "ukiyo-e" is one photo-to-illustration axis, with a smaller part specific to each medium. Mixing follows from that. Pastel and ukiyo-e reinforce each other, and pastel 2 with ukiyo-e 2 gave the most stylised pictures of the whole run, while flash cancels part of the painterly push.
The spread (blocks 5–21) versions stacked with LoraLoaderModelOnly at the strengths shown. Under each tile: how far the model reads the picture as F (flash), P (pastel) and U (ukiyo-e).
What the weights say on their own
Weight-space programming asks whether a model can be edited by reading its weights. Here the weights were used to place and check the edit, and on their own they would not have found it:
- v lies less in the layer's main output directions than a random vector does: 0.06% of it sits in the top 16 singular directions of
mlp.down at block 21, against 0.25% for a random vector.
- The output columns of the strongest "hair" hidden units have a cosine of about zero with v, the same as random columns.
- The detector u is spread across many hidden units (participation ratio about 0.6). There is no small set of hair neurons to find.
- 81% of v sits in 8 of the 6144 channels, the same 8 at every depth. These are the model's "massive activation" channels, where the MLP's post-gate is about 0.01 instead of 0.3–0.8.
The weights were still needed. They come int8-quantized with a rotation, so they were read through ComfyUI's own dequantizer (1% forward error). That check showed ComfyUI's re-rounding of a patched int8 weight leaves this edit intact: the stock LoRA path matched a float32 version within 0.25 L*.
Four blocks for a beard
Added 8 November
The beard slider failed at block 21: it darkened and roughened the skin and drew stubble at most. Writing the change across blocks 9, 13, 17 and 21 fixed that. Block 9 writes the clean-shaven to bearded change up to itself, and each later block adds only what changed since the one before.
- Beards on 6 of 8 faces at +3, on the held-out prompts that start clean-shaven, against 2 of 8 for block 21 alone. They were counted by eye: at these face sizes SAM's beard area barely registers even a typed "full-bearded" (+0.9 points), so the beard still fails the measured rule.
- The push has to come early. 90% of the difference has already formed by block 9, so block 9 writes nearly all of it. A late block alone can recolour what is there but cannot draw a new shape.
- The face ages and darkens at +3, and −2 makes it younger and smoother.
- Hair does not need it. Over four blocks the hair slider moves 21% further, but it spills more than the random control and changes clothes on some prompts, so block 21 stays the hair slider.
- Training did no better. Concept-slider training started from the four-block edit took 49 minutes and matched it on beard. ComfyUI's stock LoRA trainer on the image pairs took 58 minutes and failed on both: it darkened and recomposed the pictures, with no blonde hair and no beards. Both were short runs; see the note at the top about well-trained sliders.
“A clean-shaven man smiling in a garden”, held out, with the same seed in every frame.
Three ComfyUI nodes
Added 24 November
The scripts behind this page became a small node pack, comfyui-computed-sliders, so a slider can be built in an ordinary workflow:
- Slider Prompt Pairs takes templates with an
{x} slot, one per line, and the two words, and gives the A and B prompt lists with one seed per template.
- Record Slider Activations renders each pair again exactly as it was rendered and records the masked tokens on the way. SAM3 makes the masks from the first renders. If the second render differs from the first, it stops with an error, which means the seed, cfg, sampler or sigmas differ.
- Build Slider LoRA fits u and v from all the pairs in seconds. It gives an ordinary LoRA for the stock Load LoRA Model and Save LoRA Weights nodes, a short report, and the agreement map by block and step shown above.
The records stay in ComfyUI's cache, so changing a fit setting refits without rendering again. Checked against the scripts, the nodes rendered the training pairs pixel for pixel and wrote the same direction (cosine 0.993 or higher). The pack has example workflows that build the hair slider on Krea 2, MiniMax H3 and Qwen Image 2.1.
Three more models
Added 25 and 26 November
The nodes then ran on MiniMax H3, Qwen Image 2.1 and MOSS Image with the recipe unchanged: 24 prompt pairs per concept, SAM3 masks, the two rules above on held-out prompts, and a random direction of the same size as the control. Only the block was picked per model, with the same hair test. Each model lays out its MLP differently, so the nodes carry a short table of where each one keeps its gate, its hidden units and its output layer.
Verdicts on held-out stills under the two rules above, each against its slider's own random control. Beard and grade ran on Qwen Image 2.1 with the turbo LoRA only, because its hair slider passed and the 25-step one did not.
“A portrait photograph of a woman with dark brown hair standing in front of a brick wall, overcast light”, held out, with the same seed on every model. Each model draws its own woman, and 0 is its unedited render. On MOSS her hair is blonde by +1 and her face pales with it.
Where the slider goes
Each model's block came from the same test: hair at ±2 on two held-out prompts for five blocks spread through the model, scored as hair change ÷ spill. The best place differs. Qwen Image 2.1 is cleanest early, about a third of the way in, and gets worse with depth. MiniMax H3 and MOSS Image are best near the end, at 88%, and H3 is poor in the middle. Krea 2's block 21 sits at 75%; of the blocks tried there (5, 13 and 21), the latest was the cleanest.
MiniMax H3
Qwen Image 2.1, turbo LoRA
Qwen Image 2.1, 25 steps
MOSS Image
Hair change ÷ spill, by depth
The large dot is the block each model uses. The blocks tested sit at the same depths in every model: 10, 15, 19, 24 and 28 of Qwen's 32, 13 to 37 of MOSS's 42, and 16 to 44 of H3's 50.
Show the numbers
What carried over
- Hair works on all four. Where it falls short, other things move with it: a glow, clothes, skin tone.
- Hair lightens faces everywhere. At +2 face lightness rises by +5 to +12 L* on Krea 2, +15 on Qwen Image 2.1, +18 on H3 and +30 on MOSS. On the new models, typing "blonde" lightens faces less (+3 to +11), and on MOSS not at all.
- Shapes need the early push. One block never drew a beard. Four blocks drew one on Krea 2 and on Qwen Image 2.1, mostly more hair on H3, and nothing usable on MOSS.
- The newer models take a colour grade harder. Krea 2 reaches the training pairs' whole cool-to-warm change at about ±2 and still holds the picture. H3 reaches it at ±1 and MOSS at ±0.5, and Qwen Image 2.1 floods the frame from ±2. Past that point the frame turns into a flat wash.
- Merging into int8 weights is safe. The stock loaders merge a LoRA into int8 weights and re-round them stochastically. On every model that moved the hair as far as bypass mode did, with pictures 0.4/255 to 6/255 apart.
“A clean-shaven man smiling in a garden”, held out, with the same seed on every model. Qwen Image 2.1 grows a short beard at +1 and a full one at +2, and Krea 2 needs about +3. H3 and MOSS mostly darken and roughen the skin.
“A bowl of fruit on a wooden kitchen table”, held out. Krea 2 was not rendered at ±0.5. On MOSS, ±0.25 (not shown) is a clean cool or warm grade, with about the structural change of typing the words.
Notes per model
MiniMax H3
Block 44 of 50 · video with sound
- Build from clips for video. Built from stills, the hair slider hazes clips and changes the sound: a still has only a few audio tokens, so the detector never learns to leave sound alone. Built from 124-frame clips, it works on both and changes the sound a third as much.
- The grade gives the whole change at strength 1. Use it at about ±0.5.
- A clip pair holds about 1.8 GB of frames and masks, so 24 clip pairs in one queue would need about 43 GB of RAM.
Qwen Image 2.1
Block 10 of 32 · build with the turbo LoRA
- With the official turbo LoRA at 8 steps a picture takes 3.7 s, against 11.2 s at 25 steps, with similar quality. Its hair slider passes; the 25-step one moves hair as far but spills more. Each works on the other setting.
- The best block is the shallowest of the four models: block 10 with the turbo LoRA, block 15 at 25 steps.
- The first model where a beard slider grows real beards, from +1.
MOSS Image
Block 37 of 42 · strong, and the person moves
- The hair is blonde by +1, but face lightness moves by about 20 L* at ±1, where typing "blonde" leaves it alone. On the picnic prompt the man changes ethnicity along the strip.
- The beard slider changes the whole face and cracks the skin from +2; the beard barely moves.
- The grade is the strongest of the four: ±0.25 is a clean grade, ±0.5 the whole change, and from ±1 the frame floods.
All at cfg 1 on an RTX 4070 (12 GB) with 31 GB of RAM. Records are the activations kept in RAM for refitting, per edit block for 24 pairs.
Limits
- It is a lightness axis, not a colour axis. Darkening stops at about −13 L* (black). High strengths drift toward platinum and grey.
- Skin follows hair. On Krea 2 faces lighten by +2 to +5 L* at +1 and +5 to +12 at +2, and by more on the other models. Typing "blonde" moves faces too, so the link is in the model; on MOSS only the slider moves them.
- The massive channels are not the cause. Refitting v without them needs 15 times the strength for the same hair change and spills more per unit of change.
- Narrow testing. One checkpoint per model, one or two sampler settings each, cfg 1, and six held-out prompts per concept with one or two seeds each.
- Four models. The nodes know where Krea 2, MiniMax H3, Qwen Image 2.1 and MOSS Image keep their MLP gate and hidden units. They record renders that start from an empty latent (text to image, and text to video on H3), with samplers that evaluate each step once, such as euler and er_sde.
What else could be a slider
What made hair lightness work says what else will. A word swap flips it without moving the layout. SAM can mask where it lives, or it covers the whole picture. It is appearance (colour, material, texture, light) rather than geometry. And the model already knows it well. Eight of these predictions have now been tested with the same recipe; their verdicts are marked below.
Styles, objects and camera angles
Predictions from how this edit works, since tested: a whole-picture colour grade passed, a beard failed at one block and worked over four, and three styles (above) moved the look but not the medium.
Style
Tested: the look, not the drawing
Tested with a disposable-flash camera look, oil pastel and ukiyo-e (see Styles above). Each moved pictures toward its look: flash light, or a light, flat illustrated finish. None redrew the picture in the actual medium: no pastel strokes, no woodblock outlines. Writing the edit at earlier blocks got further, at the cost of more structural change, which fits the prediction that redrawing shapes needs more than one push per token.
Objects
Depends on whether the object is already there
- Change an object that is present (its colour, material, wear): good. Mask it with SAM, exactly like hair.
- Add something to a known place (a beard on faces): at one block it failed. With the face as the detector, the push mostly darkened and roughened the skin and drew stubble at most. Spread over four blocks it drew beards on Krea 2 and Qwen Image 2.1, with darker, older-looking skin. New shapes need the early push.
- Add a free-standing object ("put a dog in it"): poor. Where it goes is a layout decision, and no token is the dog yet.
- Swap one object for another everywhere: a rule edit, below.
Camera angle
Not with this method
The method assumes token 2000 is the same place in both pictures of a pair. "Low angle" against "eye level" on the same seed gives two different layouts, so token-by-token differences stop meaning anything. Angle is also settled in the first step or two, as composition. Better routes are the text conditioning, or the noise: the shader-noise experiments in this project found the large scales of the starting noise set the layout.
One-off edits instead of sliders
A switch
Any slider at a fixed strength, or merged into the checkpoint permanently. Nothing new is needed.
A rule
"Whenever X, draw Y": every rose blue, every car from the 1960s, a default hair colour when the prompt says nothing. This is the original use of key and value edits (ROME, TIME). The hair slider is already a rule with a dial. For what a word means, Krea 2's text path (txtfusion, txtmlp) is the natural place to edit, and in this checkpoint it is stored unquantized.
One specific subject
A particular face or product the model has never seen cannot be computed this way. Contrasts can only strengthen or redirect what the model already knows, the same limit the weight-space programming authors hit on Gemma. That needs training, or reference images, which Krea 2 accepts as extra latents.
Back to latent cartography
This work started in ComfyUI-ShaderNoiseKSampler, whose roadmap calls for latent cartography: a map of how settings move a picture. The shader work maps the input: which starting noise lands which picture. This maps the model's interior. The block-by-step chart above is a map of that kind: concept by depth by denoising time, showing where hair lightness is represented and when it shifts from read to decided.
- A visual intent engine. "Enhance fabric texture" becomes a contrast pair, and the pair becomes a slider. A library of these is that engine.
- Naming what noise does. The same recording run on shader-noise renders could show which internal directions each noise type pushes, turning pixel distances into named features.
- Two kinds of control. Noise picks which picture the model draws among those it might. A weight edit changes what it draws, for any noise and any prompt.
Prior work
Every ingredient here is published. A few searches did not turn up this exact combination: a closed-form, per-token-gated rank-1 edit to a diffusion transformer's MLP, shipped as a standard LoRA. That makes it "not obviously done", not "new".
- Sparks of Weight-Space ProgrammingTakehi et al., 2026. A language model reads and writes network weights directly. It raised the question this project took up on the weight side; the method here uses no language model, and the weights alone did not point to the edit (see What the weights say on their own).
- Concept SlidersGandikota et al., ECCV 2024. The same product, LoRA sliders built from prompt pairs, but trained with gradient descent.
- ROMEMeng et al., 2022. Closed-form rank-1 key and value edits to a language model's MLP. The shape of this edit.
- Feed-forward layers are key-value memoriesGeva et al., 2021. Why
mlp.down can be read as a set of memories.
- TIME and UCEOrgad et al., 2023; Gandikota et al., WACV 2024. Closed-form edits to Stable Diffusion's cross-attention. Krea 2 is single-stream and has no cross-attention to edit.
- weights2weightsDravid et al., NeurIPS 2024. Linear directions in the weight space of 60,000 fine-tuned models.
- Steer2Edit2026. Turns a steering vector into a rank-1 weight edit gated on relevant inputs. The closest recipe, for language models.
- SHIFT2026. Steers FLUX-style transformers with linear classifiers that decide where to push. The closest diffusion work, applied at inference rather than written into weights.
- Massive ActivationsSun et al., 2024. The handful of huge residual channels where most of v turned out to live.