[Release feedback] Evaluator trust boundaries: judge verdict-extraction and denominator-drop defects (candidate for next cycle)

Aperta
#137 4 commenti 0 reazioni 0 assegnatari Vedi su GitHub

@drk-ram ci sta già lavorando.

Dal 1/11/2026.

  • #159 di @drk-ram — aperta

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
18/100
Tipo di issue
Documentazione
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Ambito
documentation

Direzione di ricerca

This is a content proposal for the next release cycle, not a code change: start by reading the current LLM10 entry in the repo and the preserved content of PR #127, then the linked preprint (Zenodo DOI) and EVIDENCE-TABLE.md in AUTHENSOR/etb-scan to check the claim status of the cited items. Confirm the corrected evidence list (open vs merged PRs) before drafting, since the thread shows an earlier version had citation errors. Done means an edited or new entry adding the two common examples, the mitigations and the attack scenarios above, with evidence links that match their actual state.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Feedback type

Candidate topic for a future release

Feedback

Proposal: Evaluator trust boundaries — judge verdict-extraction and score-aggregation defects (ETB)

(Edited 2026-08-13: corrected the evidence section. An internal audit found two errors in the original text: inspect_evals #1992 is open, not merged, and the "several merged" citation list mixed open PRs, closed-unmerged PRs, and one issue. The corrected, individually verified list is below.)

This is a resubmission of the evaluator-side content from PR #127 (closed 2026-07-28 because the 2026 text was already final). Filing it here so it is queued for the next cycle rather than lost. The 2026 final LLM10 text covers improper output handling downstream of the model; this proposal covers the same trust principle applied upstream, inside the evaluation and judging path itself, which no current entry addresses.

The defect class

Across 27 evaluation codebases reviewed in published research (The Evaluator Trust Boundary, Zenodo preprint with DOI), 76 of the first 99 filed defects are a single class: the evaluator trusts an artifact the evaluated system can influence. Two instances map directly onto LLM10's scope:

1. Judge verdict extraction binds text the evaluated model can write. Many LLM-as-a-judge harnesses parse the judge's verdict out of the combined judge prompt + candidate response string with a greedy first-match regex, or take the first well-formed JSON object in the combined string. A candidate that emits an early fake verdict marker (e.g. GRADE: PASS or a forged verdict JSON) in its own response causes the extractor to bind the candidate's text instead of the judge's verdict. The model grades itself. This requires no adversary: it fires on benign prose that happens to contain a verdict token, and on policies that drift into the pattern under optimization pressure.

2. Score aggregators silently drop unscorable samples from the denominator. When a scorer cannot score a sample (parse failure, exception, None/NaN), many metrics omit the sample instead of counting it as a failure. A model that produces unscorable output on its hardest or most unsafe tasks erases those tasks from its reported score: the worst cases vanish from the math and a dangerous model is declared safer than it is.

A related third instance: harnesses that execute or trust model-controlled markers in the grading environment itself (SWE-bench #620: model output can forge PASSED markers in the log the grader regex-parses).

Proposed change for the next cycle

Extend LLM10 (or a sibling entry) with:

  • Common examples: (a) an evaluation harness parses the score for an LLM-as-a-judge check out of text the evaluated model can write, so the evaluated model effectively assigns its own score; (b) an evaluation metric silently drops samples it could not score from the aggregate denominator, so a model that makes itself unscorable on its hardest tasks erases them from its reported score.
  • Mitigations: (a) bind verdict extraction to a position the evaluated model cannot write to (the judge's own final line, or the last match rather than the first); (b) track and surface the count of unscorable samples rather than silently dropping them; (c) treat the evaluated model's answer as the object of the judgement, never as an input to it.
  • Attack scenarios: self-grading via early verdict injection; denominator evasion via unscorable-output generation on unsafe tasks.
Evidence
  • Preprint (DOI): https://zenodo.org/records/21633620 — the class, its prevalence, and removal experiments.
  • MITRE ATLAS case-study submission (under review): https://github.com/mitre-atlas/atlas-data/issues/21
  • Open-source scanner implementing the mechanical tests: https://github.com/AUTHENSOR/etb-scan
  • Merged upstream fixes (each verified merged at time of writing): UK AISI inspect_evals #1812 (merged 2026-06-24), UK AISI inspect_cyber #114 (merged 2026-06-18), Meridian inspect_scout #473 (merged 2026-06-26), danielmiessler/Fabric #2152 (merged 2026-07-28), data-privacy-stack/presidio #2074, #2076, #2077, #2078 (merged June–July 2026).
  • Open PRs with proposed fixes awaiting review: FastChat #3921, lighteval #1295, SWE-bench #620, helm #4326, garak #1954, inspect_evals #1992.
  • Filed issues tracking the same classes: lm-evaluation-harness #3881, inspect_ai #4286, PyRIT #2044, garak #1868.
  • PR #127 on this repo (closed, content preserved in this issue).

In total the underlying research comprises 100+ filed defect reports across 40+ organizations; the full ledger with per-item status is maintained at https://github.com/AUTHENSOR/etb-scan/blob/main/EVIDENCE-TABLE.md.

Lingua principale
JavaScript
Stelle
177
Fork
57
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di GenAI-Security-Project/GenAI-LLM-Top10

Tutte le issue di GenAI-Security-Project/GenAI-LLM-Top10

Issue simili

Altre issue su JavaScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.