CS224V Final Project · Stanford University

The Missing Knowledge Is on the Page

What a human adds to an AI engineer for reading order in Republican-era Chinese newspapers
Yueer Zhou  ·  Ray Hung
Track A: CHURRO-Synthesis, domain-adaptive OCR through distillation
A Jingbao page with every OCR box outlined
(a) A Jingbao page (3 April 1920) with every OCR box. The red box holds two essays and the tops of the tier below.
Zoom on the OCR lines with their position in box order
(b) Box order reads lines 20 to 22 of the essay, then fragments 23 to 26 from the tier below, and only then continues the essay at 27.
In short. OCR reads a newspaper page box by box, which scatters articles into pieces. We reorder the OCR lines into reading order without changing the text. A 9B vision-language student, trained only on Claude's labels, answers small local questions over page crops ("after this run ends, which nearby run is read next?"). It closes about 72% of the gap between box order and the Claude teacher. We also gave AI engineers (Claude Code, Codex) the same data and compute. Alone, they find the right problem but never look at the page. Four one-line hints and the images take them most of the way.
0.663
test block order of our system, against 0.538 for box order and 0.712 for the teacher
72%
of the gap from box order to the Claude teacher closed by a 9B student
+0.056
from letting the student see the page, the largest single gain
4 hints
take an AI engineer from 0.596 to 0.636, about 60% of the way to our human-AI system
The problem

Box order scatters every article

Jingbao (晶報) was a Shanghai tabloid (1920 to 1939). Its pages are crowded with short articles, serialized fiction, columns and advertisements. Text runs top to bottom and right to left, columns are short, and one article wraps across many of them.

Modern OCR recovers the characters well, but it lists lines box by box. Because one box often spans columns from several articles, box order jumps between stories. We restore the reading order: the system outputs the same lines, reordered so that every article is read from start to end without interruption.

The metric is the course kit's block order. A text block (headline, body, byline) that is read in n contiguous pieces scores 1/n, weighted by characters and averaged over the 23 test spreads. All training signal comes from Claude's article groupings of the 22 dev spreads. Human labels are used only for scoring.

Method

Ask many small questions, and look at the page

Inside a box, the next line is almost always the next line in box order. The hard decisions are the few long jumps where a column ends and the article continues somewhere else. So instead of "order this page", we ask one local question per run end.

Step 1
Cut
An image cutter joins neighbouring columns of a box into runs.
Step 2
Propose
A geometry ranker keeps 8 nearby candidate runs, box order's next always among them.
Step 3
Ask
The VLM student sees a page crop and answers A to H, or Z if the article ends.
Step 4
Check
The same question with the options reversed, and asked backwards.
Step 5
Decide
A classifier jumps only on strong combined evidence, box order otherwise.
Qwen3.5-9B LoRA students, trained with SFT then RL on Claude's dev groupings only.
Runs on the essay page
(a) Cut: columns become runs r1, r2, …
The candidates proposed after run r3
(b) Propose: eight candidates after r3. A is the next column to the left, B is box order's next.
Ask · after run r3
Run r3 ends 「…權衡之為平」. Which run comes next?
Ar7 「圓形,白種之髮…」1.00
Br4 「魏」, box order's next0.00
Cr14, another box0.00
Dr33, another box0.00
E to H, Z0.00
Check
forward 1.00reversed 0.98backward 0.99
Decide  classifier 0.91, so jump r3 → r7

One real question from the final system, on the essay above. The marks on the crops are ours. The student sees the clean page.

36% → 85%
Propose by distance

The kit's candidate lists are cut by page index and hold the right next piece only 36% of the time. Ranking runs by layout distance puts it among the eight closest about 85% of the time.

40 to 57%
Text alone is not enough

Only 40 to 57% of a text-only judge's most confident jumps are correct. Headlines, rules and the column grid decide where an article goes, and they are only in the image.

×3
Ask more than one way

The student's choice often flips when the options are reversed. Asking as is, reversed and backwards, and jumping only when they agree, makes jumps safe to take.

Results

A 9B student closes most of the gap to its teacher

On 23 test spreads, our system raises block order from 0.538 to 0.663. The share of text whose block is read in one unbroken piece rises from 32.3% to 47.2%.

Test block order, 23 spreads

