arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2407.18716cs.CL
收藏

ChatSchema:一种基于 schema 利用大型多模态模型提取结构化信息的流水线

ChatSchema: A pipeline of extracting structured information with Large Multimodal Models based on schema

Fei Wang, Yuewen Zheng, Qin Li, Jingyi Wu, Pengfei Li, Luxia Zhang

AI总结:

本研究提出 ChatSchema 流水线,结合 LMMs 和 OCR 基于预定义 schema 从医学报告中提取并结构化信息,实验表明 GPT-4o 表现优异,消融研究证实其显著提升了键值提取的整体准确率和 F1分数。

摘要:

目的:本研究引入了 ChatSchema,这是一种基于 schema,结合大型多模态模型(LMMs)和光学字符识别(OCR),从医学论文报告的非结构化数据中提取并结构化信息的有效方法。通过整合预定义的 schema,我们旨在使 LMMs 能够直接根据 schema 规范提取和标准化信息,从而促进进一步的数据录入。方法:我们的方法包含分类和提取两个阶段,用于对报告场景进行分类并结构化信息。我们建立并标注了一个数据集以验证 ChatSchema 的有效性,并使用精确率、召回率、F1分数和准确率指标评估了关键提取。基于关键提取,我们进一步评估了值提取。我们在两个 LMMs 上进行了消融研究,以说明不同输入模态和方法对结构化信息提取的改进。结果:我们分析了来自北京大学第一医院的 100 份医学报告,并建立了一个包含 2,945 个键值对的真实数据集。我们使用 GPT-4o 和 Gemini 1.5 Pro 评估了 ChatSchema,发现 GPT-4o 的整体性能更高。结果如下:对于关键提取的结果,关键精确率为 98.6%,关键召回率为 98.5%,关键 F1分数为 98.6%。对于基于正确关键提取的值提取结果,整体准确率为 97.2%,精确率为 95.8%,召回率为 95.8%,F1分数为 95.8%。消融研究表明,与 Baseline 相比,ChatSchema 在键值提取的整体准确率和整体 F1分数上取得了显著更高的结果,整体准确率提升了 26.9%,整体 F1分数提升了 27.4%。

英文摘要:

Objective: This study introduces ChatSchema, an effective method for extracting and structuring information from unstructured data in medical paper reports using a combination of Large Multimodal Models (LMMs) and Optical Character Recognition (OCR) based on the schema. By integrating predefined schema, we intend to enable LMMs to directly extract and standardize information according to the schema specifications, facilitating further data entry. Method: Our approach involves a two-stage process, including classification and extraction for categorizing report scenarios and structuring information. We established and annotated a dataset to verify the effectiveness of ChatSchema, and evaluated key extraction using precision, recall, F1-score, and accuracy metrics. Based on key extraction, we further assessed value extraction. We conducted ablation studies on two LMMs to illustrate the improvement of structured information extraction with different input modals and methods. Result: We analyzed 100 medical reports from Peking University First Hospital and established a ground truth dataset with 2,945 key-value pairs. We evaluated ChatSchema using GPT-4o and Gemini 1.5 Pro and found a higher overall performance of GPT-4o. The results are as follows: For the result of key extraction, key-precision was 98.6%, key-recall was 98.5%, key-F1-score was 98.6%. For the result of value extraction based on correct key extraction, the overall accuracy was 97.2%, precision was 95.8%, recall was 95.8%, and F1-score was 95.8%. An ablation study demonstrated that ChatSchema achieved significantly higher overall accuracy and overall F1-score of key-value extraction, compared to the Baseline, with increases of 26.9% overall accuracy and 27.4% overall F1-score, respectively.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