Book a call

EXECUTIVE WHITE PAPER • COMMERCIAL LENDING & RISK GOVERNANCE

Defensible AI in
Commercial Lending.

Defensible AI in
Commercial Lending.

Defensible AI in
Commercial Lending.

A plain-English guide for credit union executives, chief credit officers, and risk committees on turning probabilistic language models into auditable, examiner-ready underwriting tools.

A plain-English guide for credit union executives, chief credit officers, and risk committees on turning probabilistic language models into auditable, examiner-ready underwriting tools.

“In commercial lending, an AI’s answer is only as good as our ability to prove how it got there to regulators, auditors, and loan committees.”

“In commercial lending, an AI’s answer is only as good as our ability to prove how it got there to regulators, auditors, and loan committees.”

Intended Audience

Credit, Risk & Lending Leaders

Regulatory Focus

NCUA Exams & Credit Policy

Architecture

GLASS™ Practical Determinism

Read the White Paper ↓

Request a Briefing

Executive Summary

Why Commercial Lenders Need a Different Kind of AI Architecture

Why Commercial Lenders Need a Different Kind of AI Architecture

Commercial lending teams spend thousands of hours every year reading dense tax returns, K-1 schedules, rent rolls, and operating statements before a single underwriting calculation ever takes place. Modern Generative AI is remarkably good at reading those unstructured documents. Yet when credit unions try to bring standard AI tools into commercial underwriting, they quickly hit a wall.

Commercial lending teams spend thousands of hours every year reading dense tax returns, K-1 schedules, rent rolls, and operating statements before a single underwriting calculation ever takes place. Modern Generative AI is remarkably good at reading those unstructured documents. Yet when credit unions try to bring standard AI tools into commercial underwriting, they quickly hit a wall.

That wall is not a lack of intelligence - it is a lack of predictability and proof. Large Language Models (LLMs) are statistical prediction engines built to generate fluent, creative text. Ask the same unguarded model to spread a borrower’s cash flow on Monday morning and again on Tuesday afternoon, and it may interpret a line item differently, write slightly different calculation logic, and produce two different Debt Service Coverage Ratios (DSCR).

That wall is not a lack of intelligence - it is a lack of predictability and proof. Large Language Models (LLMs) are statistical prediction engines built to generate fluent, creative text. Ask the same unguarded model to spread a borrower’s cash flow on Monday morning and again on Tuesday afternoon, and it may interpret a line item differently, write slightly different calculation logic, and produce two different Debt Service Coverage Ratios (DSCR).

In a regulated financial institution, an answer that changes from day to day - or cannot be traced back to the exact line on a borrower’s tax return - is unusable. This paper explains in plain terms why raw AI behaves this way, why common vendor shortcuts fail to fix it, and how separating language comprehension from deterministic financial math enables credit unions to deploy AI that stands up to loan committees, internal auditors, and NCUA examiners.

In a regulated financial institution, an answer that changes from day to day - or cannot be traced back to the exact line on a borrower’s tax return - is unusable. This paper explains in plain terms why raw AI behaves this way, why common vendor shortcuts fail to fix it, and how separating language comprehension from deterministic financial math enables credit unions to deploy AI that stands up to loan committees, internal auditors, and NCUA examiners.

Section 01 / The Mandate

The Black Box Problem in Regulated Lending

The Black Box Problem in Regulated Lending

If you ask a consumer chatbot to draft a marketing email or summarize a meeting, slight variations in wording are harmless. You read the output, edit a sentence or two, and move on. Commercial credit underwriting operates under completely different rules. Every number on a credit memo carries financial, legal, and regulatory accountability.

If you ask a consumer chatbot to draft a marketing email or summarize a meeting, slight variations in wording are harmless. You read the output, edit a sentence or two, and move on. Commercial credit underwriting operates under completely different rules. Every number on a credit memo carries financial, legal, and regulatory accountability.

Out of the box, Generative AI operates as a “black box.” You feed documents into one end, and a finished summary or ratio comes out the other end, with no transparent record of how the model weighed competing figures, which policy rules it applied, or whether it silently invented a number to fill a gap.

Out of the box, Generative AI operates as a “black box.” You feed documents into one end, and a finished summary or ratio comes out the other end, with no transparent record of how the model weighed competing figures, which policy rules it applied, or whether it silently invented a number to fill a gap.

Regulatory Exposure

The Compliance & Exam Risk

