Home / Insights / AI and Machine Learning

AI and Machine Learning

Credit Scoring Models for SME Lending: Data, Fairness and What Regulators Expect

Small-business lenders and embedded-finance platforms increasingly want their own credit models. Building one is less about the algorithm than about data, fairness testing, explainable decisions and governance that will stand up to a regulator. This guide sets out how to approach each.

TopicsAI and Machine LearningBusiness Operations and Integration

Key takeaways

  • An SME credit model is a regulated decision system, not a data science experiment. Plan for documentation, independent validation and monitoring from the first sprint.
  • Thin-file SMEs make alternative data attractive, but every new feature needs a clear business rationale, a check for proxies of protected characteristics and a way to explain it to a declined applicant.
  • Interpretable models such as scorecards and constrained gradient-boosted trees usually beat opaque models once explanation, validation and change-control costs are counted.
  • Fairness has to be measured, not assumed: define the metrics, test across groups where lawful, and record the trade-offs you accepted and why.
  • Regulators in the US, UK and EU converge on the same expectations: specific reasons for adverse decisions, human oversight, model inventories, effective challenge and ongoing monitoring.

Lending to small and medium-sized enterprises has always been awkward to automate. Businesses are heterogeneous, financial statements arrive late or not at all, and many applicants have a short trading history. Meanwhile, platforms that serve SMEs now hold transaction data that often says more about repayment than old accounts. The result is a wave of lenders, fintechs and software companies asking whether they should build their own credit scoring model.

This article is for the people who have to sign that decision off: a CTO or head of data at a lender or embedded-finance platform, a credit risk lead, or a founder adding lending to an existing product. It covers what data to use, how to choose a modelling approach, how to test fairness, how to produce the explanations regulators require, and how to run the model once it is live. It reflects how we approach regulated machine learning development: start from the decision and the baseline, prefer interpretable models where transparency matters, and design monitoring before deployment. It is not legal advice; your compliance counsel should confirm the obligations that apply in your markets.

Why SME credit scoring is different from consumer scoring

Consumer credit scoring benefits from decades of standardised bureau data and large, homogeneous portfolios. SME lending has neither. Before choosing a model, it helps to be honest about four structural differences.

Small, uneven portfolios

A consumer lender may have millions of loans to learn from. An SME lender, especially a new one, may have a few thousand, with only a small fraction defaulting. Low default counts make complex models prone to overfitting and make performance estimates noisy. Segment-level results, for example for construction firms or sole traders, can rest on a handful of defaults.

Business and owner are entangled

For sole traders and micro-businesses, lenders often rely on the owner’s personal credit or a guarantee, which brings consumer protection rules into play, including explaining declines to a person.

Thin, stale files and cyclical risk

Filed accounts may be twelve to eighteen months old, and young firms may have none, which is why bank-feed and platform data are attractive. SME defaults also move sharply with the economic cycle, so a model trained in a benign period can fail when conditions turn.

Action: before any modelling, write a one-page decision brief: which product (term loan, revolving line, invoice finance, merchant cash advance), which segments, what decision the model supports (approve or decline, limit, price), and how many historical outcomes you actually have per segment.

What data should an SME credit model use?

Most effective SME models combine traditional and alternative data. The question is not whether a feature is predictive, but whether it is predictive, stable, lawful to use, and explainable to an applicant.

Data sourceTypical signalsStrengthsWatch-outs
Commercial bureau and filed accountsPayment history, county court judgements, leverage, profitabilityWell understood, accepted by regulators and auditorsStale for young or fast-changing firms; absent for many micro-businesses
Owner’s consumer bureau dataPersonal credit history, existing debtStrong predictor for sole traders and guarantorsConsumer protection and data protection rules apply; consent and purpose limitation matter
Open banking and bank statementsRevenue volatility, cash buffers, returned payments, existing repaymentsCurrent, granular, hard to fakeCategorisation errors; requires consent and secure handling; some features can proxy protected traits
Platform data (payments, marketplace, accounting software)Sales trends, refund rates, customer concentration, invoice ageingOften the reason an embedded lender existsSelection bias: only customers of your platform; changes to the platform change the data

The proxy problem

