Research

Research first, honestly reported.

Kanseko began in model distillation research. That work led to the question at the center of what we do now: can a language model's reliability be measured one answer at a time?

Research areas

What we work on

Core

Model reliability and confidence estimation

Uncertainty quantification for language models: estimating, answer by answer, how likely an output is to be correct. This is the center of our work.

Active

Inference-time methods

Ways to improve model accuracy without retraining.

Origin

Knowledge distillation

Transferring capabilities from large models to small ones. This is where Kanseko started, and it remains part of our ongoing research.

Discipline

Evaluation methodology

Pre-registered experiments, controlled baselines, and scoring only on answers the system never saw during fitting.

Two questions

Is this answer wrong? Is this answer right?

Error detection, also called failure prediction or hallucination detection, asks which answers are most likely to be wrong, so that checking effort goes where the errors actually are.

Correctness certification, also called selective prediction, asks the opposite question: which answers can be trusted confidently enough to skip review entirely.

The two are complementary, and we study both. Our research also covers generation failures: answers that fail to produce a usable result.

How it works

Tuned to the task, light at run time

Our detectors are not one-size-fits-all. They are fine-tuned to each task using a set of labeled examples that are representative of the work the model will actually be doing. In our benchmark that meant 300 to 2,000 labeled examples per task.

Task-specific

Labeled examples from the real task

A detector is fine-tuned on labeled data representative of the specific task, so its judgments fit that data rather than a generic average.

Lightweight

Only three generations

A determination takes just three generations from the model being checked.

Fast

About 300 ms

In testing, making a determination for a given prompt and answer added about 300 ms on top of normal generation.

Benchmark results

What we're seeing

Three open models, three public datasets, and 7,500 fresh questions never used while developing the system. Each test was pre-registered, and every model and dataset is reported on its own.

41%

of Llama-3.2-3B's MATH answers auto-approved at a 99% accuracy target, met by all 20 simulated deployments. On its own, the model gets 67.5% right.

68%

of Llama-3.2-3B's GSM8K answers auto-approved at the same 99% target, met by 19 of 20 deployments.

80%

of flagged MATH answers really were wrong, and flagging caught 80% of all of Llama-3.2-3B's MATH errors.

Highlighted cells in the tables below show where each number comes from. Fact recall is harder: no model or setting reached 99% on TriviaQA, and we report that too.

The benchmark

What we tested, and on what

Each model is tested on its own and never pooled with the others. To mirror real use, we simulate 20 independent deployments per dataset. Each one supplies its own small set of labeled examples to set the system up, and is then scored on 500 questions it never saw.

Models · each reported separately
ModelType
Llama-3.2-3B-Instruct (Meta)General instruction model
Llama-3.2-3B-Instruct, fine-tunedThe same model after a small math fine-tune
Qwen2.5-3B-Instruct (Alibaba)General instruction model, different family
Simulated deployments
SettingValue
Simulated deployments per dataset20 independent random draws
Labeled examples each one provides300, 600, 1,000, 1,500 or 2,000
Held-out test questions each500, never used for setup
Accuracy targets tested97–99% (math), 95–99% (fact recall)
Datasets
DatasetTaskSource splitFresh test questionsDevelopment questions (separate)
MATH (Hendrycks et al.)Competition math, multi-steptrain2,5001,953
GSM8K (Cobbe et al.)Grade-school word problemstrain2,5001,319
TriviaQA (Joshi et al.)Open-domain fact recall, no contextrc.nocontext validation2,5001,000
Total7,5004,272

In total, 7,500 fresh questions × 3 models = 22,500 model–question pairs.

The starting point

How often the models are right on their own

This is each model's normal single response, with no filtering, on 2,500 fresh questions per dataset, every answer graded. It's what you'd get without us.

Plain model accuracy · no filtering
ModelMATHGSM8KTriviaQA
Llama-3.2-3B67.5%90.7%65.2%
Llama-3.2-3B fine-tuned68.3%91.3%63.8%
Qwen2.5-3B72.5%93.0%51.9%

Without filtering, about 1 in 3 MATH answers is wrong. GSM8K starts at 91–93% correct, which is why so few of its answers end up flagged as wrong.

Correctness certification

Auto-approving right answers

The system auto-approves the answers it can certify at a chosen accuracy target and sends the rest on. Each cell shows the share of all answers auto-approved, with how many of the 20 simulated deployments actually met the 99% target in brackets. These use the conservative setting.

Auto-approved at a 99% target · by labeled examples
Model600 labels1,000 labels2,000 labels
MATH
Llama-3.2-3B45.1% (16/20)44.4% (16/20)41.3% (20/20)
Llama-3.2-3B fine-tuned40.9% (19/20)36.0% (20/20)35.2% (20/20)
Qwen2.5-3B44.9% (18/20)39.9% (18/20)36.4% (20/20)
GSM8K
Llama-3.2-3B72.9% (17/20)65.7% (20/20)68.0% (19/20)
Llama-3.2-3B fine-tuned56.7% (15/20)40.4% (18/20)34.7% (19/20)
Qwen2.5-3B44.1% (20/20)32.7% (20/20)32.8% (19/20)

On MATH, auto-approving 35–41% of answers at ≥ 99% correct turns a model that's wrong about 1 time in 3 into an approved pile that's wrong about 1 time in 100.

A higher-coverage setting

The system also has a setting that approves more answers, at the cost of meeting the target slightly less often.

Higher-coverage setting · 99% target, 2,000 labels
DatasetLlama-3.2-3BLlama-3.2-3B fine-tunedQwen2.5-3B
MATH47.6% (14/20)42.3% (20/20)49.2% (18/20)
GSM8K80.4% (18/20)49.4% (19/20)48.9% (20/20)

