project major 1
project major 1
XAI AND FL
IN FINANCIAL FRAUD DETECTION
Transparent, Trustworthy, and Collaborative
Solutions
Abstract:
■ Traditional fraud detection systems often rely on centralized Machine Learning (ML) models, which
pose risks to data privacy and security. To address these challenges, this project introduces a novel
privacy-preserving fraud detection framework using Federated Learning (FL) and
Convolutional Neural Networks (CNN). Federated Learning allows multiple financial institutions to
collaboratively train a global fraud detection model while ensuring that sensitive customer data
remains decentralized and secure. The CNN algorithm is employed for its ability to effectively learn
spatial patterns and detect complex relationships in transaction data, thereby improving model
accuracy.
■ Each financial institution (client) trains a local CNN model on its private data.
■ The model updates (not raw data) are sent to a central server for aggregation.
■ The global CNN model is updated iteratively and redistributed to clients.
Integration of XAI:
■ After training the CNN model, SHAP values are calculated to explain which features most influence
predictions.
■ Visualizations of SHAP plots help human experts understand the model’s decisions, ensuring
transparency and trust.
Data Set Used:
■ Dataset Attributes
1. Transaction-Specific Features:
1.Transaction Amount: Value of the transaction.
2.Transaction Time: Time elapsed since the first transaction.
2. Customer Behavior Features:
1.Credit Score: Customer’s creditworthiness.
2.Account Balance: Available account balance.
3.Transaction Frequency: Number of transactions per day/week.
4.Location: Geographical location of the transaction.
Continues:
1. Device and Channel Features:
1.IP Address: Source of the transaction.
2.Device ID: Unique identifier of the device used.
3.Payment Mode: Card type (e.g., Visa, MasterCard).
2. Derived Features:
1.Transaction Pattern: Deviation from typical spending behavior.
2.Merchant Category: Type of store where the transaction
occurred.
■ Highlights:
• Combines transactional, behavioral, and risk-based features.
• Ensures rich data inputs for detecting anomalies and fraud patterns.
Conclusion:
■ Federated Learning (FL):
• Enables collaborative training of fraud detection models across
institutions.
• Ensures data privacy by keeping sensitive data decentralized.
■ Explainable AI (XAI):
• Provides transparency and builds trust through explainable predictions.
• Techniques like SHAP highlight feature contributions in decision-making.
■ Key Achievements:
• Improved fraud detection accuracy.
• Ensured privacy preservation and model fairness.
• Adaptability to dynamic fraud patterns.
■ Impact:
Transparent, Trustworthy, and Privacy-Preserving Fraud Detection for
modern financial systems.