Skip to content

Research · second study

I pitted three small models against hand-written rules. The rules won.

Media originally had a box where I could type what I wanted done to a picture, like "fit inside 800 x 600 and make it black and white". I assumed a small local AI model would read sentences like that better than a pile of hand-written patterns. Across 60 test requests, the patterns got 59 right and the best model got 48.

Run on 6 October 2026, with a follow-up on 7 October 2026.

Caveat first. AI models wrote every request in this test, not real people — which almost certainly flatters the rules. This also tested an unpublished prototype: Media runs on my Mac and isn't out for download.

What I tried

Something had to turn a typed sentence into form settings: a size, whether to crop, and whether to convert to black and white. I tested two routes:

  1. Plain rules: hand-written patterns for the words people use, with no model.
  2. Small embedding models: the kind usually used for search, with lightweight classifiers trained on top. I tried three, the largest roughly eight times the size of the smallest.

Plain code pulled out the numbers either way, so a model never had to parse a width or height. All it had to return were three yes/no flags: resize, crop, black and white. I ran each route once on 60 unseen requests.

What happened

The rules nailed 59 of 60 whole requests. The three models managed 47 or 48, and kept turning on changes nobody asked for. Scaling up to the largest embedding model didn't help at all.

The one request the rules missed, all three models got right: "cut to 1080 x 1350 exactly and remove colour". Nobody had written a rule for "cut to". Models handle phrasing you didn't think of; hand-written patterns can't.

Why I think the models lost

There wasn't much left for a model to do. Once code extracts the numbers, most requests boil down to a handful of trigger words: "crop", "black and white", "wide".

Nearly right three times adds up to wrong. Each model got an individual yes/no flag right roughly nine times out of ten. A whole request needs all three right at once, which turns nine in ten into 47 or 48 out of 60.

I picked the wrong kind of model. In hindsight, an embedding model was a poor fit here and I should have spotted it before running the test. Embeddings measure how similar two chunks of text are — great for search, clumsy when the answer hinges on two exact words.

The next day I tried a form-filling model

This time I ran a small chat-style model, Qwen3 4B (2.5 GB), locked down so it couldn't write free text. Code extracted every number and timestamp first, the model filled in a fixed form by picking among them, and code verified that every value got used.

On the same 60 picture requests it scored 56 against 59 for the rules. On fresh test sets it scored 28 of 30 on recordings, 22 of 24 on video and 28 of 30 on pictures. That showed the first day's loss was mostly down to picking embedding models.

Two things stayed true, though. For pictures, the hand-written rules still edged ahead (by one on the new set, three on the old) with zero download. And when a language model guesses wrong, it can invert what you asked: two smaller versions of Qwen3 read "chop it to the last 90 secs" as cutting the last 90 seconds off.

What I did afterwards

Even though the rules won, I stopped using them. They'd already bloated past twenty patterns for three toggles, and I didn't want to maintain a brittle rulebook for every file type.

First I wired Media to catch dead-simple requests ("720p", "crop to 800 x 600") with a few patterns and pass everything else to Qwen3 4B, with a written plan to check before running.

That lasted two days. On 9 October I pulled the model out of the app completely. Once I added example prompts under the text box, typing an example was slower than just clicking a preset button — so I moved those sizes directly onto the form. Nine smaller models I tried on the same requests didn't get near the 2.5 GB model, so the choice was 2.5 GB or none, and I picked none. Media's page has the numbers.

What this doesn't tell you

The detail

Everything behind the write-up above, if you want to check it.

The numbers

Media's older classifier scored 18 of 60 because it could only pick one operation per request and couldn't combine two changes.

One run on 60 unseen requests
What was counted Media beforeRules, no modelBGE-small as already tuned for MediaBGE-small as publishedEmbeddingGemma 2, text only
Complete suggestions, of 60 1859484748
One change, of 20 1120151416
Two changes together, of 20 019161717
Awkward requests, of 20 720171615
Requests given a change nobody asked for 31696
Requests missing a change that was asked for 401767
Answers matching, of 60: resize, crop, black and white not applicable59, 59, 6053, 58, 5254, 54, 5354, 53, 55

Earlier that day I tried two untrained models on 18 requests. EmbeddingGemma 2 (matching against fixed example sentences) got 3 right; GLiNER2.5 Small got 6. Neither was usable out of the box.

What each route needed on my Mac
What was counted Rules, no modelBGE-small as already tuned for MediaBGE-small as publishedEmbeddingGemma 2, text only
Size of the model none33 million parameters33 million parameters271 million parameters for the text part
Download nonenone, already on my computer133 MB1.5 GB
Peak memory while reading requests not measuredabout 0.6 GBabout 0.6 GBabout 2.4 GB
Time to turn one request into numbers under a thousandth of a second for the whole readingabout 2 thousandths of a secondabout 2 thousandths of a secondabout 10 thousandths of a second
Its own software environment nononoyes, 0.9 GB
Complete suggestions on new requests, 7 October 2026
Kind of request RequestsA few plain rules aloneThe same rules, then the modelWhat Media used before
Sound recordings 301728No suggestions
Video 241022An older small model: 7
Pictures 30328The rules from this study: 29
More on why the models lost

