Manuscript Offprint

arXiv:2610.32781

Every Edge Needs a Quote: Building a Quote-Grounded Knowledge Graph of Healthcare Software Adoption with Language-Model Agents

Juan Felipe Duran, Arthur Tobler, Martin Vallières

Abstract

Hospitals regularly buy software that clinicians and patients depend on. Because these purchases are costly, hard to reverse and can affect patient care, buyers look for evidence of which peer institutions already use a product and which systems it connects to. This evidence is public but scattered across vendor websites, press releases and third-party pages. Language-model agents can now collect it at low cost, but the correctness of the extracted claims is difficult to establish, and a wrongly listed customer can mislead buyers and misrepresent an organisation. We present a pipeline that builds a knowledge graph of customer and integration relations from the open web under one rule: every edge must be supported by a verbatim quote from its source page. Pages come from a deterministic crawl of each vendor's site and a budgeted ReAct agent that searches the rest of the web. A permissive extractor proposes relations with quotes, and a layered grounding stage decides which to keep, using a referent step that reads the whole page when a quote names only one side, deterministic checks, and a panel of five model calls voting on nine criteria. On 61 vendors, the pipeline reaches 0.94 precision and 0.71 recall against a page-level key covering the 6,428 candidate relations proposed by its extractor, whose verdicts were drafted by one model and re-checked with a second. Against the golden reference, the marketplace's own curated list, it scores lower, but 89% of the relations it keeps that the reference lacks are stated on a page. A confidence score built from the panel's votes keeps more correct relations than the fixed rule at the same precision, and reaches 0.90 precision at 0.90 recall. We also discuss how narrow, bounded model calls, string-matched evidence and voting address long-context degradation and run-to-run variance.

Keywords: knowledge graphs, information extraction, language-model agents, attribution, LLM-as-a-judge, healthcare technology procurement.

Preprint.

1 Introduction

Hospitals and health systems regularly need new software, from electronic health record modules and revenue-cycle tools to ambient scribes. These purchases are costly and hard to reverse once a product is built into clinical and administrative workflows, and they affect patients because clinicians use these tools while delivering care. Before buying, teams therefore look for evidence that a product works in practice: which peer institutions already use it, and which of their existing systems it connects to. This evidence is public, but it is spread across vendor case studies, testimonials, customer logos, press releases and integration marketplaces.

We developed our pipeline with Elion, 1^{1} a marketplace that gathers this evidence so that buyers can compare products. For each product it records customers (organisations that use the product) and integrations (other products it connects to). In such a catalogue an incorrect customer is more harmful than a missing one: it can lead a buyer to trust a product for the wrong reason, and it associates a hospital with a product the hospital may not use.

Language models can now read web pages at scale and at low cost, which makes it possible to collect this evidence for every product in a catalogue. Their judgements, however, need checking. On one vendor's website, the same one-sentence testimonial, attributed to the same practice administrator, appears on several partner pages, each time under a different company's name. When we asked a large language model whether each of these pages shows that company using the product, it answered yes for three of them and no for a fourth, although the sentence was identical. More generally, models tend to say yes when asked whether a page supports a claim, can answer the same question differently on different runs, and produce worse output as the amount they must read or report at once increases.

The pipeline is built around one rule: every edge needs a quote. A relation is added to the graph only if it is supported by a verbatim span of a specific retained page, stored with the page's URL and retrieval time. This applies the notion of attribution of Rashkin et al. [22] at the moment each edge is written. A quote lets anyone check an edge, but it does not make the edge correct, so most of the pipeline is concerned with deciding whether a quoted relation is actually supported.

We evaluate the pipeline on two benchmarks. The golden reference, the marketplace’s own curated list, is accurate for the relations it lists but incomplete, so real relations it does not list count as errors. A page-level key labels every candidate relation. Its verdicts were drafted by one model and re-checked with a second.

References (23)

  • Haonan Bian. LLM-empowered knowledge graph construction: A survey. arXiv preprint arXiv:2510.20345, 2025. (opens arXiv in a new tab)
  • Evaluation and observability platform for AI applications
  • Knowledge vault: A web-scale approach to probabilistic knowledge fusion
  • Learning classifiers from only positive and unlabeled data
  • RARR: Researching and revising what language models say, using language models
  • Enabling large language models to generate text with citations
  • On calibration of modern neural networks
  • Can LLMs be good graph judge for knowledge graph construction? In Proceedings of the 2025 Conference on Empirical Methods in Natural Language Processing (EMNLP), pages 10940–10959, 2025
  • Survey of hallucination in natural language generation
  • Retrieval-augmented generation for knowledge-intensive NLP tasks
  • Lost in the middle: How language models use long contexts
  • FActScore: Fine-grained atomic evaluation of factual precision in long form text generation
  • Distant supervision for relation extraction without labeled data
  • WebGPT: Browser-assisted question-answering with human feedback
  • Pervasive label errors in test sets destabilize machine learning benchmarks
  • Unifying large language models and knowledge graphs: A roadmap
  • Closing the AI accountability gap: Defining an end-to-end framework for internal algorithmic auditing
  • Measuring attribution in natural language generation models
  • Zep: A temporal knowledge graph architecture for agent memory (opens arXiv in a new tab)
  • Hidden technical debt in machine learning systems
  • Revisiting relation extraction in the era of large language models
  • Self-consistency improves chain of thought reasoning in language models
  • ReAct: Synergizing reasoning and acting in language models