How should you test Pixtral-style vision models on receipts?

Evaluate vision models on real receipts and handwriting. Use a review matrix for crossed-out amounts, line items, image quality and uncertain meaning.

Pixtral vision encoder showing patches, image sizes and token processing
Pixtral’s vision-encoder diagram shows images becoming patches and tokens at different resolutions. Original figure cropped from the cited paper and resized; plotted values and labels are unchanged. Mistral AI, Pixtral 12B technical report, 2024, Figure 2 · CC BY 4.0

How should you test Pixtral-style vision models on receipts?

Vision-language models can help interpret receipt images, but document performance depends on image quality, language, layout and the requested fields. Pixtral’s published capabilities provide a starting point for evaluation, rather than a handwriting guarantee. Test original documents, score important fields separately and preserve uncertain readings for a person to resolve.

Keep these in mind

  • A multimodal model can inspect an image without guaranteeing every field is correct.
  • Test crossed-out values and line relationships, not just readable totals.
  • Keep image quality, extraction and business interpretation distinct during review.
Inspect image → Propose fields → Resolve unclear marks → Accept interpretation
Receipt extraction succeeds when the image, field relationships and business meaning can be checked together.

Start with the receipt people actually receive

A carbon-copy receipt may contain faint text, an overwritten quantity and a handwritten note at an angle. Reading the printed total alone does not establish what the business should record.

The useful task might involve identifying three line items, their units and whether a payment was mentioned or received. Write those requirements before choosing a model or evaluating its response.

Keep the Pixtral model and the product interface distinct

The Pixtral-12B-2409 model card describes a multimodal decoder with a separate vision encoder. This is a specific September 2024 model release.

Le Chat is a product interface, while a model card describes a model and its evaluation. The behavior of a complete document workflow also depends on preprocessing, instructions and the software around inference.

The card’s document-question benchmarks do not establish accuracy on your handwriting or trade vocabulary. Avoid translating a benchmark score into a guaranteed percentage of correct supplier records.

Use a receipt with competing amounts

For an illustrative test, a receipt contains three items totaling ₹2,850. A later handwritten note reads less 150, while an older ₹200 deduction is crossed out. The intended interpretation needs both the current deduction and its status.

If the note is unreadable, the accepted outcome can be a request for clarification. Guessing a clean total should not score better merely because the response looks complete.

Illustrative receipt review matrix
Image detailQuestion to scoreUseful response
Crossed-out deductionWhich value is superseded?Retain old and current interpretation separately
Faint quantityCan the unit and number be established?Flag the uncertain field
Handwritten payment noteDoes it describe receipt or an expectation?Ask about the event meaning
Second receipt pageAre all line items available?Request missing evidence before completing totals

Measure precision and missed information separately

Google Document AI’s evaluation guidance defines metrics using labeled reference documents. It distinguishes proposed values that are correct from required values that were missed.

Build a field-level answer sheet for your sample. A system might find most totals while repeatedly missing discounts written beneath them. One average score can hide the resulting business problem.

For related line items, score the relationship as well as the text. A correctly read quantity can still be assigned to the wrong product. Check the relationship as well as each value.

Improve capture before adding more interpretation

Photograph the whole document in even light and retain its edges. Check that small digits remain visible after compression. A model cannot recover evidence that the uploaded image no longer contains.

Compare a second photograph when a field is unreadable, while preserving the original test result. This helps distinguish image-capture improvements from changes in model interpretation.

A locally deployed vision model still needs suitable hardware and an operating arrangement. Inspect uploads, backups and access separately. Multimodal capability does not establish an edge-device deployment or complete privacy guarantee.

Make the accepted record easy to inspect

Show proposed fields beside the source image. Let a reviewer zoom into the amount or line item in question. Preserve the accepted interpretation and any unresolved issue with the relevant job or supplier.

Run the process with a colleague who did not photograph the document. Their ability to explain the record is a useful test of whether the capture supports later work.

  1. Choose ordinary and difficult receipts from permissioned examples.
  2. Prepare the correct fields and allowable uncertain outcomes.
  3. Score values, relationships and review effort separately.
  4. Improve the capture or review step that causes the actual errors.

Common questions

Should an unreadable amount be filled with the most likely value?

Keep the field unresolved and request clearer evidence. A plausible guess can become difficult to detect once it appears in a polished record. Show the relevant image area and let an authorized person supply or confirm the missing meaning.

What makes a receipt-extraction sample representative?

Include the document types, scripts, photographs and corrections the team encounters during ordinary work. Retain difficult cases such as crossed-out amounts and missing pages. Prepare reference answers before evaluating outputs so the scoring does not reward convenient interpretations.

Sources & further reading

Primary references for the facts and frameworks discussed. Original worked examples are illustrative and separate from research results.

  1. Mistral AI: Pixtral-12B-2409 model card ↗

    Supports the dated model architecture and image/text modalities; no handwriting guarantee is inferred.

  2. Google Cloud Document AI: Evaluate performance ↗

    Supports field-level evaluation concepts including precision and recall against labeled documents.

Published by the team building Daltn. Comparisons are first-party analysis, not independent reviews. Our editorial approach.

Your contact details

We use your email and role to respond to early-access requests. For an Enterprise demo, we use your name, work email, company and any workflow details you share to follow up about the demo.

You can ask us to update or delete your details by emailing ceo@dotsuper.net.