Model card: use cases with measured results
Browse files77 unmodified lines787980818283848586878889909192939495198 unmodified lines29429529629729829930077 unmodified lines## Intended use- Routing, triage and tagging of messages, tickets and documents.- Rubric scoring and quality judgements with a review step for uncertain items.- Coding qualitative data, such as survey answers and open-ended responses, as a first coder whose confidence sayswhich items a human coder should see.- Screening and extraction expressed as yes/no statements (Nouls).- Measuring a new decision task zero-shot (with no training examples of it) before deciding whether to train atask-specific fine-tune.- Questions about photos: whether a photo can answer a question, and which of a few answers it supports (the oneimage task it was trained on, VizWiz-VQA, below).Check accuracy and the review threshold on a labelled sample of your own task before relying on the head([guide chapter 7](https://github.com/xkiwilabs/decisive-lm/blob/main/docs/guide/07-using-the-general-head.md)).## Out-of-scope use198 unmodified lines**How much of this is training noise.** A second training run with only the seed changed differs from this one byabout as much as two different mixes do on the text development sets. For example, on Humicroedit (a humour-rating setheld out of training) the MAE moves by 0.06 between seeds, against 0.08 between the v5c and v5a mixes, and on thesarcasm corpus it moves by 0.06 between seeds.- On the coding study, its ρ is 0.373 against this head's 0.206, and the errors it catches in review are 49.2%against 60.6%.- On Wikipedia toxicity, its ρ is −0.175 against −0.010.77 unmodified lines78798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122198 unmodified lines32132232332432532632777 unmodified lines## Intended useThe head is for decisions that a person would otherwise make item by item, where most items are easy and a few need asecond look. You ask your questions, it answers every item, and its confidence says which answers to check.### Use casesEach row names what was measured on that kind of task and what it was compared against: the prompted E4B withoutthe head (P0), a task-specific fine-tune, or human coders. "Trained on" means the dataset's training portion is inthe head's training mix, and the figure is on its held-out test portion. Every other set is zero-shot (no trainingexamples of it).| Use case | For example | What was measured ||---|---|---|| Routing and intent detection | a Choice "Which team should handle this message?" over billing, technical and sales, or over a list of up to 255 intents | Banking77, 77 banking intents (trained on): 90.9% right, against 90.2% for a fine-tune on Banking77 alone. CLINC150, 150 intents (trained on): 94.3% against 92.0%. Intents in ten languages it was not trained on (MASSIVE): 67.2% against P0's 65.8% || Coding open-ended answers, as a first coder | a Choice of eight codes for a free-text survey answer, with the least confident answers sent to a human coder | a coding study (792 answers, four human coders), zero-shot: agreement with the coders κ 0.676, against 0.739 between the coders themselves and 0.649 for P0. Its least confident 20% held 60.6% of its errors, against 41.9% for P0's least confident 20%. Fine-tuned on 100 coded answers: 91.9% right, against 86.6% for the same fine-tune started from the base model || Moderation and yes/no screening | a Noul "The comment contains a personal attack" | Civil Comments (trained on): mean AUROC 0.979, against 0.982 for a fine-tune on it alone. The hate-speech survey's yes/no question (not trained on): AUROC 0.852, against P0's 0.855 || Contract and document review | a Noul "This clause caps the supplier's liability", or a Choice over 100 provision types | CUAD, ten clause types it was not trained on: AUROC 0.947, against P0's 0.945. LEDGAR, 100 provision types (trained on): 83.6% right, against 82.1% for a fine-tune on it alone || Rating against a rubric | a Score "How helpful is this reply?" on five levels | HelpSteer2 (trained on): mean MAE 0.466, against 0.468 for a fine-tune on it alone. HelpSteer3, comparing two chatbot replies (not trained on): MAE 1.023, against P0's 1.292. On HelpSteer3 neither model's confidence says which answers to check, so review a random sample there || Topic, sentiment and emotion tagging | a Choice over topics, or a Choice of emotion | seven public benchmarks, zero-shot except Banking77: more accurate than P0 on three, level on one, less accurate on three. GoEmotions (trained on): 74.3% right, against 76.0% for a fine-tune on it alone || Whether one text supports another | a Choice "Does the second sentence follow from the first?" over follows, contradicts and neither | MultiNLI, five annotators per pair (not trained on): ρ between its confidence and annotator agreement 0.323, against P0's 0.261. Its least confident 20% held 47.2% of its errors, against 39.2% for P0 || Questions about photos | a Noul "The photo shows enough to answer the question", or a Choice between a few answers | VizWiz-VQA, photos taken by blind and low-vision people (trained on; held-out photos): AUROC 0.933 against P0's 0.788, and 71.1% right on a four-option answer against 43.2%. CIFAR-10H, objects in small photos (not trained on): 90.9% right against P0's 87.5%, but calibrate first (its raw ECE is 0.44) || A starting point for your own fine-tune | 100 to 300 of your own labelled items (guide chapter 9) | fine-tunes on 100 items started from this head beat the same fine-tunes started from the base model: 91.9% against 86.6% on the coding study, and 86.1% against 84.3% on MultiNLI, with more of their errors in their least confident 20% |It is fast: about 0.10 s for a request with four questions of five options each, against 0.6–0.8 s for P0(Hardware, below).Not a good fit without your own ratings: two-sided social rating scales ("strongly respectful … neither … stronglydisrespectful") that it has not been trained on. There its confidence is a worse guide to which answers to check thanP0's (limitation 1, above). Use task calibration or a fine-tune on about 100–300 of your own ratings.### How the confidence is meant to be used1. Label about 100 items of your task yourself.2. Calibrate the head on them ([guide§10.6](https://github.com/xkiwilabs/decisive-lm/blob/main/docs/guide/10-calibration.md)).3. Check its accuracy on items you labelled but did not calibrate on, and choose how many answers people will review.4. Send its least confident answers to people, and spot-check a random few of the rest.Guide [chapter 7](https://github.com/xkiwilabs/decisive-lm/blob/main/docs/guide/07-using-the-general-head.md) walksthrough these steps.## Out-of-scope use198 unmodified lines**How much of this is training noise.** A second training run with only the seed changed differs from this one byabout as much as two different mixes do on the text development sets. For example, on Humicroedit (a humour-rating setheld out of training) the MAE moves by 0.06 between seeds, against 0.08 between the v5c and v5a mixes, and on thesarcasm corpus it moves by 0.06 between seeds. The second run against this one:- On the coding study, its ρ is 0.373 against this head's 0.206, and the errors it catches in review are 49.2%against 60.6%.- On Wikipedia toxicity, its ρ is −0.175 against −0.010.
README.md+40-13