bool-bench / EVALUATION.md
johnsonkuan's picture
Shorten README and link detailed usage and evaluation references
d3897c2 verified
|
Raw History Blame Contribute Delete
8.55 kB

Evaluating on Bool-Bench

Use dataset version 1.1.0 with the task definition. Keep the distinction between the reference label, the model's prediction, and its confidence. unknown is a reference class for insufficient evidence, not a confidence threshold.

Load the fixed core

Use load_dataset("chowderai/bool-bench", "core", split="test"). The core has 1,000 rows and one Hub split named test. A row's split field names its original upstream split.

Pin the dataset to a full repository commit SHA when publishing results. Report the commit and dataset version together. Label integers are 0 = true, 1 = false, 2 = unknown.

Inputs and recorded prompt template

Use one example per request, without task demonstrations in the prompt for a zero-shot evaluation. Preserve the full passage and question fields. ShARC's question includes a scenario and already-answered follow-up questions; removing these changes the evidence and can change the correct label.

evaluation/prompts.py is a dependency-free renderer of the recorded bench user-message template. It preserves the form-specific instruction, passage-before-claim ordering, headings, one-word answer instruction, and trailing newline. These are the question and statement instructions:

Question

Read the passage. Answer the question using only the passage: true (yes), false (no), or unknown if the passage does not contain enough information to decide. Do not use outside knowledge, even if you know the answer.

Statement

Read the passage. Using only the passage, is the statement true, false, or unknown (the passage neither supports nor contradicts it)? Do not use outside knowledge.

The renderer places the supplied passage under ## Passage:, then the full claim under ## Question: or ## Statement:, followed by:

Answer with exactly one word - true, false, or unknown.

The historical bench wording originated with the v1.6 evidence definition. The current task definition also documents later context-binding and intent-versus-outcome clauses. If you prepend the full definition or change the prompt, report that as a different protocol. In all cases, the supplied ShARC context remains admissible evidence.

The renderer does not supply a model-specific chat template, system message, tokenizer, or decoding constraints. Those are part of the evaluation configuration. Bitsy's trained prompt is different from the bench template; results from these two interfaces should not be presented as a controlled comparison of weights alone.

Record serving conditions

Report:

  • Dataset and model revisions, prompt text, and chat template.
  • Context limit and any truncation, including side and whether prompts fit.
  • Decoding constraints, temperature, reasoning/thinking settings requested, and whether they were honored.
  • Serving library version or hosted provider, plus relevant hardware for timing results.
  • Output parsing and treatment of malformed, invalid, missing, or failed responses.
  • Any prompt selection, training, checkpoint selection, or threshold fitting that used this core.

Historical hosted and local runs used different serving and decoding conditions. Matching a model name alone does not reproduce a published API run.

Baselines reported in the paper

These zero-shot runs use the complete 1,000-example v1.1.0 core and the bench prompt above. They are historical measurements, not new evaluations of current hosted endpoints.

Model Accuracy Macro-F1
Kimi-K3 90.0% 0.901
GLM-5.3-Flash 87.1% 0.872
Qwen3.5-4B 78.9% 0.789
DeepSeek-V4.1-Flash 78.3% 0.782
Qwen3.5-9B 76.2% 0.761
Qwen3.5-2B 64.3% 0.645

Local Qwen models used vLLM, greedy decoding constrained to the three labels, a four-token output budget, and a 12,288-token context limit. Hosted Kimi, GLM, and DeepSeek models used the Hugging Face router with Baseten, temperature zero, and a 2,048-token output budget. Thinking was requested off with enable_thinking=False; GLM nevertheless returned reasoning on 316/1,000 requests. All 3,000 hosted headline final answers were on-label, and none reached the output limit.

All six models predicted unknown more often than the reference frequency of 34.5%. For every model, the largest error category was a reference false answered unknown. This describes observed errors; it does not establish their cause.

DeepSeek, GLM, and Kimi also occur in the judging panel, with different variants for DeepSeek and GLM. Local and hosted decoding conditions differ. Recorded run metadata does not pin immutable model or dataset revisions or a complete software runtime, limiting exact reproduction. Bitsy's results use its trained prompt and classification interface and are not included in this baseline table.

Metrics

For reference labels and predictions over true, false, and unknown, report accuracy, per-class precision and recall, and macro-F1 across the three classes. When a denominator is zero, state the convention you use.

Also report:

  • Over-abstention: number of reference true/false rows predicted unknown, divided by all reference true/false rows.
  • Under-abstention: number of reference unknown rows predicted true or false, divided by all reference unknown rows. With valid three-class predictions, this is one minus unknown recall.
  • Invalid-output or failure rate: report separately. Do not silently discard failures from the accuracy denominator. State how they enter any other metric.

Slice results by source, question/statement form, and passage length. Use meta.unknown_kind where available, without assuming every row has that field.

The class counts are 331 true, 324 false, and 345 unknown. Always predicting unknown scores 34.5%; never predicting it caps accuracy at 65.5%. A score above that ceiling requires some correct unknown predictions, but does not by itself establish calibrated uncertainty or general reasoning ability. The class balance and source quotas are benchmark design choices.

Bitsy's frozen development and reporting partition

evaluation/bitsy-split.json contains the original frozen IDs used for Bitsy's 504-example development subset and 496-example reporting subset. These assignments were copied from the recorded split files, not regenerated. The sets are disjoint and cover the entire exported core.

import json
from pathlib import Path

from datasets import load_dataset
from huggingface_hub import hf_hub_download

repo = "chowderai/bool-bench"
revision = None  # Set to a full commit SHA for a reproducible run.
core = load_dataset(repo, "core", split="test", revision=revision)
split_path = hf_hub_download(
    repo,
    "evaluation/bitsy-split.json",
    repo_type="dataset",
    revision=revision,
)
partition = json.loads(Path(split_path).read_text())
development_ids = set(partition["development"])
reporting_ids = set(partition["reporting"])

assert not development_ids & reporting_ids
assert development_ids | reporting_ids == set(core["id"])
development = core.filter(lambda row: row["id"] in development_ids)
reporting = core.filter(lambda row: row["id"] in reporting_ids)
assert len(development) == 504
assert len(reporting) == 496

This partition was used to select Bitsy's final checkpoint and report it separately. Earlier prompt and model-design studies used the full benchmark. The reporting subset is independent of final checkpoint selection and weight updates, but not of every design decision. Full-core results include the development subset. Other models may have different exposure histories; disclose those independently.

Annotation limitations relevant to evaluation

The full judging panel used a v1.6-based prompt; blind review of the 142 majority-kept rows used v1.8. Panel calibration used author labels and examples involved in developing the task and prompt. Its 89% agreement is a development-set agreement measure, not a held-out estimate of reference-label accuracy.

The three hosted baseline families also appear in the judging panel. Shared interpretations, teacher-generated material, author adjudication, and replacement favoring judge agreement can affect the benchmark. Public-source passages may occur in pretraining, and recorded separation from one earlier training split does not establish universal absence of contamination.