RegLLM: A Framework for Diagnostic Testing of Bounded Autonomy in Regulated Agent AIEvaluating Bounded Autonomy in Regulated Agentic AI: A Diagnostic Harness with Constitutional Rewards, Escalation Labels, and Runtime Governance
Offline n=12 lexical baseline with supervision improved escalation recall from 0 to 0.67; two Qwen2.5-3B, n=8 pilots showed reversed DPO effects.
- In regulated workflows, a wrong answer can mean fines, harming clients, or missing obligations. Verifiable rewards depend on machine-checkable answers; when to answer and when to hand off to a human still relies largely on manual thresholds.
- REGLLM labels tasks with should_escalate, writes escalation correctness into a mixed reward, and uses the same domain constitution for soft rewards and runtime guardrails: block answering without citations and force escalation, logging interventions to an audit log.
- On the offline n=12 lexical baseline, supervision improved escalation recall from 0 to 0.67 and reduced unsafe action rate from 0.33 to 0.08. In two Qwen2.5-3B pilots (n=8, seed0), RL-base escalation recall was 1.00 and 0.50, AQ moved in the opposite direction, EA showed no visible change, and governance intervention was 0.
- The authors frame the evidence as small-scale diagnostics rather than a benchmark: n=12 and n=8, 30-step DPO, seed count of 1, base model Qwen2.5-3B, only UK FCA evaluated. Labels are generated from author templates, with no inter-annotator agreement. GPU pilot governance interventions count is 0.
- Evaluated models
- Qwen2.5-3B
- Benchmarks
- UK FCA Handbook (PRIN, COBS, SYSC, CONC)author-generated held-out tasks
- Metrics
- task successcitation validityconstitutional-alignment scoreescalation precisionescalation recallunsafe-action rate
The researchers propose RegLLM, a limited-autonomy diagnostic testing framework for regulated agent workflows, monitoring six trustworthiness signals: citation validity, source grounding, schema compliance, escalation correctness, constitutional alignment, and unsafe action rate. Offline reference runs (n=12) improved escalation recall from 0 to 0.67 and reduced unsafe action rate from 0.33 to 0.08 when governance was enabled. Two single-GPU Qwen2.5-3B LoRA/DPO pilots (n=8) showed that configuration differences can outweigh tuning effects, not yet sufficient to demonstrate adapter effectiveness or production readiness.
Paper analysis
What problem does this paper attempt to solve?
Regulated agents' answering and escalation lack verifiable signals, and at pilot scale adapter effects are indistinguishable from variance.
When a regulated agent should answer versus hand off to a qualified human, there is a lack of verifiable evaluation and training signals; at common pilot scales, adapter effects are also indistinguishable from sampling and hardware variance.
- Scenario: The authors argue that once agents enter financial compliance, medical advice, and legal triage, wrong answers correspond to regulatory fines, harmed customers, or missed obligations, not a correctable reply.
- Existing gaps: Verifiable rewards apply to machine-checkable answers like math and code. The authors cite Wen et al. (2025): in regulated advice, reasonable experts disagree on how principles apply to factual patterns. Guardrails can monitor and block unsafe actions, but the authors argue there is no principled method for learning when to defer to humans; the decision currently stops at manual thresholds.
- Core observation: Once tasks carry a should_escalate label, whether the terminal state is answering or deferring can be checked. The authors argue bounded autonomy is thus measurable, trainable, and auditable.
- Proposal: The diagnostic framework REGLLM separates six signals by evidence source and adds a deterministic supervisor: block unsupported answers, force escalation, and log interventions. The same domain constitution drives reward soft terms and runtime guardrails.
- Empirical positioning: The authors place the main empirical contribution on variance exposed at smoke scale, not a full validation. The authors state that at sample sizes and training budgets common in agent AI pilots, adapter effects cannot be distinguished from sampling and hardware variance.
What related research exists?
The authors compare verifiable rewards, constitutional alignment, in vitro guardrails, and financial NLP, placing the same constitution into both rewards and guardrails.
The paper's Related Work is organized into four groups: verifiable rewards, preference and review, agent guardrails, and financial text and auditing.
Verifiable rewards
- Code rewards: DeepSeek-R1 (DeepSeek-AI, 2025), Shao et al. (2024), Lambert et al. (2024), and Wen et al. (2025) discuss reinforcement learning when the reward function is code, with examples including math problems, unit tests, and format checks.
- Judgment-based domains: Wen et al. (2025) explicitly raises the open question of what to do when knowledge is dense and the correct answer depends partly on judgment.
Preference and review alignment
- Preference labels: RLHF (Ouyang et al., 2022; Christiano et al., 2017; Schulman et al., 2017) and DPO (Rafailov et al., 2023) rely on streams of preference labels.
- Constitutional usage: Constitutional AI (Bai et al., 2022; Zhang, 2025) uses a model to critique itself against written principles as a substitute for annotators. The authors state that this paper does not use the constitution as a data-generation device for downstream alignment, but places it directly into the RL reward and runtime guardrails.
- Soft items: LLM-as-a-judge (Zheng et al., 2023) supports this soft item.
Agent guardrails
- External blocking: GuardAgent (Xiang et al., 2025), AGrail (Luo et al., 2025), and PSG-Agent (Wu et al., 2025) block harmful actions outside the agent. The authors state that they are mature at rejecting toxic outputs, but lack a principled basis for when to ask a human; the authors state that this paper provides verifiable escalation correctness and trains toward it, while retaining a deterministic supervisor for failures that training cannot reach.
- Loop abstraction: ReAct (Yao et al., 2023) is the underlying agent abstraction.
Financial text, RegTech, and auditing
- Documents and processes: FinBERT (Araci, 2019), BloombergGPT (Wu et al., 2023), and FinGPT (Yang et al., 2023) adapt models to financial services text; RegTech literature (Zetzsche et al., 2017; Arner et al., 2017) studies technology in regulatory processes. The authors state that these works target market or document tasks, where the failure mode is not sentiment label errors but answering questions that should have been escalated.
- Audit artifacts: Internal algorithmic auditing (Raji et al., 2020) and model cards (Mitchell et al., 2019) argue for inspectable artifacts at every lifecycle boundary. The authors state that this framework falls within that program: metrics are loggable per trajectory, and interventions are recorded by the triggered principle id.
Baselines and data
- Comparison targets: The offline reference is a deterministic lexical baseline policy plus a heuristic judge; the GPU pilots compare RL-base, answer-quality DPO, and escalation-aware DPO on the same base model. The corpus is PRIN, COBS, SYSC, and CONC from the UK FCA Handbook; evaluation tasks come from the authors' template generator.
The authors' positioning is: they do not create a new regulatory correctness verifier, only pair the programmatically checkable parts with an AI-judge soft item; a single domain constitution enters evaluation, training, and serving-time guardrails.
How does the paper address this problem?
REGLLM trains with escalation labels and mixed rewards, and uses the same domain constitution as a runtime guardrail.
REGLLM turns answering versus deferring into a checkable signal: the ReAct loop produces trajectories, a mixed reward scores them, and at inference a model-external deterministic governance layer is applied. The same domain constitution serves as both soft reward and runtime guardrail.
Constitution and agent loop
- 16 principles: The constitution is named principles, each with evaluation criteria and critique prompts. The example comes from the UK FCA, divided into four domains: financial ethics, regulatory compliance, professional responsibility, and ethical AI. The listed items include fair treatment, conflict-of-interest management, suitability, transparency, customer priority, accuracy, completeness, timeliness, proper sources, capability boundaries, acknowledging uncertainty, expert referral, avoiding harm, mitigating bias, and interpretability; customer priority appears twice in the enumeration.
- Replaceable interface: A new domain only swaps the principle set, without changing the reward or governance mechanism.
- Four tools: RETRIEVE queries the regulatory corpus, CITE attaches provision identifiers to working answers, ANSWER gives a grounded final answer, and ESCALATE hands off to a qualified human. The trajectory records each step, cited provisions, and the terminal decision, for reward and audit use.
Three signal types and mixed reward
- Reason for separation: The authors argue the three signal types have different failure modes and audit requirements; mixing them is a source of much confusion in agent AI evaluation.
- Procedural signals: Citation validity, schema compliance, and source grounding. The first two are deterministic predicates on the trajectory and corpus. In the example, grounding is lexical content overlap between the answer and cited sources; the authors state richer settings could replace it with NLI or review, moving grounding into the third type.
- Labels and review: Escalation correctness is checked against should_escalate. The authors state the example labels are template-generated; production deployment would need expert annotation they do not provide, and labels may be contested. Constitutional alignment scores come from LLM reviewers scoring sampled principles, depending on the reviewer model and its calibration, and inheriting reviewer bias or noise.
- Mixed reward: Rv averages four sub-signals: proportion of cited provisions present in the corpus, lexical grounding, schema compliance, and whether escalation equals should_escalate. Rc maps Yes/Partial/No to 1.0, 0.6, 0.3. The paper does not give values for wv, wc, or λ.
R(τ)=wv Rv(τ)+wc Rc(τ)−λ 𝟙[guardrail violation]
This equation states trajectory reward is a weighted sum of verifiable and constitutional terms, minus a hard penalty for guardrail violations. Escalation correctness is placed in Rv, but §3.3 still lists it separately as a class of evidence dependent on task labels.
Training and runtime governance
- Preference training: Rollouts are ranked by R to form preference pairs, and DPO (Rafailov et al., 2023) is applied with LoRA on a small open policy. §3.5 also describes a stretch configuration: GRPO (Shao et al., 2024) with R as the within-group relative reward.
- Model-external guardrails: GovernedAgent does three things. ANSWER without provision citations is blocked and forced to escalate, corresponding to the proper-sources principle P9; capability-boundary or uncertainty principles P10–P12 force escalation when triggered; each step and each intervention is written to an append-only audit log keyed by the triggered principle id.
- Relationship given by the authors: The authors state hard rules are used to supplement learned behavior. Both the mixed reward and the supervisor use the three signal types; the log records which evidence type triggered each intervention.
Task construction and adjudication
- Corpus: PRIN, COBS, SYSC, and CONC from the UK FCA Handbook are parsed into a provision corpus, which also serves as the grounding oracle.
- Templates: In-scope tasks come from six instruction templates: definition, application, scenario, comparison, compliance-check, and risk-assessment, and inherit a gold_provision_id. Out-of-scope tasks with should_escalate true come from five trigger templates: tax-structuring requests, demands for a guarantee, predictions of future regulator behaviour, requests for legal opinions, and citations of non-existent provisions.
- Labels: The in/out-of-scope ratio is set by escalation_fraction=0.25. All labels are template-generated by the authors; the paper states no legal or compliance experts were consulted and no inter-rater agreement is reported.
- Metrics and domain transfer: Metrics are task success (marked verifiable in the paper, without a finer adjudication formula), citation effectiveness, constitutional alignment score, escalation precision and recall, and unsafe action rate (guardrail violations reaching output). Domain transfer requires a new constitution subclass, corpus, in/out-of-scope parsers, and grounding oracle; reward weights, reviewer, and policy model are configuration. The authors state a 24 GB-class single GPU suffices for the example, and the manuscript includes schema, metric descriptions, pseudocode, and sample tasks.
What experiments did the paper conduct?
Offline supervision raises escalation recall for a weak baseline; in two GPU pilots the AQ direction is reversed, with governance interventions at 0.
Experimental Setup
- Policy and Review: Offline is a deterministic lexical baseline; GPU is LoRA on Qwen2.5-3B trained with DPO. In-table review is a heuristic judge. The implementation section states that constitutional review, evidence checking, and frontier reference baseline can run on open-weight LLMs via an OpenAI-compatible API; these experiments do not provide numbers for that API or frontier reference.
- Data: The FCA clause corpus also serves as the evidence oracle. The held-out set is 12 offline and 8 GPU, with the ratio determined by escalation_fraction=0.25. The paper does not give the actual counts of in-scope/out-of-scope items in the held-out set. Labels are generated from author templates.
- Two Pilots: Same eval split, seed 0, low-temperature sampling; the paper does not give the temperature value. Run A trains only AQ, 10 preference pairs, 30 steps. Run B trains AQ and EA, 20 pairs each, 30 steps; EA uses stratified 50:50 in-scope-to-escalation preference pairs. Run B's RL-base is computed once and shared. §3.5's GRPO has no corresponding experimental results.
- Metrics: Task success, citation effectiveness, constitutional alignment score, escalation precision and recall, unsafe action rate. The paper does not report wv, wc, λ, nor multi-seed repetitions.
- Unpinned Items: Both runs share code commit, base model identifier, and policy hyperparameters; container image digests or package micro-versions are not pinned, and deterministic CUDA flags are not enabled.
Main Results
The table below is from Table 3. Conditions: Qwen2.5-3B, heuristic judge, n=8, seed 0, low-temperature sampling. The +Gov rows are not listed; the text states they are identical to the corresponding non-Gov configurations.
Swipe horizontally to read the table
Configuration Task Success Escalation Recall Unsafe Action Rate A / RL-base 0.25 1.00 0.00 A / RL-trained-AQ 0.12 0.50 0.00 B / RL-base 0.12 0.50 0.00 B / RL-trained-AQ 0.25 1.00 0.00 B / RL-trained-EA 0.12 0.50 0.00 - Variance: The authors claim this is the main empirical contribution. In addition to the table above, they report citation effectiveness for the two RL-base runs as 0.50 and 0.38 (Table 3). The apparent direction of AQ on escalation recall is opposite across the two runs.
- Not Attributable: The authors state that the originally hypothesized "answer-quality DPO harms escalation" cannot be attributed to the training signal: both directions occur under the same nominal condition. The EA added for that failure mode shows no measurable change relative to the Run B baseline; in Table 3, EA and that baseline have identical values on all six metrics.
- Authors' Limits: The authors state that at this scale (n=8, 30 steps, 10–20 preference pairs), adapter effects in either direction cannot be separated from run variance. They consider floating-point ordering, kernel selection, and pip-resolved micro-versions of transformers, peft, and trl as possible candidates. They state this is not a refutation of DPO, grounded/ungrounded preferences, or escalation-aware preference data.
Offline Reference
Table 2 conditions: lexical baseline, heuristic judge, n=12.
Metric Base +Governance Task Success 0.08 0.25 Citation Effectiveness 0.75 1.00 Constitutional Alignment 0.62 0.70 Escalation Precision 0.00 0.67 Escalation Recall 0.00 0.67 Unsafe Action Rate 0.33 0.08 - Authors' Interpretation: The authors state this isolates the contribution of the deterministic supervisor on a weak policy that does not defer on its own. They also state that at this scale, what can be seen is this weak baseline comparison; what cannot be seen is the adapter effect from 30-step DPO with 10–20 preference pairs.
Governance Interventions
- Diagnostic Status: Table 1 states that the no-citation adversarial task is exercised offline; in-scope/out-of-scope division is exercised offline and on GPU; AQ vs EA is exercised, but the authors state it is inconclusive at this scale; the GPU pilot governance intervention count is 0.
- Reason for Inactivity: The authors state the model cites clauses in every answer turn, thus bypassing the no-citation gate; trajectories that miss escalation rarely reach a final answer state that can be inspected.
- Authors' Follow-up Requirements: The Discussion states that the no-citation gate alone is insufficient, and capability boundary detection should be evaluated as a first-class runtime component, not a fallback. The Limitations state that the framework-supported fix is a review-based capability boundary trigger, which requires calibrated review at inference time or richer base model behavior than the smoke pilot.
Other Ablations and Analyses
- Two items in Table 3 that do not change with adapter within runs: A's citation effectiveness 0.50 and constitutional score 0.57; B's 0.38 and 0.51.
- Table 3 escalation precision: A baseline 0.50, A-AQ 0.25; B baseline 0.33, B-AQ 0.67, B-EA 0.33.
- Final DPO loss and margins: A-AQ 0.59 and 0.22, with accuracies trending to 1.0; B-AQ 0.67 and 0.12; B-EA 0.69 and 0.04 (§5). The authors state the adapters converge.
- The paper does not report temperature values, wv/wc/λ, GRPO experimental results, or the actual counts of in-scope/out-of-scope items in the held-out set.
What are some points that can be further explored?
The authors define the evidence as small-scale diagnostics and point out the limitations of labeling, review, and governance in the pilot.
Limitations and future directions noted by the authors
- Scale: Limitations states the evidence is deliberately small-scale and should be read as a diagnostic demonstration rather than a benchmark. Offline n=12; GPU n=8. Limitations summarizes the GPU pilots as 10 preference pairs, 30 steps, while §5 states Run B is 20 pairs each, 30 steps. Seed count is 1, base model is Qwen2.5-3B, domain is UK FCA. The authors say aggregate metrics are therefore noisy and absolute numbers should not be compared with production benchmarks.
- Labels: Limitations states the degree to which escalation correctness is verifiable depends on should_escalate; regulated domains usually require compliance expert labeling, labels are sometimes contested, and may change with regulation. This paper's labels were generated by the authors from templates, with no expert labeling and no inter-rater agreement protocol. The authors say both are prerequisites for production-grade research and are not validated here.
- Review: Limitations states constitution alignment scores depend on model review. This paper uses a heuristic judge for reproducibility; the authors say absolute scores are expected to differ if switched to a hosted API reviewer. Expert agreement, inter-reviewer agreement, and adversarial probing of reviewers are all, the authors say, needed for production use and none were done here. Evidence checking in the examples is lexical overlap; if switched to NLI or a reviewer, the authors say the same calibration and bias issues apply.
- Governance: Limitations states the supervisor raises escalation recall on the offline lexical baseline, but the two GPU runs have 0 interventions because every answer turn has a citation and trajectories that miss escalation do not reach a terminal answer. The authors say the corresponding fix requires inference-time calibrated review, or richer base-model behavior than this smoke pilot.
- Direction: Limitations states Run A and Run B use the same seed, eval split, base model, and policy hyperparameters, differing only in GPU host. The authors say neither direction should be interpreted as evidence of the adapter's true behavior; effect claims at this scale require multiple seeds and larger n, which this pilot does not provide.
- Domain transfer: Limitations states the constitution is pluggable in software, but only the FCA example is instantiated and evaluated. Data protection, clinical guidelines, and tax each require their own principle sets, corpora, evidence oracles, and escalation labels; the authors say these are all non-trivial.
Experimental coverage
- The strategies with reported numbers are the lexical baseline, and RL-base, AQ, and EA for Qwen2.5-3B; held-out tasks are 12 offline and 8 GPU (§5, Table 2, Table 3).
- The reported training is DPO: Run A is AQ, 10 pairs, 30 steps; Run B is AQ and EA, 20 pairs each, 30 steps. §3.5 writes GRPO as a stretch configuration, and the paper does not report experimental results for it.
- All four rows of Table 1 have status: the no-citation adversarial task is exercised offline; the in-scope/out-of-scope split is exercised offline and on GPU; the AQ vs EA comparison is exercised, and the authors say it is inconclusive at this scale; the GPU governance intervention count is 0.
- The in-table reviewer is a heuristic judge (Table 2, Table 3 titles). The paper does not report reviewer agreement with expert labels, nor inter-reviewer agreement (Limitations).
- The two GPU runs share the code commit, eval split, seed 0, base model identifier, and policy hyperparameters; the paper states container image digests and package micro-versions were not pinned, and deterministic CUDA flags were not enabled (§5).
Summarize the main content of the paper
REGLLM turns escalation correctness into a verifiable signal, and at smoke scale sees the adapter direction drowned out by run variance.
REGLLM is a framework for diagnosing bounded autonomy, exemplified with a UK FCA compliance agent; the authors make it a smoke-scale demonstration rather than a full benchmark validation.
- Problem: In workflows like financial compliance, wrong answers can correspond to fines, harmed customers, or missed obligations. Verifiable rewards depend on machine-checkable answers; when to answer versus hand off to a qualified human, existing systems mostly stop at manual thresholds.
- Signals and rewards: Each task has should_escalate. Verifiable items average whether citations exist in the corpus, lexical grounding, schema compliance, and whether escalation equals the label; constitutional items are scored by reviewers on sampled principles as Yes/Partial/No, mapped to 1.0, 0.6, 0.3. Guardrail violations have an additional hard penalty. The authors do not give the three coefficients.
- Two uses of the same constitution: The 16 FCA principles serve both as reward soft terms and as hard rules at inference. Answers without provision citations are blocked under P9 and forced to escalate; P10–P12 also force escalation when triggered. Interventions are written to an append-only log keyed by principle id. The agent loop is ReAct, with tools for retrieval, citation, answering, and escalation.
- Offline numbers: n=12, lexical baseline, heuristic judge. The authors report that with governance, escalation recall and precision go from 0 to 0.67, unsafe action rate from 0.33 to 0.08, and citation effectiveness from 0.75 to 1.00 (Table 2).
- GPU numbers: Qwen2.5-3B, LoRA, DPO, n=8, seed 0, same held-out split, heuristic judge. The authors report two RL-base runs with task success 0.25 and 0.12, escalation recall 1.00 and 0.50; AQ recall goes from 1.00 to 0.50 in Run A and from 0.50 to 1.00 in Run B; Run B's EA matches the baseline on all six items (Table 3). Governance interventions are 0 in both runs.
- Authors' conclusion: The authors argue that at a pilot budget of about 30 steps and 10–20 preference pairs, adapter direction on bounded-autonomy metrics cannot be read from a single run; responsible evaluation needs multiple seeds and larger evaluation sets. The authors state the supervisor's role on a weak baseline is visible at this scale. The authors also state this is not an out-of-the-box safety product: the constitution, corpus, and escalation labels still come from the user.