0%

VeriTape

Data ProfilingTime-Aware ValidationXGBoost + Bi-LSTMAnomaly DetectionCalibrationSHAP ExplainabilityScenario SimulationLLM NarrationHash-Chained AuditReviewer LoopData ProfilingTime-Aware ValidationXGBoost + Bi-LSTMAnomaly DetectionCalibrationSHAP ExplainabilityScenario SimulationLLM NarrationHash-Chained AuditReviewer Loop
AI Track — Intain FinTech Challenge 2026

Portfolio Command

Pulling the portfolio…

Core Capabilities

The five things that actually matter.

Prediction + Calibration

XGBoost and a Bi-LSTM over payment sequences predict default probability, reaching 0.78 and 0.86 AUC respectively against a time-aware held-out set -- loans the model has never seen, split by origination date rather than at random. Platt scaling then recalibrates the output: Brier score improves 44%, so a predicted 30% actually behaves like one.

Anomaly Detection

A GRU+MLP autoencoder flags loans that are structurally unusual -- not just high-risk, but inconsistent with their own history or peers -- by reconstruction error, with no anomaly labels used during training. Evaluated against held-out ground truth, it lands a 6.6x-8x precision lift over a random baseline across alert budgets.

Reviewer Override Loop

Flagged loans go through a human: accept or override, with an optional reason. Every decision is its own hash-chained entry that references the exact flag it responds to -- it never rewrites the underlying prediction or anomaly score, only records a permanent judgment on top of it.

Tamper-Evident Audit Trail

Every model decision -- predictions, anomaly flags, reviewer overrides, scenario runs -- lands in a SHA-256 hash chain where each entry commits to the one before it. Edit any historical row and the chain visibly breaks at exactly that entry, verifiable live with the button below.

LLM-Assisted Reviewer Explanations

Given the SHAP output and anomaly flags already computed for a record, Gemini writes a short, human-readable reviewer note -- it never touches the prediction, the anomaly score, or the calibration; all three are already final by the time the LLM sees them. If the narration service fails or is slow, the app automatically degrades to a labeled template note, and the rest of the pipeline keeps working exactly as before. That fallback has actually been forced and verified, not just claimed.

Real reviewer note, from this app

“Loan L103802 was assigned a low calibrated default probability of 0.0109 (down from a raw probability of 0.0208)... Despite the low default risk, the loan flagged a high structural anomaly score of 1.5612, placing it in the top 1% of anomalies.”

…and everything else underneath

Reviewer Override Loop

Accept or override any flagged loan. Every decision is its own hash-chained entry, referencing the exact flag it responds to -- never mutating it.

Tamper-Evident Audit Trail

SHA-256 hash-chained SQLite log. Edit one entry and Verify Chain catches exactly where it broke.

Portfolio Risk Rollup

Expected loss, risk-tier mix, and anomaly rate across the whole book, live.

Scenario Simulation

Shock interest rate, DTI, or regional income and see the expected-loss shift.

Calibrated Predictions

Platt scaling turns raw XGBoost scores into probabilities that actually mean what they say.

SHAP Explainability

Per-record feature attributions for both the prediction model and the anomaly detector.

LLM Narration

Explanation-only, never predictive -- Gemini phrases numbers a model already computed.

Time-Aware Validation

Trained and tested by origination date, not a random split, so results reflect real deployment.

See It Running

Real captures from the running app.

Portfolio risk-tier breakdown

Portfolio risk-tier breakdown

Live loan counts across low/medium/high risk tiers, from GET /portfolio/summary.

SHAP explanation

SHAP explanation

Per-record feature attributions for the prediction model, computed live -- not a global importance plot.

Scenario simulator

Scenario simulator

Portfolio expected loss before and after a live interest-rate shock.

Audit-chain visualization

Audit-chain visualization

The hash chain after a live Verify Chain call -- every link glows once confirmed.

Intain FinTech Challenge 2026 — AI Track

A prediction model judges can inspect, an anomaly detector that proves its own lift, and an audit trail that catches its own tampering.

View the submission on GitHub

Why It's Different

  • Cuts manual review time -- only structurally unusual or high-risk loans reach a human, not the whole book.
  • Catches structural anomalies before they compound -- flagged by reconstruction error against a loan's own history and peers, not just a bad prediction.
  • Ships with an audit trail already built in -- every decision is hash-chained from day one, not bolted on after the fact.

The Reviewer Override Loop

A human always has the last word.

Every flagged loan -- a top-1% structural anomaly, or a high calibrated risk -- goes to a person who accepts or overrides it, with an optional reason. The decision is hash-chained to the exact flag it responds to and never rewrites the model's own output. It's the one feature that turns a probability into an auditable decision.

Loan Explorer

Every loan in the current book, filterable by risk, region, and status.

Loading loans…

Scenario Simulator

Shock a portfolio driver and see the expected-loss shift.

Audit Trail

Every model decision, hash-chained. Tamper with any entry and the chain visibly breaks.

Loading the chain…

You review.

We handle everything else.

A reviewer's job is the one decision that actually needs judgment: does this specific flagged loan deserve an override. Everything upstream of that -- turning a messy loan tape into a calibrated, explained, hash-chained decision -- already ran before the loan ever reached a reviewer's screen.

Data ProfilingFeature EngineeringTime-Aware ValidationPredictionCalibrationAnomaly DetectionSHAP ExplainabilityScenario SimulationAudit TrailLLM Narration

FAQ

Questions a compliance or servicing team would actually ask.

Nothing else stops working. review/narrate.py wraps every Gemini call in a try/except: an outage, rate limit, or empty response falls back to a deterministic template that still states the calibrated probability and top SHAP driver, clearly labeled as a fallback so it's never mistaken for a real narration. Prediction, calibration, SHAP, and the audit trail are all computed before the LLM is ever called, and none of them depend on it succeeding.

Every entry's hash is SHA-256 of the previous entry's hash plus its own timestamp, event type, and payload -- so editing any historical row, even just its stored hash, breaks every link after it. The Verify Chain button above calls the live hash-chain verification endpoint and walks the whole chain from genesis. This was tested against a real tampered row (edited directly in the database, bypassing the app entirely) and correctly reported exactly which entry broke.

A human does. Flagged loans -- a top-1% structural anomaly, or a calibrated probability in the "high" risk tier -- go through the reviewer decision loop: a person accepts or overrides the flag, optionally with a reason. An override never changes the stored prediction or anomaly score -- it's a permanent, hash-chained annotation on top of an immutable model output, not a correction to it.

Trained and tested on a time-aware split by origination date, not a random one, so the held-out set reflects loans the model has never seen and mirrors real deployment. On that split: XGBoost reaches 0.78 AUC and a Bi-LSTM over payment sequences reaches 0.86, both against simpler baselines; the anomaly detector shows a 6.6x-8x precision lift over a random baseline; Platt scaling improves the Brier score by 44%.