Admission note quality affects clinical safety and research reliability, yet resident drafts often suffer from missing information, unclear logic, and other issues, requiring time-consuming manual review. Current large language models (LLMs) focus on text generation or formatting correction but rarely optimize clinical logic or mitigate hallucinations in specialized notes. We developed HQ-ANR (High-Quality Admission Note Refinement), a hyperthyroidism-specific quality-control model that integrates multi-agent collaboration with diagnosis-driven retrieval-augmented generation (RAG) to optimize the history of present illness (HPI) in admission notes. Built on a general-purpose LLM (Qwen3-32B), HQ-ANR anchors generation to a dual-source knowledge base (guidelines and expert notes) and employs specialized agents for symptoms, examinations, and treatments. In a blinded evaluation of 30 resident-drafted hyperthyroidism notes, HQ-ANR significantly improved median Physician Documentation Quality Instrument (PDQI-9) scores (from 39.00 to 42.00) and reduced the hallucination rate (positive factual hallucinations only) to 6.67%, compared to 26.67% for a general LLM with chain-of-thought (CoT) prompting. Efficiency analysis showed HQ-ANR reduced physician refinement time by an average of 112.9 s per note ( p < 0.001). These results demonstrate that augmenting a general LLM with external knowledge and a multi-agent framework can achieve reliable, in-depth optimization of clinical notes without expensive vertical training, offering a practical pathway toward intelligent, safe documentation quality control and reducing physician documentation burden.
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
Related blog posts
MIT News · Artificial Intelligence· news.mit.eduOct 8, 2026