Papers
Topics
Authors
Recent
Search
2000 character limit reached

De Jure: Iterative LLM Self-Refinement for Structured Extraction of Regulatory Rules

Published 2 Apr 2026 in cs.AI, cs.CL, and cs.LG | (2604.02276v1)

Abstract: Regulatory documents encode legally binding obligations that LLM-based systems must respect. Yet converting dense, hierarchically structured legal text into machine-readable rules remains a costly, expert-intensive process. We present De Jure, a fully automated, domain-agnostic pipeline for extracting structured regulatory rules from raw documents, requiring no human annotation, domain-specific prompting, or annotated gold data. De Jure operates through four sequential stages: normalization of source documents into structured Markdown; LLM-driven semantic decomposition into structured rule units; multi-criteria LLM-as-a-judge evaluation across 19 dimensions spanning metadata, definitions, and rule semantics; and iterative repair of low-scoring extractions within a bounded regeneration budget, where upstream components are repaired before rule units are evaluated. We evaluate De Jure across four models on three regulatory corpora spanning finance, healthcare, and AI governance. On the finance domain, De Jure yields consistent and monotonic improvement in extraction quality, reaching peak performance within three judge-guided iterations. De Jure generalizes effectively to healthcare and AI governance, maintaining high performance across both open- and closed-source models. In a downstream compliance question-answering evaluation via RAG, responses grounded in De Jure extracted rules are preferred over prior work in 73.8% of cases at single-rule retrieval depth, rising to 84.0% under broader retrieval, confirming that extraction fidelity translates directly into downstream utility. These results demonstrate that explicit, interpretable evaluation criteria can substitute for human annotation in complex regulatory domains, offering a scalable and auditable path toward regulation-grounded LLM alignment.

Summary

  • The paper introduces a fully automated, domain-agnostic pipeline that iteratively refines LLM-based extraction to produce structured, machine-readable regulatory rules.
  • It employs deterministic normalization and schema-guided rule generation with multi-criteria LLM judgment, achieving extraction scores above 4.70/5.
  • The approach demonstrates robust cross-domain performance and field-granular audits, enhancing compliance monitoring in finance, healthcare, and AI governance.

Iterative LLM Self-Refinement for Structured Regulatory Rule Extraction: De Jure

Overview and Motivation

De Jure introduces a fully automated, domain-agnostic pipeline designed to extract hierarchically structured, machine-readable regulatory rules from raw legal corpora without any human annotation, in-domain prompt engineering, or annotated gold data. The approach directly targets the operational bottleneck posed by regulatory text in high-stakes domains—such as finance, healthcare, and AI governance—where the precise identification and decomposition of legal requirements into executable rules is a prerequisite for compliance-aligned AI deployment. De Jure selectively leverages the semantic generalization and judgment abilities of LLMs, orchestrating a pipeline built on four sequential stages: deterministic normalization, schema-guided rule generation, multi-criteria LLM-judge evaluation, and targeted, field-level iterative repair. Figure 1

Figure 1: De Jure pipeline overview. Input documents are pre-processed into structured Markdown (Stage 1), parsed into JSON rule units via a domain-agnostic LLM prompt (Stage 2), scored by an LLM judge across 19 criteria in three stages (Stage 3), and iteratively repaired until the per-stage average score reaches 90% or the retry budget (max 3) is exhausted (Stage 4).

Pipeline Design and Methodology

Pre-processing and Normalization

The pipeline's initial phase ensures deterministic mapping from heterogeneous document formats (PDF/HTML) to structured Markdown, preserving regulatory section boundaries, list and table artifacts, and all relevant metadata. This normalized representation enables granular section-level traceability—every downstream extraction is anchored by a SHA-256 fingerprint of the input source, a critical feature for auditability in regulatory compliance contexts.

Schema-Guided LLM Rule Extraction

De Jure defines a uniform JSON schema that decomposes regulatory text per section into three typed components: section metadata, definitional glossary, and rule units. Rule units themselves are structured into fields for action, object, method, conditions, constraints, exceptions, penalties, source citations, verbatim spans, and summary labels. Extraction prompts are domain-agnostic, containing explicit instructions for negation, conditional segmentation, role resolution, and fine-grained operator labeling. The schema suppresses non-actionable passages and explicitly handles definitional overlaps.

Hierarchical, Multi-Criteria Judgment

Unlike prior pipelines relying on surface-form matching or flat quality heuristics, De Jure employs a sequential LLM-as-a-judge regime. Judgment criteria—nineteen in total, partitioned across three stages (metadata, definitions, rule units)—are enforced by a dedicated model (Compass) separate from the extraction backbone to preclude contamination/blind-spot effects. Judgment is both field-local and criterion-specific, generating not only a per-criterion 0–5 score but also actionable, natural-language critique for each detected defect.

Selective Iterative Repair

Repairs are strictly localized: only the failed fields as identified by the judge and only for the lowest-scoring pipeline stage. Iteration continues for each stage until the average normalized score exceeds a threshold (θ = 0.90) or the per-stage retry budget (r = 3) is exhausted. The top-scoring extraction is always retained, ensuring monotonic quality improvement and graceful fallback when regeneration does not succeed. Figure 2

