Big Data 4 min read

Ant Group's Financial Data Ontology: Automating Business Semantics with LangGraph

Ant Group solves inconsistent business definitions across thousands of tables by building a financial data knowledge ontology using a six-node LangGraph state machine that automates schema perception, entity resolution, and conflict marking without forced merging, enabling a three-layer retrieval architecture that cuts cross-opportunity identification from days to hours and achieves 85% anomaly analysis accuracy.

DataFunTalk
DataFunTalk
DataFunTalk
Ant Group's Financial Data Ontology: Automating Business Semantics with LangGraph

Ant Group faced a classic data governance problem: the same concept — "active user" — carried different definitions across Huabei, Jiebei, and consumer‑loan business lines. With thousands of tables and calibration logic buried in historical SQL code, manual harmonization was unsustainable.

The root cause was not computational but semantic: fields and metrics had never been translated into business objects such as "user", "product", or "behavior", so the system could not understand what the data actually meant.

Solution: Financial Data Knowledge Ontology

Ant built a Financial Data Knowledge Ontology that acts as a "textbook" teaching the system business semantics. Construction is automated through two pipelines:

LangGraph six‑node state machine —

InputParser → Comprehender → EntityResolver → Reconciler → Synthesizer → Verifier

— handles massive table‑structure perception, entity recognition, cross‑table contradiction resolution, and ontology synthesis with verification.

"Code as annotation" pipeline — reverse‑extracts field semantics and inter‑table relationships from ODPS historical SQL, turning existing code into training signals.

Core Principle: Mark Conflicts, Don't Force Merge

When business lines disagree on a metric's definition, the ontology records the conflict but preserves each line's original semantics . Agents then retrieve the relevant caliber on demand, avoiding premature standardization that would lose contextual nuance.

Three‑Layer Joint Retrieval Architecture

Analysis requests are served by a fused KnowledgePackage assembled from:

KG_cs — business caliber definitions

KG_fr — entity relationship graph

RC — raw document evidence

Results from the three layers are deduplicated, ranked, and packaged for the downstream Agent.

Measured Outcomes

Coverage: thousands of tables

Cross‑opportunity identification: reduced from 3–5 days to hours

Anomaly root‑cause analysis accuracy: >85%

Already supporting multiple marketing‑strategy deployments

Reusable Methodology Highlights

A seven‑layer progressive‑cost fusion strategy for automated ontology construction at massive scale

Layered joint retrieval (KG_cs / KG_fr / RC) that boosts business‑analysis efficiency

Practical pattern for multi‑business‑line caliber conflicts in finance: retain differences, retrieve contextually

Financial Data Knowledge Ontology Architecture
Financial Data Knowledge Ontology Architecture
Original Source

Signed-in readers can open the original source through BestHub's protected redirect.

Sign in to view source
Republication Notice

This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactadmin@besthub.devand we will review it promptly.

Conflict ResolutionData GovernanceKnowledge GraphLangGraphBusiness SemanticsAutomated Ontology ConstructionFinancial Data OntologyThree-Layer Retrieval
DataFunTalk
Written by

DataFunTalk

Dedicated to sharing and discussing big data and AI technology applications, aiming to empower a million data scientists. Regularly hosts live tech talks and curates articles on big data, recommendation/search algorithms, advertising algorithms, NLP, intelligent risk control, autonomous driving, and machine learning/deep learning.

0 followers
Reader feedback

How this landed with the community

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.