Graph-Enhanced Retrieval-Augmented Generation for Postoperative Patient Question Answering: A Comparative Evaluation of Knowledge Graph, Retrieval-Augmented Generation, and Hybrid GraphRAG Approaches
Background: Reliable access to postoperative guidance between clinic visits remains inconsistent, and the usefulness of large language models depends on how clinical knowledge is structured and retrieved. Knowledge graph-only (KG-only), vector retrieval-augmented generation (RAG-only), and hybrid graph-retrieval (GraphRAG) architectures have not been directly compared under controlled conditions for postoperative care. Objective: It was to compare these three pipelines on a curated postoperative question-answering benchmark using automated grounding metrics and blinded clinician review. Methods: A benchmark of 250 expert-authored questions (200 in-scope, 20 emergency-intent, 30 out-of-scope) was evaluated on an identical knowledge corpus using Gemini 2.5 Flash for generation and Gemini Embedding-001 for retrieval. Three blinded clinicians rated all 750 outputs; the primary outcome was majority-consensus accuracy across all 250 questions. GraphRAG is a multi-component pipeline that also includes query expansion, a second retrieval stage, evidence fusion, and a monotonic RAG fallback, and is therefore evaluated as a complete hybrid system rather than as graph retrieval in isolation. Results: Overall accuracy was 96.8% (95% CI: 93.8–98.4) for GraphRAG, 94.8% (95% CI: 91.3–96.9) for RAG-only, and 56.0% (95% CI: 49.8–62.0) for KG-only. Both retrieval-augmented systems outperformed KG-only (adjusted p < 0.001). The GraphRAG versus RAG-only difference was 2.0 percentage points, arose from five discordant question pairs and did not reach the Bonferroni-adjusted threshold (exact McNemar p = 0.062; adjusted p = 0.188). The monotonic RAG fallback determined 44.8% of GraphRAG outputs (112 of 250 queries). GraphRAG showed higher context recall (0.851 versus 0.796; adjusted p < 0.001), whereas RAG-only showed higher context precision. Estimated hallucination risk, derived from an LLM-as-a-judge procedure using Gemini 2.5 Flash rather than independent clinical adjudication, was 0.108, 0.132, and 0.436, respectively; the GraphRAG versus RAG-only difference was not significant (adjusted p = 0.771). Inter-rater agreement was high (Fleiss’ kappa = 0.854). Conclusions: Retrieval augmentation, rather than the choice of retrieval architecture, accounted for most of the difference observed. The incremental advantage of GraphRAG over a well-implemented RAG-only system was small, was not statistically significant after correction and reflects the complete hybrid system rather than graph augmentation alone. Emergency-intent accuracy was 75.0% for both retrieval-augmented systems; the architecture is therefore suited to supervised clinical workflows with clinician review, not autonomous patient-facing triage. Prospective validation on authentic patient messages and formal component ablations are required.
The results are packaged in the Greenfield Startup Model (GSM), which explains the priority of startups to release the product as quickly as possible, and the need to shorten time-to-market, by speeding up the development through low-precision engineering activities.
Carmine Giardino, Nicolò Paternoster, M. Unterkalmsteiner et al.· IEEE Transactions on Softwar...· 178 citations· ⚡14
Software startup companies develop innovative, software-intensive products within limited timeframes and with few resources, searching for sustainable and scalable business models.
M. Unterkalmsteiner, P. Abrahamsson, Xiaofeng Wang et al.· e-Informatica Software Engin...· 157 citations· ⚡17
This study conducts a case survey study based on the secondary data of the major pivots happened in 49 software startups, and demonstrates that customer need pivot is the most common among all pivot types.
Sohaib Shahid Bajwa, Xiaofeng Wang, Anh Nguyen-Duc et al.· Empirical Software Engineeri...· 127 citations· ⚡15
The comparison of adopter and non-adopter sample reveals three potential adoption inhibitor, security, data privacy, and portability, which underlines the importance of the technical and security perspectives for research investigating the adoption of technology.
Nattakarn Phaphoom, Xiaofeng Wang, S. Samuel et al.· Journal of Systems and Softw...· 111 citations· ⚡8
The ongoing work building a Raspberry Pi cluster consisting of 300 nodes is presented, with potential use cases being an inexpensive and green test bed for cloud computing research and a robust and mobile data center for operating in adverse environments.
P. Abrahamsson, S. Helmer, Nattakarn Phaphoom et al.· IEEE International Conferenc...· 110 citations· ⚡7
The results indicate that software developers are a slightly happy population, but the need for limiting the unhappiness of developers remains, and 219 factors representing causes of unhappiness while developing software are identified.
D. Graziotin, Fabian Fagerholm, Xiaofeng Wang et al.· International Conference on...· 84 citations· ⚡6
Able to defeat top-ranked human players and more efficient than other models, the new system could help decision-makers in military maneuvers or business negotiations.
We use cookies to run the site and, with your consent, for analytics and to show ads.
See our Cookie Policy.