Figure 2: Average quality score per pipeline step as a function of retry budget rr (scale 1–5; higher is better). Steps 1 and 3 are stable; Step 2 (definitions) exhibits high sensitivity to rr. Gains saturate for r>2r>2.

Field-Granular Audit and Case Study

The pipeline supports interpretable, field-wise audit trails. When an extraction fails, critiques are precise (e.g., label incompleteness, rule type misclassification) and guide targeted correction. For instance, in HIPAA §164.306, initial extraction yielded a sub-threshold average score due to two localized defects; a single repair iteration, guided by judge feedback, corrected only the flagged fields without disturbing the other components, resulting in a passing post-repair score. Figure 3

Figure 3: De Jure applied to HIPAA §164.306. Visualizes the pipeline’s iterative loop: initial extraction, judge feedback, targeted repair, and successful validation.

Experimental Results

Experiments span three regulatory domains (finance—SEC Advisers Act, healthcare—HIPAA, AI governance—EU AI Act), open- and closed-source LLM backbones, and comprehensive ablation analyses.

Extraction Quality, Generalization, and Model Comparison:

De Jure obtains averaged per-rule judge scores exceeding 4.70/5.00 in every model/domain combination, with consistent performance monotonicity from metadata to rule unit decomposition (complexity gradient). Notably, well-tuned open-source models (Qwen3-VL-8B) approach the performance of the best closed-source models (GPT-5-mini) with a gap of just 0.04. Extraction fidelity (non-hallucination) is uniformly perfect—an empirical refutation of naive hallucination risks in schema-constrained LLM extraction.

Cross-Domain Robustness:

The pipeline architecture is domain-robust: prompts, schema, and configuration are unchanged between corpora. Extraction performance degrades modestly across the structural regularity gradient (SEC > HIPAA > EU AI Act), revealing genuine sensitivity to textual complexity and section boundary ambiguity, but remains well above high-quality thresholds.

Downstream Regulatory RAG Evaluation:

RAG-based compliance QA—retrieving rules for LLM-generated questions—shows De Jure-extracted rules enable response sets preferred by a dedicated judge in up to 84% of pairwise comparisons (k=10 retrieval), with the fidelity advantage amplifying in aggregation regimes (k>1). The system’s compositional, field-exact labeling yields increased support for multi-rule, ambiguity-handling queries—directly demonstrating that improvements in extraction precision and definition linking yield measurable downstream gains.

Design Ablation Insights

Regeneration Budget:

Extraction quality exhibits non-linear sensitivity to the retry budget. A jump from r=1r=1 to r=2r=2 at Step 2 yields dramatic (25%) improvement; negligible gains occur past r=3r=3, supporting its selection as a default.

Chunking Strategy:

Input segmentation is highly consequential: precise, section-aware chunking yields up to a 6.6% gain at the initial pipeline stage, with downstream amplification in later steps. Downstream refinement cannot compensate for incoherent or misaligned chunks.

Judgment Trigger:

The average-score trigger is as effective as per-criterion, more conservative triggers, provided the retry budget is sufficient—a result that simplifies pipeline design and inference cost management.

Theoretical and Practical Implications

De Jure demonstrates that explicit, interpretable, and sufficiently granular LLM-driven evaluation criteria can substitute for the absence of human annotation in regulatory rule extraction tasks, making scalable and auditable alignment feasible in annotation-scarce legal settings. Hierarchical decoupling and repair guard against the propagation of upstream errors—a critical property for any downstream system reliant on regulatory traceability. Its cross-domain generality and compositional field structure provide a scalable basis for LLM alignment to concrete legal obligations, not just subjective human preferences, opening a tractable path to regulatory-aware model control and rigorous compliance monitoring.

Future Directions

Challenges remain in further reducing failure rates on highly unstructured or exception-heavy text, scaling component-level judgment to nested cross-referential regimes, and integrating real-time rule updates from live regulatory feeds. Enhancements in prompt engineering for rare regulatory structures and direct integration with executable logic standards (e.g., for formal policy reasoning) are proposed vectors for follow-up investigation.

Conclusion

De Jure operationalizes an explicit, robust, and interpretable pipeline for the end-to-end extraction of structured regulatory rules from raw legal text using only LLMs. By decoupling extraction, judgment, and repair stages, it achieves domain-transfer, annotation-free rule mining at fidelity levels suitable for downstream compliance LLM alignment and auditable question answering. The approach substantiates the hypothesis that self-refined, multi-criteria LLM judgment can serve as an effective supervision surrogate in complex, high-stakes regulatory information extraction, supporting scalable and regulation-grounded AI deployment (2604.02276).

Paper to Video (Beta)

No one has generated a video about this paper yet.

Whiteboard

No one has generated a whiteboard explanation for this paper yet.

Open Problems

We found no open problems mentioned in this paper.

Collections

Sign up for free to add this paper to one or more collections.

Tweets

Sign up for free to view the 2 tweets with 0 likes about this paper.