Information Security 15 min read

Xiaomi's Internet Finance Risk Control Practices: Architecture, Rules Engine, and Machine Learning

The article details Xiaomi's evolution of internet‑finance risk control—from early limit and frequency rules that cut bad‑debt by a third, through adopting the Drools rules engine for rapid deployment and gray‑release, to leveraging random‑forest machine‑learning models and extensive user profiling that reduced fraud by roughly 40%, while addressing privacy and operational challenges.

High Availability Architecture
High Availability Architecture
High Availability Architecture
Xiaomi's Internet Finance Risk Control Practices: Architecture, Rules Engine, and Machine Learning

In June 2019, Xiaomi's payment team presented their risk control practice at the first Internet Finance System Salon, describing the evolution from simple rule‑based controls to a sophisticated, high‑availability architecture.

Attempt (2014) : Faced with high bad‑debt rates in the Mi‑coin SMS recharge channel, they introduced basic limit, frequency and attribute rules, built a rule engine in four weeks, and achieved a one‑third reduction in bad‑debt after two weeks of trial.

Development (2015‑) : To support growing third‑party payment services, they adopted the open‑source Drools engine, separating ordinary rules, CEP rules and a management console, enabling rule deployment within five minutes and introducing a gray‑release system for safe testing.

Expansion : With rapid business growth, they integrated data sharing across Xiaomi, built user and device profiling, and applied machine‑learning models—testing four classifiers and selecting a random‑forest model trained on 17 transaction features—to enrich black‑lists and cut fraud losses by about 40%.

The Q&A highlighted practical concerns such as rule granularity, model selection, over‑fitting tolerance, and privacy safeguards, emphasizing open‑source tools, rapid iteration, and a balance between security and user experience.

Machine Learningsecurityrisk controlrandom forestdroolsXiaomiinternet finance
High Availability Architecture
Written by

High Availability Architecture

Official account for High Availability Architecture.

0 followers
Reader feedback

How this landed with the community

login Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.