Code-as-Auditor: Executable Compliance Reasoning via Regulation-to-Code

📅 2026-09-16
📈 Citations: 0
✨ Influential: 0
📄 PDF
🤖 AI Summary
研究通过将法规转化为可执行代码和决策树,利用大语言模型进行结构化、基于证据的合规性评估,提高输出的法律逻辑性和准确性。
📝 Abstract
Large Language Models (LLMs) are increasingly adopted for compliance and legal reasoning tasks, yet their outputs often lack explicit grounding in legal logic and evidence. We present Code-as-Auditor, an LLM-based framework that extends the model's reasoning capability toward structured and evidence-grounded compliance assessment. The framework translates regulatory information into (1) formalized checklists and executable decision trees, encoding regulations and conditions as interpretable code structures. During inference, each checklist item is (2) dynamically expanded into factual and counterfactual questions, guiding the model to reason over case-specific evidence and potential violations. This process establishes a reasoning pipeline that proceeds from evidence identification, through rule application, to final decision-making, while a self-verification loop improves the logical consistency of the generated code and the traceability of outcomes. Experiments on privacy and data protection scenarios demonstrate that Code-as-Auditor delivers more accurate and evidence-backed evaluations, enabling automated compliance regulation checking grounded in explicit regulatory criteria.
Problem

Research questions and friction points this paper is trying to address.

Large Language Models
compliance reasoning
legal logic
evidence grounding
regulatory criteria
Innovation

Methods, ideas, or system contributions that make the work stand out.

LLM-based framework
Executable Compliance Reasoning
Formalized Checklists
Dynamic Question Expansion
Self-Verification Loop
🔎 Similar Papers
No similar papers found.