Features that look neutral can act as proxies for protected characteristics. Postcode, trading location, certain spending categories, or the owner’s first name can correlate with ethnicity, sex or age. The UK Information Commissioner’s Office, in its guidance on fairness in AI, is clear that processing leading to unjust discrimination breaches the fairness principle, and that inaccurate inferences can harm individuals. Removing a protected attribute from the feature set does not remove the risk; you have to test for it.

Behavioural data and explanation

Granular transaction features raise a practical problem: if a feature drives a decline, you must be able to tell the applicant about it in specific terms. In its September 2023 guidance, the US Consumer Financial Protection Bureau said that if a lender lowers a credit line based on behavioural spending data, a generic reason such as “purchasing history” would likely be insufficient. If you would be uncomfortable writing a feature into a decline letter, think hard before using it.

Action: build a feature register. For each candidate feature record its source, legal basis and consent, business rationale, stability over time, proxy-risk assessment and the plain-language reason code it would map to.

Scorecards, gradient boosting or deep learning: which model?

The model choice is a trade-off between predictive power and the cost of explaining, validating and changing it. For SME lending, that trade-off usually favours simpler models than data scientists expect.

ApproachPredictive power on tabular SME dataExplainabilityValidation and change effortGood fit when
Logistic regression scorecard (binned features, points)Solid baselineVery high; reasons fall out directlyLow; familiar to validators and auditorsNew lender, small default count, strict explanation needs
Gradient-boosted trees with monotonic constraints (XGBoost, LightGBM)Often higher, especially with transaction featuresMedium to high with constraints and per-decision attributionsMedium; needs attribution methods and stability testingEnough history and a team that can document and monitor it
Unconstrained ensembles or neural networksSometimes marginally higherLow; post-hoc explanations can be unstableHigh; harder to defend under effective challengeRarely justified for SME decisioning; possibly for fraud or document extraction

Start with a baseline

Always build a simple scorecard first, even if you expect to replace it. It is your benchmark, fallback and overfitting check. If a gradient-boosted model beats the scorecard by a small margin on a few hundred defaults, the gain may not survive the next downturn.

Constrain for sense

Monotonic constraints force the model to respect business logic: more days past due should never improve a score, higher cash buffers should never worsen it. They cost a little accuracy and buy a lot of defensibility.

Keep hard policy rules (minimum trading age, excluded sectors, exposure limits) in a transparent rules layer outside the model, so declines can be attributed clearly to policy or risk.

Action: agree in advance the minimum uplift over the baseline scorecard that would justify a more complex model, measured on an out-of-time sample, not a random split.

How do you test a credit model for fairness?

Fairness in lending is both a legal requirement and a measurement problem. There is no single metric; different definitions can conflict, and you will have to choose and justify trade-offs.

Common fairness measures

  • Approval rate parity: do approval rates differ materially between groups?
  • Equal opportunity: among applicants who would have repaid, are approval rates similar across groups? This focuses on wrongly declined good borrowers.
  • Calibration by group: does a given score mean the same default probability for each group? Miscalibration means some groups are systematically over- or under-priced.
  • Adverse impact analysis: for each feature, does it disproportionately disadvantage a group, and is there a less discriminatory alternative with similar predictive power?

The data you need to test

You often cannot use protected characteristics in the model, but you need some way to test outcomes against them. Options include voluntarily collected demographic data held separately from decisioning, or statistical estimation methods agreed with counsel. In the US, the CFPB finalised a rule in March 2023 to create a new data set on small-business lending, with stated aims including transparency and combating unlawful discrimination; lenders within scope should expect their SME outcomes to become more visible.

Fairness testing step by step

  1. Define the groups you will test and the lawful basis for holding the data.
  2. Choose two or three metrics and set thresholds that trigger investigation.
  3. Test the baseline scorecard and the candidate model on the same out-of-time sample.
  4. For any gap above threshold, run feature-level analysis to find drivers.
  5. Test less discriminatory alternatives: remove or transform the driving feature, adjust bins, or change the cut-off strategy.
  6. Record the decision, including the accuracy cost of each alternative and why you chose the final version.
  7. Repeat the analysis on live data at a fixed cadence, not only before launch.

Illustrative example: a 30-person invoice-finance platform might find that a “time since website registration” feature improves accuracy slightly but declines newer firms in certain regions at a higher rate. Replacing it with months of verified bank-feed history could recover most of the accuracy with a clearer rationale.

