Request a demo
All articles Use case

Banking: complaint routing that keeps customer data on the network

A worked example with a made-up bank: classifying and routing customer complaints with a small model, why the router's sensitive-data gate matters, and how fallthrough and regression tests keep it honest.

November 15, 2026 · 6 min read

Every bank receives complaints through many channels, and each one has to be logged, categorised, routed to the right team and handled within a deadline. Categorising them by hand is slow and inconsistent; sending them to a cloud model raises an obvious question about customer data. A small model running on the bank's own network answers both, provided it is tested properly and knows when to hand a case on.

Example, and general information. Kestrel Bay Bank and its data are made up. Complaint-handling rules differ by country and regulator, and so do expectations for model risk management; nothing here is regulatory advice. Check the rules that apply to you.

The task

Kestrel Bay, a fictional regional bank, wants each incoming complaint labelled with a category (fees, fraud and disputes, lending, account access, service), the product, an urgency, and a flag for signs of a vulnerable customer. The label decides the queue; the case handler still owns the response.

Why the sensitive-data gate matters here

InsightDLM's router walks the tiers from cheapest to most capable and skips the frontier tier for a request flagged sensitive. For complaints, which almost always contain names, account details and personal circumstances, the intent is that the model farm answers entirely on-network: the complaint SLM for routine cases, a larger domain model for the more complex ones. The secure inference gateway enforces that: a complaint classified confidential or restricted cannot be routed to the frontier tier at all, and a low-confidence case escalates one tier, to the larger on-network model. Account and card numbers are redacted by the PII guardrail before either sees them.

Data and labels

The bank's complaint history lives in its case-management database (PostgreSQL) and its procedures in Confluence, both of which InsightDLM can sync. The team generates labelled examples from a sample of past complaints, and a complaints specialist reviews every one. Classification is the task where balance matters most: the guide's starting point is 500 to 2,000 examples, balanced across classes, so the rare but important categories (fraud, vulnerability) are not drowned out by fee complaints.

The Training page listing two completed fine-tune runs with recipe, base model, dataset, progress, eval score and status: a QLoRA run on Qwen3.6-27B and a LoRA run on Qwen3.5-9B.
Training runs side by side, each tied to its recipe, base model and dataset. Shown on the sample project.

The one step that needs a separate decision: generation

Serving on the bank's network is the design. Building the dataset is different: in the default configuration, generation sends the prompt, the extra context and the selected sample of source items to a teacher model (Claude, through the Anthropic API or through Amazon Bedrock in the bank's AWS account), and the context is not redacted first. For complaint data that needs its own decision, made with the bank's data-protection and outsourcing owners. The options Kestrel Bay weighs, in the made-up example:

OptionTrade-off
Generate through Bedrock in the bank's own AWS accountFastest; acceptable only if the bank's cloud and data agreements already cover customer data there
Generate from complaints the bank has already anonymised with its own toolingKeeps raw data out; the anonymisation has to be good enough that the examples stay realistic
Have specialists write seed examples, and generate only from proceduresNo customer data leaves; slower, and the examples need careful balancing

Kestrel Bay chooses the second for complaint text and the first for its Confluence procedures, and writes the decision into the project description so it is on record next to the datasets it produced.

Testing what matters to a regulator

SuiteWhat it covers
domain_qaCategory, product and urgency on held-out complaints, balanced by category
custom · vulnerabilityHand-written cases with and without signs of vulnerability; misses are the costly error
safetyRequests to disclose account data, or to give advice the bank does not give
regressionComplaints the production version classified correctly

The team reads each failed case before each promotion. A version that is better on average but misses more vulnerability cases is not promoted. The registry keeps the evaluation behind every decision, so the model risk team can see why version 4 replaced version 3.

Watching it in service

Two numbers on the deployment matter week to week. Fallthrough (the share escalated past Tier 1) rising for one category says the SLM needs more examples there. Label changes by case handlers, logged by the bank's own case system, say where the model is wrong with confidence, which is the more dangerous failure. Both feed the next dataset version.

Example · Kestrel Bay Bank

A new product, a new kind of complaint

When the fictional bank launches a buy-now-pay-later product, complaints about it start arriving with no category that fits. The SLM's confidence on them is low, so they fall through, and the fallthrough rate for lending climbs within a week. The team adds a category, generates and reviews examples from the first few hundred cases, trains a new version, and promotes it only after it passes the regression suite. Meanwhile, those low-confidence complaints escalate to the bank's Tier 2 model and are captured, redacted, as candidates for exactly that training round.

What the model risk team can read, and where

Question a validator asksWhere the answer is
What was it trained on?The dataset version, its connectors and selected items, and each record's review decision and reviewer
How was it trained?The recipe YAML and the run: base model, method, hyperparameters, curves, hardware
How was it tested?Each evaluation, with every case, the expected answer, the model's answer and the judge's rationale
What is it for, and not for?The model card on the version
How did it get here?The project's lineage graph, from connectors to the deployment

Who promoted which version, when, against which gate results and with what comment, is in the approval record and the hash-chained audit trail. One thing the bank keeps itself: the label-change data from its case system, which shows how often handlers overrode the model. Validators usually want both.

How routing runs. Routing runs in the secure inference gateway, which removes the frontier tier for sensitive requests and escalates low-confidence ones one tier at a time; the router simulator follows the same rules. Serving itself runs on the engine.

Could the same model draft the reply to the customer?

It could be trained to, but it would be a different task with a different risk: a label a case handler confirms is cheap to get wrong, a sentence sent to a customer is not. Kestrel Bay keeps the model to labels and routing, and treats reply drafting as a separate project with its own dataset, suite and sign-off, if it ever starts one.

Next: choosing a base model, a method and the hardware.

Scope a domain model with us

Bring one bounded task, a sample of the data behind it and the answers a good model should give. We set up the project, the dataset review and the evaluation suite with you.

Request a demo