The History of Machine Learning in Finance
Banks were scoring credit risk with models in the 1980s. A history of machine learning in finance, and why explainability came first.
Banks were scoring credit risk with models in the 1980s. A history of machine learning in finance, and why explainability came first.
This piece first appeared in German. The English version is a rewrite rather than a line-by-line translation, and the German original stays online in the archive: Wie maschinelles Lernen die Finanzindustrie seit Jahrzehnten prägt.
Banks were quantifying credit risk with mathematical models in the 1980s. Income, employment status, payment history went into an equation and a probability of default came out. The model did not learn anything; it calculated. That was the first move away from a purely subjective lending decision toward a reproducible, scalable one.
The finance industry is returning to artificial intelligence, and not discovering it. Risk departments, trading desks and lenders have worked with learning systems for decades, and the difference between a credit scoring model from the 1990s and a modern language model is real without being fundamental. It is a difference of degree.
Those early models had one obvious strength. Every input could be weighted and explained, so a regulator could reconstruct why an applicant was turned down. That property becomes one of the central regulatory disputes later, in the era of models with billions of parameters.
The 1990s brought methods that found patterns people could no longer see directly. A decisive break with classical statistics came with it: these models were not programmed with fixed rules. They learned their rules from example data, so a fraud detection system no longer had to be told what fraud looks like: it learned from thousands of documented cases. Conceptually that was new, even where the hardware of the time limited how complex such a model could get.
Models assess an applicant's creditworthiness automatically by recognizing patterns in historical lending data, and the output is a number that banks and card issuers use as a basis for decisions.
What began in the 1980s as a simple statistical equation grew into more complex learning systems over decades. One advantage stayed constant: trained once, these models evaluate millions of applications consistently and without fatigue. The challenge stayed constant too. Historical data reflects historical inequality, and a model trained on the past can disadvantage particular groups systematically, which regulation has still not fully solved.
Learning systems have been identifying price patterns and reacting to them automatically since the early 2000s. The first systems were rule-based: if price X falls below threshold Y, buy. People wrote the rules and computers executed them.
Machine learning changed that logic at the root. Models are no longer given rules; they learn for themselves which patterns in historical market data carry predictive power. Lopez de Prado documents the path from manually programmed rulebooks to systems that recalibrate market patterns continuously, faster and more consistently than any human trader. Market structure changed with it, and substantial shares of volume on major exchanges are now executed by algorithmic systems.
The downside is familiar. These systems can amplify instability. In the flash crash of 6 May 2010 the Dow Jones fell almost 1,000 points within minutes and recovered just as fast, driven in large part by the interaction of automated trading systems.
Analysts wanted to know early what company reports actually say, beyond the official figures, and automated text analysis looked like an answer.
The tools available then had been built for general language and not for financial text. Loughran and McDonald showed that generic approaches fail systematically on filings. Take the word liability, which a general sentiment dictionary counts as negative and which in a filing with the Securities and Exchange Commission is usually a neutral accounting term. A finance-specific lexicon, which they built, laid the methodological groundwork for automated analysis of company reports and earnings calls.
The consequence reaches well past that one paper. Domain specificity is a precondition for reliable results and not a luxury. Apply a general model to financial text and the output is systematically distorted, however capable that model is elsewhere.
In 2017 one publication changed direction. Vaswani and colleagues introduced an architecture that replaced the sequential processing of language that had dominated until then.
What is a transformer? Older models processed text word by word, the way a person reads a sentence from left to right. A transformer analyzes all the words at once and evaluates which of them matter to each other. Bank means one thing in "I am sitting on the bank" and another in "the bank issues loans", and a transformer distinguishes them from the surrounding context. That makes long-range relationships visible and makes training far faster and more scalable.
What followed was a bet on scale: more parameters, more training data, more compute, and capabilities that smaller models structurally do not show. An engineering optimization turned out to be a qualitative jump. Past a certain size, abilities appear that nobody trained explicitly, among them translation, logical inference and code generation.
For finance that became concrete in 2023 with BloombergGPT, a language model trained on 363 billion tokens of financial text from Bloomberg's archive, covering web pages, news, filings and press releases from 2007 to 2022, alongside 345 billion tokens of general text. It outperforms generic models on finance-specific tasks by a clear margin, which confirms Loughran and McDonald's finding at a new technological level. Domain specificity decides quality.
BloombergGPT is not a product anyone uses directly. It is a research result showing what becomes possible when training data and architecture are aimed consistently at one industry. The practical consequences run from automated news evaluation through real-time sentiment analysis to structured extraction from regulatory documents.
Two techniques established themselves alongside it. Fine-tuning adapts an already pretrained model to specific tasks with a limited, domain-specific dataset, much as a generalist goes through a specialization. Retrieval-augmented generation takes another route: the model reaches out to external, current knowledge sources at runtime and holds less internally. For compliance and research work that matters, because the sources stay traceable and the model does not operate on stale training data.
The line of development is coherent, and the qualitative jump brings structurally new problems.
Older risk models are explainable. You can reconstruct which inputs produced which result and justify that path to a regulator. Modern language models with billions of parameters are structurally not explainable in that way, and the internal logic behind a particular output cannot be fully reconstructed even by the people who built it.
That is not an academic problem. The EU AI Act classifies AI systems in regulated decision processes such as lending and risk assessment as high-risk, with explicit requirements for transparency, traceability and human oversight. Basel IV raises the bar on model validation and documentation in risk management at the same time. Anyone integrating modern language models into those processes has to meet requirements designed for interpretable models, using systems that work on a different principle.
Hallucination compounds it. Language models generate plausible-sounding statements that are factually wrong, not because the model lies, and because it produces statistically likely continuations without checking whether they are true. In a research tool that is irritating and correctable. Put it in a risk model whose output feeds decisions directly and it becomes a systemic problem.
The industry has decades of practice in interrogating models, validating them and justifying them to regulators. Quantitative analysts have always known that no model represents reality completely, and that the real question is which simplifications are acceptable. That institutional knowledge is not an obstacle to adopting modern AI. It is the precondition for using it sensibly.
Grouped by the section they support.
Opening
Explainability was the original selling point
Credit scoring is the oldest scalable machine learning field
Algorithmic trading moved from rulebook to learned pattern
Text analysis in finance is older than the language models
The jump to modern AI
What changed, and what did not
Your link has expired. Please request a new one.
Your link has expired. Please request a new one.
Your link has expired. Please request a new one.
Great! You've successfully signed up.
Great! You've successfully signed up.
Welcome back! You've successfully signed in.
Success! You now have access to additional content.