How many labels it takes

The fewest labeled examples at which at least 18 of 20 deployments met each target, conservative setting.

Labeled examples needed to hit the target
Model97%98%99%
MATH
Llama-3.2-3B3006001,500
Llama-3.2-3B fine-tuned300600600
Qwen2.5-3B300300600
GSM8K
Llama-3.2-3B3003001,000
Llama-3.2-3B fine-tuned3003001,000
Qwen2.5-3B300600300
Fact recall (TriviaQA)
TargetResult
95%Met by ≥ 18/20 deployments from 600 labels (fine-tuned Llama) and 1,500–2,000 labels (Llama, Qwen); 24–35% of answers approved
97–98%Met only at 2,000 labels, only on the two Llama models, approving 15–25%
99%Not reached by any model or setting
Error detection

Flagging likely-wrong answers

Here the target is that at least 80% of flagged answers really are wrong. Results use 2,000 labels and the conservative setting, running alongside the 99% approve target. Brackets show how many of 20 deployments met the 80% target.

Flagging likely-wrong answers · 80% target, 2,000 labels
ModelAnswers flaggedFlagged that are wrongShare of all errors caught
MATH
Llama-3.2-3B32.3%80.2% (18/20)79.7%
Llama-3.2-3B fine-tuned33.1%79.0% (19/20)83.2%
Qwen2.5-3B25.5%80.0% (19/20)73.9%
GSM8K
Llama-3.2-3B4.4%77.7% (17/20)35.6%
Llama-3.2-3B fine-tuned2.5%77.3% (18/20)22.5%
Qwen2.5-3B1.9%84.7% (20/20)21.3%
TriviaQA
Llama-3.2-3B28.4%78.7% (16/20)65.3%
Llama-3.2-3B fine-tuned27.4%78.5% (14/20)60.2%
Qwen2.5-3B45.0%80.3% (18/20)75.3%

GSM8K answers are already 91–93% correct, so there are few errors to flag.

Stricter flagging

The target is a setting. Raising it makes flags more certain, at the cost of catching fewer errors.

Stricter flagging · Llama-3.2-3B, MATH, 2,000 labels
Target: flagged are wrongAnswers flaggedDeployments meeting targetShare of all errors caught
80%19.1%20/2053.8%
90%13.0%20/2037.9%
95%8.5%20/2025.0%
99%3.1%17/209.4%
Three-way triage

Approve, flag or review

Putting both together, every answer lands in exactly one of three piles, at a 99% approve target with 2,000 labels and the conservative setting.

Three-way triage · 99% approve target, 2,000 labels
ModelAuto-approve (≥ 99% correct)Flag as wrong (~80% wrong)Send to review
MATH
Llama-3.2-3B41.3%32.3%26.4%
Llama-3.2-3B fine-tuned35.2%33.1%31.7%
Qwen2.5-3B36.4%25.5%38.1%
GSM8K
Llama-3.2-3B68.0%4.4%27.6%
Llama-3.2-3B fine-tuned34.7%2.5%62.8%
Qwen2.5-3B32.8%1.9%65.3%
Current limits

Pure knowledge recall is a weak point.

When a model has to answer a factual question from memory alone, with no documents or context to draw on, our detectors are currently much weaker. On TriviaQA, a 95% target was reachable, 97–98% only in limited cases, and 99% was not reached by any model or setting.

We're reporting this plainly because it matters for anyone relying on a model's unaided factual recall. Grounding answers in source material, as in retrieval-augmented generation (RAG), is one of the next areas we're testing.

What's next

More tasks, more models

The results above cover math and fact recall on three small models. We're extending the benchmark to new kinds of work and a wider range of models, tested and reported the same way.

Coming soon

Coding

Detecting wrong code and certifying correct code.

Coming soon

RAG

Answers grounded in retrieved documents rather than memory alone.

Coming soon

Document generation

Longer, structured outputs such as reports and summaries.

Coming soon

More models

Additional model families and a range of model sizes, each reported separately.

Methodology

Honest results. No cherry-picking.

How reliable a model is depends on the model and the task, so a single headline number rarely tells the real story. Here is how we test.

  • Pre-registered. Every experiment's design, success bars and pass/fail rules are written down and fingerprinted (SHA-256) before any result exists. Changes are separate dated amendments, each chained to the previous one. Nothing is adjusted after seeing results.
  • Confirmed on fresh questions. The results above come from 7,500 questions never used while developing the system, deduplicated against the 4,272 development questions by text: zero overlap.
  • Separate data for every step. Fitting, setting thresholds and scoring each use different answers. Every simulated deployment is scored on 500 held-out questions never used in its setup.
  • Realistic deployments. 20 independent simulated deployments per dataset, each with its own small labeled set (300–2,000 examples) and its own test set. We report how many of the 20 met the target, not a single average.
  • A strict bar for "met the target". A deployment counts only if measured accuracy is at least the target minus a one-sided 95% statistical allowance for sample size. We call a target reliable only when at least 18 of 20 meet it.
  • Independent, audited grading. Every answer is graded against the dataset's reference answer by a frozen grader, which agreed with earlier grades on 300 of 300 re-checked answers before use.
  • Honest previews. Each deployment also gets a preview estimated from its own labels. On the fresh questions, 95–100% of previews landed within 10 points of the real result.
  • Reproducibility gates. Each stage must exactly reproduce earlier results before running, and model versions are pinned and verified.
  • Never pooled. Every model and dataset is reported separately.
  • Failures reported too. For example, fact-recall answers cannot yet be certified at 97–99%.
Publications

Papers and write-ups

Publications coming soon.

Contact

Interested in our work?

For more information about Kanseko and our research, email us.

contact@kanseko.com