Public proof · reproducible

Can readable rules do an open model's job?

We took 1,000 movie reviews that Mistral-7B labelled in a public benchmark, fitted plain-English rules to its answers on 684 of them, and scored the rules on the 316 they never saw. Here are the numbers as they came out, the rules, and everything you need to check them.

Reproduce it →Raw result (JSON)

75.6%of held-out reviews where the rules give the model's answer
1.3%of held-out reviews a trusted rule can take
9rules in all, 1 trusted
21inputs the model answered both ways (90 reviews)

The result

On this task, these rules cannot replace the model. They agree with it on three reviews in four, and only 1.3% of reviews land on a rule that cleared the 95% trust bar. That is what a legibility report is for: it tells you where rules can take over and where they can't, before you switch anything off.

Agreement with the model (held out)

All rules, every review75.6%
Trusted rules, on the reviews they cover75.0%
Always answering the most common label57.0%

Accuracy against IMDB's true labels (held out)

Mistral-7B-v0.195.6%
The rules76.3%

Mistral-7B's accuracy on all 1,000 reviews is 96.2%, the same figure HELM publishes for this run, which checks that we read its answers correctly.

Why so low? Sentiment in long reviews turns on sarcasm, contrast ("the first half drags, but...") and plot description that uses negative words for a film the reviewer loved. Nine word-count features can't see that. The model's 95.6% comes from reading the whole text; the rules see a summary of it.

What would help: features that capture the reviewer's final verdict, or a task that is decided by structured fields. On the synthetic ticket-triage log on our homepage (channel, plan, topic, tone, with 5% noise), the same report puts about half of held-out calls on trusted rules, at 97% agreement. Try it on your own log.

Every rule, in English

Fitted to the model's answers on the train split only. A rule is trusted when it agreed with the model on at least 95% of the train reviews held back to check it. Rules are tried in order; the first that fits answers. If none fits, the rules answer "Positive", and in production the call goes back to the model.

  1. If rating is one of "high", "none", "mid" and lead is "pos", answer "Positive".not trusted · test 118/144 agree with model
  2. If lead is one of "pos", "neg", answer "Negative".not trusted · test 86/99 agree with model
  3. If strong_pos is true and ending is "tie", answer "Positive".not trusted · test 0/0 agree with model
  4. If neg is 2 and length is "long", answer "Positive".not trusted · test 0/0 agree with model
  5. If length is "short", answer "Negative".not trusted · test 14/36 agree with model
  6. If ending is one of "tie", "pos", "neg" and length is "long", answer "Negative".not trusted · test 1/7 agree with model
  7. If pos is 2, answer "Negative".trusted · test 3/4 agree with model
  8. If strong_neg is false and ending is "pos", answer "Negative".not trusted · test 0/3 agree with model
  9. If neg is 3, answer "Negative".not trusted · test 0/0 agree with model

Method

  1. The model's answers, not ours. Stanford CRFM's HELM benchmark published every answer Mistral-7B-v0.1 (open weights, Apache-2.0) gave on its IMDB scenario: v0.4.0, canonical run, 5 example reviews in the prompt, temperature 0. We downloaded the files once. We did not run the model.
  2. 1,000 reviews. HELM also scores altered copies of each review (dialect, names, typos). We kept only the unaltered originals.
  3. Nine readable features, written first. Counts of positive and negative words from a fixed hand-written list, which side leads overall and in the last three sentences, strong praise or strong pans, negated phrases ("not good"), a stated score out of 10, and length. The list was written before any fitting and not changed after.
  4. A fixed split. Each review goes to test when a hash of its HELM id falls in the bottom 30%: 684 train, 316 test. The rules never see the test reviews.
  5. Fit and score. The Legible library's legibilityReport evolves up to 12 rules on the train split (seed 7) and holds out part of the train split to decide which rules to trust. We then score once on the test split.

Robustness check (train split only)

Five-fold agreement with the model for different rule budgets. The result does not hinge on the setting we used.

Max rulesAgreement
479.7%
881.0%
1280.3%
2079.5%

Limits

One model, one task, one prompt format. 316 test reviews give each percentage roughly ±5 points of sampling error. The feature list is ours; a better one would score higher. The trusted-rule share is small because few rules hit 95% on the train check, and a rule trusted on a handful of reviews may not hold up (see the agreement counts above).

Reproduce it

Two files and Node 18 or later. The script downloads HELM's published answers (about 9 MB), rebuilds the features, refits the rules and prints the same numbers.

mkdir legible-proof && cd legible-proof
curl -O https://legibleweights.com/proof/reproduce.mjs -O https://legibleweights.com/proof/legible-lib.mjs
node reproduce.mjs

Source of the model's answers: HELM run files. Review texts are not redistributed here; the script reads them from HELM.