← Latest papers
💻 computer science

VAREX: A Benchmark for Multi-Modal Structured Extraction from Documents

VAREX is a novel benchmark for evaluating multimodal foundation models on structured data extraction from government forms, featuring a unique reverse annotation pipeline, four distinct input modalities, and findings that highlight layout-preserving text as the most effective input format while identifying schema compliance as the primary bottleneck for models under 4B parameters.

Original authors: Udi Barzelay, Ophir Azulai, Inbar Shapira, Idan Friedman, Foad Abo Dahood, Madison Lee, Abraham Daniels

Published 2026-04-10
📖 5 min read🧠 Deep dive

Original authors: Udi Barzelay, Ophir Azulai, Inbar Shapira, Idan Friedman, Foad Abo Dahood, Madison Lee, Abraham Daniels

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you have a massive pile of government forms—tax returns, permit applications, license renewals. Your goal is to turn these messy paper (or PDF) documents into neat, organized digital spreadsheets that a computer can read. This is called Structured Data Extraction.

For a long time, computers have been getting better at this, but there was a problem: we didn't have a good way to test small, cheap computers. We only tested the "supercomputers" (the expensive, giant AI models). It's like only testing race cars on a track and ignoring whether a bicycle can even ride down a driveway.

Enter VAREX. Think of VAREX as a giant, automated "fill-in-the-blanks" test designed specifically to see how well different AI models can read forms and fill out the answers correctly.

Here is the breakdown of how it works and what they found, using some everyday analogies:

1. The "Reverse Annotation" Trick: Cooking from a Recipe

Usually, to test an AI, humans look at a document, read it, and write down the answers (ground truth). This is slow and prone to human error.

The VAREX team did something clever called Reverse Annotation.

  • The Old Way: You have a blank form, you fill it out, then you try to read it back.
  • The VAREX Way: They started with a digital recipe (a template). They programmed a robot to fill that template with fake data (like "John Doe," "123 Fake Street"). Because the robot wrote the data, it knows exactly what is supposed to be there.
  • The Result: They created 1,777 unique forms with 1,771 different layouts. Since the computer wrote the answers, the "correct answer key" is 100% perfect. There's no guessing.

2. The Four "Senses" of the AI

The benchmark tested the AI in four different ways, like giving a student a test in four different formats:

  1. Plain Text: Just the words, like a list of ingredients with no order. (Hard to understand where things go).
  2. Spatial Text: The words, but with extra spaces to show columns. Like a typewriter page where you can see the alignment.
  3. Image: A picture of the form (like taking a photo with a phone).
  4. Image + Text: Both the photo and the text together.

The Big Surprise: They found that for many models, Spatial Text (just the words with spacing) was actually better than looking at the picture! It's like realizing that reading a typed menu is easier than trying to decipher a blurry photo of a handwritten menu. The visual "noise" in the image sometimes confused the AI more than it helped.

3. The "Small Model" Crisis: The "Echo" Problem

This is the most important discovery. The team tested 20 different AI models, from tiny ones (2 billion parameters, like a compact car) to giant ones (like a supertanker).

They found that tiny models (under 4 billion parameters) weren't failing because they were "blind" or couldn't read the text. They were failing because they were bad at following instructions.

  • The "Echo" Metaphor: Imagine you ask a student, "What is the name on this form?" and they reply, "The name on this form is [Name]."
    • The smart student says: "John Doe."
    • The confused student says: "The name on this form is John Doe."
    • The worst student (the "Echo" model) says: "The name on this form is [Name]." They just repeat the question's structure instead of giving the answer.

In the paper, they call this "Schema Echo." The tiny models got so distracted by the format of the request that they just copied the template back to the computer instead of filling in the data. This caused their scores to crash by 45–65%.

4. The "Magic Fix": Fine-Tuning

The paper found that you don't need a giant supercomputer to fix this.

  • They took a tiny model and gave it a little bit of specific training (fine-tuning) just on how to fill out forms.
  • Result: The tiny model's performance jumped from near-zero to nearly perfect.
  • The Lesson: It's not about having a bigger brain; it's about teaching the small brain how to behave. A 2-billion-parameter model, if trained correctly, can do almost as well as a 100-billion-parameter model.

5. Resolution: The "Blurry Photo" Test

They also tested what happens if the image is blurry (low resolution).

  • Big Models: When you blur the photo, the giant models (like GPT-4o) get confused and their scores drop dramatically. They rely heavily on seeing every tiny pixel.
  • Small Models: Surprisingly, some small models handled the blurry photos better than the big ones. They were less dependent on high-definition details and more focused on the text structure.

Summary: What Does This Mean for Us?

VAREX is a wake-up call.

  1. Don't just buy the biggest, most expensive AI. For reading forms, a smaller, cheaper model might do the job just as well if it's trained correctly.
  2. The "Echo" is the enemy. If an AI keeps repeating the question instead of answering it, it's not a vision problem; it's an instruction-following problem.
  3. Text is often better than pictures. Sometimes, giving the AI the text with spacing is more reliable than showing it a photo of the document.

In short, VAREX is a new ruler for measuring AI. It tells us that for the everyday task of reading forms, we don't need a Ferrari; we just need a well-tuned bicycle that knows how to follow the rules.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →