تقييم الخبراء لنماذج اللغة الكبيرة لتلخيص الحوار السريري
Expert evaluation of large language models for clinical dialogue summarization

شارك:
المجلة: Scientific Reports، المجلد: 15، العدد: 1
DOI: https://doi.org/10.1038/s41598-024-84850-x
PMID: https://pubmed.ncbi.nlm.nih.gov/39774141
تاريخ النشر: 2025-01-07
المؤلف: David Fraile Navarro وآخرون
الموضوع الرئيسي: نمذجة الموضوعات

نظرة عامة

في هذه الدراسة، قام المؤلفون بتقييم أداء تلخيص نماذج اللغة الكبيرة (LLMs) على الحوارات السريرية باستخدام كل من المقاييس الحسابية والتقييمات البشرية. تم مقارنة خمسة نماذج: نموذج تلخيص عام، نموذج تم ضبطه بدقة للحوار العام، نموذجين تم ضبطهما بدقة على الحوارات السريرية المجهولة، وChatGPT. استخدمت التقييمات مقاييس ROUGE وUniEval، إلى جانب تقييمات الخبراء من قبل الأطباء. حقق نموذج المحول المضبوط بدقة أعلى درجات ROUGE، بينما على الرغم من تسجيل ChatGPT أدنى درجات على ROUGE، إلا أنه تفوق في مقاييس UniEval، مما يدل على تماسكه، واتساقه، وطلاقة، وملاءمته المتفوقة. عكست تقييمات الأطباء هذه النتائج، حيث كان أداء ChatGPT الأفضل في أربعة من خمسة مجالات تم تقييمها.

تشير النتائج إلى أن جودة تلخيص ChatGPT قابلة للمقارنة مع تلك التي تنتجها البشر، مما يتحدى موثوقية مقاييس ROUGE في السياقات السريرية. بدلاً من ذلك، أظهرت UniEval ارتباطًا قويًا مع تقييمات البشر، مما يشير إلى إمكانيته كأداة تقييم أكثر فعالية. تسلط الدراسة الضوء على إمكانية استخدام LLMs لتلخيص الحوارات السريرية، مع الاعتراف بالتحديات المستمرة المتعلقة بالخصوصية ودمج هذه التقنيات في الممارسة السريرية. يجب أن تركز الأبحاث المستقبلية على الحوارات السريرية المتنوعة وبذور التهيئة المتنوعة لمزيد من التحقق من قابلية تعميم هذه النتائج.

الطرق

في هذه الدراسة، قام المؤلفون بتقييم أداء نماذج اللغة المختلفة لتلخيص الحوارات السريرية، بناءً على الأبحاث السابقة. قاموا بمقارنة مخرجات النماذج المضبوطة بدقة والنماذج الجاهزة مقابل معيار الذهب الذي أنشأه البشر، مع إجراء التقييمات من قبل خبراء الأطباء. شمل الإعداد التجريبي خمسة نماذج مدربة مسبقًا: نموذجين تم ضبطهما بدقة على الحوارات السريرية (BART-LSG-conv وBART-DnC)، واحد تم تدريبه على الحوارات العامة، واحد مصمم للتلخيص الطويل للكتب (T5-Booksum)، وChatGPT من OpenAI (text-davinci-003).

استخدم نموذج BART-LSG-conv آلية انتباه LSG لاستيعاب ما يصل إلى 8,000 رمز، بينما استخدم نموذج BART-DnC استراتيجية تقسيم وغزو للتلخيص. كان نموذج LongDialSumm قائمًا على BART ولكنه لم يتم ضبطه بدقة أكثر، وكان نموذج T5-Booksum مدربًا مسبقًا خصيصًا لمهام التلخيص الطويل. تم تدريب النماذج المضبوطة بدقة باستخدام مكتبة Hugging Face transformer على مثيلات AWS المجهزة بوحدات معالجة الرسوميات NVIDIA. لم تتضمن الدراسة ضبطًا إضافيًا للنماذج للحوارات الأطول، وتُقدم نصوص التدريب، جنبًا إلى جنب مع تكوينات النماذج، في المواد التكميلية.

النتائج

في هذه الدراسة الاستكشافية، أظهر تقييم الملخصات باستخدام مقاييس ROUGE أن نموذج BART-LSG-conv، الذي تم تدريبه مسبقًا مع مقتطفات من الحوارات السريرية، حقق أعلى الدرجات لمقاييس ROUGE-1 وROUGE-2 وROUGE-L-SUM. في المقابل، أظهر ChatGPT أدنى أداء لكل من ROUGE-1 وROUGE-L-SUM. من الجدير بالذكر أنه بالنسبة لمقياس ROUGE-L، أظهر كل من BART-LSG-conv وLongDialSumm نتائج قابلة للمقارنة، بينما سجل T5-Booksum أدنى الدرجات لكل من ROUGE-2 وROUGE-L. تم تمثيل هذه النتائج بصريًا في الشكل 1، الذي يوضح درجات ROUGE عبر الأنظمة المختلفة ومقاييس التقييم.

المناقشة

في هذه الدراسة، استخدم المؤلفون مجموعة بيانات تتكون من 27 حوارًا سريريًا مجهول الهوية من استشارات الرعاية الأولية، والتي تمت معالجتها لمهام التلخيص. تم تقسيم الحوارات إلى مقتطفات من 400 كلمة للحفاظ على سلامة تفاعلات الأطباء مع المرضى، مع التخلص من نسبة صغيرة بسبب عدم الملاءمة. تم تقسيم مجموعة البيانات إلى مجموعات تدريب (80%) وتقييم (20%)، مما أسفر عن إجمالي 56,158 رمزًا للحوار و9,784 رمزًا للملخصات. شمل التقييم كل من المقاييس الآلية، مثل ROUGE وUniEval، والتقييمات النوعية من قبل خمسة أطباء، الذين قاموا بتقييم الملخصات بناءً على التماسك، والاتساق، والطلاقة، والملاءمة.

كشفت النتائج أنه بينما كانت النماذج المضبوطة بدقة مثل BART-LSG-conv تؤدي بشكل أفضل في مقاييس ROUGE التقليدية، كان أداء ChatGPT، الذي لم يخضع لضبط دقيق، يتفوق باستمرار على جميع النماذج في التقييمات البشرية ومقاييس UniEval. يشير هذا إلى أن ملخصات ChatGPT قد تكون قابلة للمقارنة من حيث الجودة مع تلك التي ينتجها البشر، مما يبرز قيود ROUGE في تقييم الحوارات السريرية الطويلة. تؤكد الدراسة على إمكانيات نماذج اللغة الكبيرة (LLMs) في تلخيص الحوارات السريرية، داعية إلى اعتماد مقاييس تقييم أكثر شمولاً مثل UniEval لتعكس بشكل أفضل جودة وفائدة الملخصات المنتجة في السياقات السريرية. يجب أن تركز الأبحاث المستقبلية على دمج هذه النماذج في الممارسة السريرية، مع معالجة مخاوف الخصوصية واحتياجات بيئات الرعاية الصحية المحددة.

القيود

تقدم هذه الدراسة الاستكشافية عدة نقاط قوة وقيود بشأن استخدام النماذج المدربة مسبقًا لتلخيص الحوارات السريرية. من نقاط القوة الملحوظة المقارنة التجريبية لمخرجات النماذج التي تم تقييمها من قبل الأطباء، مما يتيح تقييمات كمية ونوعية. على عكس الأبحاث السابقة التي ركزت على تلخيص مقتطفات من الحوارات السريرية، نجحت هذه الدراسة في إنتاج ملخصات كاملة للحوار، مما يعالج قيود النماذج السابقة التي تفتقر إلى طول السياق الكافي. بالإضافة إلى ذلك، تقارن الدراسة بين مقاييس التقييم المعروفة، مثل عائلة ROUGE، مع UniEval الأحدث، مما يعزز قابلية تطبيق الأخيرة في السياقات السريرية.

ومع ذلك، تحتوي الدراسة على قيود كبيرة. قد لا تعكس الاعتماد على بذور التهيئة الواحدة للنماذج المضبوطة بدقة بشكل دقيق تباين الأداء، على الرغم من أن الفجوة الكبيرة في الأداء بين ChatGPT والنماذج الأخرى تشير إلى أن هذا قد لا يغير الاستنتاجات الرئيسية. يحد حجم مجموعة البيانات الصغيرة من القدرة على ضبط النماذج بدقة بشكل موسع ويقيد قابلية تعميم النتائج عبر تخصصات طبية مختلفة. علاوة على ذلك، قد تؤثر الطبيعة الذاتية للتقييمات البشرية، على الرغم من الجهود المبذولة لتقليل التحيز، على موثوقية النتائج. أخيرًا، تبرز المخاوف المحتملة بشأن خصوصية البيانات المرتبطة باستخدام ChatGPT لمعالجة المعلومات الطبية الحساسة الحاجة إلى مزيد من التقييم للبدائل مفتوحة المصدر التي يمكن أن تعمل في الموقع. يجب أن تتناول الأعمال المستقبلية هذه القيود لتعزيز قوة وقابلية تطبيق نماذج تلخيص الحوارات السريرية.

Journal: Scientific Reports, Volume: 15, Issue: 1
DOI: https://doi.org/10.1038/s41598-024-84850-x
PMID: https://pubmed.ncbi.nlm.nih.gov/39774141
Publication Date: 2025-01-07
Author(s): David Fraile Navarro et al.
Primary Topic: Topic Modeling

Overview

In this study, the authors evaluated the summarization performance of large language models (LLMs) on clinical dialogues using both computational metrics and human assessments. Five models were compared: a general summarization model, a model fine-tuned for general dialogues, two models fine-tuned on anonymized clinical dialogues, and ChatGPT. The evaluation employed ROUGE and UniEval metrics, alongside expert human evaluations by clinicians. The fine-tuned transformer model achieved the highest ROUGE scores, while ChatGPT, despite scoring lowest on ROUGE, excelled in UniEval metrics, demonstrating superior coherence, consistency, fluency, and relevance. Clinician evaluations mirrored these findings, with ChatGPT performing best in four out of five assessed domains.

The results suggest that ChatGPT’s summarization quality is comparable to that of human-generated summaries, challenging the reliability of ROUGE metrics for clinical contexts. Instead, UniEval showed a strong correlation with human ratings, indicating its potential as a more effective evaluation tool. The study highlights the feasibility of using LLMs for clinical dialogue summarization, while also acknowledging ongoing challenges related to privacy and the integration of such technologies into clinical practice. Future research should focus on diverse clinical dialogues and varied initialization seeds to further validate the generalizability of these findings.

Methods

In this study, the authors assessed the performance of various language models for clinical dialogue summarization, building on previous research. They compared the outputs of fine-tuned and off-the-shelf models against a human-generated gold standard, with evaluations conducted by clinician experts. The experimental setup included five pre-trained models: two fine-tuned on clinical dialogues (BART-LSG-conv and BART-DnC), one trained on general dialogues, one designed for long summarization of books (T5-Booksum), and OpenAI’s ChatGPT (text-davinci-003).

The BART-LSG-conv model utilized the LSG attention mechanism to accommodate up to 8,000 tokens, while the BART-DnC model employed a divide-and-conquer strategy for summarization. The LongDialSumm model was based on BART but was not further fine-tuned, and the T5-Booksum model was pre-trained specifically for long summarization tasks. The fine-tuned models were trained using the Hugging Face transformer library on AWS instances equipped with NVIDIA GPUs. The study did not involve additional fine-tuning for longer dialogues, and training scripts, along with model configurations, are provided in the supplementary materials.

Results

In this exploratory study, the evaluation of summaries using ROUGE metrics revealed that the BART-LSG-conv model, which was pre-trained with clinical dialogue snippets, achieved the highest scores for ROUGE-1, ROUGE-2, and ROUGE-L-SUM. In contrast, ChatGPT exhibited the lowest performance for both ROUGE-1 and ROUGE-L-SUM. Notably, for the ROUGE-L metric, BART-LSG-conv and LongDialSumm demonstrated comparable results, while T5-Booksum recorded the lowest scores for both ROUGE-2 and ROUGE-L. These findings are visually represented in Figure 1, which illustrates the ROUGE scores across the various systems and evaluation metrics.

Discussion

In this study, the authors utilized a dataset comprising 27 anonymized clinical dialogues from primary care consultations, which were processed for summarization tasks. The dialogues were segmented into 400-word snippets to maintain the integrity of clinician-patient interactions, with a small percentage discarded due to irrelevance. The dataset was split into training (80%) and evaluation (20%) sets, yielding a total of 56,158 tokens for dialogues and 9,784 tokens for summaries. Evaluation involved both automated metrics, such as ROUGE and UniEval, and qualitative assessments by five clinicians, who rated the summaries on coherence, consistency, fluency, and relevance.

The findings revealed that while fine-tuned models like BART-LSG-conv performed better on classical ROUGE metrics, ChatGPT, which did not undergo fine-tuning, consistently outperformed all models in human evaluations and UniEval metrics. This suggests that ChatGPT’s summaries may be comparable in quality to those generated by humans, highlighting the limitations of ROUGE in assessing long clinical dialogues. The study underscores the potential of large language models (LLMs) in clinical dialogue summarization, advocating for the adoption of more comprehensive evaluation metrics like UniEval to better reflect the quality and clinical utility of generated summaries. Future research should focus on the integration of these models into clinical practice, addressing privacy concerns and the specific needs of healthcare environments.

Limitations

This exploratory study presents several strengths and limitations regarding the use of pre-trained models for clinical dialogue summarization. A notable strength is the empirical comparison of model outputs evaluated by clinicians, enabling both quantitative and qualitative assessments. Unlike previous research that focused on summarizing snippets of clinical dialogues, this study successfully generates full-dialogue summaries, addressing the limitations of earlier models that lacked sufficient context length. Additionally, the study compares established evaluation metrics, such as the ROUGE family, with the newer UniEval, reinforcing the latter’s applicability in clinical contexts.

However, the study has significant limitations. The reliance on a single initialization seed for fine-tuned models may not accurately reflect performance variability, although the substantial performance gap between ChatGPT and other models suggests that this may not alter the main conclusions. The small dataset size restricts the ability to fine-tune models extensively and limits the generalizability of findings across different medical specialties. Furthermore, the subjective nature of human evaluations, despite efforts to mitigate bias, may affect the reliability of the results. Lastly, potential data privacy concerns associated with using ChatGPT for processing sensitive medical information highlight the need for further evaluation of open-source alternatives that can operate on-premises. Future work should address these limitations to enhance the robustness and applicability of clinical dialogue summarization models.