Skip to content

Fix region-matching id collision; re-score end-to-end systems (v0.1.7.2)#26

Merged
Lawrenzho-bit merged 1 commit into
mainfrom
fix/region-matching-collision
May 22, 2026
Merged

Fix region-matching id collision; re-score end-to-end systems (v0.1.7.2)#26
Lawrenzho-bit merged 1 commit into
mainfrom
fix/region-matching-collision

Conversation

@Lawrenzho-bit

Copy link
Copy Markdown
Owner

What

match_regions honored an exact region_id string match before checking spatial overlap. Both end-to-end runners (Florence-NLLB, Qwen3-VL) emitted 0-indexed ids (r0, r1, ...) that collide with the ground-truth r1, r2, ... namespace, so end-to-end regions were force-paired off-by-one to non-overlapping ground-truth regions — corrupting chrF, IoU, τ and LTB-100 for every end-to-end system. Oracle-layout and identity systems were unaffected (they copy ground-truth ids and boxes).

Changes

  • Scorer (match_regions): an exact-id match is now honored only when the boxes also overlap (IoU ≥ 0.10); a coincidental id collision falls through to greedy IoU matching.
  • Runners: end-to-end runners emit non-colliding p{i} ids; committed qwen3-vl submissions re-indexed.
  • Florence-NLLB scored end-to-end (Florence-2 OCR + NLLB-200): LTB-100 39.79 chrF / 48.11 COMET-Kiwi, 8/16 pairs.
  • Qwen3-VL re-scored: 14.82 chrF / 18.43 COMET-Kiwi.
  • Leaderboard regenerated with short system display names; fixed the generator's stale v0.1.6 sample-size caveat and __version__.
  • Methodology roadmap: v0.1.7.2 entry; critique Fix CI: remove unused DocumentScore import #9 figures corrected.

84 tests pass.

Corrected end-to-end leaderboard

Board System LTB-100 text IoU τ
chrF identity-baseline 50.38 0.62 1.0000 1.0000
chrF florence-nllb 39.79 37.93 0.1541 0.8104
chrF qwen3-vl-2b-instruct 14.82 5.13 0.1084 0.4504
COMET identity-baseline 50.47 0.81 1.0000 1.0000
COMET florence-nllb 48.11 54.56 0.1541 0.8104
COMET qwen3-vl-2b-instruct 18.43 12.33 0.1084 0.4504

Oracle-layout systems (DeepL, NLLB, opus-mt) unchanged — never affected by the bug.

match_regions honored an exact region_id string match before checking
spatial overlap. Both end-to-end runners emitted 0-indexed ids
(r0, r1, ...) that collide with the ground-truth r1, r2, ... namespace,
so end-to-end regions were paired off-by-one to non-overlapping
ground-truth regions, corrupting chrF, IoU, tau and LTB-100 for every
end-to-end system. Oracle-layout and identity systems were unaffected.

- match_regions: exact-id matches gated on IoU >= 0.10; a coincidental
  id collision now falls through to greedy IoU matching
- end-to-end runners emit non-colliding p{i} ids; qwen3-vl submissions
  re-indexed
- score Florence-NLLB end-to-end (Florence-2 OCR + NLLB-200):
  LTB-100 39.79 chrF / 48.11 COMET-Kiwi, 8/16 pairs
- re-score qwen3-vl: 14.82 chrF / 18.43 COMET-Kiwi
- use short system display names on the leaderboard; full model ids
  remain in model_id_or_url
- regenerate leaderboard; fix the generator's stale v0.1.6 sample-size
  caveat and __version__
- methodology roadmap: v0.1.7.2 entry; critique #9 figures corrected

84 tests pass.
@Lawrenzho-bit Lawrenzho-bit merged commit 8c1db5a into main May 22, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant