What this study compares
This paper evaluates two financial tasks before extending them to evidence refresh and loss estimation: detecting document tampering and ranking default risk across all applicants. AMLOK’s document pipeline combines a 410M layout encoder, distilled from Qwen2.5-VL-7B, with forensic and financial-consistency checks. Its applicant-risk pipeline adjusts for which applications were historically funded.01_WP07_Forensics_RAROC, rows 6-11; RP-2026-07, document-forensics and applicant-selection results. Each later refresh, loss, and pricing result retains its own task definition.
Abstract
A credit assessment depends on more than a probability-of-default score. Its documents must support the extracted facts. Its training population must reflect the applicants it will score. New obligations or changes to the proposed beneficiary can alter risk after approval. Expected loss also depends on how much is outstanding at default and how much can be recovered. This paper joins four methods: a document-layout encoder with four forensic channels; cross-fitted selection-adjusted estimation across an eligible funded and unfunded applicant population; an evidence refresh between approval and proposed funding; and loss-given-default and exposure models for risk-adjusted pricing. The source reports document-tampering F1 of 0.948 at a 0.4% false-positive rate, all-applicant credit AUROC of 0.881, refresh precision of 0.894 with recall of 0.862, and portfolio RAROC of 19.5% under the study’s pricing assumptions. Each result has its own population and metric definition. RP-2026-07, RS-2026-06.Research question and population
The study asks whether better evidence and explicit selection and loss models improve the assessment of commercial applications. The expanded applicant corpus contains 275,019 funded deals and 118,400 rejected or unfunded applications, totaling 393,419. The all-applicant out-of-time evaluation contains 59,009 applications: the 41,250 funded-deal Cohort C plus 17,759 rejected applications. The larger corpus is the research population; it is not the denominator for every benchmark. RS-2026-06, applicant-population description. Uploaded bank statements, tax records, receivables schedules, and lease documents appear in 188,388 deals, or 68.5% of the 275,019-deal study. Document availability does not establish authenticity. The extraction and forensic tasks therefore remain separate. RP-2026-07, section 1.
Source: RP-2026-07 and RS-2026-06.
Document extraction and four-channel forensics
The 410-million-parameter document-layout encoder is distilled from Qwen2.5-VL-7B. It associates an extracted fact with a page, bounding box, and extraction confidence. These coordinates let you trace a balance, date, or payment back to the document region that supports it. Source text remains evidence to inspect; it does not become an instruction to an assessment agent. The forensic model combines four kinds of evidence. PDF revision structure captures changes in the cross-reference graph. Font geometry tests local glyph spacing and baseline patterns. Image analysis looks for inconsistent editing or copied regions. Arithmetic and digit-distribution checks compare balances, transaction totals, and second-digit patterns. The last channel contributes two terms, so the four-channel architecture has five weighted inputs. RP-2026-07, section 1 and equation 7.1.Equation 7.1 - Document-tampering scoreHere, is the document and converts the weighted score to a value between zero and one. The terms measure revision anomalies, unusual font spacing, image-edit evidence, arithmetic disagreement, and second-digit deviation. A high score is a reason to examine the evidence; no single digit-pattern or metadata anomaly establishes fraud.
The comparison reports both F1 and false-positive rate. F1 balances precision and recall; a 0.948 F1 score is not a claim that 94.8% of every document field is correct. The paper separately reports bounding-box intersection over union of 99.1%, which measures localization overlap. Document localization, tampering detection, and the truth of a financial claim are distinct tasks. RP-2026-07, benchmark table.
Selection-adjusted default estimation
A model trained only on funded applicants learns from a population filtered by lender policy. Selection adjustment estimates a target risk over an explicitly eligible applicant population. The method below uses missing-at-random outcome identification; it does not use an inverse Mills term or claim to solve arbitrary unobserved selection.Equation 7.2 - Cross-fitted augmented expected loss indicates whether the credit outcome is observed; contains pre-assessment selection and outcome covariates, including . For binary default, estimates and estimates . Fit both nuisance models without borrower fold , then predict that fold. The conditional loss changes whenever changes, even though the nuisance fits are fixed. For , evaluate only the first term; do not access a missing or multiply an undefined loss by zero.
For each fixed predictor, the augmented risk is consistent if either the observation-probability model or the conditional outcome model is correct, provided , consistency of the reference facility, and positive overlap hold. Fit the final predictor using the cross-fitted objective and evaluate it on an untouched test set. State a strictly positive overlap bound in the run manifest; if it fails, restrict and name the target population or stop. Clipping inverse weights changes the estimator and its bias, so record that as a separate version rather than retaining an exact doubly robust claim. A lender cutoff is a selection covariate here, not automatically a valid instrument. A nonignorable selection model would require a separate joint model and identification assumptions.
The signed D9-D10 bias improves from -2.45 to -0.11 percentage points. The separate AUROC comparison rises from 0.859 to 0.881. AUROC measures ranking; the decile bias measures probability calibration. Improvement in one does not establish the other. RP-2026-07, Figure 7.1 and benchmark table.
Evidence refresh before proposed funding
An approval uses evidence available at a point in time. The paper evaluates the following 1-to-14-day interval for changed beneficiary instructions, new inquiries, and newly initiated payment obligations. A change can warrant renewed assessment even if the original credit estimate was reasonable. The refresh model combines a beneficiary-account-change probability with the intensity of new inquiries and debit obligations. Its output is an assessment signal. The institution decides how to investigate it and whether to release funds in its own systems. RP-2026-07, section 3.Equation 7.3 - Approval-to-funding hazard scoreThe first term represents beneficiary-change evidence, including the holder-match probability. The exponential term incorporates inquiry and new-debit counts in the interval. The coefficients determine how strongly these observations change the modeled hazard.
The selected method reports 89.4% precision and 86.2% recall. Precision asks how many alerts are relevant; recall asks how many relevant events are detected. The static routing baseline reports 41.2% precision. These definitions follow the source benchmark table and workbook. RS-2026-06, refresh benchmark.
Loss, exposure, and risk-adjusted pricing
Probability of default alone cannot estimate the amount a lender expects to lose. Loss given default (LGD) estimates the loss fraction after recoveries. Exposure at default (EAD) estimates how much is outstanding when default occurs. Revolving borrowers can draw on unused capacity before default, so the current balance can understate EAD. The source combines a hurdle-beta loss model with a distressed credit-conversion-factor model. Its conditioning evidence includes eligible collateral, priority claims, and collectible guarantor coverage. The hurdle separates the chance of loss from the severity of a loss. Boundary cases require the source’s zero/one-inflation treatment; the compact equation below displays the mean loss component. RP-2026-07, section 4.Equation 7.4a - Loss severity, revolving exposure, and expected lossFor borrower and product , the loss estimate combines the chance and size of loss. EAD adds expected future use of the undrawn line to the current balance. Expected loss multiplies default probability, loss fraction, and exposure.
Equation 7.4b - One-year risk-adjusted return constraintEvery numerator term and is in CAD over the same one-year horizon. and are contractual interest and fees before the separately modeled credit loss; principal repayments are excluded from income. Funding cost sums period-average funded balances times the period funding rate. is a dimensionless, versioned economic-capital rate; its input schedule and positive bounds belong to the pricing configuration. A zero-capital case has no RAROC ratio.Use the actual amortization schedule for term and equipment loans, projected utilization for revolving lines, and purchased-receivable cash flows for receivables finance. For revenue-based contracts, separate return from principal in each contingent payment and apply the same horizon. Do not replace these schedules with original principal times a spread. Report portfolio RAROC as total net risk-adjusted income divided by total allocated economic capital, not a mean of borrower ratios.For a reference one-year constant-balance facility, interest CAD 8,000, fees CAD 0, funding cost CAD 4,000, operating cost CAD 1,000, PD 2%, LGD 40%, and EAD CAD 100,000 give expected loss CAD 800. With , capital is CAD 10,000 and RAROC is 22%. This passes a 15% reference hurdle. The separate 19.5% portfolio scorecard uses its own portfolio assumptions; it is not derived from this facility example.
Source: RP-2026-07, complete benchmark table and RS-2026-06.
Interpretation and connection to the research
The methods address different failure modes. Forensics strengthens the evidence entering the model. Selection adjustment changes how applicant risk is estimated. Refresh checks account for changes after the assessment date. LGD and EAD translate risk into an amount and a return calculation. Their metrics should remain separate rather than being collapsed into one accuracy claim. You can follow the foundations in transaction evidence, credit modeling, and lending capacity. Borrower state estimation extends the refresh logic to repeated evidence changes; counterfactual analysis uses the risk and capacity equations to test conditional alternatives.References
- RP-2026-07 - Document integrity, applicant selection, and loss estimation: methods, equations 7.1-7.4, Figures 7.1-7.2, and benchmark definitions.
- RS-2026-06 - Document and agent evaluation results: document, applicant, refresh, loss, and return aggregates.
- Chakrabortty et al., M-estimation with missing outcomes: parameter-dependent augmented risk and missing-at-random identification.
- Research: document integrity: research overview and related evidence.