When an NCUA examiner reviews a commercial loan file 18 months after closing, they do not just look at the final approval. They examine whether the credit union followed its own written credit policy, verified borrower cash flows accurately, and documented every exception. An unexplainable AI output creates an immediate exam finding.

Underwriter Adoption

The Credit Committee Trust Gap

Experienced credit officers will not rubber-stamp a spread they cannot verify. If an underwriter has to manually re-check every single tax line because they do not trust the AI’s math, the technology saves zero time. True adoption only happens when every number links straight back to its source page.

Defining the Standard

What Makes an AI System “Defensible”?

An AI system is defensible when a credit union can reconstruct the entire chain of reasoning behind any output - proving which exact documents were read, which policy version was active, how every calculation was performed, and confirming that running the same analysis again produces the exact same result.

Section 02 / Two Ways of Computing

Left-Brain Software vs. Right-Brain AI

Left-Brain Software vs. Right-Brain AI

To understand why Generative AI behaves differently from every banking system you have used over the last thirty years, it helps to compare two fundamentally different ways of processing information.

To understand why Generative AI behaves differently from every banking system you have used over the last thirty years, it helps to compare two fundamentally different ways of processing information.

Traditional Banking Software

100% Deterministic

The Left Brain

Historically, all core banking systems, loan origination platforms, and Excel spreading templates have been purely “Left Brained.” They run on explicit, human-written rules and formulas.

Think of an amortization schedule or a DSCR formula: Net Operating Income / Total Debt Service. The software does not guess or improvise. It follows step-by-step instructions blindly and faithfully.

The Deterministic Guarantee:

If you enter the exact same numbers and run the exact same rules, you get the exact same answer 100% of the time - today, next week, or five years from now.

Generative AI (LLMs)

Probabilistic & Fluid

The Right Brain

Large Language Models do not contain hard-coded logic trees or built-in calculators. Instead, they are massive pattern-recognition engines trained on billions of documents to understand language, context, and nuance - much like the right hemisphere of the human brain.

When an LLM reads a sentence, it generates its response one word (token) at a time by calculating statistical probabilities for which word makes the most sense next.

Why Variability Is Built In:

Because every word is chosen from a shifting pool of statistical probabilities rather than a fixed rulebook, fluidity is part of the core design of Generative AI.

In Plain English: The Writer vs. The Accountant

Asking an unguarded LLM to underwrite a commercial loan is like hiring a brilliant journalist and asking them to audit a borrower’s tax returns in their head without a calculator. They will read the tax return effortlessly and write a persuasive summary, but you would never rely on their mental math for a $5 million credit decision.

Section 03 / Hardware & Algorithmic Reality

Why You Can’t Simply “Turn Down the Creativity”

Why You Can’t Simply “Turn Down the Creativity”

When credit union executives ask software vendors how they prevent AI hallucinations and inconsistent answers, a common answer is: “We set the model’s temperature to zero so it becomes deterministic.” While that sounds reassuring, engineers know that “Temperature = 0” determinism is a myth. Even when locked down as tightly as possible, three underlying realities keep a raw LLM fluid.

When credit union executives ask software vendors how they prevent AI hallucinations and inconsistent answers, a common answer is: “We set the model’s temperature to zero so it becomes deterministic.” While that sounds reassuring, engineers know that “Temperature = 0” determinism is a myth. Even when locked down as tightly as possible, three underlying realities keep a raw LLM fluid.

Three Reasons Raw LLMs Stay Fluid

What Happens Inside the Data Center

The “Temperature = 0” Myth

01 / PROBABILITY POOLS

Temperature & Sampling

“Temperature” is a software dial that controls how adventurous the AI is with word choices. Turning it down narrows the choices, yet modern sampling methods still weigh close runner-up words whenever two options have nearly identical probabilities.

Plain-English impact: A razor-thin tie between two interpretations can tip one way today and the other way tomorrow.

02 / SILICON CHIP MATH

GPU Parallelism & Rounding

AI models run across thousands of specialized computer chips (GPUs) working in parallel at the same instant. Because numbers are split and recombined across thousands of threads simultaneously, tiny decimal rounding differences occur naturally on every run.

Plain-English impact: Even on identical hardware, the exact order of operations shifts slightly from millisecond to millisecond.

03 / DYNAMIC ROUTING

Mixture-of-Experts (MoE)

Leading AI models are no longer one single giant network - they are a team of smaller specialist sub-models. Depending on real-time server traffic and how other users’ requests are batched together, your loan file may be routed across different specialists.

Plain-English impact: Other people’s traffic in the cloud can subtly influence the path your request takes.

The Takeaway for Credit Leaders

Perfect, bit-for-bit repeatability inside the raw AI model does not exist. Because the Right Brain is permanently fluid at the hardware layer, defensibility cannot come from model settings - it has to come from the software architecture built around the model.

Section 04 / Multi-Step Workflows

The Agentic Loop: How Small Variances Snowball

The Agentic Loop: How Small Variances Snowball

Enterprise AI has moved beyond simple single-question chatbots into “AI Agents” - systems given a multi-step assignment (such as “Spread this borrower’s three years of tax returns and calculate Global DSCR”) and left to figure out the steps on their own. To finish a complex task, an agent repeats a four-step cycle known as the Agentic Loop.

Enterprise AI has moved beyond simple single-question chatbots into “AI Agents” - systems given a multi-step assignment (such as “Spread this borrower’s three years of tax returns and calculate Global DSCR”) and left to figure out the steps on their own. To finish a complex task, an agent repeats a four-step cycle known as the Agentic Loop.

01

Perceive

The agent reads the lender’s objective, inspects the uploaded borrower documents, and takes stock of what information is currently available.

02

Reason

The model breaks the assignment into smaller tasks, decides what needs to happen next, and chooses which software tool to use.

03

Act

The agent executes a step. Unconstrained agents will even write custom computer code on the fly and run it in a temporary cloud sandbox.

04

Observe

The agent checks the result. If the underwriting task is incomplete, it loops back to Step 2 and runs another cycle until it thinks it is finished.

Why Multi-Step Loops Amplify Chaos (“Exploding Trajectories”)

In a single question-and-answer prompt, a tiny statistical variation only affects one sentence. Inside an Agentic Loop, that tiny variance at Step 1 changes what the agent decides to do at Step 2, which changes the code it writes at Step 3, which changes the numbers it observes at Step 4. Engineers call this “exploding trajectories.” By the end of a ten-step underwriting workflow, two identical borrower files submitted by two loan officers can take completely different analytical paths and arrive at materially different credit conclusions.

Interactive Comparison
See How the Same Loan File Behaves Across Two Runs
Risk: Exploding Trajectories
Open-Ended Code Generation Amplifies Variance

When an unconstrained agent is allowed to write custom Python scripts to calculate commercial cash flow, a microscopic token difference at Step 1 alters the generated code, variable definitions, and execution path.

Result: Identical borrower files yield different DSCR numbers, different logic paths, and zero audit defensibility.

PROMPT: "Calculate Global DSCR for Loan Pool #409"2 Runs • Divergent Paths
Run A (Monday 9:02 AM)
1. LLM writes custom calc_dscr_v1.py
2. Excludes K-1 distributions
3. Uses 360-day interest basis
Output DSCR: 1.28x
Run B (Tuesday 2:15 PM)
1. LLM writes custom pool_cashflow.py
2. Includes K-1 distributions
3. Uses 365-day interest basis
Output DSCR: 1.41x (Drift!)

Section 05 / The Architectural Solution

Achieving “Practical Determinism”

Achieving “Practical Determinism”

If you cannot force the Right Brain to act like a calculator, the solution is straightforward: never ask it to do math or enforce policy. Instead, restrict the LLM to the one job it excels at - reading messy borrower documents and pulling out structured facts - while wrapping rigid Left-Brain software around every step. We call this architecture Practical Determinism, and it rests on two engineering controls.

If you cannot force the Right Brain to act like a calculator, the solution is straightforward: never ask it to do math or enforce policy. Instead, restrict the LLM to the one job it excels at - reading messy borrower documents and pulling out structured facts - while wrapping rigid Left-Brain software around every step. We call this architecture Practical Determinism, and it rests on two engineering controls.

CONTROL 01 / LEFT-BRAIN MATH

Curated APIs

A Curated Toolbox Instead of Free Coding

In an unguarded system, an AI agent is given a blank coding screen and told to write its own formulas. In GLASS™, free-form code generation is completely disabled. Instead, the AI is given a locked toolbox of pre-built, bank-audited financial calculators.

How It Works in Practice

Think of it like giving a junior analyst a locked financial calculator rather than a blank spreadsheet. The AI reads the borrower’s tax return, extracts the required figures (such as net rental income or interest expense), and enters them into the approved calculator. Traditional, deterministic code executes 100% of the math.

CONTROL 02 / LEFT-BRAIN LOGIC

Middleware Gates

Programmatic Tollbooths Between Every Step

We never allow an AI agent to loop freely from thought to action. Between every single step in the workflow sits a deterministic software checkpoint - a “programmatic tollbooth” - that inspects the AI’s work before allowing the process to continue.

Pre-Execution Schema Validation

Before any financial tool is allowed to run, the tollbooth checks that every extracted number matches strict formatting rules, reconciles against tax-form totals, and includes a valid source citation. If anything looks wrong or hallucinated, the tollbooth blocks execution immediately.

End-to-End Underwriting Control Flow

1. RIGHT BRAIN

Document Reading

Reads 1040s, K-1s, and rent rolls to extract raw figures and page coordinates.

2. TOLLBOOTH GATE

Schema & IRS Check

Verifies data types, cross-checks IRS line totals, and blocks unanchored values.

3. LEFT BRAIN

Curated Math Engine

Runs locked credit-policy DSCR and knock-out rules with zero mathematical drift.

4. AUDIT LEDGER

Immutable Record

Logs every input, rule version, and source link for loan committee and NCUA review.

Section 06 / The Governance Framework

The Six Pillars of Defensible AI

The Six Pillars of Defensible AI

When you combine Right-Brain document reading with Left-Brain math and programmatic tollbooths, your institution gains six concrete governance guarantees. Below is how each pillar works in plain terms and what it looks like on a real commercial loan file.

When you combine Right-Brain document reading with Left-Brain math and programmatic tollbooths, your institution gains six concrete governance guarantees. Below is how each pillar works in plain terms and what it looks like on a real commercial loan file.

PILLAR 01

Traceability

Click-to-Source Verification

What It Means: Every fact, figure, or risk flag surfaced by the AI must point directly back to the exact source document, page number, and line item where it was found.

How It Is Enforced: By requiring the LLM to use purpose-built Left-Brain extraction tools, the system programmatically rejects any extracted value that does not carry a verified Document ID and text coordinate. Underwriters never have to hunt through a 150-page PDF wondering where a number came from.

Commercial Lending Example

When the AI summarizes a guarantor’s contingent liabilities on a credit memo, the underwriting screen displays a direct hyperlink that opens Page 14, Schedule E of the uploaded tax return and highlights the exact line item.

PILLAR 02

Validation

Deterministic Rule Cross-Checks

What It Means: Information extracted by AI must be checked against deterministic accounting and credit rules before an underwriter ever relies on it.

How It Is Enforced: Because programmatic tollbooths sit between every step, traditional rule-based software automatically checks whether extracted numbers reconcile mathematically. If the AI misreads a digit or hallucinates a figure, the deterministic rule catches the discrepancy immediately.

Commercial Lending Example

When the AI extracts individual property lines from a borrower’s tax return to build a cash-flow spread, deterministic code applies IRS Schedule E rules to verify that sub-lines sum properly to the reported total, flagging any mismatch on the spot.

PILLAR 03

Provenance

Data & Policy Chain of Custody

What It Means: Knowing not just what the answer is, but the exact version of borrower data and institutional credit policy that produced it at that specific point in time.

How It Is Enforced: Credit policies evolve over time, and borrowers often submit updated financial statements mid-underwriting. Left-Brain architecture snapshots the exact document versions and policy configurations active at the moment of processing and locks them into the audit record.

Commercial Lending Example

During an audit, the credit union can prove that a borrower’s Business Knock-Out Factors were evaluated against the exact version of credit policy settings in force on the underwriting date - even if policy thresholds changed six months later.

PILLAR 04

Reproducibility

Consistent Outcomes Across Users

What It Means: Running the same analysis on the same loan data produces the same financial result every time, regardless of who runs it or what day of the week it is.

How It Is Enforced: By keeping the creative Right Brain limited strictly to structured variable extraction and handing all calculations to engineered Left-Brain financial APIs, mathematical drift disappears.

Commercial Lending Example

Two different loan officers running the exact same portfolio analysis tools on the same commercial loan pool tape on different days receive identical, bit-for-bit mathematical outputs.

PILLAR 05

Explainability

Plain-English Decision Trails

What It Means: Translating every automated action into clear, human-readable reasoning that a loan committee member or examiner can follow without a computer science degree.

How It Is Enforced: Nobody can explain the billions of internal weights inside a raw neural network - and with curated tools, you do not have to. Instead, the system records and presents the clear sequence of tools invoked and policy rules applied.

Commercial Lending Example

A credit committee sees a clear, step-by-step summary: “Located 2025 Schedule E -> extracted net rental income of $184,500 -> verified against IRS line total -> passed to Global DSCR engine -> calculated 1.38x.”

PILLAR 06

Auditability

Immutable Exam-Ready Logs

What It Means: Maintaining a permanent, tamper-evident system log of every step taken during underwriting so the file can withstand regulatory scrutiny years later.

How It Is Enforced: Because programmatic tollbooths sit between every step of the workflow, middleware automatically records every prompt, tool selection, extracted payload, validation check, and human underwriter override in immutable storage.

Commercial Lending Example

When an NCUA examiner pulls a commercial real estate loan approved 18 months ago, the credit union exports a complete, tamper-evident log showing exactly how the AI-assisted memo was produced and reviewed.

Section 07 / Interactive Walkthrough

Inside an Examiner-Ready Audit Record

Inside an Examiner-Ready Audit Record

Select each stage below to inspect how GLASS™ records citations, enforces tollbooth validation, and locks policy provenance on a live commercial loan file.

Loan File: CRE-2026-08841 • Policy Snapshot: v4.2-LOCKED

IMMUTABLE_AUDIT_RECORD // STEP_01_TRACEABILITY
SHA-256: 8f94c2d1...e91b
// Tool Invoked (Curated Left-Brain Extractor)
Search_Tax_Return(doc_id="DOC-1040-2025-BORROWER", schedule="E", field="contingent_liabilities")
// Click-to-Source Citation Payload
source_document: "2025_Federal_1040_Signed.pdf"
page_number: 14 (Schedule E, Part II, Line 28)
extracted_entity: "Cascade Holdings LLC (50% Guarantee)"
snippet_anchor: "Non-recourse / Contingent Debt Obligation: $420,000 [View PDF Box]"
Examiner Note: Hyperlink resolves directly to highlighted bounding coordinates on Page 14 of original borrower upload.

Section 08 / Executive Buyer’s Guide

Five Questions Every Risk Committee Should Ask Before Deploying AI

Five Questions Every Risk Committee Should Ask Before Deploying AI

Whether you are evaluating commercial loan spreading tools, portfolio analytics, or automated memo generation, use these five questions to separate consumer-grade AI wrappers from true examiner-ready infrastructure.

Whether you are evaluating commercial loan spreading tools, portfolio analytics, or automated memo generation, use these five questions to separate consumer-grade AI wrappers from true examiner-ready infrastructure.

QUESTION 01

Does the LLM perform financial math, or does deterministic code?

If the AI is calculating DSCR, LTV, or cash flow directly - or writing unverified scripts on the fly - mathematical drift is inevitable. Demand deterministic, pre-audited calculation engines.

QUESTION 02

Can an underwriter click any number and see the exact source line?

A summary paragraph is not an audit trail. Every extracted figure should link straight to the document ID, page number, and highlighted text box in the borrower’s original file.

QUESTION 03

What stops a hallucinated number before it reaches the credit memo?

Ask where the programmatic tollbooths are located. The system should cross-check extracted tax lines against IRS form totals and credit policy rules automatically before displaying results.

QUESTION 04

If two loan officers run the same file on different days, do they get the exact same result?

Do not accept “we set temperature to zero” as an answer. Verify that the system enforces Practical Determinism so every analysis is 100% reproducible.

QUESTION 05

Can we reconstruct the exact policy version and decision log 18 months from now?

When an NCUA examiner reviews a seasoned loan, you need an immutable record showing the exact documents, policy settings, and step-by-step tool sequence used at origination.

See Examiner-Ready AI Overlaid on Your Existing LOS.

See Examiner-Ready AI Overlaid on Your Existing LOS.

See Examiner-Ready AI Overlaid on Your Existing LOS.

Credit unions and financial institutions use GLASS™ by Quilo™ to spread, analyze, and underwrite with mathematical certainty and full auditability - without ripping and replacing their core tech stack.

Request a Demo

About Quilo

2026 Qoosh Technology Inc Copyright

Quilo is a registered trademark of Qoosh Technology Inc.

2026 Qoosh Technology Inc Copyright

Quilo is a registered trademark of Qoosh Technology Inc.

2026 Qoosh Technology Inc Copyright

Quilo is a registered trademark of Qoosh Technology Inc.