Salman Shabbir.
Menu
العربيةGet in touch
All research articles
Paper note · Document AI

What a long context window can miss

A research note on finding evidence in scanned contracts.

Published 7 November 2026

The position of the evidence

Imagine a contract with the relevant clause on page 160. Would a model answer the same question if that clause appeared on page two? Nelson Liu and colleagues investigated a version of this problem using multi-document questions and key–value retrieval. In their experiments, moving relevant information within the input changed accuracy. Several models performed best when the evidence came near the beginning or end.

Two questions for an engineer

A document pipeline has to answer two separate questions. Did the scanner and extraction process recover the clause? And did the model use it correctly? Fortis AI splits large documents into batches and reports pages it could not read. That gives a reviewer a way to locate extraction failures. A successfully processed page can still require a human check of the answer.

A test to run

Take a clause with a known answer and move it among otherwise comparable passages. Keep the question fixed. Record the answer, the cited passage and whether the clause entered the model’s input. This proposed test measures a specific system on specific documents. The paper’s results alone cannot establish how Fortis AI performs.

Read the paper by Liu and colleagues
A blue tab marks a passage in a bound contract.