> ## Documentation Index
> Fetch the complete documentation index at: https://docs.amlok.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Comparable-scope monitoring and controlled investigation

> Streaming change detection, exact policy evaluation and calibrated evidence review, with five benchmark comparisons and all 14 metric definitions.

![](https://mintcdn.com/amlok-docs/E2XhE7LcU8Z7MBXL/images/whitepapers/05-monitoring-investigation.svg?fit=max\&auto=format\&n=E2XhE7LcU8Z7MBXL\&q=85\&s=17ccf70955ad8f88e8469a2221e6750b)

**Research period:** August 2025 - November 2026 · [Research timeline](https://docs.amlok.io/research/index.md#research-timeline)

The November 2026 [completed monitoring evaluation](https://docs.amlok.io/research/resources/cohort-evaluations.md#monitoring-events-false-alerts-and-workload) reports detection, missed events, false episodes, supported time and calculated review effort. Its population and scoring scope are separate from the investigation and monitoring benchmarks below.

**Research paper RP-2026-05** · [Research library](https://docs.amlok.io/research/library.md) · [Document and investigation workbook RS-2026-06](https://docs.amlok.io/research/resources/lifecycle-results.md)

## What this study compares

This is a **same-backbone financial investigation comparison**. Each language model reviews the same case benchmark first as a raw assessment and then with AMLOK's evidence, policy, and assessment controls. AMLOK is the surrounding investigation pipeline, so you can see what changes when those controls are added to each named model.

| Financial task and backbone | Raw-model result | AMLOK-controlled result | Difference |
| - | - | - | - |
| Case investigation with Claude Sonnet 4.6 | 61.4% case F1 | 69.8% case F1 | 8.4 percentage points higher |
| Case investigation with 72B open-weight comparator | 71.2% case F1 | 80.4% case F1 | 9.2 percentage points higher |
| Case investigation with DeepSeek V4 Pro | 77.4% case F1 | 77.6% case F1 | 0.2 percentage points higher |
| Case investigation with GPT-5.5 | 80.1% case F1 | 84.3% case F1 | 4.2 percentage points higher |
| Case investigation with Gemini 3.1 Pro | 81.5% case F1 | 86.8% case F1 | 5.3 percentage points higher |

The population is **600 investigation cases**. Case F1 balances precision and recall; higher is better. Model-family labels identify the reported comparison rows; a run manifest pins the exact checkpoint, prompt, and execution settings. The 72B row is a study comparator label and does not identify an official model release. The effect varies by backbone, and the selected Gemini configuration also changes false positives from **1.14 to 0.42 per case** and unsupported claims from **1.6% to 0.2%**. Monitoring lead time and ingestion suppression are separate evaluations.

Source: [RP-2026-05, investigation benchmark results](https://docs.amlok.io/whitepapers/05-monitoring-investigation.md#5-investigation-benchmark-results), full comparison table and Figures 5.1-5.5. Every model's remaining error measures appears below.

## Abstract

Financial monitoring must distinguish a change in a business from a change in the evidence available about that business. A disconnected account can look like lost revenue. A language model can mistake an unusual name for risk or reverse the meaning of a policy threshold. This paper combines timing-based change detection, comparisons over the same account population, exact policy predicates and entity-redacted calibration.

The study reports 98.40% suppression of routine ingestion batches, a 34.6-day median default-warning lead time and zero stale-feed false alerts in the tested configuration. In a separate 600-case investigation benchmark, the selected configuration records 86.8% case F1, 0.42 false positives per case, 0.2% hallucination and a 1.9-percentage-point counterfactual name disparity under the reference scoring definition. The paper defines 14 metrics covering fraud and consistency signals, data quality and monitoring changes. [Source: RP-2026-05, methods and benchmark results](https://docs.amlok.io/whitepapers/05-monitoring-investigation.md).

## 1. Preserve evidence and policy meaning

The research organizes 16 logical responsibilities into six assessment roles. Each role has a distinct purpose, so an explanation can refer to the evidence and calculation that supports it.

| Role | Responsibility in the assessment |
| - | - |
| Data and evidence | Establish which sources, records and links support an observation. |
| Financial intelligence | Calculate comparable financial measures and cash-flow relationships. |
| Risk intelligence | Evaluate supported risk patterns and competing explanations. |
| Decision intelligence | Evaluate the applicable assessment rules and thresholds. |
| Monitoring and investigation | Assess changes and investigate triggered evidence. |
| Explainability | Present the reasons, uncertainty and supporting evidence. |

Source: [RP-2026-05, six-role assessment architecture](https://docs.amlok.io/whitepapers/05-monitoring-investigation.md). These responsibilities identify risk and intervention signals; institution staff handle borrower outreach and intervention in their own systems.

### Retrieve the rule, then evaluate its exact predicate

Policy statements can share the same words while expressing opposite conditions. A rule requiring DSCR at least 1.25 differs fundamentally from a rule testing DSCR below 1.25. The paper reports a 6.8-point covenant-F1 reduction when dense semantic reranking confuses such inequalities. Its method first partitions rules by metadata and retrieves exact symbols with BM25, then evaluates a deterministic abstract syntax tree. [Source: RP-2026-05, policy retrieval comparison](https://docs.amlok.io/whitepapers/05-monitoring-investigation.md).

An abstract syntax tree represents the comparison, operands, units and applicable rule version explicitly. Retrieval chooses the relevant rule; a language model does not reinterpret the inequality during execution. Evidence for the operand and the rule version travels with the assessment.

### Assessment flow

A change becomes an explained risk signal only after scope, rule and evidence checks.

<ol />

## 2. Detect sustained deviations in cash-flow timing

The monitoring gate updates compact feature state as ingestion batches arrive. It compares observed flow with the event-timing forecast, standardizes that residual by expected variability, and accumulates adverse deviations. Small fluctuations can dissipate through the slack term; sustained shortfalls can cross the selected threshold.

**Equation 5.1 - Timing residual and cumulative change gate**

$$
\begin{aligned}
u_{i,s,t}&=\frac{y_{i,s,t}-\widehat\mu^{\mathrm{timing}}_{i,s,t}}
{\max(\widehat\sigma_{i,s,t},\varepsilon)},\\
S^-_{i,t}&=\max\left(0,S^-_{i,t-1}-u_{i,\mathrm{inflow},t}-k_{\mathrm{slack}}\right),\\
\mathrm{Trigger}&\Longleftrightarrow S^-_{i,t}>h_{\mathrm{policy}}.
\end{aligned}
$$

`y` is observed flow; `mu` and `sigma` are the timing model's expected value and variability. `epsilon` prevents division by a vanishing scale. `k_slack` allows ordinary variation; `h_policy` is the selected gate threshold. A negative inflow residual increases the adverse cumulative statistic. [Source: RP-2026-05, equation 5.1](https://docs.amlok.io/whitepapers/05-monitoring-investigation.md).

| Monitoring result | Reported value | Interpretation |
| - | -: | - |
| Routine batches suppressed | 98.40% | Batches that do not activate the deeper assessment path. |
| Batches activating assessment | 1.60% | Complement of the suppressed share in the study. |
| Median default-warning lead time | 34.6 days | Median interval from the qualifying signal to the study's default outcome. |

Source: [RP-2026-05, streaming monitoring gate](https://docs.amlok.io/whitepapers/05-monitoring-investigation.md). These results describe the evaluated monitoring setup; they do not specify a product delivery schedule.

### Monitoring evaluation protocol

Scope control and event detection are separate tasks. Evaluate scope invariance once for the deterministic evidence gate; reuse that result across backbone displays only as the same control test.

| Element | Normative definition |
| - | - |
| Stale-feed test | Hold borrower transactions constant and vary account availability or feed age. Recompute both periods on the intersection of usable accounts. An empty intersection or unsupported positive baseline produces unavailable financial change and a coverage result, not a zero or deterioration alert. Count an erroneous financial-change alert as a false alert; stale-source status is a separate data-quality output. Report false-alert batches / all no-financial-change batches, with batch count and borrower count. |
| Lead time | At each assessment cutoff, use only then-available evidence. Follow eligible borrowers for 365 days. For each first qualifying default, measure days from the first qualifying alert in the preceding 90 days to default. Report median and quartiles among detected events alongside detected defaults / all observed defaults, false alerts per borrower-year, and the same quantities for the named baseline. |
| Follow-up | Do not count an incompletely observed borrower as a nondefault. Report numbers at risk, observed defaults, censoring, and completed follow-up. If inverse-censoring weights are used, record their model and weights as a separate estimator. |

## 3. Compare the same account population

Suppose a baseline includes three bank accounts and a later assessment can observe only two. Comparing the later two-account total with the earlier three-account total can create an artificial decline. The method recalculates both sides over their common active-account set.

**Equation 5.2 - Comparable scope and DSCR change**

$$
\begin{aligned}
S_{\mathrm{comp}}(t_0)&=\mathcal A_{\mathrm{active}}(t_0)
\cap\mathcal A_{\mathrm{active}}(t_{\mathrm{base}}),\\
\Delta\mathrm{DSCR}&=\mathrm{DSCR}(t_0;S_{\mathrm{comp}})
-\mathrm{DSCR}(t_{\mathrm{base}};S_{\mathrm{comp}}).
\end{aligned}
$$

Both assessments use the same account intersection. DSCR change is an absolute difference between ratios, rather than a percentage change. A connection disappearing changes coverage evidence; it does not establish that the underlying business revenue disappeared. [Source: RP-2026-05, equation 5.2](https://docs.amlok.io/whitepapers/05-monitoring-investigation.md).

The shared deterministic comparable-scope test reduces stale-feed false alerts from 18.9% to 0.0%. Its repeated appearance beside model backbones represents this same control test, not five independent model-specific results. This is an observed result for that test, with account coverage and source freshness retained as separate measures. A missing account remains relevant to completeness even when the comparison avoids a false deterioration signal. [Source: RP-2026-05, stale-feed benchmark](https://docs.amlok.io/whitepapers/05-monitoring-investigation.md).

## 4. Calibrate evidence after removing name cues

The first pass replaces borrower, director and counterparty proper nouns with consistent typed entity tokens. This preserves graph relationships, entity-resolution probabilities and financial calculations while removing name cues from the judgment. A reversible one-to-one token mapping keeps repeated references to the same entity consistent.

The second pass weighs a benign explanation against a risk explanation. A logistic gate is calibrated on the validation cohort using Brier loss against adjudicated outcomes. The decision threshold expresses the relative costs assigned to false positives and false negatives.

**Equation 5.3 - Calibrated evidence probability and threshold**

$$
\begin{aligned}
c(f_m)&=\sigma\left(\psi^\top v_m^{\mathrm{redacted}}\right),\\
\psi^*&=\arg\min_\psi\frac{1}{N_{\mathrm{val}}}
\sum_{m=1}^{N_{\mathrm{val}}}\left(c(f_m)-y_{\mathrm{adj},m}\right)^2,\\
\mathrm{Flag}(f_m)&\Longleftrightarrow
c(f_m)\geq\frac{C_{\mathrm{FP}}}{C_{\mathrm{FP}}+C_{\mathrm{FN}}}.
\end{aligned}
$$

`v_redacted` represents the evidence after entity-name replacement. `y_adj` is the adjudicated validation outcome. `C_FP` and `C_FN` are the stated decision costs. Raising the false-positive cost raises the probability required to flag a case. The output is an assessment signal. [Source: RP-2026-05, equation 5.3](https://docs.amlok.io/whitepapers/05-monitoring-investigation.md).

## 5. Investigation benchmark results

The paper reports 3,603 false-positive flags from raw language-model assessment in Cohort C. Its separate 600-case comparison evaluates five backbones before and after the assessment controls. The selected Gemini 3.1 Pro configuration improves case F1 from 81.5% to 86.8%, reduces false positives per case from 1.14 to 0.42, and reduces the reported hallucination rate from 1.6% to 0.2%. [Source: RP-2026-05, abstract and case benchmark](https://docs.amlok.io/whitepapers/05-monitoring-investigation.md).

The figures retain the reported values and use a neutral label for the unspecified 72B checkpoint. The full control-stack pair does not isolate the contribution of any one gate. Case F1, false-positive counts, unsupported claims and name disparity measure different behavior. The name test compares counterfactual substitutions of Quebec French and non-Anglo names; it does not establish fairness across every population or decision setting.

### Investigation scoring protocol

research-methods-v2 defines the scoring contract for the reported 600-case study summaries. For each result, record its scored units, configuration, population, and metric version.

| Element | Normative definition |
| - | - |
| Case and split | One borrower assessment at one evidence cutoff is a case. Keep every case from the same borrower in one split. Freeze the test cases, issue annotations, prompts, tool responses, and budgets before comparing configurations. Record counts by fraud, credit, data-quality, and no-issue stratum; 600 alone is not an issue or claim denominator. |
| Configuration | Identify the exact model revision, prompt, tools, decoding settings, token budget, and stopping rule in each run manifest. Compare model-only and controlled workflows on the same cases and same backbone. The pair estimates the whole control-stack difference; component attribution requires an additional matched ablation. |
| Case F1 | Match predicted issues one-to-one to adjudicated issues by issue type and evidence span within each case. Pool TP, FP, and FN across cases, then calculate micro F1 = 2TP / (2TP + FP + FN). An abstention contributes FN for any missed issues; a case with no issues and no predictions adds no counts. Report macro case F1 separately if used. |
| False positives and unsupported claims | FP per case = unmatched predicted issues / evaluated cases. Unsupported-claim rate = unsupported factual claims / all factual claims, using atomic claims and fixed evidence-entailment annotations. An empty claim set has no claim-rate estimate; also report answer coverage so abstention cannot hide errors. |
| Name disparity | Create paired cases differing only in the name cue. Report the absolute difference in false-positive case rates, in percentage points, on adjudicated no-issue cases. A false-positive case has at least one unmatched issue. Use this absolute percentage-point scale for the reference scorecard and record both paired case counts. |
| Uncertainty | Bootstrap borrowers, preserving paired configurations and all claims within each borrower. Report 95% percentile intervals from 2,000 replicates and the resampling seed. Never treat claims from one case as independent borrowers. |

The effect varies by backbone. DeepSeek V4 Pro changes from 77.4% to 77.6% case F1, while its other error measures improve. 72B open-weight comparator changes from 71.2% to 80.4%. These differences reinforce the need to inspect each outcome instead of interpreting a single average as a universal improvement. [Source: RP-2026-05, full comparison table](https://docs.amlok.io/whitepapers/05-monitoring-investigation.md).

## 6. Complete metric specification

The following 14 metrics distinguish observed inconsistencies from confirmed outcomes and preserve data coverage alongside changes. `Div+(a,b)` requires a supported, strictly positive denominator. `t_0` is the assessment time, `t_base` is the saved baseline, and `W` is the aligned observation window. Missing evidence does not imply a mismatch, a match or a zero.

Each definition links to [RP-2026-05](https://docs.amlok.io/whitepapers/05-monitoring-investigation.md). The [metric definitions workbook RS-2026-05](https://docs.amlok.io/research/resources/metric-taxonomy.md) supplies the catalog context.

### Fraud and consistency

**`reconciliation_break_share`**

Scope and unit: business, person (ratio).

```text theme={null}
1.0 - reconciled_value_share
```

The portion of eligible source value that remains unmatched across the compared evidence.

[Source: RP-2026-05, metric specification](https://docs.amlok.io/whitepapers/05-monitoring-investigation.md).

**`duplicate_transaction_share`**

Scope and unit: business, person (ratio).

```text theme={null}
Div+( |J_confirmed_duplicates_pre_dedup|, |J_raw_examined| )
```

The portion of examined transaction records confirmed as duplicates before deduplication.

[Source: RP-2026-05, metric specification](https://docs.amlok.io/whitepapers/05-monitoring-investigation.md).

**`document_contradiction_count`**

Scope and unit: business, person (count).

```text theme={null}
|DistinctSupportedCrossDocumentContradictions|  [review signal, not proof of fraud]
```

Distinct supported inconsistencies between comparable document fields. A contradiction is a review signal, not proof of fraud.

[Source: RP-2026-05, metric specification](https://docs.amlok.io/whitepapers/05-monitoring-investigation.md).

**`identity_mismatch_count`**

Scope and unit: business, person (count).

```text theme={null}
sum_{attr in PresentSupportedIDAttrs} I( Val_1(attr) != Val_2(attr) )  [absent != mismatch]
```

Distinct unresolved differences across supported borrower identity attributes. An absent attribute is not a mismatch.

[Source: RP-2026-05, metric specification](https://docs.amlok.io/whitepapers/05-monitoring-investigation.md).

**`declared_income_gap_ratio`**

Scope and unit: business, person (ratio).

```text theme={null}
Div+( DeclaredIncomeOrRev - ComparableVerifiedIncomeOrRev, ComparableVerifiedIncomeOrRev )
```

How much declared income exceeds or falls below comparable verified income, expressed relative to verified income.

[Source: RP-2026-05, metric specification](https://docs.amlok.io/whitepapers/05-monitoring-investigation.md).

### Data quality and coverage

**`observed_account_coverage`**

Scope and unit: business, person (ratio).

```text theme={null}
Div+( |IncludedDeclaredRelevantAccounts|, |DeclaredRelevantAccounts| )
```

The portion of declared relevant accounts included in the assessment. It does not establish that every external account is known.

[Source: RP-2026-05, metric specification](https://docs.amlok.io/whitepapers/05-monitoring-investigation.md).

**`covered_history_days`**

Scope and unit: business, person (days).

```text theme={null}
|{ d in Window : AllRequiredSourcesAndAccountsComplete(d) == 1 }|
```

Days with complete evidence across the required source and account set, accounting for known gaps.

[Source: RP-2026-05, metric specification](https://docs.amlok.io/whitepapers/05-monitoring-investigation.md).

**`stale_source_share`**

Scope and unit: business, person (ratio).

```text theme={null}
Div+( |{ s in RequiredSources : (t_0 - t_last_sync(s)) > FreshnessTolerance(s) }|, |RequiredSources| )
```

The portion of required sources older than their configured freshness tolerances.

[Source: RP-2026-05, metric specification](https://docs.amlok.io/whitepapers/05-monitoring-investigation.md).

**`unclassified_transaction_share`**

Scope and unit: business, person (ratio).

```text theme={null}
Div+( |{ j in J_dedup(W) : c_j == unknown.unclassified }|, |J_dedup(W)| )
```

The portion of eligible posted, deduplicated transaction records without a supported classification.

[Source: RP-2026-05, metric specification](https://docs.amlok.io/whitepapers/05-monitoring-investigation.md).

**`reconciled_value_share`**

Scope and unit: business, person (ratio).

```text theme={null}
Div+( CrossEvidenceReconciledValue(W), EligibleTransactionValue(W) )
```

The portion of eligible transaction value supported as reconciled across evidence.

[Source: RP-2026-05, metric specification](https://docs.amlok.io/whitepapers/05-monitoring-investigation.md).

### Monitoring changes

**`revenue_change_from_baseline`**

Scope and unit: business (ratio).

```text theme={null}
Div+( Rev(t_0; S_comp) - Rev(t_base; S_comp), Rev(t_base; S_comp) )  where S_comp = A(t_0) cap A(t_base)
```

The relative increase or decrease in comparable revenue since the saved monitoring baseline.

[Source: RP-2026-05, metric specification](https://docs.amlok.io/whitepapers/05-monitoring-investigation.md).

**`liquidity_change_from_baseline`**

Scope and unit: business, person (currency).

```text theme={null}
UnrestrictedCash(t_0; S_comp) - UnrestrictedCash(t_base; S_comp)
```

The money amount by which unrestricted cash has changed since the saved monitoring baseline.

[Source: RP-2026-05, metric specification](https://docs.amlok.io/whitepapers/05-monitoring-investigation.md).

**`dscr_change_from_baseline`**

Scope and unit: business (ratio).

```text theme={null}
DSCR(t_0; S_comp) - DSCR(t_base; S_comp)  [exact absolute ratio difference]
```

The absolute change in the debt-service coverage ratio since the saved baseline, rather than a relative percentage change.

[Source: RP-2026-05, metric specification](https://docs.amlok.io/whitepapers/05-monitoring-investigation.md).

**`obligation_growth_from_baseline`**

Scope and unit: business, person (ratio).

```text theme={null}
Div+( TotalDebt(t_0) - TotalDebt(t_base), TotalDebt(t_base) )
```

The relative increase or decrease in total debt since the saved monitoring baseline.

[Source: RP-2026-05, metric specification](https://docs.amlok.io/whitepapers/05-monitoring-investigation.md).

## Supporting sources

* [RP-2026-05 - supporting paper](https://docs.amlok.io/whitepapers/05-monitoring-investigation.md): equations, definitions and reported comparisons.
* [RS-2026-05 - metric definitions workbook](https://docs.amlok.io/research/resources/metric-taxonomy.md): metric keys, scopes and formula catalog.
* [RS-2026-06 - document and investigation workbook](https://docs.amlok.io/research/resources/lifecycle-results.md): supporting document and agent comparisons.
* [Research monitoring](https://docs.amlok.io/research/monitoring.md): introductory explanation of change assessment.
* [Financial evidence catalog](https://docs.amlok.io/whitepapers/06-financial-evidence-catalog.md): how these 14 metrics fit into the research catalog.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.