liveBook · Manning

Chapter 4: Risk and compliance: Credit risk fundamentals

What you will learn in chapter 4 of Financial AI in Practice

The introduction frames credit risk around the promise of repayment and the need to balance advanced analytics with responsible lending requirements.

After this chapter you will be able to

What it builds on

Section by section

Introduction

The introduction frames credit risk around the promise of repayment and the need to balance advanced analytics with responsible lending requirements.

Key terms: credit, repayment, willingness and capacity to repay, interest, advanced analytics, fair lending standards, proper underwriting, accurate disclosure, responsible lending, financial inclusion

4.1 From trust to scoring: How credit took shape

This section connects the enduring question of whether a borrower will repay with the shift from local trust to standardized credit scoring.

Key terms: repay, local reputation and trust, standardized evaluations, credit scoring

4.1.1 The evolution from local judgments to standardized scoring

This section traces the move from personal credit judgments to standardized scoring, explaining its benefits, limitations, and compliance demands.

Key terms: relationship-based assessments, credit bureaus, standardized credit scoring, standard credit models, traditional credit histories, atypical income streams, fair lending, adverse action notices, data-grounded

4.1.2 The two pillars of repayment and the role of interest

This section explains how lenders assess repayment through capacity and willingness, and why interest compensates them for lending risk.

Key terms: capacity, ability to pay, willingness, intent to pay, credit history, moral hazard, strategic default, continuous monitoring, static credit models, interest

4.1.3 Modern channels: BNPL, micro-lending, and merchant cash advances

The section compares three fast-moving credit channels, their distinct repayment and compliance risks, and why using AI for them requires explainability.

Key terms: Buy Now, Pay Later (BNPL), consumer overextension, disclosures, Microlending/peer-to-peer lending, alternative data, creditworthiness, hidden biases, Merchant Cash Advances (MCA), future receipts, daily sales

4.2 Core domain concepts and the credit life cycle

Introduces the three-phase credit life cycle shared by otherwise different lending products and explains why it matters for data and decisions.

Key terms: pre-loan, in-loan, post-loan, underwriting, limit adjustments

4.2.1 The loan life cycle: Personal and corporate

This section traces personal and corporate loans through pre-loan decisions, in-loan monitoring, and post-loan outcomes, showing where AI and compliance requirements fit.

Key terms: pre-loan, in-loan, post-loan, loan life cycle, underwriting, Know Your Customer (KYC), Know Your Business (KYB), credit evaluation, structuring the offer, behavior monitoring

4.2.2 Time-based performance and survival analysis

This section explains why credit risk must be tracked over time and how default windows, vintage charts, and survival analysis reveal different aspects of loan performance.

Key terms: default, time-based analysis, early-warning systems, default windows, days past due, covenant breach, vintage analysis, cohort, month on book, cumulative default rate

4.2.3 Regional and product nuances

The section shows how regional practices, credit products, and privacy rules change the data lenders can use for AI credit scoring despite a broadly shared credit workflow.

Key terms: bureau scores, negative data, blacklists, transaction data, collateral, secured vs. unsecured, BNPL, MCA, POS inflows, credit capacity

4.3 A domain-driven four-layer framework

The section introduces a domain-driven four-layer framework as a flexible way to organize AI-based credit solutions around financial-services realities.

Key terms: domain-driven, four-layer approach, conceptual map, data, models, strategies

4.3.1 Data asset layer

The section explains how a governed data asset layer prepares varied credit data for modeling through historical stores, real-time pipelines, and task-specific marts.

Key terms: data asset layer, internal and external data signals, PII tokenization, Analytical Store, Streaming Engine, segmented data marts, data masking, synthetic data generation, data drift, automated validation

4.3.2 Modeling layer

The modeling layer uses stage-specific credit models for origination, ongoing monitoring, and collections, supported by explainability and auditable model operations.

Key terms: modeling layer, modular suite, credit life cycle, Pre-loan (Origination), NLP, LLMs, deterministic decision-making, In-loan (Behavioral Monitoring), behavioral scoring, creeping delinquency

