←All projects

Multimodal/Case StudyExperimental/ 2026

Prism Multimodal

Vision-language document parser.

MultimodalVisionEval
/prism-multimodal
prism multimodal / onlineMultimodal · Vision · Eval

Problem and solution

01/Problem

Documents aren't text. Layout, tables, diagrams, and footnotes are load-bearing — and most pipelines flatten them on the way in.

02/Solution

Prism renders documents page-by-page, runs a vision-language model on each region, then reconciles into a structured schema with provenance. Tables become rows, diagrams become descriptions, footnotes stay attached.

03/How it works

The system, end to end.

  1. 01next →

    Render

    PDF → page images at consistent DPI.

  2. 02next →

    Detect

    Layout regions + reading order.

  3. 03next →

    Extract

    VLM per region (text, tables, figures).

  4. 04next →

    Reconcile

    Stitch into schema, preserve links.

  5. 05loop

    Export

    JSON / Markdown / Postgres rows.

04/Architecture

Components and data flow.

How the moving parts fit together. Solid arrows are synchronous calls; dashed arrows are queued or batched.

  1. 01

    Upload pipeline

  2. 02

    PDF rasterizer

  3. 03

    Layout detector

  4. 04

    Region router

  5. 05

    Vision-LLM pool

  6. 06

    Reconciler

  7. 07

    Schema validator

  8. 08

    Export sinks

↓ flow continues

05/Technology

The stack.

AI / ML
GPT-4V / Claude visionLayoutLMv3Donut
Frontend
Reacttldraw viewer
Backend
PythonFastAPICelery
Database
PostgresS3
Infrastructure
ModalGitHub Actions
APIs
OpenAIAnthropic

06/Engineering decisions

What we picked, and why.

  1. 01

    Region-by-region VLM calls

    Choice

    One VLM call per detected region

    Alternatives

    • Whole-page VLM
    • Two-stage OCR + VLM

    Why

    Whole-page lost table structure; OCR+VLM doubled failure modes. Region routing gave the best recall on tables.

07/Evaluation

What we measured.

  • 01

    92%

    Table accuracy

  • 02

    96%

    Section recall

  • 03

    3.1s

    p95 / page

08/Challenges

What almost broke us.

  • 01

    Multi-column layouts

    What happened

    Reading order broke on two-column papers.

    What we did

    Added a layout-aware ordering pass with explicit column boundaries.

09/Results

Replaced a 4-step manual pipeline for two analyst teams. ~6× throughput on document-heavy briefs.

10/Future improvements

  • ›Diagram-level structural extraction
  • ›OCR-free Chinese / Japanese

Have an interesting AI problem?

Let's build something.

If you're working on something that needs real AI engineering — not just a demo — let's talk.

© 2026
Motion-Y

Hello, I'm your Motion-Y Assistant. How can I help you today?