Generation of Programmatic Rules for Document Forgery Detection Using Large Language Models
Not on the map. Why?
Abstract (arXiv)
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.
Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 18 of its 26 references that are in the map. First posted on arXiv 22 Dec 2025.
Builds on
18 of 26 references.
References · 18
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,380
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
- 2021Evaluating Large Language Models Trained on Codecited by 8,320
- 2023QLoRA: Efficient Finetuning of Quantized LLMscited by 3,418
- 2022Self-Instruct: Aligning Language Models with Self-Generated Instructionscited by 2,724
- 2023LIMA: Less Is More for Alignmentcited by 1,100
- 2024OpenCoder: The Open Cookbook for Top-Tier Code Large Language Modelscited by 130
- 2023PentestGPT: An LLM-empowered Automatic Penetration Testing Toolcited by 97
- 2024Is Programming by Example solved by LLMs?cited by 27
- 2023ChatGPT for Digital Forensic Investigation: The Good, The Bad, and The Unknowncited by 17
- 2024Harnessing Large Language Models for Software Vulnerability Detection: A Comprehensive Benchmarking Studycited by 17
6 more
- 2023AGIR: Automating Cyber Threat Intelligence Reporting with Natural Language Generationcited by 16
- 2025GPIoT: Tailoring Small Language Models for IoT Program Synthesis and Developmentcited by 10
- 2025Digital Forensics in the Age of Large Language Modelscited by 10
- 2025DFIR-Metric: A Benchmark Dataset for Evaluating Large Language Models in Digital Forensics and Incident Responsecited by 4
- 2025Anonymization of Documents for Law Enforcement with Machine Learningcited by 3
- 2024Classification of Inkjet Printers based on Droplet Statisticscited by 2
Built on by
Citing papers per year: 2026: 1.
1 paper.