All systems keep the same OCR text. Hover a bar for the companion metrics.
Table view

Adding one component at a time

Seeing the page is about 60% of the gain over the text-only student.
Table view
Human and AI engineer

Can an AI engineer do this alone?

This project was itself built by a human working with Claude Code. So we asked: given the same data, labels and 40 GPU-hours, how far does an AI engineer get alone, and what exactly does the human add?

No human input
AI engineer alone
0.596 Claude Code · Codex 0.579
  • Groups 80-line windows with 14B and 32B text students, 6 × 6 vote
  • Correct diagnosis: the errors are a few jumps
  • Never asks for the page images. When stuck, it scales the models
"the limit is the 53 Claude-labelled dev pages"
4 sentences + page images
AI engineer + 4 hints
0.636 31.9 GPU-h
  • Pair classifier proposes next lines, Qwen3-VL-8B picks from the page image
  • Forward and backward must agree
  • On its own, adds a 35-candidate tournament
"the bottleneck is candidate recall"
Human direction at every step
Human + AI (ours)
0.663 ≫ 40 GPU-h
  • Run-level questions over layout-distance candidates
  • SFT then RL, three views of each question
  • A learned classifier decides each jump
The human chose the direction after each result, the agent wrote the code and ran the jobs.

Every test submission, against GPU-hours used

Hover a point. The shaded area is past the 40 GPU-hour budget.
Codex aloneClaude Code aloneClaude Code + 4 hintsOursClaude teacherBox order
Table view

The four hints

General directions only, with no code or details.

Keep box order when unsureErrors are a few jumps, and a wrong jump costs more than a missed one.
Ask locallyWhere does this run continue? Geometry proposes nearby candidates, the model picks.
Look at the pageText alone is not enough, so use a small VLM that sees the page image.
Ask more than one wayand combine the answers.
Qualitative

Following two articles from start to end

Each bar follows one article. Dark segments are its own columns (lighter in its second box), grey gaps are other text read in between. In the essay (a), box order is interrupted twice and Claude once, while our system reads it in one go through the jump r3 → r7 above. The news report (b) is a failure case: we repair three of four breaks, but the last column comes only after 20 columns of other text.

Two test articles read by human order, box order, our system and Claude

Explore every article yourself. The interactive viewer shows 476 human-labelled blocks of the test set, read by eight systems, including the three AI-engineer setups.

Open the viewer
Error analysis

Most misses happen before the student is asked

For every run end on test whose last line has a labelled next line, we ask where that line is. Where box order is already right, the system almost never leaves it. Only 366 misses, a fifth of all errors, are wrong choices among the candidates. The rest are next lines that are not among the candidates, or that sit inside another run because the cutter joined across them.

3601 run ends on test, by where the true next line is

Grey is correct, red is an error. Hover a segment.
Table view
Takeaways

What we learned

1
The missing knowledge is layout

Distilling Claude into small text models barely beats box order. Students become useful only once they see the page, because rules, headlines and the column grid decide where an article continues.

2
Make the task local, then check it

Turning one global ordering into local multiple-choice questions made the task learnable for a 9B student, and checking each answer from several views made jumps safe enough to take.

3
The human's best contribution was a change of input

Both solo agents located the errors but treated the input as fixed. Four sentences that pointed at the page took the agent 60% of the way, and it filled in the details itself.

Future work

  • Better candidates and finer cutting. Better proposals would reach the half of needed jumps that now fall outside the options, and finer cutting would free the next pieces glued inside other runs.
  • Which hints matter. Giving the four hints one at a time would show which pieces of expert guidance are necessary.
  • Other domains. The recipe of local questions, page crops and multiple views could carry over to tasks such as historical Latin OCR.

Limitations

The test set has 62 printed pages, so differences of about 0.01 are within noise. Our final configuration was chosen with test scores in view, so 0.663 is likely optimistic. Our system used far more than the agents' 40 GPU-hours. Claude's 0.712 used only OCR text and box coordinates, while our system uses page scans.

Citation

@misc{zhou2026missing,
  title  = {The Missing Knowledge Is on the Page: What a Human Adds to an AI Engineer
            for Reading Order in Republican-Era Chinese Newspapers},
  author = {Zhou, Yueer and Hung, Ray},
  year   = {2026},
  note   = {CS224V Final Project, Stanford University}
}