4.3.3 Strategy and monitoring layer

This section explains how the strategy and monitoring layer turns credit risk scores into policy-compliant decisions and adjusts those decisions as conditions change.

Key terms: risk score, strategy and monitoring layer, operational action, manual review, policy embedding, dynamic thresholding, APR, acceptance criteria, macro signals, monitoring and alerting

4.3.4 Application layer

The application layer turns credit model scores and policies into user-facing actions throughout the loan life cycle, with automation matched to the product.

Key terms: application layer, model scores, strategic policies, point of truth, Pre-loan interactions, In-loan, Post-loan, entry control, early warning interventions, collection strategy

4.3.5 Why this matters and where we’re going next

The section explains why separating the four concerns of a credit AI system helps it adapt, and why designing the layers must be followed by ongoing measurement.

Key terms: four-layer framework, data governance, modeling, strategy, application, K-S, AUC, PSI, fair, stable

4.4 Essential metrics and techniques in credit scoring

Introduces the credit-specific metrics, transformations, and data challenges that make scoring more demanding than generic classification.

Key terms: good versus bad borrowers, K-S, AUC, PSI, drift monitoring, binning, coarse versus fine, Weight of Evidence (WoE), risk drivers, structured, tabular data

4.4.1 Revisiting core ML metrics: AUC, K-S, and PSI

This section explains how AUC and K-S assess a credit model’s separation of defaulting and nondefaulting borrowers, while PSI flags shifts in the population the model serves.

Key terms: ROC curve, AUC, true positive rate, false positive rate, decision cutoff, K-S, goods, bads, cumulative distribution curves, score threshold

4.4.2 Binning and discretization: Fine classing vs. coarse classing

This section explains why credit scoring uses bins, how binning choices trade detail against stability, and how teams refine and check bins in practice.

Key terms: binning, discrete bins, interpretability, outliers, stability, fine classing, coarse classing, overfitting, predictive power, model stability

4.4.3 Weight of Evidence and information value

Explains how Weight of Evidence characterizes the risk of individual borrower bins, how information value measures a variable’s separation power, and why both support interpretable credit scoring.

Key terms: Weight of Evidence, WoE, bad, good, bin, information value, IV, BadRate, GoodRate, IV_bin

4.4.4 Handling special values, missing data, and outliers

The section explains how to handle unusual credit-data values without losing risk signals, distorting scores, or undermining regulatory explanations.

Key terms: sentinel codes, separate bin, default rates, missing data, listwise deletion, impute, missing bin, Missing Not At Random (MNAR), outliers, winsorizing

4.5 Why AI is indispensable and how it relates to building finance applications

The section explains why advanced credit-scoring AI must be paired with domain-specific checks before it can be used in lending.

Key terms: black box model, domain-specific checks, interpretability, data irregularities, changing risk profiles

4.5.1 AI in strictly regulated, high-stakes lending

This section explains why AI credit decisions must remain explainable, resilient to messy and changing data, fair, and designed for lending regulations from the outset.

Key terms: reason codes, WoE bins, domain-first binning, governance, sentinel-coded, BNPL, alt-data, reliable data ingestion, domain-based transformations, static models

4.5.2 Domain first, AI next: The best of both worlds

This section shows how credit teams combine traditional scorecard methods with modern ML to improve predictions while retaining practical explanations and audit options.

Key terms: hybrid feature engineering, WoE-based binning, gradient-boosted model, alt-data, ensemble approaches, neural network, logistic scorecard, fair-lending audits, champion–challenger comparisons, Explainable AI

4.5.3 The road to production: A preview of hands-on implementation

This section previews chapter 5’s hands-on credit-scoring implementation within the four-layer framework.

4.5.4 The core takeaway

The section argues that credit-risk AI should build on established domain methods rather than replace them.

Key terms: domain-first mindset, binning, WoE, transparent thresholds, time-based performance analysis, interpretability

4.6 Summary

Where this is used later

Concepts explained in this chapter

← Chapter 3: Working with generative AI in finance Chapter 5: End-to-end credit scoring for financial applications: A real-world AI approach →

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.