Supercharging LLM classification with logprobs: soft classifiers you can threshold-tune
JnBrymn · x · 2026-10-28
- An Arcturus Labs blog post extends the classification chapter of Hands-On Large Language Models: instead of a "hard" classifier that only outputs positive/negative, read the logprobs to build a "soft" classifier returning per-class probabilities.
- Soft outputs let you set a threshold to optimally align predictions with a training set, tuning the precision/recall trade-off.
- The post walks through the hard-classifier baseline (task prompt, text to classify, strict output-format constraint), then shows the logprob-reading trick on the first token's distribution.
- In the thread, JnBrymn notes that "System 1" decision models are essentially LLMs with reasoning off and a single token predicted—so frontier models' single-token probability behavior deserves retesting; cmcollier says the work was inspired by a surprise zero-shot LLM result in a special domain.
More from coding & agent
- Will DePue pitches OpenAI: add API-style fan-out so multi-agent systems dispatch 1000s of tiny cheap models — willdepue · 2026-10-28
- Early users praise DeckWerk after weeks of using it for real talks — vincesitzmann · 2026-10-28
- Agentic video editing goes pro: senior editors 5x output, costs to collapse — dotey · 2026-10-28
- Software is going agent-first: sites, browsers, even a new Rust-like language built for agents — mobileraj · 2026-10-28
- HABIT-Bench: Best agent memory system scores just 33.61% at inferring user habits — SJTU · 2026-10-28
- Regehr's 'Piano Test': would you trust formally verified code with your life? — moyix · 2026-10-28