> ## 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.

# Credit models and explanations

> Compare the GAM-24 credit scorecard with the study's other credit configurations, and inspect its calibration and policy scenario.

AMLOK's credit research studies financial histories and explanations together. You want an assessment to recognize changes in financial behavior and explain why they matter. A few monthly averages can hide deterioration, while a complex model can make its reasoning difficult to inspect.

The August 2025 - November 2026 research program evaluates distinct credit configurations. The **FET-Dual architecture study** describes a Financial Event Transformer for business and guarantor histories followed by an additive model with selected interactions. The **GAM-24 credit scorecard** evaluates a fixed mapping from 24 supplied health scores to default probability. Its evaluation starts at those health scores, with no interaction terms; upstream representation learning belongs to the separate architecture study.

## Read the comparison

The credit question is how well scores rank deals that default within twelve months above those that do not. The GAM-24 credit scorecard evaluation contains **40,508 non-fraud Cohort C assessments** and **2,558 defaults**. Its AUROC is **0.876**. The configuration comparison reports **0.721** for the bureau logistic baseline and **0.819** for the TabPFN-v2Sub + GBDT ensemble. The corresponding numerical differences are **0.155** and **0.057 AUROC points** at displayed precision.

Those differences compare the identified configurations; they are not accuracy percentages or isolated estimates of a transformer effect. The [credit supplement](https://docs.amlok.io/research/resources/credit-results.md) defines the scorecard metrics and the separately evaluated comparison configurations.

### Credit ranking by evaluated configuration

Seven reported comparison configurations and the GAM-24 credit scorecard. Each result identifies its evaluated configuration; differences are descriptive comparisons.

**Chart data: Credit ranking by evaluated configuration**

Seven reported comparison configurations and the GAM-24 credit scorecard. Each result identifies its evaluated configuration; differences are descriptive comparisons.

**Evidence:** Configuration-specific credit ranking results. **Evaluation conditions:** Cohort C credit scope: 40,508 non-fraud assessments and 2,558 twelve-month defaults. The GAM-24 credit scorecard uses 24 supplied dimension-health scores and no interaction terms. Architecture comparisons retain their separately reported configurations. Monetary policy outcomes are shown separately under the unit-exposure policy scenario in the credit supplement.

The table preserves the source numeric values. Scores are not percentages or accuracy rates. Each measure appears in a separate graphic. This table includes all reported measures and comparison rows.

| Method or cohort | Group | Credit AUROC (score, 0-1) |
| - | - | -: |
| Bureau logistic baseline | Reported comparisons | 0.721 |
| Llama-3.3-70B ledger QLoRA | Reported comparisons | 0.714 |
| Cash-flow LightGBM | Reported comparisons | 0.798 |
| Bureau + reconciled cash-flow GBDT | Reported comparisons | 0.816 |
| TabPFN-v2Sub + GBDT ensemble | Reported comparisons | 0.819 |
| CRA-Business architecture comparison | Reported comparisons | 0.854 |
| CRA-Network architecture comparison | Reported comparisons | 0.866 |
| AMLOK GAM-24 credit scorecard | Credit scorecard | 0.876002 |

**Measure definitions**

* **Credit AUROC:** Pairwise default-ranking AUROC; tied positive-negative scores receive half credit. Higher is better.
  Source: [RS-2026-03](https://docs.amlok.io/research/resources/credit-results.md), Credit benchmarks and GAM-24 credit scorecard, AUROC.

**Sources**

* [RS-2026-03](https://docs.amlok.io/research/resources/credit-results.md), worksheet `01_Credit_PD_Benchmarks`, cells `A5:I12`.
* [RP-2026-02](https://docs.amlok.io/whitepapers/02-financial-event-credit.md).

## Preserve the timing of evidence

Transactions arrive at uneven intervals. A payroll stream, seasonal receipt and one-off asset sale have different timing patterns. FET-Dual's architecture specification represents event content and elapsed time. Its training objectives recover hidden fields, model event timing, and compare related histories. Features must be available by the applicable assessment time; future outcomes belong in labels.

The [fixed-cutoff event likelihood](https://docs.amlok.io/whitepapers/02-financial-event-credit.md#learning-events-and-supported-periods-without-events) includes supported silence from the last event through the observation endpoint. A missing feed interval does not establish that nothing happened.

## Separate business and guarantor resources

An owner distribution can appear as income in the owner's personal account. Counting the same transfer as business capacity and independent guarantor support overstates available resources under business stress. Link supported transfers and remove dependent distributions from stressed independent income. Gross income needs pay, tax, or equivalent evidence; net deposits alone do not establish it.

**Residual monthly income**

$$
R=I_{\mathrm{net}}-E-H-D.
$$

`I_net` is supported net income after the declared treatment of business-dependent draws. `E` is essential spending excluding housing and debt, `H` housing cost and `D` debt service. Count each cost once. Unsupported required inputs make the result unavailable, not zero.

## Make model contributions inspectable

The GAM-24 credit scorecard uses `psi_d=5.5-0.11*S_d`, where each supplied health input `S_d` ranges from zero to 100. It adds the 24 weighted contributions to intercept -3.926229 and applies a sigmoid. [Every fixed weight](https://docs.amlok.io/research/resources/credit-results.md#credit-scorecard-weights) is listed in the supplement.

**GAM-24 credit scorecard mapping**

$$
\widehat p=\sigma\!\left(-3.926229+\sum_{d=1}^{24}w_d(5.5-0.11S_d)\right),\qquad w_d\ge0.
$$

Increasing a supported health input cannot increase this scorecard's PD, with other inputs held fixed. This describes the fitted mapping, not the causal effect of changing a borrower's finances.

The broader architecture study allows constrained interactions. Its [formal constraints](https://docs.amlok.io/whitepapers/02-financial-event-credit.md#constrained-additive-architecture) require declared feature directions, non-negative weights, coordinatewise monotone lattice functions and constant centering. That interaction model is separate from the scorecard mapping above.

## Discrimination and calibration

All scorecard metrics use the same predicted probabilities and labels. AUROC handles tied scores with half credit. KS uses complete tied-score groups. Average precision and trapezoidal PR area are named separately; their integration rules differ. Calibration is reported under both ten equal-count and ten equal-width bins.

| Measure | GAM-24 credit scorecard |
| - | -: |
| AUROC | 0.876002 |
| KS separation | 0.589539 |
| Average precision (step integration) | 0.410613 |
| Precision-recall area (trapezoidal integration) | 0.410408 |
| Brier score | 0.046248 |
| ECE, ten equal-count bins | 0.001815 |
| ECE, ten equal-width bins | 0.002248 |

Inspect all [calibration deciles](https://docs.amlok.io/research/resources/credit-results.md#calibration-deciles), including their counts, observed rates and mean predictions. An aggregate calibration result is specific to its bins and population.

## Interpret a policy scenario separately

The unit-exposure scenario gives each non-fraud deal one exposure unit. Default loss is that record's predicted LGD times one; non-default loss is zero, with no discounting or additional costs. Sort by predicted PD and assessment identifier. The 70% target uses `floor(0.70*N)` accepted cases; the 4.5% curve chooses the largest prefix meeting the scenario loss constraint using outcome labels retrospectively.

| Policy scenario | Accepted deals | Approval share | Count-default rate | Modeled loss rate |
| - | -: | -: | -: | -: |
| Target 70% approval | 28,355 | 69.9985% | 1.3931% | 0.4654% |
| Largest prefix within 4.5% modeled loss | 40,508 | 100.0000% | 6.3148% | 2.4328% |

The full book meets the 4.5% scenario limit, so the constraint is nonbinding. These are modeled loss rates under equal exposures, not realized monetary losses. Unequal funding amounts, actual recoveries, policy constraints and costs require their own scenario. [Exact policy definition and totals](https://docs.amlok.io/research/resources/credit-results.md#unit-exposure-policy-scenario).

## Read the evidence alongside the score

Credit default and fraud use separate labels and evaluations. A high risk score is not proof of fraud. A mathematical contribution does not establish regulatory compliance or calibration in another population.

Continue with [study populations](https://docs.amlok.io/research/datasets.md), [study methods](https://docs.amlok.io/research/reproducibility.md), and [paper 02](https://docs.amlok.io/whitepapers/02-financial-event-credit.md). The [catalog](https://docs.amlok.io/research/catalog.md) distinguishes research dimensions from product resource definitions.


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