SDLog:一种用于检测软件日志中敏感信息的深度学习框架
SDLog: A Deep Learning Framework for Detecting Sensitive Information in Software Logs
AI总结:
针对现有基于正则表达式的日志敏感信息检测方法人工成本高、泛化性差的问题,提出深度学习框架SDLog,仅需100个微调样本即可实现高准确率的日志敏感信息识别,为日志匿名化提供首个深度学习替代方案。
摘要:
软件日志是软件系统运行过程中记录的消息,可提供关于事件与活动的关键运行时信息。尽管软件日志在软件维护与运维任务中发挥着核心作用,但公开可用的日志数据集仍然有限,阻碍了日志分析研究与实践的发展。敏感信息的存在,尤其是个人可识别信息(PII)和准标识符,会带来严重的隐私与重识别风险,使得现实世界日志的发布与共享受阻。\n在实践中,日志匿名化技术主要依赖正则表达式模式,需要人工制定规则来识别并替换敏感信息。然而,这些基于正则表达式的方法存在显著局限性,例如需要大量人工工作,且在不同日志格式与数据集间的泛化性较差。\n为缓解这些局限性,我们提出了SDLog,这是一种基于深度学习的框架,旨在识别软件日志中的敏感信息。我们的结果表明,SDLog克服了正则表达式的局限性,在识别敏感信息方面优于性能最佳的正则表达式模式。仅使用来自目标数据集的100个微调样本,SDLog就能正确识别99.5%的敏感属性,并达到98.4%的F1值。据我们所知,这是软件日志匿名化领域中首个可替代基于正则表达式方法的深度学习方案。
英文摘要:
Software logs are messages recorded during the execution of a software system that provide crucial run-time information about events and activities. Although software logs have a critical role in software maintenance and operation tasks, publicly accessible log datasets remain limited, hindering advance in log analysis research and practices. The presence of sensitive information, particularly Personally Identifiable Information (PII) and quasi-identifiers, introduces serious privacy and re-identification risks, discouraging the publishing and sharing of real-world logs. In practice, log anonymization techniques primarily rely on regular expression patterns, which involve manually crafting rules to identify and replace sensitive information. However, these regex-based approaches suffer from significant limitations, such as extensive manual efforts and poor generalizability across diverse log formats and datasets. To mitigate these limitations, we introduce SDLog, a deep learning-based framework designed to identify sensitive information in software logs. Our results show that SDLog overcomes regex limitations and outperforms the best-performing regex patterns in identifying sensitive information. With only 100 fine-tuning samples from the target dataset, SDLog can correctly identify 99.5% of sensitive attributes and achieves an F1-score of 98.4%. To the best of our knowledge, this is the first deep learning alternative to regex-based methods in software log anonymization.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。