What do regulators expect from automated credit decisions?

Rules differ between markets, but the expectations from supervisors in the US, UK and EU point in the same direction. Design for the strictest reasonable reading and you will rarely need to rebuild.

Specific reasons for adverse decisions

The CFPB’s September 2023 guidance states that lenders using complex models must give accurate and specific reasons for denials and unfavourable changes, that checklist items on sample forms are not sufficient if they do not reflect the actual reason, and that, in its words, “There is no special exemption for artificial intelligence.” Your model must therefore produce per-decision reasons that map to real drivers, not the nearest generic phrase.

Rights around automated decisions

Under UK GDPR, as the ICO guidance explains, solely automated decisions with legal or similarly significant effects are restricted and need safeguards, including a way for individuals to challenge them. For sole traders and guarantors, credit decisions clearly qualify. Build a human review path and an appeal workflow into the product, not as an afterthought.

The EU AI Act

In December 2023 the European Parliament and Council reached a provisional agreement on the AI Act. The agreed approach places obligations on high-risk systems, gives citizens the right to explanations of decisions that affect their rights, and includes a mandatory fundamental rights impact assessment that the Parliament says applies also to the banking and insurance sectors. The text still needs formal adoption, and obligations will phase in over time, but lenders serving EU customers should assume creditworthiness assessment of individuals will fall into the high-risk category and plan documentation accordingly.

Credit governance and model risk

In the EU, the European Banking Authority’s Guidelines on loan origination and monitoring, applicable since June 2021, set expectations for governance of credit granting and creditworthiness assessment across the loan lifecycle. In the US, the Federal Reserve and OCC’s SR 11-7 guidance on model risk management remains the reference point: sound development and documentation, validation independent of development, ongoing monitoring, outcomes analysis, a model inventory and “effective challenge” by informed, objective reviewers.

How to implement an SME credit model: a phased plan

The engineering of a credit model is manageable. What makes projects slip is late discovery of data gaps, missing reason codes, or validators seeing the model for the first time a week before launch. A phased plan avoids that.

Phase 1: Discovery and data audit (2 to 4 weeks, illustrative)

  • Confirm the decision brief, segments and outcome definition (for example 90 days past due within 12 months).
  • Inventory historical applications, decisions and outcomes, including declined applicants where available.
  • Assess data quality, consent and retention for each source; build the feature register.
  • Agree the validation approach and who will perform it.

Phase 2: Baseline and candidate models

  • Build the baseline scorecard on an out-of-time design.
  • Build constrained candidate models; compare discrimination, calibration and stability.
  • Run fairness analysis and less-discriminatory-alternative testing.
  • Design reason codes and test them with credit staff: would they explain this decision the same way?

Phase 3: Decision service and integration

  • Package the model behind a versioned decision API with the policy rules layer in front.
  • Log every input, score, reason code, policy outcome and model version for each decision.
  • Build the referral and override workflow for underwriters.
  • Run in shadow mode alongside current decisioning before switching on.

Phase 4: Launch and monitoring

Launch on a controlled population, monitor stability, approval rates, early delinquency and fairness, and hold formal reviews at fixed intervals and after material changes.

Reproducibility is the key technical property: you must be able to reconstruct any past decision from logged inputs and the model version.

If you are adding lending to an existing platform, our article on embedded finance for non-banks covers the partner and product choices that sit around the model.

Risks, costs and when not to build your own model

Owning a credit model gives control over risk appetite, speed and customer experience. It also creates permanent obligations. Weigh both sides before committing.

Main risks

  • Overfitting a small portfolio: mitigate with simple baselines, out-of-time testing and conservative cut-offs at launch.
  • Drift: economic shifts or changes to your own platform alter the data. Monitoring with pre-agreed triggers and a retraining process is essential.
  • Feedback loops: you only observe outcomes for approved applicants. Consider limited exploration (for example a small, controlled approval band below the cut-off) or reject inference, and document the approach.

Cost drivers

Beyond the build, budget for validation, annual reviews, monitoring, data licences and underwriter referral time. Pricing models for this kind of work vary; our piece on pricing models for AI projects explains why discovery is often best run on a fixed scope with build and run on time and materials.

