arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2512.19228cs.AI
收藏

利用大语言模型生成文档伪造检测的程序规则

Generation of Programmatic Rules for Document Forgery Detection Using Large Language Models

Stuttgart Media University(斯图加特媒体大学);Ruhr-University Bochum(鲁尔大学波恩)

Valentin Schmidberger, Manuel Eberhardinger, Setareh Maghsudi, Johannes Maucher

AI总结:

本文利用大语言模型生成文档伪造检测的规则,通过微调策略在受限硬件上实现高效验证程序。

摘要:

文档伪造对法律、经济和政府流程构成了日益增长的威胁,需要越来越复杂的验证机制。一种方法是使用可能性检查,即基于规则的程序,用来评估数据的正确性和内部一致性,以检测异常或篡改的迹象。尽管这些验证程序对于确保数据完整性至关重要,但现有的可能性检查是由软件工程师手动实现的,这很耗时。最近在代码生成方面的大语言模型(LLMs)的进步为自动化和扩展这些检查的生成提供了新的可能性。然而,将LLMs适应到未知领域的特定要求仍然是一个重大挑战。本文研究了在不同微调策略下,通过在领域特定代码和数据上进行微调,LLMs在受限制的硬件资源上生成伪造检测基于规则的可能性检查的能力。我们对开源LLMs,Llama 3.1 8B和OpenCoder 8B,在源自真实应用场景的结构化数据集上进行微调,并在之前未见过的伪造模式上评估生成的可能性检查。结果表明,这些模型能够生成可执行且有效的验证程序。这还突显了LLMs作为可扩展工具的潜力,以支持安全敏感情境中的人类决策,其中可理解性是必需的。

英文摘要:

Document forgery poses a growing threat to legal, economic, and governmental processes, requiring increasingly sophisticated verification mechanisms. One approach involves the use of plausibility checks, rule-based procedures that assess the correctness and internal consistency of data, to detect anomalies or signs of manipulation. Although these verification procedures are essential for ensuring data integrity, existing plausibility checks are manually implemented by software engineers, which is time-consuming. Recent advances in code generation with large language models (LLMs) offer new potential for automating and scaling the generation of these checks. However, adapting LLMs to the specific requirements of an unknown domain remains a significant challenge. This work investigates the extent to which LLMs, adapted on domain-specific code and data through different fine-tuning strategies, can generate rule-based plausibility checks for forgery detection on constrained hardware resources. We fine-tune open-source LLMs, Llama 3.1 8B and OpenCoder 8B, on structured datasets derived from real-world application scenarios and evaluate the generated plausibility checks on previously unseen forgery patterns. The results demonstrate that the models are capable of generating executable and effective verification procedures. This also highlights the potential of LLMs as scalable tools to support human decision-making in security-sensitive contexts where comprehensibility is required.

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

↑