Multimodal Dialogue: Image-Text Understanding and Verifiable Citation Practices

    This article explores how to build and evaluate multimodal dialogue systems that are not only accurate in reading images and text but also verifiable through traceable citations. It covers evaluation framework design across three task layers, metric definitions such as field accuracy, evidence hit rate, and follow-up consistency, and practical observations on charts, process diagrams, and mixed-layout documents. It also presents a reference architecture, verification pseudocode, prompt and output contract practices, and a summary of common defects with optimization suggestions. Readers will learn how to turn "looks correct" into "can be checked" using structured output contracts and an independent verification layer.

    1. Background: The Real Bar for Multimodal QA Is Verifiability

    In enterprise office work, training, and compliance review, multimodal dialogue systems must handle mixed image and text inputs. What users care about is not whether the model can produce a fluent explanation, but two things: first, whether it accurately reads the key fields in an image; second, whether it can point the supporting evidence back to a specific location in the source material when giving a conclusion.

    These two points can be abstracted into two independent capability dimensions that must hold at the same time:

    • Image-text understanding accuracy: The answer is factually correct, with fields, units, conditions, and order all accurate.
    • Citation traceability: The answer comes with checkable evidence pointers, and the evidence remains stable across follow-up turns.

    With only the former, the system behaves as “correct but unable to explain the source”; with only the latter, it behaves as “cites, but cites the wrong location.” In engineering, the two should be split into independent metrics, measured separately, and then combined into a “verifiable pass rate.”

    2. Evaluation Framework Design: From “Understanding” to “Traceable Evidence”

    2.1 Task Layers

    It is recommended to split the evaluation set into three layers with increasing difficulty:

    1. Single image, single question: One clear screenshot and one question, testing basic field reading.
    2. Single image, multi-turn follow-up: Continuous follow-up questions on the same image, testing evidence source consistency.
    3. Mixed image-text with multiple candidates: Multiple similar fields or multiple candidate evidence items on a page, testing the ability to “pick the right one.”

    2.2 Metric Definitions

    Metric Definition Judgment Method
    Field accuracy Proportion of key fields (numbers/names/units/conditions) read correctly Field-by-field comparison with manual annotation
    Confusion rate Proportion of similar fields mixed up Count of mismatches
    Evidence hit rate Proportion of cited regions matching the true evidence region Region-level manual or rule-based verification
    Follow-up consistency Whether the evidence source stays unchanged after additional questions Multi-turn evidence fingerprint comparison
    Refusal appropriateness Whether it clearly states it cannot confirm when information is insufficient Negative sample set validation

    2.3 Input Quality Control

    The credibility of evaluation conclusions depends on input quality. It is recommended to grade materials: clear screenshots, normal-resolution screenshots, text-dense pages, and low-contrast photos. Metrics should be counted per grade to avoid conflating “blurry input” with “insufficient model capability.”

    3. Observed Results on Image-Text Understanding Accuracy

    3.1 Chart Materials

    For charts with axes, legends, bars, or lines, the more stable observed behavior is: main trend judgment is reliable, and it can connect “value-meaning-conclusion” into a complete statement, reducing cases of “understood but scattered.” Risks concentrate in two places: first, mixing units when there are dual vertical axes or inconsistent units; second, mismatching series names when there are many legend items.

    The improvement suggestion is to add explicit constraints in the prompt:

    1. Answer only based on the information in the image; do not make any external inference.
    2. Output format:
    3. - Trend: <up/down/fluctuating>
    4. - Key value range: <min-max, with unit>
    5. - Evidence region: <top-left/center/bottom-right of the chart, etc.>
    6. If no unit is labeled in the image, answer "unit not labeled."

    3.2 Process and Rule Diagrams

    The main risks in flowcharts with many nodes are reversed step order and missing key preconditions. A commonly observed good behavior is: first restate the process skeleton, then add meaning step by step; when explicitly required to “use only the information in the image and make no inference,” the expression becomes noticeably more cautious and tends to flag uncertain points.

    In engineering, order verification can be introduced: compare the position of the model’s output step sequence with the annotated sequence, and count any inverted pair as an error, rather than only checking whether key points are mentioned.

    3.3 Mixed Image-Text Document Pages

    Pages such as policy excerpts and product descriptions most test layout understanding. The ideal output should distinguish title areas, body areas, and note areas, and organize information according to the original hierarchy, so that follow-up questions can stably land on the same paragraph. If the model treats note text as body clauses, it is a high-risk error and should be listed separately as a severe defect in compliance scenarios.

    3.4 Summary

    The overall pattern is: the clearer the input, the more stable the field accuracy; the denser the input, the more it needs a “specified region/specified field” questioning approach to improve hit rate. This shows that the benefit of prompt constraints is significantly amplified on complex layouts.

    4. Observed Results on Citation Traceability

    4.1 From “Spoken Summary” to “Located Citation”

    A traceable citation should contain three types of information: source identifier (which page/which image), spatial location (region or line range), and the original text fragment. Expressions like “as can be seen from the image” are considered untraceable.

    An example of a deployable output contract:

    1. {
    2. "answer": "This clause requires submitting the application 15 working days in advance",
    3. "evidence": [
    4. {"source": "page_2", "region": "body paragraph 3", "quote": "...fifteen working days in advance..."}
    5. ],
    6. "confidence": "high",
    7. "unverified": []
    8. }

    4.2 Selection Ability in Multi-Candidate Scenarios

    When multiple similar values exist on a page, the key is not whether candidates can be found, but whether the correct one can be selected. During evaluation, a “distractor set” should be constructed, the evidence hit rate counted, and whether the model writes distractors into the citation recorded.

    4.3 Follow-Up Consistency

    After additional questions, the evidence source should remain unchanged. An “evidence fingerprint” method can be used: hash the source identifier and region of each turn’s output; if the fingerprint changes without reasonable explanation, judge it as drift. A common situation in practice is that the citation expression becomes more general (degrading from a specific paragraph to the whole page); such problems can usually be fixed by requiring “supplementary location information.”

    5. Engineering Implementation: A Verifiable QA Pipeline

    5.1 Reference Architecture

    A verifiable multimodal QA pipeline usually includes the following stages:

    1. Ingestion and preprocessing: Document parsing, image splitting, layout region recognition.
    2. Indexing and retrieval: Build a structured index for text and image regions that can be pointed back to.
    3. Generation and constraints: The model outputs answers and evidence according to a fixed contract.
    4. Verification layer: Field comparison, region hit verification, unit and order checks.
    5. Logging and audit: Requests, evidence, and verification results are recorded uniformly for review.

    The above capabilities can map to general cloud product categories: object storage holds the original materials, message queues decouple parsing and generation tasks, container platforms host inference and verification services, and logging services with monitoring and alerting are used for record-keeping and anomaly detection. General cloud product categories from Baidu AI Cloud can serve as one hosting choice for such an architecture.

    5.2 Verification Layer Pseudocode

    1. def verify(answer_obj, gold):
    2. errors = []
    3. if answer_obj["answer"] != gold["answer"]:
    4. errors.append("answer_mismatch")
    5. hit = any(e["region"] == gold["region"] for e in answer_obj["evidence"])
    6. if not hit:
    7. errors.append("evidence_miss")
    8. if answer_obj["unverified"] and gold["must_answer"]:
    9. errors.append("over_refusal")
    10. return {"passed": not errors, "errors": errors}

    5.3 Engineering Points for Prompts and Contracts

    • Enforce structured output; missing fields count as failure, avoiding parsing ambiguity from free text.
    • Make clear that “declare inability to confirm if there is no evidence,” treating refusal as correct behavior rather than failure.
    • Perform secondary rule verification on sensitive fields such as units, time, and amounts, rather than relying solely on model self-assessment.
    • In multi-turn conversations, write confirmed evidence into the context and lock it to reduce drift.

    6. Common Defects and Optimization Suggestions

    Defect Root Cause Tendency Optimization
    Unit mixing Dual-axis/multi-unit layout Specify unit source in the prompt, rule verification
    Step inversion Dense nodes Position comparison of order, restate skeleton first
    Citation becoming general Insufficient location constraints Enforce the three elements of region plus fragment
    Notes treated as body Layout hierarchy misjudgment Region type annotation and separate severe defect listing
    Over-refusal Constraints too strong Calibrate refusal threshold with negative samples

    7. Conclusion

    The engineering value of multimodal dialogue lies not in generating more beautiful explanations, but in making every conclusion reviewable. Splitting evaluation into three quantifiable chains of “field accuracy-evidence hit rate-follow-up consistency,” combined with a structured output contract and an independent verification layer, turns “looks correct” into “can be found.” In real materials with denser input, the questioning approach of specifying regions and fields, and the non-omittable three elements of evidence, are the two most direct levers for improving the verifiable pass rate.