When to buy or partner instead

SituationLikely better option
Fewer than a few hundred observed defaults and no proprietary data advantageBureau or vendor score plus your own policy rules, while you collect outcomes
Strong proprietary data (platform transactions) and a stable productOwn model, with a vendor score as a feature or challenger
Lending through a bank partner with its own model governanceCo-develop within the partner’s framework; agree validation and change control up front
No capacity for ongoing monitoring and reviewDo not build yet; a model nobody maintains is a liability

Checklist before your credit model goes live

Use this as a gate review with credit, compliance, engineering and the validator.

  1. Feature register complete, with legal basis, rationale, proxy assessment and reason-code mapping for every feature.
  2. Baseline scorecard built and documented; candidate model uplift measured on out-of-time data.
  3. Monotonic constraints and policy rules reviewed by credit staff.
  4. Fairness metrics, thresholds and less-discriminatory-alternative analysis recorded.
  5. Per-decision reason codes generated, tested for accuracy and reviewed by compliance.
  6. Human referral, override and appeal workflow live, with logging.
  7. Independent validation completed; findings resolved or accepted with rationale.
  8. Decision log captures inputs, scores, reasons, policy outcomes and model version.
  9. Monitoring dashboards and triggers defined; owners named; review calendar set.
  10. Rollback plan tested: you can revert to the previous model or to policy-only decisioning within hours.

For a deeper look at explanation techniques for opaque models, see our later guide on black box AI and explainability.

Frequently asked questions

Can we use open banking data in an SME credit model?

Yes, with the applicant’s consent and a clear purpose. Bank-feed data is often the most current signal for thin-file businesses. You still need to test features derived from it for proxy discrimination and be able to explain any that drive a decline in specific terms.

Is a machine learning model allowed if we cannot fully explain it?

Regulators do not ban complex models, but they do require accurate, specific reasons for adverse decisions and effective validation. The CFPB has said there is no special exemption for artificial intelligence. In practice, constrained models with reliable per-decision attributions are far easier to defend than unconstrained ones.

Do we need human review of every automated decline?

Not necessarily every one, but individuals affected by solely automated decisions with significant effects need safeguards, including a route to challenge the decision under UK GDPR. A referral queue for borderline cases and an appeal workflow with human review is the common pattern.

How often should a credit model be reviewed?

SR 11-7 expects models to be reviewed at least annually, with ongoing monitoring in between. For SME lending, add trigger-based reviews after material economic changes, product changes or data source changes, and monitor stability and fairness metrics monthly.

Sources and methodology

Guidance reflects PoliteTech delivery experience. The external references below informed specific points in this article.

  1. Consumer Financial Protection Bureau: CFPB Issues Guidance on Credit Denials by Lenders Using Artificial Intelligence (19 September 2023) — accessed 9 November 2026. Specific adverse action reasons for complex models, limits of sample-form checklists, behavioural data example and the ‘no special exemption’ statement.
  2. Board of Governors of the Federal Reserve System: SR 11-7 Guidance on Model Risk Management (April 2011) — accessed 9 November 2026. Model risk definition, independent validation, ongoing monitoring, outcomes analysis, model inventory, effective challenge and annual review expectation.
  3. European Parliament: Artificial Intelligence Act: deal on comprehensive rules for trustworthy AI (December 2023) — accessed 9 November 2026. Provisional AI Act agreement, high-risk obligations, right to explanations and fundamental rights impact assessment extending to banking.
  4. Information Commissioner’s Office: How do we ensure fairness in AI? — accessed 9 November 2026. Fairness principle, statistical accuracy, discrimination risk and Article 22 safeguards for solely automated decisions.
  5. European Banking Authority: Guidelines on loan origination and monitoring — accessed 9 November 2026. EU governance expectations for credit granting and creditworthiness assessment, applicable from 30 June 2021.
  6. Consumer Financial Protection Bureau: CFPB Finalizes Rule to Create a New Data Set on Small Business Lending in America (30 March 2023) — accessed 9 November 2026. New small-business lending data set aimed at transparency and combating unlawful discrimination.

Planning a credit model you can explain to applicants and regulators?

We can review your data, build a baseline scorecard and design the reason codes, fairness tests and monitoring before you commit to a full build.