Skip to content

Content Library

Back to filmed Interviews

Interview April 23, 2025

Inside the Mind of AI: How Transformers Are Revolutionizing Fraud Detection

Chandrakant Maheshwari, First Vice President - Model Validation Lead, Flagstar Bank

Discover how transformers and self-attention mechanisms mimic human judgment to detect fraud with precision. A powerful analogy from the classroom brings cutting-edge AI to life for financial crime professionals.

Chandrakant Maheshwari delivers a compelling case study on how transformers, a powerful AI model architecture, can be leveraged for financial crime detection. He begins by demystifying the concept of self-attention with a classroom analogy: four students, each with different domain expertise, answer a biology question. The teacher assigns weight to each response based on relevance and forms a final, weighted answer. This mirrors how transformers evaluate input—through query, key, and value matrices—to form intelligent outputs.

Moving from theory to application, Chandrakant maps this metaphor directly to the self-attention mechanism, showing how it dynamically identifies and weighs information based on contextual relevance. From this foundation, he explains how stacking self-attention layers gives rise to transformers, which excel at identifying nuanced, contextual patterns.

He emphasizes that fraud detection in financial services requires more than static rules—it needs a model that understands behavior over time. Unlike traditional systems that evaluate isolated transactions, transformers ingest entire sequences, identifying anomalies based on evolving relationships between transactions.

Finally, a case study brings the theory to life. Chandrakant walks through an example with six transactions, transforming raw features into embedded representations. He outlines how transformers use query (the transaction’s intent), key (its characteristics), and value (its contribution to fraud detection) to flag suspicious behavior. This approach allows for real-time, high-accuracy fraud detection by treating transactions like interconnected language—where meaning emerges from relationships.

You are watching a preview. Sign in to watch the full interview.


Connect Plus

Unlock more with Connect Plus membership

This content is available to Connect Plus members.