Skip to content

Submission: ShreyShingala - #59

Open
ShreyShingala wants to merge 2 commits into
8090-inc:mainfrom
ShreyShingala:submission-shreyshingala
Open

ShreyShingala wants to merge 2 commits into
8090-inc:mainfrom
ShreyShingala:submission-shreyshingala

Conversation

@ShreyShingala

Copy link
Copy Markdown

MIB Doc Challenge Submission

Links

Approach

Deterministic, fully offline pipeline. No LLM, VLM, cloud OCR or network at runtime; no hardcoded
answers and nothing keyed on case id, filename or hash.

RapidOCR (PP-OCRv4 mobile detector + PP-OCRv5 mobile English recogniser, ONNX Runtime) with a
fine-tuned Tesseract LSTM as a second engine, geometric frame registration that undoes the
generator's band-translation and row-shear damage, closed-vocabulary CTC recovery, and a
hand-written policy engine. The trust boundary sits at parse time: white and near-white ink, text
outside the crop box and hidden layers are dropped while parsing, so injected instructions and
planted answer keys never become candidate evidence.

Result

133.65 / 150 measured inside the submission image under the published scoring contract
(--cpus 4 --memory 8g --read-only --network none) on the public 1,000-packet training set:
70.46 classification, 45.75 extraction, 17.44 calibration. 11 catastrophic false approvals,
0 missing cases, 0 invalid records, 2.32 s/PDF against a 6 s budget.

Out-of-fold (5-fold, refitting the calibration table and the one policy threshold inside each
fold) the total is 133.54, so almost nothing here is in-sample optimism.

Checklist

  • I filled out the submission form linked above
  • This PR only adds submissions/ShreyShingala/predictions.jsonl, MEMO.md, and SUBMISSION.md
  • predictions.jsonl passes scripts/validate_submission.py against data/validation_manifest.csv (5,000 valid records, 0 missing)
  • My solution repository is public and includes a Dockerfile
  • My Docker image runs offline (--network none) and accepts <input_pdf_dir> <output_predictions_path>
  • My submitted runtime uses no LLMs, VLMs, cloud OCR, or network services
  • Model artifacts fit the size limits in DOCKER_SUBMISSION.md (largest 14.7 MB, 28 MB total)
  • No hardcoded validation answers and no manual per-case edits
  • My memo describes my approach, failure modes, and what I would improve with another week

Deterministic, fully offline pipeline: RapidOCR (PP-OCRv4 det + PP-OCRv5 rec,
ONNX) plus a fine-tuned Tesseract LSTM and a hand-written policy engine. No LLM,
VLM, cloud OCR or network at runtime; no hardcoded answers and nothing keyed on
case id.

133.65/150 measured inside the submission image under the published scoring
contract on the public training set, 11 catastrophic false approvals, 2.32 s/PDF
against a 6 s budget.

https://claude.ai/code/session_018Jh51xdGJftwD38ScotAqB
@ShreyShingala
ShreyShingala force-pushed the submission-shreyshingala branch from d64e627 to 202491f Compare August 3, 2026 23:23
@ShreyShingala
ShreyShingala force-pushed the submission-shreyshingala branch from 49d1b59 to c2abf1d Compare August 4, 2026 05:51
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