Session

How Mastercard Turns Transaction Data into Trusted Merchant Insights with AI

Overview

ExperienceIn Person
TrackArtificial Intelligence & Agents
IndustryFinancial Services
TechnologiesDelta Sharing, Unity Catalog
Skill LevelAdvanced
DOWNLOAD SESSION SLIDES

We are the first team at Mastercard to build an AI-powered, API-based product on Databricks—GAIME. GAIME is a fuzzy-matching algorithm, which matches transaction/merchant descriptors with Mastercard's real-time merchant database. GAIME consists of entity recognition, candidates retrieval via embeddings + vector search and uses AI-as-a-judge to produce a final match decision.

 

The talk is organized around three foundational pillars of an AI-powered product: governance, responsible AI and quality control. We will discuss how these pillars become accelerators rather than constraints at the regulated financial sector. Finally, we will share the journey of moving GAIME from POC to production and demonstrate what role data science plays in scaling high-impact AI products within a regulated environment.

Session Speakers

Tomáš Drietomský

/Lead Data Scientist
Mastercard

Full Summary

Inside GAME: How Mastercard rebuilt merchant enrichment with generative AI

Linking messy card transaction descriptors to real-world merchants is a classic entity resolution problem with high stakes in finance. Mastercard rebuilt its merchant enrichment pipeline around GAME, Generative AI Merchant Enrichment, an end-to-end system on the Databricks Platform that reframes fuzzy string matching as semantic entity resolution. The result powers internal workflows and an external enrichment service, Places, and illustrates what disciplined AI applications look like in production. Teams evaluating where this kind of work fits within a broader data and AI strategy will find useful context in how leading companies execute their operating model for data and AI.

FAQ


Sovereignty and stability. Hosting open models privately keeps inference attributable and auditable, and avoids workflow breakage from vendor model deprecations. After fine-tuning, small open models matched or exceeded closed models on Mastercard's entity recognition benchmark at much lower cost.

It returns a complete merchant record for a matched descriptor, including full address and business attributes drawn from Mastercard's database. Internal users access via Databricks Apps, serving endpoints, and shared Unity Catalog tables. External users integrate through the Places API, with a batch file process under development.

On clean, low-complexity descriptors with clear merchant names and sufficient location signals. It is cheap, simple, and explainable. GAME earns its complexity on moderate and high-complexity cases where semantic reasoning and world knowledge are required.

Each module has dedicated benchmarks and any change must meet or beat production baselines. A human success team reviews live matches and feeds back systematic errors. The linkage stage uses an F0.4 metric to penalize false positives, and overall evaluation centers on risk-adjusted value.

Vector search first retrieves 160 plausible matches. A lightweight LightGBM scorer then filters and re-ranks to the most relevant 20 before the judge model runs. That refinement raised hit rate by 8.3 percent at the same latency compared with a naive top-20 approach.