Resume Detail Ch1 7
📚 Resume Detail Ch1 7.pdf
Brief overview
This document details the foundational concepts of artificial intelligence and machine learning, their application in finance through natural language processing and generative AI, and the evolving landscape of blockchain, cryptocurrencies, and decentralized finance. It also examines the integration of AI in financial risk management and relevant regulatory frameworks.
Key points
- Foundations of artificial intelligence and machine learning principles and paradigms.
- Natural Language Processing and generative AI applications within the financial sector.
- Blockchain technologies, cryptocurrencies, and the rise of decentralized finance.
- AI's role in managing diverse financial risks and associated modeling techniques.
- Regulatory frameworks impacting AI, blockchain, and financial innovation.
1. Foundations of artificial intelligence and machine learning
1.1 Defining artificial intelligence
- Artificial Intelligence (AI): A field blending computer science and cognitive science, aiming to simulate human cognitive processes like reasoning, learning, pattern recognition, language comprehension, and decision-making. It encompasses a range of algorithmic methods enabling machines to perform tasks typically requiring human intelligence.
- Distinction from classical programming: Classical programs execute explicit, pre-coded rules. AI systems learn patterns and rules from data, enabling them to handle tasks too complex for explicit rule-coding.
AI learns from data; classical programming is explicitly coded.
1.2 Historical evolution of AI
AI's development has seen periods of significant progress interspersed with "AI winters," often triggered by unmet promises and technological limitations.
| Period | Key Milestones | Financial Resonance |
|---|---|---|
| 1950-1969 | Turing Test, Dartmouth Conference, early chess programs | Theoretical foundations laid; no direct financial applications. |
| 1970-1992 | Two AI winters (e.g., expert systems failures) | Development of classical financial models (CAPM, parametric VaR). |
| 1993-2011 | ML resurgence (Deep Blue, SVMs, Random Forests) | ML-based credit scoring, early trading algorithms. |
| 2012-2019 | Deep Learning revolution (AlexNet, AlphaGo, GPT-1) | HFT trading surge, deep learning fraud detection, robo-advisors. |
| 2020-Present | Generative AI era (GPT-3, ChatGPT, Gemini) | LLMs for financial analysis, report generation, multilingual banking chatbots, ESG scoring. |
AI winters highlight the gap between inflated promises and realized capabilities.
1.2.1 Deep Blue: Performance vs. Intelligence
- Deep Blue's victory over Garry Kasparov exemplified AI's performance on a specific task, not general intelligence. It relied on brute-force calculation and human-calibrated heuristics, rather than true understanding of chess .
- This underscores a critical distinction for finance: superior performance on a narrow task (e.g., credit default prediction) does not equate to general understanding or the ability to generalize to adjacent problems without supervision.
1.3 Taxonomy of AI: ANI, AGI, ASI
This classification is crucial for avoiding public discourse confusion and for the strategic deployment of AI in financial institutions.
| Level | Denomination | Definition | Current Existence | Financial Examples |
|---|---|---|---|---|
| ANI | Artificial Narrow Intelligence | Systems optimized to excel in ONE specific, limited task. Can surpass humans in their domain but are incapable of going beyond it. | Yes | Credit scoring, fraud detection, HFT, chatbots, sentiment analysis, document recognition. All current commercial AI, including ChatGPT, are ANI. |
| AGI | Artificial General Intelligence | A system capable of flexible reasoning and learning across all cognitive domains, akin to a human. Can transfer skills without retraining. | No | A universal financial analyst able to switch between credit analysis, wealth management, and fraud detection as needed. Research is ongoing. |
| ASI | Artificial Super Intelligence | A system surpassing human intelligence in all cognitive domains. Capable of recursive self-improvement. | Theoretical | A system that could optimally reconfigure the global financial system beyond human comprehension. Philosophical and existential debates abound. (Nick Bostrom, 2014) |
🔑 Important: It is a common misconception to label sophisticated LLMs like ChatGPT as AGI. They are highly advanced ANI, exceptional at text generation but lacking true understanding, consciousness, or independent reasoning on novel problems.
1.4 The golden triangle of AI acceleration
The dramatic AI acceleration post-2012 is attributed to the confluence of three mutually reinforcing factors:
| Pillar | Significance | Novelty | Finance Example |
|---|---|---|---|
| Big Data | Massive volumes of exploitable data (transactions, behaviors, texts, images). | Unprecedented historical data volumes generated since 2010. | Credit scoring models trained on millions of historical records; fraud detection analyzing millions of transactions daily. |
| Computing Power | GPUs enabling parallel computation; cloud democratizing access. | GPUs are ~1,000x more efficient for ML matrix calculations than CPUs; cloud accessibility for FinTechs. | ChatGPT training required ~1,000 A100 GPUs; banks achieving 1,000-10,000x speedups in VaR calculations. |
| Advanced Algorithms | Revolutionary architectures for learning increasingly complex representations. | Transformer architecture , Diffusion Models, RLHF; BERT for contextual understanding. | BloombergGPT trained on financial tokens; LSTMs for financial time series. |
These three pillars (Big Data, Computing Power, Advanced Algorithms) form a self-accelerating feedback loop.
1.5 AI applications in finance
AI is transforming various financial sectors, from retail banking to risk management.
| Domain | Primary AI Applications | Maturity Level | Measured Benefit |
|---|---|---|---|
| Retail Banking | Credit scoring, chatbots, robo-advisory, card fraud detection. | Mature | 20-40% reduction in credit defaults. |
| Financial Markets | Algorithmic trading (70% of US volume), HFT, sentiment analysis, optimal execution. | Very Mature | 15-30% slippage reduction on large orders. |
| Asset Management | AI allocation, ML factor investing, automated ESG scoring, robo-advisors. | In Development | 1-3% alpha for top quantitative funds. |
| Insurance | ML pricing, claims fraud detection, automated underwriting, telematics. | In Development | 5-15% loss ratio reduction via pricing accuracy. |
| Compliance & AML | Transaction surveillance, automated KYC, sanctions screening, RegTech. | In Deployment | 90% to 60% reduction in AML false positives. |
| Risk Management | ML stress tests, enhanced VaR, ESG climate risk, model risk. | In Development | 1,000x faster Monte Carlo calculations (e.g., JPMorgan). |
| Corporate Finance | Treasury forecasting, accounting anomaly detection, AI due diligence. | Emergent | 40-60% reduction in M&A due diligence time. |
📝 Example: Globally, over 70% of stock market transactions are algorithmically generated .
Key Takeaways: Chapter 1
- AI is a family of methods for learning from data, distinct from classical programming which explicitly codes rules.
- ANI (Narrow AI) is the only currently existing form; ChatGPT and credit scoring systems are examples of ANI, excelling in specific tasks but lacking generalization.
- The golden triangle (Big Data, Computing Power, Advanced Algorithms) drives AI acceleration.
- Finance is a fertile ground for AI due to structured data abundance, quantitative decisions, competitive pressures, and speed demands.
- Past AI winters serve as a caution against overestimating AI's current capabilities and potential for disillusionment with generative AI.
2. Machine learning and deep learning
2.1 The paradigm shift from classical programming
The fundamental difference lies in how rules are derived.
| Criterion | Classical Programming | Machine Learning |
|---|---|---|
| Starting Point | Programmer writes explicit rules. | Algorithm learns rules from data. |
| Human Role | Define complete logic. | Select model, data; validate results. |
| Adaptability | Rigid; requires reprogramming. | Adaptive; evolves with new data. |
| Complex Task Perf. | Limited (rules too numerous). | Excellent with sufficient, quality data. |
| Financial Examples | AML rule-based systems (1990s). | ML credit scoring, fraud detection. |
| Explainability | Total (readable code). | Variable (good for logistic regression, poor for deep learning). |
📝 Example: AML rules in the 1990s were explicitly coded, whereas modern fraud detection uses ML to learn patterns from transaction data.
- Machine Learning (ML): A subfield of AI that grants systems the ability to learn and improve from experience without explicit programming.
- Definition (Tom Mitchell, 1997): A program learns from experience E for task T and performance measure P if its performance on T improves with E. For credit scoring, T is predicting default, E is historical borrower data, and P is prediction accuracy (e.g., AUC-ROC).
2.2 The general learning process
A structured, seven-step process underpins all ML projects:
- Problem Definition: Identify the task (prediction, classification, clustering) and business objective.
- Data Collection & Preparation: Source, extract, clean, handle missing values, encode categorical variables. This is the most critical and time-consuming stage (60-80% of project time).
- Exploratory Data Analysis (EDA): Visualize distributions, detect correlations, identify outliers.
- Feature Engineering: Create new, relevant variables from raw data (e.g., debt-to-income ratio).
- Model Selection & Training: Choose an algorithm, split data into training, validation, and testing sets.
- Performance Evaluation: Measure accuracy on unseen data using appropriate metrics (e.g., accuracy, precision, recall, AUC-ROC, RMSE).
- Deployment & Monitoring: Put the model into production, track its performance, and detect concept drift.
🔑 Important: Evaluating model performance on training data leads to overfitting, an artificially inflated accuracy that does not generalize. Always evaluate on unseen test data.
2.3 The three learning paradigms
ML approaches are categorized into three families:
| Paradigm | Principle | Required Data | Typical Financial Applications | Algorithms |
|---|---|---|---|---|
| Supervised Learning | Learns from labeled examples (data with known correct answers) to predict labels for new data. | Labeled data (e.g., loan history with 'default'/'good' status). | Credit scoring (classification), default prediction (PD), option pricing (regression), fraud detection, sentiment analysis. | Logistic Regression, Random Forest, XGBoost, SVM, Neural Networks, LSTM. |
| Unsupervised Learning | Discovers hidden structures in unlabeled data; no predefined "correct answer." | Raw, unlabeled data (e.g., customer transactions without labels). | Customer segmentation, portfolio clustering, anomaly detection, dimensionality reduction. | K-Means, DBSCAN, Hierarchical Clustering, PCA, Autoencoders, Isolation Forest. |
| Reinforcement Learning | Agent learns through trial and error by interacting with an environment and maximizing cumulative reward. | No fixed historical data; agent explores and generates its own experience. | Algorithmic trading, adaptive order execution optimization, dynamic portfolio management. | Q-Learning, Deep Q-Network (DQN), Proximal Policy Optimization (PPO). |
2.4 Key algorithms in finance
- Logistic Regression: Widely used for credit scoring due to its transparency, interpretability, and auditability by regulators. It outputs a probability (0-1) and provides coefficients for variable impact.
- Decision Trees & Random Forest: Decision trees partition problems with binary questions. Random Forests improve robustness by averaging predictions from hundreds of trees trained on data subsets, reducing variance and enhancing generalization.
- XGBoost: A leading algorithm for tabular data, dominant in finance for scoring, fraud detection, and pricing. It sequentially builds trees, with each correcting prior errors. Known for computational efficiency and robustness, it significantly outperforms logistic regression in prediction accuracy but requires explainability tools (e.g., SHAP values) for regulated decisions.
- Neural Networks & Deep Learning: Deep Learning uses neural networks with many hidden layers to learn hierarchical, abstract representations.
- LSTM (Long Short-Term Memory): Specialized for time series, retaining relevant information over long sequences, excelling in financial time series prediction (stock prices, volatility).
- Transformer Architecture: Revolutionized Natural Language Processing and underpins LLMs, using an attention mechanism to dynamically weigh input relevance for complex, long-range dependencies.
📝 Example: XGBoost models achieve 15-25% higher AUC-ROC than logistic regression for credit default prediction on Lending Club data, leveraging complex variable interactions.
2.5 Unsupervised learning: Clustering and anomaly detection
Used when labeled data is unavailable, focusing on identifying inherent data structures.
- K-Means: Partitions data into K clusters by minimizing within-cluster variance. Useful for customer segmentation.
- DBSCAN: Identifies arbitrary-shaped clusters and isolates outliers as noise. Effective for financial anomaly detection where atypical transactions are flagged.
- Isolation Forest: An anomaly detection algorithm that isolates outliers by building random decision trees; anomalies require fewer splits to isolate.
- Autoencoders: Neural networks trained to reconstruct their input after compression. Transactions poorly reconstructed indicate statistical divergence from normal patterns, making them powerful anomaly detectors.
2.6 In-depth finance applications
2.6.1 Credit scoring: Alternative data and financial inclusion
Modern ML models incorporate numerous alternative variables (transactional, digital behavioral, mobile data) to assess creditworthiness, especially for the unbanked.
📝 Example: M-Shwari in Kenya uses mobile phone data and ML to provide loans to millions of previously unbanked individuals, demonstrating ML's transformative potential for financial inclusion.
2.6.2 Fraud detection: The class imbalance problem
This is a classic ML challenge due to:
- Extreme Class Imbalance: Fraudulent transactions are typically <0.1% of total transactions.
- Real-time Decisioning: Decisions must be made within milliseconds.
- Evolving Fraud Patterns: Models require constant updating.
🔑 Important: Accuracy is a misleading metric for imbalanced datasets. Focus on precision, recall, AUC-PR, and F1-score. Techniques like SMOTE and cost-sensitive learning address imbalance.
- Typical Fraud Detection System Architecture:
- Deterministic Business Rules: First milliseconds, fast and interpretable (e.g., block transactions > USD 5,000 in new countries).
- ML Scoring Model: <100ms, probability score using hundreds of features (e.g., Random Forest, XGBoost).
- Anomaly Detection Model: Detects novel patterns (e.g., Isolation Forest, Autoencoders).
- Human Review: For transactions with moderate fraud scores (e.g., 0.7-0.9).
Key Takeaways: Chapter 2
- The core ML concept is learning rules from data, a fundamental departure from explicit rule-coding in classical programming.
- The 7-step ML process is critical; data preparation (60-80% of effort) is paramount.
- Supervised, unsupervised, and reinforcement learning paradigms cover most financial problems, with supervised learning dominating scoring and fraud detection.
- XGBoost is a leading tabular data algorithm, offering significant performance gains over logistic regression but requiring explainability tools for regulated applications.
- Class imbalance (e.g., low fraud rates) is a central challenge in fraud detection, necessitating appropriate evaluation metrics beyond accuracy.
- Concept drift (data distribution changes over time) mandates continuous model monitoring in production.
2. Natural Language Processing and generative AI applications in finance
2.1 Strategic importance of NLP in finance
- Finance relies heavily on natural language: contracts, reports, news, and communications are primarily text-based.
- Over 80% of global data is unstructured, with text constituting the largest portion.
- NLP enables automated analysis of complex financial documents, extraction of market signals, and personalized client communication at scale.
2.1.1 Evolution of text representations
- Bag-of-Words & TF-IDF (1990s-2010s): Texts treated as word counts, ignoring order and context. High-dimensional vectors. Simple for basic classification but lacks semantic understanding (e.g., negation).
- Word2Vec: Represents words as dense vectors. Semantically similar words have close vectors. Captures semantic relationships (e.g., king−man+woman≈queen) .
- BERT: Utilizes Transformer architecture for contextual representations. Word meanings vary with context. Pre-trained on masked word prediction and next sentence prediction .
- FinBERT: BERT fine-tuned on financial corpora (WSJ, press releases, earnings reports). Outperforms general BERT on financial NLP tasks .
- Large Language Models (LLMs) (2020-present): Very large models (e.g., GPT-4 with 1 trillion parameters) trained on massive text corpora. Capable of human-quality language understanding and generation across diverse topics.
2.2 Key NLP tasks and financial applications
2.2.1 Financial sentiment analysis
- Automatically classifies financial texts as positive, negative, or neutral to predict market movements.
- Tetlock's foundational study showed Wall Street Journal sentiment predicted next-day stock returns .
- Recent studies confirm aggregated sentiment from tweets, news headlines, and earnings calls predict returns over 1-5 day horizons.
Key Relationship: Sentiment analysis predicts market returns.
-
Benchmark: Sentiment analysis on French CAC 40 annual reports:
Approach Accuracy F1-Positive F1-Negative Notes Loughran-McDonald dictionary 68.3% 0.71 0.64 Fast, no GPU; struggles with negation/irony. FinBERT (translated from English) 76.1% 0.79 0.72 Better than dictionary; translation degrades nuance. GPT-4 (zero-shot prompt engineering) 84.7% 0.87 0.82 Superior performance, handles ambiguity/euphemisms; 0.02 EUR/sentence cost. -
Conclusion: GPT-4 excels due to deep contextual understanding, though cost scales significantly.
2.2.2 Information extraction from financial documents
- NLP extracts structured data from unstructured financial documents.
- JPMorgan's COiN (Contract Intelligence) analyzes commercial credit contracts in seconds, saving 360,000 annual legal hours.
- Extracts key clauses, conditions, deadlines, and obligations with lower error rates than humans on repetitive tasks.
- COiN exemplifies "augmentation" AI, freeing legal professionals for complex judgment and client relations, rather than "substitution."
2.2.3 Automatic financial text generation
- LLMs generate professional-quality management commentaries, earnings summaries, market alerts, portfolio analyses, and regulatory notes.
- Example: LLMs can generate commentary from raw quarterly results (PNB, risk cost, CET1 ratio) in seconds, reducing production time from 45 minutes.
2.2.4 Three generations of banking chatbots
- Generation 1 (2015-2019): Rule-based, decision trees; rigid and frustrating user experience.
- Generation 2 (2019-2022): Integrated BERT for intent understanding; comprehended natural language requests.
- Generation 3 (2022-present): LLM-powered; enables multilingual (French, Arabic, Darija), contextual, multi-turn conversations with near-human quality.
- Impact: Significant reduction in call center load (e.g., Bank of America's Erica: 35 million users; Klarna's AI assistant: equivalent of 700 agents).
2.3 BloombergGPT: the first specialized LLM in finance
- Launched in 2023, BloombergGPT is a finance-specific LLM.
- Trained on 363 billion financial tokens from Bloomberg data (news, reports, market data).
- Outperforms generalist models (GPT-3) on financial NLP tasks like sentiment analysis and news classification.
- Demonstrates the value of specialized LLMs trained on sector-specific data, despite significant investment. Paved the way for other financial LLMs (FinGPT, GoldmanGPT).
2.4 Specific risks of NLP/LLM in finance
| Risk | Description | Potential Impact | Mitigation Measure |
|---|---|---|---|
| Hallucinations | Generates factually incorrect information confidently. | Erroneous decisions, litigation, regulatory sanctions, incorrect financial advice. | RAG (Retrieval-Augmented Generation), human verification, mandatory source citation. |
| Corpus bias | Biases in training data are reproduced or amplified. | Biased analyses, discriminatory recommendations, AI Act violations. | Corpus diversification, regular output audits, systematic red-teaming. |
| Confidential data leak | Sensitive data sent to external APIs used for training or exposed. | GDPR violations, loss of competitive advantage, regulatory risk. | In-house models (on-premise), data anonymization before API submission. |
| AI market manipulation | Massive generation of false financial information targeting specific firms. | Stock price manipulation, market instability. | AI-generated content detection, regulatory surveillance, ESMA/SEC cooperation. |
| Opacity and non-compliance | Financial decisions based on inexplicable LLM logic. | AI Act non-compliance (right to explanation), regulatory sanctions. | Explainability, hybrid models, decision traceability, audit logs. |
| Rapid obsolescence | High cost to update LLMs with recent financial data. | Outdated information, market risks based on stale data. | RAG for fresh data, periodic fine-tuning, news monitoring. |
Key takeaway: The risk of LLM hallucinations is particularly dangerous in finance, leading to incorrect investment advice or regulatory information. RAG is the reference solution, grounding responses in verified knowledge bases.
🔑 Important: NLP is strategic in finance as over 80% of financial information is textual, and LLMs' ability to understand and generate language at scale unlocks significant value, but requires careful management of risks like hallucinations and bias.
3. Blockchain, cryptocurrencies, decentralized finance, and regulatory frameworks (part 1)
3.1 Blockchain fundamentals
- Blockchain: A distributed, chronological, and immutable ledger of transactions maintained collectively by a network of nodes without a central authority.
- Structure: Each block of transactions is cryptographically linked to the preceding block, forming a chain. Altering a link invalidates all subsequent ones, ensuring integrity.
- Security mechanisms: Relies on cryptographic functions (SHA-256, digital signatures) and consensus protocols to ensure agreement on ledger state, even with malicious participants.
3.2 Consensus mechanisms
- Proof of Work (PoW): Used by Bitcoin. Validators (miners) solve computationally intensive mathematical problems. The first to find the solution validates the block and receives a reward.
- Pros: Highly secure.
- Cons: Extremely energy-intensive.
- Proof of Stake (PoS): Used by Ethereum (since September 2022). Validators stake cryptocurrency as collateral rather than expending energy.
- Pros: Drastically reduces energy consumption (99.95% for Ethereum).
3.3 Key cryptocurrencies and ecosystem architecture
- Bitcoin (BTC): Launched in 2008, it is the first decentralized digital asset.
- Features: No single issuer, total supply capped at 21 million units by code, security guaranteed by network's computational power.
- Primary use case: Digital gold and store of value.
- Market capitalization: Approximately 1.3 trillion dollars in early 2024.
- Ethereum (ETH): Launched in 2015, it introduced smart contracts.
- Smart contracts: Self-executing programs on the blockchain that trigger automatically when predefined conditions are met, enabling automated transactions and processes without human intervention or censorship.
- Foundation for: DeFi, NFTs, DAOs, and other blockchain innovations.
3.4 Stablecoins: Types and risks
Stablecoins are crypto-assets designed to maintain a stable value relative to a reference asset (typically the US dollar).
| Type | Description | Examples | Risks |
|---|---|---|---|
| Fiat-backed | Issuer holds equivalent fiat assets in reserve. | USDT, USDC | Reliance on centralized issuer and reserve quality. |
| Crypto-backed | Reserves consist of over-collateralized crypto-assets. | DAI (MakerDAO) | Less capital-efficient than fiat-backed. |
| Algorithmic | No physical reserves; stability maintained by token creation/destruction algorithms. | TerraUSD (UST) | Highly risky; prone to collapse (e.g., Terra/Luna failure). |
🔑 Important: Algorithmic stablecoins are considered the most risky due to their reliance solely on mechanisms and lack of real collateral.
3.5 Case Study: The collapse of Terra Luna
- Event: In May 2022, the Terra/Luna ecosystem collapsed within 72 hours, erasing approximately 40 billion dollars in market capitalization.
- Mechanism: UST (algorithmic stablecoin) maintained its dollar peg via a burning/minting mechanism with LUNA. Selling UST below 1alloweduserstoburnUSTtomint1 of LUNA, reducing UST supply.
- Trigger: A massive wave of withdrawals from Anchor Protocol (offering unsustainable yields) initiated a panic.
- Outcome: The arbitrage mechanism failed to absorb sales volume, leading to hyperinflation of LUNA and a "death spiral" for UST. UST lost its peg, and LUNA's value plummeted, triggering a wider crypto market crisis.
3.6 Decentralized Finance (DeFi): Promises and risks
DeFi refers to financial services and instruments built on public blockchains, operating via smart contracts without centralized intermediaries. It aims to replicate traditional financial functions (lending, borrowing, trading, insurance) in an open, transparent, and accessible environment.
- Decentralized Exchanges (DEXs): E.g., Uniswap. Facilitate peer-to-peer token swaps using Automated Market Makers (AMMs).
- Automated Market Makers (AMMs): Algorithms (e.g., x×y=k formula) that set prices based on liquidity pool ratios.
- Lending/Borrowing Protocols: E.g., Aave, Compound. Allow users to deposit crypto for interest or borrow against collateral.
- Features: Interest rates adjust algorithmically; enables innovations like flash loans (collateral-free loans repaid within the same transaction).
- Risks: Susceptible to hacks, market manipulation, and lack of legal recourse.
3.7 Central Bank Digital Currencies (CBDCs) and the digital euro
CBDCs are digital currencies issued directly by central banks, combining the benefits of electronic money (speed, programmability, traceability) with the legal status of central bank money (absolute security, state-backed value).
| Country/Zone | Project | Status | Key Particularity |
|---|---|---|---|
| China | e-CNY (Digital Yuan) | Large-scale deployment | Major political priority; used for distributing government aid. |
| Europe | Digital Euro (ECB) | Preparation phase | Proposed holding cap (3,000 euros) to prevent bank disintermediation. |
| Nigeria | eNaira | Launched 2021, slow adoption | Difficult popular adoption, documented technical issues. |
| Morocco | Exploration | Ongoing | Bank Al-Maghrib exploring CBDCs within the mBridge project. |
| Bahamas | Sand Dollar | Launched 2020 | World's first CBDC; usage limited to remote islands. |
🔑 Important: The digital euro aims to preserve access to central bank money, enhance European monetary sovereignty, and provide a universal, free digital payment method, while addressing concerns about bank disintermediation.
3.8 The MiCA regulation: The first global crypto-asset regulatory framework
The Markets in Crypto-Assets (MiCA) regulation (adopted April 2023, full application December 2024) is the first comprehensive global regulatory framework for crypto-assets.
- Categories of assets:
- Asset-Referenced Tokens (ARTs): Reference multiple underlying assets.
- E-Money Tokens (EMTs): Single-currency stablecoins.
- Other Crypto-Assets: Including Bitcoin and Ethereum.
- Requirements for significant stablecoin issuers: 100% reserves in liquid, secure assets, enhanced capital requirements, and transaction caps (200 million euros daily for non-euro stablecoins).
- Requirements for crypto-asset service providers (exchanges, custodians): Must obtain national authorization, valid throughout the EU via a "European passport."
🔑 Important: MiCA establishes a clear, harmonized regulatory landscape for crypto-assets in the EU, fostering innovation while mitigating risks and enhancing consumer protection.
3.9 Foundational concepts in AI and Machine Learning for Finance
This section outlines key AI and machine learning concepts, metrics, and techniques relevant to financial applications, particularly in risk management and fraud detection, as presented in the source material.
-
Clustering: A type of unsupervised learning that groups data into homogeneous clusters without pre-defined labels.
- DBSCAN is particularly advantageous for anomaly detection as it identifies outliers as "noise" and can discover clusters of arbitrary shapes, unlike K-Means which imposes a specific cluster form. [ ].
-
Classification Metrics:
- Area Under the Curve - Receiver Operating Characteristic (AUC-ROC): Measures a classification model's discriminative power. An AUC of 0.5 signifies random classification, while 1.0 represents a perfect model. [ ].
- Accuracy: Can be misleading in imbalanced datasets. For instance, a model predicting all transactions as legitimate in a dataset with 0.1% fraud would yield 99.9% accuracy but be practically useless. [ ].
- Preferred metrics for imbalanced data include Precision, Recall, F1-score, and AUC-PR. [ ].
-
Data Preparation:
- Data cleaning and feature engineering typically consume 60-80% of a Machine Learning (ML) project's time. [ ].
- The quality of data is the most critical and time-consuming factor in ML projects. [ ].
-
Over-sampling Techniques:
- Synthetic Minority Over-sampling Technique (SMOTE): Generates synthetic samples for the minority class by interpolating between existing examples. [ ].
-
AI Types:
- Artificial Narrow Intelligence (ANI): AI specialized for a specific task. All currently deployed commercial AI systems fall under this category. [ 38.
- Artificial General Intelligence (AGI): Hypothetical AI with human-level cognitive abilities across a wide range of tasks. ChatGPT, despite its versatility, is considered an ANI. [ 38 35.
-
Model Regularization:
- L2 Regularization (Ridge): Penalizes the squared magnitude of coefficients, reducing their amplitude without necessarily setting them to zero. This enhances model stability, especially in the presence of multicollinearity. [ ].
-
Deep Learning Architectures:
- Transformers: The "Attention is All You Need" architecture, published in 2017, forms the theoretical foundation for modern Large Language Models (LLMs). [ ].
- Deep Neural Networks (DNNs): Characterized by a large number of hidden layers, enabling the learning of hierarchical representations. [ ].
- Long Short-Term Memory (LSTM): A type of recurrent neural network designed to handle long sequences using selective memory mechanisms (input, forget, and output gates). [ ].
-
Natural Language Processing (NLP):
- Contextual Representations: Models like BERT generate word representations that vary based on their context, unlike older methods such as Word2Vec which assigned a single, fixed vector per word. [ ] .
- Unstructured Data: An estimated 80% of global data is unstructured (text, images, audio), highlighting the importance of NLP for extracting value. [ ].
- Applications: JPMorgan's COiN (Contract Intelligence) system exemplifies AI augmentation, capable of analyzing contracts in seconds that previously required extensive legal work. [ ] 41.
-
Key Techniques and Concepts:
- Random Forest: Employs "double randomization" through bagging (random subsets of data for each tree) and random feature selection at each split. [ ].
- Autoencoders: Used in fraud detection by learning to reconstruct normal transactions; transactions with high reconstruction error are flagged as potential anomalies. [ ].
- Look-ahead bias: The illegitimate use of future data in a model, meaning information not available at the time of decision-making was used. [ ] 37.
🔑 Important: The quality of data preparation and the selection of appropriate evaluation metrics for imbalanced datasets are critical for effective AI model deployment in finance.
3.10 AI in Credit Risk Assessment and Provisioning
This subsection focuses on how AI and regulatory changes are transforming credit risk management, particularly concerning provisioning methodologies.
-
Regulatory Mandates:
- IFRS 9: Imposed a shift from an incurred loss model to a forward-looking Expected Credit Loss (ECL) model for banks, requiring provisioning before actual default. It came into effect for European banks in January 2018. [ 39 36.
- Expected Credit Loss (ECL): The central concept in IFRS 9, representing the prospective provisioning for losses expected over the entire lifetime of a credit, calculated as Probability of Default (PD) x Loss Given Default (LGD) x Exposure at Default (EAD). [ ] 38.
-
AI-driven Credit Scoring:
- ML-based credit scoring can significantly enhance financial inclusion.
- M-Shwari in Kenya: Granted over 60 million loans to more than 7 million clients in 10 years with a repayment rate exceeding 90%, utilizing over 200 alternative variables derived from mobile money transaction history for scoring. [ ].
-
Model Evaluation in Credit Scoring:
- An AUC-ROC of 0.5 indicates random classification. [ ].
- Typical AUC-ROC values for good credit scoring models range from 0.70 to 0.85 or higher. [ ] 39.
🔑 Important: IFRS 9's ECL model mandates a proactive approach to credit risk provisioning, leveraging AI for more granular and forward-looking risk assessment.
3.11 Blockchain and Cryptocurrencies
This section introduces the foundational concepts of blockchain technology and cryptocurrencies.
-
Blockchain Technology: A distributed, immutable ledger system that records transactions across many computers.
-
Cryptocurrencies: Digital or virtual currencies secured by cryptography, enabling peer-to-peer transactions.
- Bitcoin: The first and most well-known cryptocurrency, utilizing Proof-of-Work for consensus.
- Ethereum: A platform that enables smart contracts and decentralized applications, also utilizing Proof-of-Work (transitioning to Proof-of-Stake).
-
Consensus Mechanisms: Protocols that ensure agreement among distributed nodes in a blockchain network.
- Proof-of-Work (PoW): Requires significant computational effort to validate transactions and add new blocks, making it energy-intensive but secure (e.g., Bitcoin).
- Proof-of-Stake (PoS): Validators are chosen based on the amount of cryptocurrency they "stake" or lock up, making it more energy-efficient (e.g., Ethereum's current model).
-
Stablecoins: Cryptocurrencies designed to maintain a stable value relative to a specific asset or currency, such as the US dollar, often backed by reserves or algorithmic mechanisms. They aim to mitigate the price volatility inherent in other cryptocurrencies.
🔑 Important: Blockchain's decentralized and immutable nature underpins the security and transparency of cryptocurrencies, while consensus mechanisms are crucial for network integrity.
3.12 Decentralized Finance (DeFi)
This subsection explores the emerging landscape of Decentralized Finance (DeFi), its potential, and inherent risks.
-
DeFi Overview: DeFi aims to recreate traditional financial services (lending, borrowing, trading, insurance) on decentralized blockchain networks, without relying on intermediaries like banks.
-
Key Characteristics:
- Openness: Accessible to anyone with an internet connection and a crypto wallet.
- Transparency: All transactions are recorded on a public blockchain.
- Composability: DeFi protocols can interact with each other, creating complex financial products ("money legos").
- Self-custody: Users retain control over their assets.
-
Potential Benefits:
- Increased financial inclusion by lowering barriers to entry.
- Greater efficiency and lower costs due to disintermediation.
- Innovation in financial product design.
-
Associated Risks:
- Smart Contract Vulnerabilities: Bugs or exploits in smart contract code can lead to significant loss of funds.
- Regulatory Uncertainty: The decentralized nature of DeFi poses challenges for traditional regulatory frameworks.
- Volatility: While stablecoins aim for stability, many DeFi protocols are exposed to the volatility of underlying cryptocurrencies.
- User Error: Loss of private keys or mistaken transactions can result in permanent loss of assets.
🔑 Important: DeFi promises a more open and accessible financial system but is currently navigating significant technological, security, and regulatory challenges.
3.13 Central Bank Digital Currencies (CBDCs) and Regulatory Evolution
This section touches upon the evolution of central bank digital currencies and nascent regulatory frameworks.
-
Central Bank Digital Currencies (CBDCs): Digital forms of a country's fiat currency, issued and backed by the central bank.
- CBDCs can offer benefits such as improved payment system efficiency, financial inclusion, and enhanced monetary policy transmission.
- However, their design and implementation raise questions regarding privacy, cybersecurity, and the role of commercial banks.
-
Emerging Regulatory Frameworks:
- The rapid growth of blockchain, cryptocurrencies, and DeFi necessitates clear regulatory guidance to mitigate risks and foster innovation.
- MiCA (Markets in Crypto-Assets): A significant regulatory framework developed by the European Union, aiming to provide a harmonized approach to crypto-asset regulation across member states. It covers the issuance, offering, and trading of crypto-assets, as well as the authorization and supervision of crypto-asset service providers.
🔑 Important: The interplay between technological advancements in digital assets and evolving regulatory landscapes, exemplified by CBDCs and frameworks like MiCA, is critical for the future of finance.
4. Blockchain, cryptocurrencies, decentralized finance, and regulatory frameworks (part 2)
4.1 Blockchain fundamentals and consensus mechanisms
- Immutability: Ensured by cryptographically linking each block to the preceding one via its hash; altering a block invalidates all subsequent blocks.
- Proof of Work (PoW): A consensus mechanism (e.g., Bitcoin) requiring intensive computational effort (mining) to solve mathematical problems and validate blocks, leading to high energy consumption.
- Proof of Stake (PoS): A consensus mechanism (e.g., Ethereum post-Merge) where validators stake cryptocurrencies as collateral to validate transactions, significantly reducing energy consumption by over 99.95%.
4.2 Smart contracts and decentralized exchanges (DEXs)
- Smart contracts: Self-executing programs on the blockchain that automatically trigger actions when predefined conditions are met, removing the need for human intermediaries 51.
- Decentralized Exchanges (DEXs): Platforms for cryptocurrency trading without a central intermediary, utilizing Automated Market Makers (AMMs) instead of traditional order books. Uniswap, a prominent DEX, has processed over 1,500 billion euros in transactions.
- Automated Market Makers (AMMs): Algorithms, like Uniswap's constant product formula (x∗y=k), that set prices based on liquidity pool ratios within DEXs.
4.3 Stablecoins: types and risks
- Fiat-backed stablecoins: Such as USDT and USDC, are backed by physical reserves (liquid assets) held in a 1:1 ratio or higher with the issued currency.
- Algorithmic stablecoins: Rely solely on algorithmic mechanisms for issuance and stability, without physical reserves. Their collapse, exemplified by Terra/Luna, highlights the risk of a "death spiral"—a loss of confidence leading to mass sell-offs that the algorithm cannot absorb. 46.
- The Terra/Luna collapse resulted in the destruction of approximately 40 billion dollars in market capitalization within a week.
4.4 Central Bank Digital Currencies (CBDCs)
- Central Bank Digital Currency (CBDC): A digital currency issued directly by a central bank, also known as Monnaie Numerique de Banque Centrale (MNBC) 54.
- The Bahamas was the first country to launch a commercial CBDC with the "Sand Dollar" in 2020, aiming to improve financial access in remote islands 47.
- The European Central Bank (ECB) is considering a cap of 3,000 euros per person for the digital euro to prevent significant disintermediation of the traditional banking system.
4.5 Regulatory frameworks: MiCA and DeFi principles
- The Markets in Crypto-Assets (MiCA) regulation, adopted in April 2023, began partial application in June 2024 (for stablecoins) and will be fully implemented by December 2024, establishing the first comprehensive global regulatory framework for crypto-assets 52.
- Permissionlessness in DeFi means any digital wallet can interact with DeFi protocols without requiring Know Your Customer (KYC) or identity verification. While promoting inclusion, this poses significant risks for Anti-Money Laundering (AML) compliance.
The core challenge for DeFi regulation lies in balancing innovation and inclusion with robust AML/KYC compliance.
4.6 Financial risk taxonomy and AI applications in risk management
-
The Basel Accords categorize financial risks into three primary areas: credit risk (borrower default), market risk (price fluctuations), and operational risk (process/system failures). Liquidity and climate risks are significant extensions.
-
IFRS 9 classifies credits into three stages. Transitioning from Stage 1 (12-month Expected Credit Loss - ECL) to Stage 2 (lifetime ECL) can multiply provisions by 5 to 10 times, representing a critical area where Machine Learning (ML) offers substantial value 53.
-
Key metrics for calculating ECL under IFRS 9 and Basel include:
Metric Abbreviation Description Probability of Default PD Likelihood of a borrower defaulting Loss Given Default LGD Percentage of exposure lost if default occurs Exposure at Default EAD Amount owed by the borrower at the time of default -
Graph Neural Networks (GNNs) are employed in AML to analyze complex transaction network structures that are not apparent on a per-transaction basis, aiding in the detection of sophisticated fund flows.
-
The financial sector faces an exceptionally high volume of cyberattacks, being approximately 300 times more frequently targeted than other sectors, with an average cost per data breach of USD 9.6 million dollars 55.
AI is instrumental in enhancing financial risk measurement and modeling, particularly in complex areas like credit provisioning and fraud detection.
4.7 Advances in Risk Measurement and Modeling
- Expected Shortfall (ES): Measures the average loss in scenarios where the Value at Risk (VaR) threshold is breached. It captures tail risk, a limitation of classic VaR.
- Formula: ES=E[Loss∣Loss>VaR]
- The Fundamental Review of the Trading Book (FRTB) regulation mandates ES at 97.5% confidence level for market risk .
- AI-accelerated Monte Carlo simulations: Deep learning models, such as neural networks, have demonstrated significant acceleration of VaR calculations.
- Reported speed-ups range from 1,000 to 10,000 times faster, enabling near real-time stress testing.
- Generative Adversarial Networks (GANs): Used for stress testing by generating realistic, adversarial scenarios that maximize impact on balance sheets, exceeding standard regulatory scenarios.
- GANs create extreme yet plausible combinations of shocks.
🔑 Important: ES addresses VaR's blind spot regarding the magnitude of losses beyond the threshold, making it a more robust measure of tail risk.
4.8 Climate Risk in Financial Systems
- Transition risk: Financial risks stemming from adaptation to a low-carbon economy, including carbon pricing, regulatory bans, and technological shifts.
- Carbon-intensive assets risk becoming stranded assets.
- Physical risk: Risks linked to direct climate-related disasters such as floods and hurricanes.
- European Central Bank (ECB) Climate Stress Test : Evaluated 104 European banks over a 30-year horizon using physical and transition risk scenarios developed by the NGFS .
- Network for Greening the Financial System (NGFS): A network of central banks and financial supervisors providing reference climate scenarios for stress tests, including scenarios for an orderly transition, a disorderly transition, and a "hot house world."
🔑 Important: Transition risk is a critical emerging area, impacting the valuation and viability of carbon-intensive investments.
4.9 Model Risk and AI Ethics
- Model Risk: Encompasses errors in conceptualization, inadequate validation, out-of-scope usage, concept drift, and algorithmic bias, not solely code bugs.
- The Federal Reserve's SR 11-7 guidance provides a broad definition of model risk.
- The "London Whale" incident (JPMorgan, 2012) exemplifies model risk due to an incorrectly modified VaR model on a spreadsheet, underestimating risk.
- Concept Drift: The evolution of real-world data distributions compared to historical training data.
- This is particularly dangerous during economic crises (e.g., pre-COVID models becoming inadequate during the pandemic) when data patterns diverge significantly.
- Know Your Customer (KYC): A mandatory identity verification process for financial institutions, increasingly automated using AI (OCR, facial recognition, sanction screening).
- Value at Risk (VaR): A measure of the maximum probable portfolio loss at a given confidence level over a specified horizon.
- Example: A 99% 1-day VaR indicates a loss that is not expected to be exceeded on 99 out of 100 normal trading days.
🔑 Important: Model risk extends beyond technical glitches to encompass fundamental flaws in model design, data usage, and its appropriateness for the current environment.
4.10 Regulatory Frameworks and Digital Assets
- MiCA Regulation (Markets in Crypto-Assets):
- Sets transaction limits for significant stablecoins not denominated in euros.
- For significant stablecoins (excluding euro-denominated ones), a daily transaction cap of 200 million euros is imposed to prevent non-euro stablecoins from becoming de facto European currency.
- Ethereum's Merge (September 2022): Transitioned from Proof-of-Work (PoW) to Proof-of-Stake (PoS), resulting in a drastic energy consumption reduction of 99.95%.
- AI Act (EU, 2024): Classifies AI-driven credit scoring as high-risk, mandating technical documentation, human oversight, and registration in an EU database.
- GDPR (General Data Protection Regulation): Article 22 enshrines the right to an explanation for significant automated decisions, requiring comprehensible logic behind algorithmic outputs. This is often implemented via Explainable AI (XAI) techniques like SHAP values.
- DORA (Digital Operational Resilience Act): Enters into application in January 2025, imposing digital operational resilience testing requirements on financial institutions.
🔑 Important: Regulatory frameworks like MiCA, the AI Act, GDPR, and DORA are actively shaping the landscape for digital assets, AI in finance, and operational resilience, emphasizing transparency, risk management, and consumer protection.
5. Blockchain, cryptocurrencies, decentralized finance, and regulatory frameworks (part 3)
5.1 AI and Financial Risk Management
Artificial Intelligence (AI) offers transformative potential in managing various financial risks, enhancing both measurement and modeling capabilities.
5.1.1 AI in Risk Measurement and Modeling
AI, particularly Machine Learning (ML), significantly improves the accuracy and efficiency of risk assessment across different categories.
- ML-based credit scoring: AI algorithms analyze vast datasets to predict creditworthiness with higher precision than traditional methods.
- Provisioning under IFRS 9: AI models enhance the estimation of Expected Credit Losses (ECL) by incorporating more complex and dynamic factors.
- Market risk analytics: AI accelerates sophisticated risk measures like Expected Shortfall (ES) and Monte Carlo simulations.
- AI enables faster and more granular Monte Carlo simulations for market risk assessment.
AI enhances risk analytics by processing larger datasets and more complex interactions than traditional statistical models.
5.1.2 AI in Specific Financial Risks
AI applications extend to operational, climate, and broader systemic risk management.
- Operational risk: AI can detect anomalous patterns indicative of internal fraud, system failures, or process breaches.
- Climate risk: AI models help assess physical and transition risks, analyzing satellite imagery and climate data for financial impact.
- Credit risk: Beyond scoring, AI aids in early warning systems and dynamic portfolio risk management.
5.1.3 Emerging Challenges in AI Finance
Despite its benefits, AI deployment in finance presents significant challenges.
- Model risk: The inherent complexity and potential for error in AI models necessitate robust validation and governance.
- AI ethics: Ensuring fairness, accountability, and transparency in AI-driven financial decisions is paramount.
- Algorithmic fairness: Preventing discriminatory outcomes in credit scoring, loan approvals, or insurance pricing.
- Explainability (XAI): The tension between high-performing opaque models (e.g., deep learning) and the need for interpretable decisions, as mandated by regulations.
- Data quality and bias: AI models are susceptible to biases present in training data, leading to unfair or inaccurate outcomes.
The performance-explainability trade-off is a critical challenge, balancing sophisticated AI models with regulatory demands for transparency.
5.2 Regulatory Frameworks for AI and Digital Finance
Evolving regulatory landscapes are critical for governing AI in finance and the burgeoning digital asset space.
5.2.1 AI Governance Frameworks
Regulatory bodies are developing frameworks to ensure responsible AI development and deployment.
- EU AI Act: Classifies AI systems by risk level (unacceptable, high, limited, minimal), imposing strict obligations on high-risk applications like credit scoring.
- High-risk AI systems: Require detailed documentation, human oversight, transparency, and registration in an EU database.
- GDPR (General Data Protection Regulation): Guarantees rights concerning automated decision-making, including the right to explanation (Article 22).
- Right to explanation: Individuals can request insight into the logic behind automated decisions impacting them.
- UNESCO Recommendation on the Ethics of AI : Establishes global ethical principles for AI, adopted by 193 member states .
The EU AI Act categorizes AI systems by risk, imposing stringent requirements on high-risk financial applications rather than outright bans.
5.2.2 Regulation in Digital Assets and Finance
Specific regulations are emerging to manage the risks and opportunities presented by crypto-assets and digital currencies.
- MiCA (Markets in Crypto-Assets Regulation): The EU's comprehensive framework for crypto-assets, covering issuers, service providers (CASPs), and stablecoins.
- Stablecoin regulation: MiCA imposes transaction limits for significant non-euro stablecoins (e.g., USDT) to prevent them from undermining the euro.
- MiCA aims to foster innovation while ensuring consumer protection and financial stability.
- DORA (Digital Operational Resilience Act): Mandates robust digital operational resilience for EU financial institutions, covering ICT risk management, incident reporting, and third-party dependencies.
- TLPT (Threat-Led Penetration Testing): A key component of DORA, requiring regular security tests.
MiCA establishes a harmonized regulatory approach for crypto-assets within the EU, addressing risks associated with issuers and service providers.
5.2.3 AI and Ethical Considerations in Finance
The integration of AI raises profound ethical questions that regulators and institutions must address.
- Algorithmic discrimination: Cases like the Apple Card disparity highlight how AI can perpetuate bias, even without explicit use of protected characteristics.
- Proxies correlated with protected attributes (e.g., household income vs. individual income) can lead to indirect discrimination.
- Responsibility laundering: The notion of transferring accountability for adverse decisions to the algorithm ("the algo decided") is rejected; institutions remain liable.
- Incompatibility of fairness metrics: Chouldechova's theorem demonstrates that achieving all desirable fairness metrics simultaneously is often mathematically impossible, necessitating normative choices.
- Prioritizing specific fairness metrics (e.g., equal false positive rates vs. equal predictive values) becomes a societal and ethical decision, not purely technical.
Institutions are fully accountable for AI-driven decisions; attributing blame to the algorithm is an unacceptable form of "responsibility laundering."
5.3 Evolving Skills and Competencies in Finance
The digital transformation and AI adoption necessitate new skill sets for financial professionals.
- T-shaped professionals: The ideal candidate possesses deep expertise in a specific finance domain (vertical bar) combined with broad transversal knowledge in AI, data literacy, and ethics (horizontal bar).
- Vertical skills: Credit analysis, portfolio management, compliance.
- Horizontal skills: Data literacy, ML fundamentals, prompt engineering, AI ethics, regulatory understanding.
- Prompt engineering: A critical skill for effectively interacting with Large Language Models (LLMs) to elicit accurate and relevant responses.
- Data Governance: Establishing policies and processes to ensure data quality, security, compliance, and ethical usage is fundamental.
The future of finance demands professionals with deep domain expertise augmented by a strong transversal understanding of AI and data capabilities.
🔑 Important: The convergence of AI, digital finance, and evolving regulations necessitates a proactive approach to risk management, ethical deployment, and continuous upskilling of the financial workforce.
© 2026 Maeve. All rights reserved. This content is protected by copyright.