惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

B
Blog
量子位
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Last Week in AI
Last Week in AI
酷 壳 – CoolShell
酷 壳 – CoolShell
人人都是产品经理
人人都是产品经理
Jina AI
Jina AI
雷峰网
雷峰网
博客园_首页
WordPress大学
WordPress大学
博客园 - 司徒正美
爱范儿
爱范儿
博客园 - 聂微东
IT之家
IT之家
美团技术团队
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
博客园 - 三生石上(FineUI控件)
有赞技术团队
有赞技术团队
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
T
Tailwind CSS Blog
博客园 - Franky
V
V2EX
GbyAI
GbyAI
阮一峰的网络日志
阮一峰的网络日志

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
Why Entity Resolution Is Harder Than Named Entity Recogni...
Irvan Gerhana Septiyana · 2026-06-25 · via DEV Community

Part 4 of the Building Enterprise AI Automation Systems Series


Introduction

Most Named Entity Recognition (NER) tutorials end with a prediction.

The model successfully extracts:

COMPANY
INVOICE
CONTRACT
PURCHASE_ORDER

The article ends.

The notebook prints a beautiful JSON response.

Mission accomplished.

Or so it seems.

In real enterprise systems, extracting entities is only the beginning.

Consider the following prediction:

{
    "COMPANY":"ALPHABRIDGE",
    "INVOICE":"MFG-INV-000157"
}

At first glance, everything looks correct.

But from a business perspective, the system still knows almost nothing.

Questions remain unanswered.

Which ALPHABRIDGE?

Which customer record?

Which contract?

Which invoice?

Which business relationship?

These questions belong to a completely different problem known as Entity Resolution.

Entity Resolution transforms extracted text into business knowledge.

Without it, AI understands words but not businesses.


NER Finds Text

Named Entity Recognition answers one question:

"What pieces of text represent meaningful entities?"

For example:

PAYMENT FROM ALPHABRIDGE SOLUTIONS MFG-INV-000157

becomes

{
    "COMPANY":"ALPHABRIDGE SOLUTIONS",
    "INVOICE":"MFG-INV-000157"
}

This is extraction.

Nothing more.

The model has no idea whether:

  • the company exists,
  • the invoice exists,
  • the invoice belongs to the company,
  • the invoice has already been paid,
  • the contract is still active.

Extraction is syntax.

Enterprise automation requires semantics.


The Hidden Problem

Imagine the following customer master.

CUS-00001

ALPHABRIDGE SOLUTIONS

Now imagine receiving these transaction narratives.

PAYMENT FROM ALPHABRIDGE

PAYMENT FROM ALPHABRIDGE LTD

PAYMENT FROM ABS

PAYMENT FROM ALPHA BRIDGE

Humans immediately recognize these as the same customer.

Machines do not.

To a computer, every string is different.

Without resolution, automation immediately breaks.


What Entity Resolution Actually Does

Entity Resolution answers a different question.

Instead of asking:

"What entity is this?"

it asks:

"Which business object does this entity represent?"

For example:

NER Output

{
    "COMPANY":"ALPHABRIDGE"
}

Entity Resolution

{
    "customer_id":"CUS-00002",
    "legal_name":"ALPHABRIDGE SOLUTIONS",
    "country":"United States"
}

Notice the difference.

The output is no longer text.

It is business knowledge.


Why Enterprise Data Is Difficult

Enterprise systems evolve over decades.

Customer names change.

Companies merge.

Subsidiaries appear.

Legal entities are renamed.

Regional offices use abbreviations.

As a result:

Microsoft

Microsoft Ltd

Microsoft Corporation

MSFT

Microsoft APAC

may all refer to different legal entities.

Or exactly the same one.

Only business context can answer that question.


Resolution Strategies

Modern Entity Resolution engines rarely rely on a single algorithm.

Instead, they combine multiple strategies.


1. Exact Matching

The simplest approach.

ALPHABRIDGE SOLUTIONS

↓

