cs.LGSep 5, 2026

Grounded and Faithful P&ID Reasoning: Constraining Vision-Language Models with Recovered Evidence Graphs

Authors: Prathamesh Gadekar, Sagar Srinivas Sakhinana, Venkataramana Runkana

Organizations: Tata Research Development and Design Center, Pune, India 411057

Abstract

Piping and Instrumentation Diagrams (P&IDs) are the authoritative maps of process plants: isolation, maintenance, and HAZOP decisions depend on what connects to what. Vision-language models describe these sheets fluently, yet they often invent or miss process connections---and an invented or missed link can reverse an isolation or reachability call, so a plant decision cannot trust a fluent answer that was never checked against the linework. We instead recover an explicit graph of the drawing---its symbols, the process connections between them, and the tags that name them---and then require the model to answer only by querying that graph through seven read-only operators, so a topology claim is returned only when it cites the query results that support it. On TopoPID-VQA, a new suite of 3000 topology questions over these sheets, Graph-Grounded Harness (Ours) raises exact match accuracy from 36.7--41.3% under image-only prompting to 74.3--76.0% for Qwen3-VL-4B, Qwen3-VL-8B, and Gemma-4-E4B. It does so on an imperfect substrate: on Digitize-PID dataset the recovered graph scores F1 0.742 on exact process connections, and 0.801 once symbols and tags are pooled in. The residual errors track that gap---grounding pays off where the recovered graph is right, and perception error still breaks topology questions where it is not.

Figures & tables

Appendix figures & tables35 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. GraphRAG for Engineering Diagrams: ChatP&ID Enables LLM Interaction with P&IDs

    Mar 23, 2026Achmad Anggawirya Alimin, Artur M. SchweidtmannGraph Retrieval-Augmented GenerationAgentic RAG

  2. SynthPID: P&ID digitization from Topology-Preserving Synthetic Data

    Apr 15, 2026Suraj Prasad, Pinak MahapatraSynthetic Data Generation

  3. LLMs in Process Diagram Engineering: From Optimal PFDs to Validated P&IDs

    Jul 21, 2026Timur Zakarin, Sergei Voitov, Sergei Shumilin +1Large Language Model-Guided OptimizationWorkflow Automation