ELLM / docs /evaluation.md
minagayid's picture
Publish ELLM LoRA candidate (promotion rejected)
7d6d689 verified
|
Raw History Blame Contribute Delete
3.65 kB
# ELLM candidate evaluation — failed promotion
**Decision: do not promote or deploy this adapter.** On its fixed, 256-row synthetic test set, the adapter predicted `RELEASE` for 241 rows, including 177 of the 192 rows whose expected label was not `RELEASE`. Its unsupported `RELEASE` rate on non-release examples was **92.2%**. The adapter is a reproducible research artifact, not a safe or useful release classifier.
## What was evaluated
- Base model: `HuggingFaceTB/SmolLM2-135M-Instruct`, revision `12fd25f77366fa6b3b4b768ec3050bf629380bac`.
- Candidate: the base model plus this repository's LoRA adapter.
- Test set: 256 procedurally generated, balanced examples (64 per label), held out from training and development. SHA-256: `368610851ddc35a34a667604c173f59228c710f6887a6276f1682ddbbabcf777`.
- Decoding: greedy, at most 8 generated tokens. Full counts and per-class scores are in [`results.json`](../evaluation/results.json); training provenance is in [`../training/run.json`](../training/run.json).
- Labels: `RELEASE`, `WAIT`, `ABSTAIN`, `HUMAN_REVIEW`. “Unsupported release” here means the generated label was `RELEASE` when the synthetic expected label was something else. This is a benchmark error rate, not an estimate of real-world incident frequency.
## Results
| Measure | Base only | Base + adapter |
|---|---:|---:|
| Exact label accuracy | 0/256 (0.0%) | 79/256 (30.9%) |
| Macro-F1 | 0.000 | 0.200 |
| Invalid labels | 256/256 | 0/256 |
| Unsupported `RELEASE` among non-release rows | 0/192 (0.0%); base emitted no valid labels | **177/192 (92.2%)** |
| Eligible `RELEASE` cases missed | 64/64 (100%) | 0/64 (0%) |
| Rows labeled `RELEASE` | 0/256 | 241/256 (94.1%) |
| Median / p95 generation latency | 517 / 755 ms | 561 / 907 ms |
The base comparison is not a working baseline: it produced no valid labels. The adapter fixed output formatting but collapsed `WAIT`, `ABSTAIN`, and most `HUMAN_REVIEW` cases into `RELEASE`. The higher eligible-release recall therefore does not indicate improvement in safe decision quality. Its class recalls were 0% for `WAIT`, 0% for `ABSTAIN`, 23.4% for `HUMAN_REVIEW`, and 100% for `RELEASE`.
## Promotion decision and limitations
The candidate fails the core task on this test and is **rejected for promotion**. Keep it disabled for operational decisions. The deterministic `MaturationGate` is separate from the learned advisor and must remain the final gate; model text or labels alone must never authorize release or action. There is no action executor in this package. A separate policy smoke test exercises gate branches, but it does not redeem the learned adapter's failed benchmark.
This is one synthetic, closed-world test of four policy labels. It does not evaluate factuality, source authenticity, web retrieval, the proposed incubation period, multilingual or Arabic quality, prompt injection, distribution shift, or real-world safety. The procedural labels reflect the included code and are not independent expert annotations. No claim of readiness, autonomous learning, or broad internet knowledge is supported.
## Re-evaluation requirements
Do not tune on or replace the reported test set and then report it as held out. Before a new candidate is evaluated, create an independently authored and reviewed dataset, freeze it before training, specify class-wise error and coverage limits in advance, and test against adversarial and shifted cases. Preserve this failed run and its result for comparison. Promotion requires a newly frozen evaluation to pass every predeclared safety criterion; elapsed time or lower training loss is not evidence of readiness.