Research

Technical paper · CASS

When Does a Learned Consequence Gate for Agent Actions Pay Off?

A small learned gate that scores an agent’s proposed action before it executes, and a pre-registered account of where it helped, where simpler guardrails did better, and why it did not pay off in two simulated loan processes.

DOI 10.5281/zenodo.24077491

Version 1.0.0 · 9 November 2026 · Apache-2.0 (text and code), (c) 2026 FlowX.AI

Preprint, not peer reviewed. The pre-registered results come from simulators (SimBank and LIV's tacitdrift) under stated assumptions, not from a bank's data. CASS is the companion to LIV, whose simulator and validity scores it uses. Read LIV →

  • agent actions
  • pre-execution gate
  • outcome prediction
  • split conformal prediction
  • out-of-distribution detection
  • prescriptive process monitoring
  • SimBank
  • pre-registration
CASS technical paper cover

One gate, three answers, and the evidence

Before an agent’s proposed action runs, a small learned gate predicts whether it will turn out bad, and allows it, sends it back to be replanned, or escalates it to a person. The paper asks when that pays off and reports where it did not. The state, actions and scores below are illustrative; the findings are the paper’s.

A loan-process state and three typed actions proposed by an agent. The CASS gate, built from gradient-boosted trees, a split-conformal threshold calibrated on good actions and a nearest-neighbour out-of-distribution flag, scores each before execution: a low-risk request is allowed, a high-risk approval is sent back to be replanned, and an unseen action type is escalated to a person. The business outcome is known only later. The panel then gives the pre-registered findings on SimBank: the gate ranks bad candidate actions better than the strongest simple baseline when the log has a randomized slice (AUROC 0.740 against 0.676), its calibration does not transfer to actions the bank did not take (ECE 0.094), and a GRU trajectory guardrail and a lookup of unseen action types did better at their tasks.

Core thesis

A small learned gate ranked bad actions better than simple baselines on a public loan-process simulator when the log held a randomised slice,but its calibration did not transfer to actions the bank never took, a trajectory guardrail and a type lookup did better at their tasks,and adding validity scores showed no demonstrated cost saving.

Abstract

An agent in a bank's workflow proposes typed actions whose business outcome is known only later. We ask when a small learned gate pays off: one that predicts before execution whether a proposed action will turn out bad and allows, replans or escalates it. CASS combines published parts: gradient-boosted trees over an explicit Markov state and a typed action, split-conformal thresholds calibrated on good actions, and a nearest-neighbour out-of-distribution flag.

On SimBank, a public loan-process simulator, with pre-registered hypotheses and labels that require the simulator's counterfactual replay (privileged supervision absent from an ordinary outcome log), the gate ranks bad candidate actions better than the strongest simple baseline when the log contains a randomized slice (AUROC 0.740 against 0.676) and holds its false-alert targets on later logged actions. It falls short where an agent's gate is needed: its calibration does not transfer to actions the bank did not take (ECE 0.094), a GRU trajectory guardrail stops more bad candidate actions at equal false-alert rate, and a one-line lookup of unseen action types removes more harm on a held-out type than the out-of-distribution flag.

On a synthetic stale-fact process with observable labels, adding validity scores from a companion model did not reduce failed submissions (relative reduction -0.004, interval [-0.010, 0.002]), raw signal counts did better, and the gate with validity scores showed no demonstrated cost saving against no gate. In a redesigned follow-up that tracks every case to its end (reported without a verdict for lack of power), a rule that checks an action's facts when its estimated immediate saving, net of check cost, exceeds a tuned threshold cost 1.78 units more per enrolled case than no intervention (interval 0.40 to 3.16; completion 1.6 points higher), and no difference from a tuned risk rule was detected.

Series

Part of the FlowX.AI paper series.

Each paper names its method and the evidence behind it, including where the method did not pay off.