MercadoLibre's Financial Data Enrichment: from handcrafted regex to LLMs and custom semantic embeddings in LATAM
MELI's transaction categorization relied on handcrafted regex rules and manually-reported MCC codes that produced frequent inconsistencies, required constant country-specific updates, and could not scale to the daily volume of new financial data across LATAM's diverse languages.
MELI's first deployed categorization model, built entirely on regex and MCC rules, was limited to debit transactions in Portuguese and proved impossible to maintain as data volume grew.
Adopting GPT-3.5 Turbo lifted categorization accuracy from around 60% to over 80%, cut operational costs by 75%, and scaled volume from tens of millions per quarter to tens of millions per week.
Custom BERT-style embeddings then pushed accuracy to 90% with an additional cost reduction of more than 30%, a 10x increase in scalability, and near real-time processing.
Show all 9 reported metrics
Frequently asked questions
What did this team achieve with this AI workflow?
Adopting GPT-3.5 Turbo lifted categorization accuracy from around 60% to over 80%, cut operational costs by 75%, and scaled volume from tens of millions per quarter to tens of millions per week.
What tools did this team use?
GPT-3.5 Turbo, GPT-4o-mini, Gemini, Claude, BERT-style, Python, Fury, DataMesh.
What results were reported?
categorization accuracy — LLM phase: over 80%; Categorization accuracy — regex baseline: around 60%; operational cost reduction — LLM phase: 75%; Transaction volume scale: from tens of millions per quarter to tens of millions per week (source-reported, not independently verified).
What failed first in this deployment?
MELI's first deployed categorization model, built entirely on regex and MCC rules, was limited to debit transactions in Portuguese and proved impossible to maintain as data volume grew.
How is this finance ops AI workflow structured?
Raw transaction data arrives → LLM categorizes transaction → Human-in-the-loop validation → Continuous validation feedback → Semantic embeddings classify at scale → Structured categories output.