The rules got each individual yes/no answer right 59 or 60 times; each model got 52 to 58 out of 60.

The mistakes were scattered. At least one model missed 21 of the 60 requests, while all three missed only 4. The same model turned black-and-white on when nobody asked for it and missed it when somebody did, leaving no single hole to patch.

I checked one hypothesis afterwards: the training requests came from two sources with different styles, and only one included black-and-white examples, so maybe the models learned the style instead of the intent. Retraining on that single source gave 46, 47 and 49 on the same 60 requests — so mixed styles weren't to blame.

The largest model, EmbeddingGemma 2, cost a 1.5 GB download, roughly four times the RAM and its own Python environment, only to match the smallest model's score.

All three models missed the same four requests, each hinging on a couple of words. Two gave permission to crop ("exactly 1920 by 1080? Cutting some off the top and bottom is fine"), one asked for a crop that kept everything, and one gave a dimension that could apply to either side. My guess is that squashing a whole sentence into one vector barely shifts for caveats like those, whereas a pattern looks straight at the words. I didn't test that directly.

The next day's Qwen3 4B model got three of those four right. Size mattered for it: on recordings, the 0.6B and 1.7B versions scored 25 and 26 of 30 and each picked a wrong setting at least once, while 4B scored 28 with zero wrong settings. The light rules sitting in front of it caught very little alone (8 of 30 recordings, 3 of 24 videos, 2 of 30 pictures) and didn't change a single final score once the model ran behind them. Qwen3 4B took about a second per request on my Mac.

How the test was set up
  • The task: read one typed request about one picture and say which of three changes it asks for (make it smaller, crop it from the centre to a given size, make it black and white), with the numbers, and list anything it asks for that the tool does not do.
  • Every route used the same code to read the numbers and to list what was not done. A route only had to give three yes or no answers: resize, crop, black and white.
  • Rules: ordinary patterns for the words people use, including “don’t” and requests that pull two ways. No model.
  • Models: three embedding models, each left as downloaded, with three small classifiers trained on top, one for each answer. They were trained on 636 invented requests: 406 from earlier work on Media and 230 written for this study.
  • The test: 60 requests none of the routes had seen. 20 ask for one change, 20 for two together, and 20 are awkward on purpose: something said not to be done, a request that contradicts itself, or something the tool does not do.
  • All wording was written by AI models, not typed by me. Two separate AI writers produced the 60 test requests without seeing the rules. The rules and the training requests were written by a third.
  • The rules and the training recipe were fixed, and their files recorded, before the 60 requests were opened. Each route ran once and nothing was changed afterwards.
  • A suggestion counted as complete only if the size, the crop choice and black and white all matched the answer written beforehand, and everything not done was shown.
  • Run on an Apple M1 Pro with 32 GB of memory and macOS 27.0.1. The models ran on the processor with network access refused.
Everything I didn't measure
  • The rules’ 59 is flattering. The cards, the rules and the training requests were written by one AI assistant, and the test requests by two others from the same family of models. Their wording is likely closer to what the rules expect than a person’s would be.
  • No request typed by a person has been through any route.
  • I did not check the 60 written answers myself. They were read against the rules before the run and none was changed. Four were judgement calls.
  • The models were not adjusted for this task beyond the small classifiers. Nobody retrained an embedding model. No chatbot-style model was tried in this run; one was tried the next day, and that is described above.
  • The classifiers were trained on 636 requests. More, or better, examples might have closed some of the gap. That was not tested.
  • One run. Variation between repeated runs was not measured.
  • English requests about still images only.
  • Energy was not measured.
Record source and dates

Copied on 2026-10-06 from docs/evidence-media-compound-suggestions-2026-10-06.md in dogwonder/kettle-cups at f91af3d4ea92b8f31b870edec71e2fdc331cee3f. This page is a reviewed copy of that evidence note. Building the site runs no model.

Models: BAAI/bge-small-en-v1.5 at revision 5c38ec7, google/embeddinggemma-2 at revision 914f7f8 and fastino/gliner2.5-small-v1 at revision 7132dc4. Requests, rules and scripts are in the repo; model weights and raw outputs stay on my Mac.

The 7 October runs come from docs/evidence-media-compound-suggestions-2026-10-06.md in dogwonder/kettle-cups at 15206c61eaaa7d7e27cd7a33b1e83049866fedbd. Model: Qwen3-4B-Instruct-2507, 4-bit, from unsloth/Qwen3-4B-Instruct-2507-GGUF at revision a06e946, alongside the 0.6B and 1.7B files from the same family.