ALPHABRIDGE SOLUTIONS

Fast.

Reliable.

But extremely limited.


2. Alias Matching

Many businesses maintain alias dictionaries.

Example:

ABS

↓

ALPHABRIDGE SOLUTIONS

or

IBM

↓

International Business Machines

Alias lookup dramatically improves recall.


3. Normalization

Formatting differences should disappear before matching.

Example:

MFG INV 000157

↓

MFG-INV-000157

Similarly:

INV001

↓

INV-001

Normalization often solves more problems than machine learning.


4. Fuzzy Matching

Some differences cannot be normalized.

Example:

ALPHA BRIDGE

↓

ALPHABRIDGE

Fuzzy similarity algorithms such as Levenshtein distance can identify likely matches.

However, fuzzy matching should be used carefully.

A low similarity threshold increases false positives.


5. Embedding Similarity

The final strategy uses semantic representations.

Instead of comparing characters,

we compare meaning.

Sentence embeddings allow systems to recognize that

Advance Payment

Project Deposit

may represent similar business concepts.

Embedding similarity becomes particularly useful when dealing with free-form narratives.


Hybrid Resolution

In production, no single strategy is sufficient.

A typical pipeline looks like:

NER Output
      │
      ▼
Normalization
      │
      ▼
Exact Match
      │
      ▼
Alias Match
      │
      ▼
Fuzzy Match
      │
      ▼
Embedding Similarity
      │
      ▼
Business Validation

Every stage increases confidence.

Every stage reduces ambiguity.


Confidence Scores

Entity Resolution should never return only a match.

It should also return confidence.

Example:

{
    "customer_id":"CUS-00002",
    "match_method":"alias",
    "match_score":0.96
}

Confidence allows downstream systems to decide:

High Confidence

↓

Automatic Reconciliation

or

Low Confidence

↓

Human Review

Confidence is one of the most important features of production AI systems.


Why Resolution Enables Automation

Imagine two scenarios.

Without Entity Resolution:

{
    "COMPANY":"ALPHABRIDGE"
}

Can we reconcile?

No.

Can we validate invoices?

No.

Can we update ERP?

No.

Can we trigger workflows?

No.

Now consider:

{
    "customer_id":"CUS-00002",
    "contract_id":"CNT-2024-587",
    "invoice_number":"MFG-INV-000157"
}

Everything changes.

Business rules become possible.

Automation becomes possible.

Decision engines become possible.

AI Agents become possible.

Entity Resolution is the bridge.


Building a Resolution Engine

The architecture we implemented looks like this.

NER Prediction
        │
        ▼
Normalization
        │
        ▼
Exact Matching
        │
        ▼
Alias Lookup
        │
        ▼
Fuzzy Matching
        │
        ▼
Embedding Similarity
        │
        ▼
Master Data Validation
        │
        ▼
Resolved Business Entity

Each component has one responsibility.

This modular architecture makes the system easier to improve over time.


Lessons Learned

The biggest surprise during this project was realizing that Entity Resolution was more difficult than training the transformer itself.

Training a model is largely an engineering exercise.

Building Entity Resolution requires understanding how the business operates.

It requires domain knowledge.

Master data.

Business rules.

Historical context.

In other words:

NER learns language.

Entity Resolution learns the business.


Conclusion

Most discussions around AI focus on extracting information.

Enterprise automation requires understanding information.

Named Entity Recognition identifies entities.

Entity Resolution transforms those entities into trusted business objects.

This transformation enables reconciliation, analytics, intelligent workflows, and autonomous decision-making.

Without Entity Resolution, enterprise AI remains a language model.

With Entity Resolution, it becomes an operational system.


What's Next?

In Part 5, we'll build the Reconciliation Engine that combines:

  • Named Entity Recognition
  • Entity Resolution
  • Business Rules
  • Validation Logic
  • Decision Intelligence

to automatically determine whether enterprise transactions can be reconciled without human intervention.

We'll also discuss why rule engines still matter in the age of Large Language Models.