rapp_dore (@rapp_dore_) header
rapp_dore (@rapp_dore_) profile picture

AI, Acceleration, Aliens. I run experiments with image and language models and dig into the occasional UFO case file. I post what I find.

Joined October 2022
Photo by rapp_dore (@rapp_dore_)Photo by rapp_dore (@rapp_dore_)Photo by rapp_dore (@rapp_dore_)Photo by rapp_dore (@rapp_dore_)Photo by rapp_dore (@rapp_dore_)Photo by rapp_dore (@rapp_dore_)Photo by rapp_dore (@rapp_dore_)Photo by rapp_dore (@rapp_dore_)Photo by rapp_dore (@rapp_dore_)Photo by rapp_dore (@rapp_dore_)
MiniMax H3 follows prompts brilliantly. But its taste is… fine. It gives you exactly what you asked for, and nothing more. Can you teach an image model taste? Mostly, yes. Same prompt, same seed: H3 alone vs H3 + a small LoRA. None of these prompts were in training. 🧵
1
243
Ming-Image-0.2-Design is an excellent model for infographics. I ran the same prompt and seed through three models: H3 base, H3 + taste LoRA, and Ming. Ming lays the page out like a designer would, with numbered steps, a picture card for each step and connectors between them. Every word is spelled right, down to the small caption, and it picks up small details from the prompt, like the sun over the drying beds. It's open weights (MIT), and right now it's the top open model on the Artificial Analysis text-to-image leaderboard. @AntLingAGI
2
86
All three ran on a Mac Studio (M3 Ultra, 512 GB) with PyTorch on Metal. Ming ran on inclusionAI's reference code, unmodified. Pointing it at the Mac's GPU was enough. Wall clock per image, including loading the weights: H3 base: 75 s (6 steps) H3 + taste LoRA: 75 s (6 steps) Ming: 206 s (12 steps) Ming's diffusion transformer has 6.2B parameters, a fifth of H3's 33B, yet each of its steps took about 14 s against H3's 8.4 s.
1
28
Those Ming times should come down. This was the reference code, written for CUDA GPUs, running on the Mac with no Metal-specific work at all. A transformer five times smaller taking longer per step suggests the gap is in the inference code, not the model. Optimising the inference code for Metal is the obvious next step.
11
Inkling 2 Mini exquisite looping. 24 total layers. Each token goes through 48. Follow the blue arrows. The middle 12 layers run three times, and each pass starts from the same prelude output. What carries over between passes are learned messages that feed into every layer of the next pass. pass 3 feeds the output block.
32
Shouldn't we call it Riemann's Theorem now?
23
Ok, now i am getting really pissed with Claude sabotaging my work!
32
The evolution of position in LLM attention Standard RoPE rotates every query and key dimension, Gemma 4 31B rotates just a quarter in its global layers, and Inkling 2 Mini replaces rotation with a learned distance bias that drops to zero at 1,024 tokens back. With standard RoPE, moving the same key from 1,500 to 2,000 tokens back can change its attention score. Distance changes the angle between query and key. Gemma 4 31B gives a different answer depending on the layer. Its local attention layers use full RoPE. Its global layers rotate just a quarter of each query and key. Inkling 2 Mini skips the rotation entirely. Each head uses the current token to mix 16 learned curves that say how much to favor different distances. At 1,024 tokens back, every one of those curves ends. What happens on the far side of that cutoff? We ran a probe. The two maps show the same 24 heads in Inkling’s first global layer. On the left, the learned distance bias goes to zero at the orange line. On the right, 59% of the attention lands past that line. That’s across three documents of about 2,600 tokens each (hence small sample, representative numbers). Around 56% of the available tokens were in that region, so 59% is close to what an even spread would give. What surprised me was seeing the distance bias end at one exact token offset while attention spread right across it.
1
7
212
Yesterday I asked what breaks first when you loop the middle layers of an LLM never trained to loop. Tested on Qwen3-0.6B: the layers after the loop. Full strength ×4: MMLU 52.5 -> 43.7. Damped loops: no collapse, and no gain. What I did today: • Built a looped forward pass for HF models. With the loop off it's exact vs the stock model; repeats match physically duplicated layers. • Replicated "Training-Free Looped Transformers" (Chen, Li et al., arXiv:2605.23872) on Qwen3-0.6B-Base: lm-eval, 14,042 MMLU questions paired per config, 95% CIs.
3
1
3
139
Why: a layer computes x + f(x), one Euler step of an ODE. Four full-strength loops push the state to "t = 4", but the later layers only ever saw t = 1. Damped steps (x + 1/2 * f(x), twice) land back at t = 1. That's safe, but at 0.6B there's nothing to gain. The paper itself says models under ~1.7B lack the mid-layer redundancy the loop needs. One gotcha: in bf16, 8.5% of MMLU questions end in an exact tie between two answers. In fp32 our −1.20 shrinks to −0.68. Small gains measured in bf16 are worth rechecking in fp32.
1
18
Next: stop asking a frozen model to loop and teach it. SmolLM2-135M + a loop + per-pass LoRA, approx 100M tokens, against the same training with no loop.
9
Where it falls short: – Watercolor and pixel art get worse, not better. The training set was mostly photographs, and it shows. – The teacher's clean surface finish (skin, grit, rain at full zoom) doesn't carry over. More data, higher resolution and a higher rank didn't change that. Strength 0.5–1.0 works; lower keeps more of H3's own look.
1
16
Next (TODO): pairs. The taste LoRA only ever sees the teacher's finished images, so it learns what to show, not how a surface should look. To teach finish, the training data has to differ only in finish. The plan: Render with H3 + the taste LoRA. Crop at native resolution. Ask Teacher A to edit each crop: "Give this photograph a professional finish. Keep the subject, composition, colours and lighting exactly as they are." Train on before → after. Because everything but the finish stays the same, the LoRA should learn just that difference and nothing else.
18
Looped transformers reuse layers. And every transformer layer reads and writes a residual stream of the same shape. So why not take Qwen3-8B, loop layers 12–23 three times at inference, and spend more compute per token on hard problems? What breaks first? Mechanically it's easy. Same weights, same kernels, just a different forward pass. The only real plumbing is the KV cache: each pass sees a different input, so it needs its own cache slot. The hard part is that Qwen never learned to loop. Retrain it to loop maybe?
3
1
5
102
Inkling 2 Mini has 24 layers. It runs the middle 12 three times, giving it 48 layer passes per token. Why the middle? Thinking Machines tried looping the last 12 instead. The middle loop gave a larger accuracy gain on 27 of 28 evaluations.
1
1
53
abliterated Inkling-2-Mini. Scanned all 48 steps of its looped MoE, found the refusal direction (layer 11, 1st loop pass) and projected it out of every weight that writes to the residual stream. Refusals on harmful prompts: 83% → 2% Safe prompts answered: 94% → 94%
2
1
3
398