Files
smartguide/llm_evaluations/basic_applied_experimental/evaluation/EVALUATION.MD
T
Roman d2dec7c6ee
LocationBasedServices/smartguide/pipeline/head This commit looks good
work-classifications
2026-07-14 00:12:31 +02:00

6.0 KiB

Evaluation Results

Executive summary

Gemma4-e4b was evaluated in two complementary ways:

  1. Semantic benchmark: comparison with a consensus of four stronger LLMs on 50 research works.
  2. Index validation audit: structural validation of all 1,000 documents currently stored in work-classifications.
Key result Score
Consensus-compatible category 43/50 (86.0%)
Agreement on unanimous reference items 25/28 (89.3%)
Pasteur-quadrant compatibility 41/43 (95.3%)
Valid documents in the 1,000-work index audit 978/1000 (97.8%)

1. Semantic benchmark: 50 works

Reference construction

The reference is based on four independent model outputs:

  • GLM-5.1
  • Gemini 3.1 Pro
  • GPT-5.6-sol
  • Sonnet 5
Reference agreement Works
Unanimous 4:0 28
Majority 3:1 13
Split 2:2 7
Low consensus 2:1:1 2

This reference measures compatibility with a multi-model consensus, not objective ground truth or expert adjudication.

Category performance

Metric Result
Coverage 50/50 (100.0%)
Overall consensus compatibility 43/50 (86.0%)
Strict accuracy on resolved 4:0 and 3:1 items 35/41 (85.4%)
Unanimous 4:0 accuracy 25/28 (89.3%)
Majority 3:1 accuracy 10/13 (76.9%)
Acceptance on split 2:2 items 7/7 (100.0%)
Agreement-weighted compatibility 86.4%

Score performance

The score is evaluated against the score interval produced by reference models that selected the same accepted category.

Metric Result
Inside the exact reference interval 20/36 (55.6%)
Inside or within 5 points of the interval 28/36 (77.8%)
Inside or within 10 points of the interval 34/36 (94.4%)
Mean distance to the accepted interval 2.86 points
Median distance to the accepted interval 0.00 points
Correct null score for non_research 7/7 (100.0%)

Technical and confidence checks

Metric Result
JSON/schema validity 100.0%
Category-score-quadrant consistency 94.0%
Confidence-cap compliance 92.0%
signals_used validity 100.0%
High-confidence incompatible classifications 5/40 (12.5%)

Main semantic disagreements

There are 7 category mismatches:

Work ID Reference agreement Accepted category Gemma category
W4394954564 low_consensus basic_research experimental_development
W3194249507 majority_3_1 applied_research experimental_development
W4411148338 unanimous_4_0 basic_research applied_research
W4399679289 unanimous_4_0 applied_research basic_research
W4410930081 unanimous_4_0 applied_research basic_research
W4400540671 majority_3_1 experimental_development applied_research
W2889224812 majority_3_1 applied_research basic_research

2. Validation audit: 1,000 indexed works

The index contained exactly 1,000 documents, so the audit covered the full index rather than a partial sample.

Status Count Rate
Valid 978 97.8%
Invalid 22 2.2%
Missing validation 0 0.0%

Validation errors

Error Count Share of invalid works Share of all works
applied_research_score_outside_expected_range 15 68.2% 1.5%
basic_research_quadrant_score_mismatch 6 27.3% 0.6%
basic_research_score_outside_expected_range 1 4.5% 0.1%

Validity by predicted category

Category Documents Invalid Valid rate
basic_research 457 7 98.5%
applied_research 369 15 95.9%
experimental_development 141 0 100.0%
non_research 33 0 100.0%

The dominant technical issue is an applied_research classification with a score above the allowed maximum of 70. This accounts for 15/22 invalid documents.


Reproducibility

  • Semantic evaluator: evaluate_candidate_against_consensus.py
  • Index validation audit: audit_index_validation_1000.py
  • Semantic result: evaluation/gemma_consensus_evaluation/gemma4-e4b_evaluation.json
  • Index audit result: evaluation/index_validation_audit_1000.json
  • Blind benchmark input: evaluation/golden_set_50_inputs_blind_v1.json

Run:

python evaluate_candidate_against_consensus.py
python audit_index_validation_1000.py