Compliance-to-Code: Enhancing Financial Compliance Checking via Code Generation
Not on the map. Why?
Abstract (arXiv)
Nowadays, regulatory compliance has become a cornerstone of corporate governance, ensuring adherence to systematic legal frameworks. At its core, financial regulations often comprise highly intricate provisions, layered logical structures, and numerous exceptions, which inevitably result in labor-intensive or comprehension challenges. To mitigate this, recent Regulatory Technology (RegTech) and Large Language Models (LLMs) have gained significant attention in automating the conversion of regulatory text into executable compliance logic. However, their performance remains suboptimal particularly when applied to Chinese-language financial regulations, due to three key limitations: (1) incomplete domain-specific knowledge representation, (2) insufficient hierarchical reasoning capabilities, and (3) failure to maintain temporal and logical coherence. One promising solution is to develop a domain specific and code-oriented datasets for model training. Existing datasets such as LexGLUE, LegalBench, and CODE-ACCORD are often English-focused, domain-mismatched, or lack fine-grained granularity for compliance code generation. To fill these gaps, we present Compliance-to-Code, the first large-scale Chinese dataset dedicated to financial regulatory compliance. Covering 1,159 annotated clauses from 361 regulations across ten categories, each clause is modularly structured with four logical elements-subject, condition, constraint, and contextual information-along with regulation relations. We provide deterministic Python code mappings, detailed code reasoning, and code explanations to facilitate automated auditing. To demonstrate utility, we present FinCheck: a pipeline for regulation structuring, code generation, and report generation.
Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). Builds on 12 of its 38 references that are in the map. First posted on arXiv 26 May 2025.
Builds on
12 of 38 references.
References · 12
- 2024Qwen2.5-Coder Technical Reportcited by 1,203
- 2020CodeBLEU: a Method for Automatic Evaluation of Code Synthesiscited by 479
- 2023LegalBench: A Collaboratively Built Benchmark for Measuring Legal Reasoning in Large Language Modelscited by 336
- 2021LexGLUE: A Benchmark Dataset for Legal Language Understanding in Englishcited by 310
- 2019BillSum: A Corpus for Automatic Summarization of US Legislationcited by 117
- 2023MAUD: An Expert-Annotated Legal NLP Dataset for Merger Agreement Understandingcited by 33
- 2025Towards Robust Legal Reasoning: Harnessing Logical LLMs in Lawcited by 30
- 2024Better Call GPT, Comparing Large Language Models Against Lawyerscited by 26
- 2024CODE-ACCORD: A Corpus of building regulatory data for rule generation towards automatic compliance checkingcited by 6
- 2024Bilingual BSARD: Extending Statutory Article Retrieval to Dutchcited by 5
- 2024A Report on Financial Regulations Challenge at COLING 2025cited by 2
- 2025Computational Law: Datasets, Benchmarks, and Ontologiescited by 2
Built on by
Citing papers per year: 2025: 1; 2026: 3.
4 papers.
- 2025DeKeyNLU: Enhancing Natural Language to SQL Generation through Task Decomposition and Keyword Extractioncited by 1
- 2026From Statute to Control Flow: Span-Grounded Deontic Trees for Defeasible Scope Parsingcited by 1
- 2026Think Inside the Chunk: RegulaRAG for Regulation-Compliant Scenario Generation using LLMs: A Case Study of UN Regulation No. 152cited by 0
- 2026When Evidence Changes the Subject: Subject-Typed Claim Licensing for Learned Routingcited by 0
- 2026When Evidence Changes the Subject: Subject-Typed Claim Licensing for Learned Routing27 Sep 2026
- 2026Think Inside the Chunk: RegulaRAG for Regulation-Compliant Scenario Generation using LLMs: A Case Study of UN Regulation No. 15217 Aug 2026
- 2026From Statute to Control Flow: Span-Grounded Deontic Trees for Defeasible Scope Parsing8 Jun 2026
- 2025DeKeyNLU: Enhancing Natural Language to SQL Generation through Task Decomposition and Keyword Extraction18 Sep 2025
Similar, not cited
Close in wording, no citation either way
- 2026Code-as-Auditor: Executable Compliance Reasoning via Regulation-to-Code
- 2026FinGuard: Detecting Financial Regulatory Non-Compliance in LLM Interactions
- 2025RKEFino1: A Regulation Knowledge-Enhanced Large Language Model
- 2026Automated Regulatory Compliance Question Answering in Financial Services with Domain-Adapted Retrieval-Augmented Generation
- 2026CTRAG: An In-Context Retrieval-based Framework for Automated Compliance Checking using LLMs
- 2026ComplianceNLP: Knowledge-Graph-Augmented RAG for Multi-Framework Regulatory Gap Detection
- 2024Rethinking Legal Compliance Automation: Opportunities with Large Language Models
- 2023Beyond Classification: Financial Reasoning in State-of-the-Art Language Models