Explore the research collection
7 entries · Follow this search
- Post
Language Models for Text Classification: From Bag-of-Words to Jev
Long-form visual guide and essay (2026-09-29) using the hype around Jev -- a proprietary fast,cheap,general-purpose text classifier from TypeSafe AI -- to tell the history of language models for text classification and analyze what Jev likely is. Covers pre-transformer baselines (bag-of-words plus naive Bayes/logistic regression,word embeddings,RNNs/LSTMs/ULMFiT,CNNs),transformers (BERT/ModernBERT,GPT-style decoders with a classification head,T5 text-to-text),a Jev overview (Choice/Noul/Score APIs; 96.47%/96.20% on IMDb test at low cost,comparable to fine-tuned ModernBERT without per-task fine-tuning,with an IMDb-test-contamination caveat; a Tetris real-time demo via the Choice API),how to retrofit a Jev-like API onto any BERT/GPT/T5 model with a single-output scoring head,an educated guess at Jev internals (ModernBERT-scale encoder,100% synthetic data,proprietary "Reinforcement Learning for Calibrated Decisions"),the RLCR public method,calibration techniques (temperature scaling,Brier loss),use cases (email sorting,prompt-injection prescreening,LLM judges,context building),Jev alternatives (GLiNER,Contrastive LMs,Laya),and OpenAI's Jev-like Decision API announced at DevDay 2026. Argues Jev's novelty is not fundamental but raises the bar for justifying fine-tuned specialist classifiers and could make agent harnesses faster and cheaper. Author is not affiliated with Jev; not an endorsement.
- Paper
Beyond Binary Rewards: Training LMs to Reason About Their Uncertainty
Almost all successful RL for reasoning uses binary rewards that evaluate output correctness; because they do not penalize guessing or low-confidence outputs, they degrade calibration and increase hallucination in other domains. RLCR (Reinforcement Learning with Calibration Rewards) trains reasoning models to generate predictions and numerical confidence estimates after reasoning, optimizing a reward that augments a binary correctness score with a Brier score -- a scoring rule for confidence estimates that incentivizes calibrated prediction. The paper proves that this reward (or any bounded proper scoring rule) yields models that are both accurate and well-calibrated, shows across diverse datasets that RLCR substantially improves calibration with no loss in accuracy in-domain and out-of-domain (outperforming ordinary RL and post-hoc confidence classifiers), and demonstrates that verbalized confidence can be leveraged at test time via confidence-weighted scaling. Code, models, and info at rl-calibration.github.io.
- Paper
MaD-RL: Matching Distributions for Calibrating LLMs with Reinforcement Learning
Meta Superintelligence Labs (equal contrib. Kulkarni/Vepuri/Demir/Nagpal et al.) introduces MaD-RL, a GRPO-compatible framework that assigns L2, forward-KL, reverse-KL, or Jensen–Shannon rewards from within-group category frequencies so the policy matches a specified categorical target (languages, styles, demographics) alongside correctness. Shows correctness-only GRPO collapses modes; recovers GAPO as the L2 special case; on Qwen3-4B with GSM8K/MATH multilingual solutions and CodeContests multi-language programming, KL/JS fit non-uniform/peaked targets better than L2, with a 1.2–8.5 pp pass@1 tradeoff vs correctness-only RLVR. No public code; Meta CDN PDF dated 2026-09-23; arXiv abs not yet indexed despite Publisher=arXiv.
- Paper
Incompressible Knowledge Probes: Estimating Black-Box LLM Parameter Counts via Factual Capacity
Pine AI paper (arXiv 2604.24827v2, cs.LG/cs.AI; Bojie Li) introducing Incompressible Knowledge Probes (IKPs): 1,400 factual questions across 7 obscurity tiers (200 each; 16 domains) to estimate black-box LLM parameter counts from factual capacity rather than inference economics. Default scoring λ=0 (no hallucination penalty). Calibrates log-linear IKP accuracy→params on 93 open-weight models (135M–1,600B, 19 vendors), R²=0.910 (accuracy≈0.159·log10(N_B)+0.242); LOOCV median fold error 1.48× (72% within 2×, 86% within 3×); 90% prediction interval ~3× (coarse order-of-magnitude). MoE: total params beat active (R² 0.67 vs 0.41). Evaluates 201 models / 27 vendors on curated 1,311/1,400 probes; reports ~97 proprietary frontiers as prediction bands (safety-tuned = lower bounds). Falsifies Densing Law for factual capacity (time coeff +0.0013/mo, rejects +0.0129/mo at p<10⁻¹⁵). Releases toolkit + probe set + companion site; hallucination-similarity fingerprinting.
- Paper
On Calibration of Modern Neural Networks
Canonical calibration paper TypeSafe-style claims inherit from. Shows modern nets are overconfident (depth/width/BN/weight-decay factors). Introduces temperature scaling: divide logits by scalar T>0 learned on held-out NLL; preserves argmax so accuracy unchanged. Often best among post-hoc methods (histogram binning, isotonic, vector/matrix scaling) on vision/NLP. Defines the practical “probs should match empirical frequencies” yardstick. Post-hoc only — does not train calibration into RL/decision models.
- Idea
System One Models and Jev (TypeSafe AI)
TypeSafe launched System One / Jev: POST /v1/systemone takes unstructured state plus parallel Choice/Score/Noul questions and returns closed-schema probability distributions. Claims new architecture + parallel sampler + RLCD (Reinforcement Learning for Calibrated Decisions, not Meta RLCD). Understands language but does not generate free-form text. Output billed free; input $0.042/MTok. FAQ: neither small nor an LLM. Public investigation (2026-09-15) concludes encode-once + parallel closed-set heads is the only architecture that fits free output + no text generation. No paper/weights; LLaDA/vLLM GitHub forks are unmodified mirrors.
- Other
Introducing CaliBench: Are World Models Physically Calibrated?
Odyssey blog: CaliBench separates scorability (readable outcome) from calibration (distribution vs known physics) on systems with closed-form discrete outcomes (Galton board, coin/Y-fork, dice/cards, roulette). Outcomes read by VLM (Gemini 3.1 Pro) with ~93% human agreement. Metric mnTV (mean normalised total variation). Six frontier I2V models (WAN-2.7, SeeDance-2.0, HappyHorse-1.0, Veo 3.1, Runway Gen-4.5, Cosmos3-Super) × 9 scenes × 32 gens; dominant failure is mode collapse / miscalibration despite realistic frames.