# Wyjaśnianie decyzji kredytowych i równe traktowanie

EN: **Explaining credit decisions and fair lending** · id `creditexplain` · aliases: adverse action reasons, reason codes, fair lending, explainable credit scoring, wyjaśnialność scoringu

Path: [AI Atlas](https://aiatlasgraph.com/llms.txt) › [AI w finansach](https://aiatlasgraph.com/t/finance.md) › [Ocena zdolności kredytowej (scoring)](https://aiatlasgraph.com/t/creditscoring.md) › Wyjaśnianie decyzji kredytowych i równe traktowanie

## Description

- PL: Kody przyczyn odmowy, atrybucja cech (SHAP), wyjaśnienia kontrfaktyczne i testy dyskryminacji dla modeli kredytowych pod nadzorem regulacyjnym.
- EN: Adverse-action reason codes, feature attribution (SHAP), counterfactual explanations and discrimination testing for regulated credit models.

## In one sentence

- PL: Pokazanie klientowi, dlaczego dostał odmowę, i sprawdzenie, czy model nie krzywdzi ludzi ze względu na płeć, wiek czy pochodzenie.
- EN: Showing customers why they were turned down and checking that the model does not harm people because of sex, age or origin.

## Problem it solves

- PL: Odmowa kredytu bez podania powodu jest niesprawiedliwa i często niezgodna z prawem, a ukryte uprzedzenia modelu trudno zauważyć.
- EN: Refusing a loan without a reason is unfair and often unlawful, and a model's hidden biases are hard to spot.

## What it does

- PL: Wskazuje kilka cech, które najbardziej obniżyły ocenę, i podpowiada, co musiałoby się zmienić, żeby decyzja była inna.
- EN: Points to the few traits that pulled the score down most and suggests what would have to change for a different decision.

## Everyday example

- PL: W odmowie czytasz: zbyt krótka historia kredytowa i wysokie zadłużenie na kartach; spłata części zadłużenia podniosłaby twoją ocenę.
- EN: Your rejection letter says: credit history too short and high card balances; paying some debt down would raise your score.

## This concerns you if you…

- PL: dostałeś odmowę kredytu
- PL: wdrażasz model kredytowy, który podlega nadzorowi
- EN: were refused a loan
- EN: deploy a credit model that is supervised

## Keywords

adverse action notice · reason codes · SHAP · counterfactual explanations · disparate impact · ECOA · fair lending testing · less discriminatory alternatives

## How it works

- PL: Dla każdej decyzji trzeba wskazać główne czynniki faktycznie użyte przez model. W karcie scoringowej można je wybrać według tego, jak bardzo wynik danej cechy odbiega od wartości typowych dla zaakceptowanych wniosków; w modelach złożonych pomocniczo stosuje się atrybucję cech, np. SHAP. Wyjaśnienia kontrfaktyczne mogą dodatkowo pokazać zmianę prowadzącą do innej decyzji, a osobno mierzy się różnice w odsetku zgód i błędach między grupami.
- EN: For each decision, the principal factors actually used by the model must be identified. In a scorecard they can be selected by how far a feature's score falls below values typical of approved applications; for complex models, feature attribution such as SHAP can assist. Counterfactual explanations can additionally show a change that would lead to a different outcome, while approval and error rates are compared separately across groups.

## Limits

- PL: Atrybucje dla złożonych modeli bywają niestabilne i zależą od wybranego punktu odniesienia. Usunięcie wrażliwej cechy nie usuwa dyskryminacji, bo zastępują ją inne cechy. Niektórych definicji sprawiedliwości nie da się jednocześnie spełnić, zwłaszcza gdy grupy mają różne częstości bazowe.
- EN: Attributions for complex models can be unstable and depend on the chosen reference point. Removing a sensitive feature does not eliminate discrimination because other features can act as proxies. Some fairness definitions cannot be satisfied simultaneously, especially when groups have different base rates.

## Key terms

- PL: **kod przyczyny**: Krótki, ustandaryzowany powód odmowy podawany klientowi.
- PL: **zmienna zastępcza**: Cecha pośrednio zdradzająca np. pochodzenie, jak kod pocztowy.
- PL: **disparate impact**: Nierówny wpływ decyzji na grupy mimo neutralnych reguł.
- EN: **reason code**: A short, standardised reason for refusal given to the customer.
- EN: **proxy variable**: A feature that indirectly reveals e.g. origin, like a postcode.
- EN: **disparate impact**: Unequal effect of decisions on groups despite neutral rules.

## Know first

- [Wyjaśnianie pojedynczej decyzji (SHAP, LIME) (Local feature attribution (SHAP, LIME))](https://aiatlasgraph.com/t/featureattribution.md)
- [Metryki sprawiedliwości grupowej (Group fairness metrics)](https://aiatlasgraph.com/t/fairnessmetrics.md)

## Related topics

Untyped, symmetric "see also" links.

- [Ocena kredytowa z historii rachunku (dane alternatywne) (Cash-flow underwriting with alternative data)](https://aiatlasgraph.com/t/cashflowunderwriting.md)
- [Stronniczość i sprawiedliwość (Bias and fairness)](https://aiatlasgraph.com/t/fairness.md)
- [Wyjaśnianie pojedynczej decyzji (SHAP, LIME) (Local feature attribution (SHAP, LIME))](https://aiatlasgraph.com/t/featureattribution.md)
- [Wyjaśnienia „co by było, gdyby” (kontrfaktyczne) (Counterfactual explanations)](https://aiatlasgraph.com/t/counterfactualexpl.md)

## Sources

- [EU AI Act – Annex III: High-risk AI systems (point 5(b) creditworthiness, 5(c) life and health insurance)](<https://eur-lex.europa.eu/eli/reg/2024/1689/oj/eng>) `eu-ai-act-annex3-credit` · by European Parliament and Council of the European Union
- [Consumer Financial Protection Circular 2022-03: Adverse action notification requirements in connection with credit decisions based on complex algorithms (withdrawn 2025-05-12)](<https://www.consumerfinance.gov/compliance/circulars/circular-2022-03-adverse-action-notification-requirements-in-connection-with-credit-decisions-based-on-complex-algorithms/>) `cfpb-circular-2022-03` · by Consumer Financial Protection Bureau (CFPB)
- [12 CFR § 1002.9 — Notifications (Regulation B)](<https://www.consumerfinance.gov/rules-policy/regulations/1002/9/>) `cfpb-reg-b-1002-9-current` · by Consumer Financial Protection Bureau

---

AI Atlas revision 122 (2026-10-30) · HTML: https://aiatlasgraph.com/t/creditexplain · index: https://aiatlasgraph.com/llms.txt · everything: https://aiatlasgraph.com/llms-full.txt · updated 2026-10-30
