HOME / CASE STUDIES / LLM KNOWLEDGE-GRAPH TOOL VALIDATION
Case study · AI validation · GxPValidating an AI-powered biomedical knowledge-graph tool
Researchers wanted to ask a large biomedical knowledge graph questions in plain English and get answers from an LLM. Before anyone relied on those answers, the tool had to be validated like any other computerised system.
- INDUSTRY
- Biomedical research · Drug discovery
- SERVICES
- AI validation · LLM evaluation
- FRAMEWORKS
- GAMP 5 · CSA · 21 CFR Part 11 principles
- OUR ROLE
- Validation lead, from plan to summary report
Business challenge
LLMs write fluent answers whether or not they are right. For a tool that scientists use to choose drug targets, a confident but unsupported answer is worse than no answer. The core question was simple: how can a researcher trust an answer generated by an LLM connected to a biomedical knowledge graph?
Can we show, with documented evidence, that every answer the tool gives is grounded in the knowledge graph, traceable to its source, and fit for its intended use?
Solution
We treated the application as a GxP-style computerised system with an AI component. The tool was designed to answer only from evidence it retrieves, through read-only, safety-checked queries, and to link every gene, drug and disease it mentions back to its source. Our job was to define what “fit for use” meant for that design and then establish it with planned, documented testing against predefined acceptance criteria.
- Intended use written down: research decision support, not clinical or patient-level decisions
- Validation scope covering the LLM layer, the query tools, the knowledge graph data and the user interface
- Risk-based effort: the deepest testing went to the failure modes that could mislead a scientist
Validation approach
- Intended-use assessmentDefined users, questions in scope and out of scope, and the decisions the answers may support.
- Risk assessmentRated AI-specific failure modes: invented facts, unsupported claims, wrong tool choice, inconsistent answers, stale data.
- Requirements & traceabilityWrote requirements for grounding, citation, access control and logging, and traced each to a test.
- Functional testingTested look-ups, path-finding, clustering and ranking tools against known results in the graph.
- Accuracy & grounding evaluationChecked LLM answers against the source data: is each statement backed by retrieved evidence, and does each link resolve?
- Audit trail assessmentConfirmed the questions, plans, tool calls and answers are recorded so any result can be reconstructed and reviewed.
- Deviation managementLogged failures as deviations, assessed impact, fixed and re-tested before closing them.
- Change control & periodic reviewSet rules for re-testing when the model, prompts or graph data change, so the tool stays validated.
Deliverables
Outcome
The tool was assessed against acceptance criteria agreed before testing began, and its validated state was documented in a summary report that ties each requirement to its evidence. Because the answers are only as good as the evidence behind them, the validation focused on grounding and traceability rather than on the exact wording an LLM produces, which can vary from run to run.
Acceptance criteria
- Every factual statement in an answer is supported by evidence the tool retrieved
- Every gene, drug and disease mentioned links back to its source record
- The tool only reads from the knowledge graph and cannot change it
- The full chain of question, plan, tool calls and answer is logged for review
Limitations we documented
- Answers are limited to what the knowledge graph contains; gaps in the graph are gaps in the answer
- The tool supports research decisions and is not validated for clinical or patient-level use
- LLM wording can vary between runs, so acceptance is based on evidence and citations, not identical text
Corrective & preventive actions
- Answers that included statements not backed by retrieved evidence were raised as deviations, corrected through tighter answer rules, and re-tested
- Model, prompt and data updates go through change control with a defined regression test set
Related services
Client, employer and partner names are withheld for confidentiality. Figures are rounded.
Have a validation backlog or an AI system to validate?
Tell us what you need. We reply within 3 business days with a practical first step and an indicative quote.