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

通过逆向工程UNIX时间戳从医学图像中提取可解释日期

Extracting Explainable Dates From Medical Images By Reverse-Engineering UNIX Timestamps

The University of Kent(肯特大学);TMLEP Research(TMLEP研究)

Lee Harris

AI总结:

本文提出通过逆向工程UNIX时间戳并结合正则表达式合成,从医学图像文本转录中自动学习可解释的日期识别逻辑,在减少误检的同时实现复杂日期和日期范围的可靠提取。

摘要:

日期常常对高影响力的医疗决策做出贡献,但如何提取这类数据却很少清晰。人工智能才刚刚开始被用于转录此类文档,常见方法要么是信任复杂AI模型产生的输出,要么是使用正则表达式解析文本。近期工作已经确立正则表达式是一种可解释的逻辑形式,但很难将其分解为构建精确UNIX时间戳所需的组成部分。首先,我们测试了公开可用的正则表达式,发现它们无法捕获我们日期中的相当大一部分。其次,我们手动创建了易于分解的正则表达式,发现它们能够检测到大多数真实日期,但也会检测到大量看起来像日期的文本序列。最后,我们使用正则表达式合成技术,从我们创建的逆向工程UNIX时间戳中自动识别正则表达式。我们发现,通过正则表达式合成创建的正则表达式检测到的看起来像日期的文本序列远少于手动创建的正则表达式,代价是漏检日期数量略有增加。总体而言,我们的结果表明,可以通过正则表达式合成来创建正则表达式,以识别文本转录中的复杂日期和日期范围。据我们所知,我们提出的通过逆向工程若干多对一映射并将这些映射输入正则表达式合成器来学习确定性逻辑的方法是一种新方法。

英文摘要:

Dates often contribute towards highly impactful medical decisions, but it is rarely clear how to extract this data. AI has only just begun to be used transcribe such documents, and common methods are either to trust that the output produced by a complex AI model, or to parse the text using regular expressions. Recent work has established that regular expressions are an explainable form of logic, but it is difficult to decompose these into the component parts that are required to construct precise UNIX timestamps. First, we test publicly-available regular expressions, and we found that these were unable to capture a significant number of our dates. Next, we manually created easily-decomposable regular expressions, and we found that these were able to detect the majority of real dates, but also a lot of sequences of text that look like dates. Finally, we used regular expression synthesis to automatically identify regular expressions from the reverse-engineered UNIX timestamps that we created. We find that regular expressions created by regular expression synthesis detect far fewer sequences of text that look like dates than those that were manually created, at the cost of a slight increase to the number of missed dates. Overall, our results show that regular expressions can be created through regular expression synthesis to identify complex dates and date ranges in text transcriptions. To our knowledge, our proposed way of learning deterministic logic by reverse-engineering several many-one mappings and feeding these into a regular expression synthesiser is a new approach.

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

↑