Building an Open-Source ML-Powered Identity Resolution Tool in the Modern Data Stack

Episode 4 62 min

Sonal Goyal Founder of Zingg

Episode 4 · Building an Open-Source ML-Powered Identity Resolution Tool in the Modern Data Stack

62 min

What we talked about

Sonal Goyal is the founder of Zingg, an open source, machine learning based identity resolution tool. She has about 24 years of experience in tech, starting as a programmer and analyst at an investment bank, and she ran a data consultancy before building Zingg full time. Alexey knows her from the Open Source Spotlight demo. They talk about identity resolution, open source startups and matching at large scale.

Sonal defines identity resolution as establishing whether several records refer to the same real world customer, supplier, product or location. Duplicate detection is one use case, and deduplication is what you do with the result. The problem kept coming up in her consulting projects, so she built a tool that works on any entity type. Scale is the main challenge, because comparing every record with every other record grows very quickly. Zingg uses machine learning, blocking and indexing to limit comparisons. Sonal says it was tested with 15 million records and that users have since run it on 80 million.

Zingg trains its model by showing the user a small set of record pairs to label, and Sonal says 40 to 50 pairs are enough. The engine runs on Spark, a Snowflake-native version is in progress, and a Python interface lets teams use it in pipelines, including Databricks notebooks and dbt. The first public release took about a year and a half, and she spent at least six months tuning the algorithms.

On open source, Sonal says the choice was partly personal, since her consultancy had been built on open source tools. It was also a business decision, because master data management and customer data platforms are expensive and sales-driven. Zingg uses the AGPL license, which allows internal use and client solutions but does not allow embedding it in a product or offering it as a network service. The team has four people, works fully remote and is hiring engineers in India. Her biggest challenge is hiring. Looking back, she would look for a cofounder earlier and open source the project sooner.

For someone with a similar idea, Sonal advises seeing the problem in several settings and asking pointed questions about whether people would pay for a product. Distribution should be planned alongside the product through networks, communities and content. She also recommends the book Creative Selection, about Apple's design process during the iPhone years.

Chapters

  1. 1:11 Guest Overview: Sonal Goyal and Zingg identity resolution 1 min
  2. 2:06 Career Overview: 24 years in tech, data consulting background 1 min
  3. 2:58 Origin Story: Consulting projects reveal recurring identity gaps 2 min
  4. 4:51 Modern Data Stack: Centralized data exposing identity challenges 1 min
  5. 5:43 Product Overview: Zingg — ML-powered identity resolution 2 min
  6. 7:14 Terminology: Entity resolution vs identity resolution 1 min
  7. 7:52 Duplicate Detection vs Deduplication: Outcomes and use cases 1 min
  8. 9:08 Motivation: Recurring duplicate problems across domains 2 min
  9. 11:09 Solution Generality: Customers, products, patients and suppliers 2 min
  10. 13:38 Related Terms: Record linkage, entity matching, entity disambiguation <1 min
  11. 14:02 Core Approach: ML training, blocking, indexing for scale 4 min
  12. 18:13 Implementation: Spark distribution, Snowflake-native & Python API 2 min
  13. 20:41 Interfaces & Integrations: CLI, Python SDK, Databricks, dbt, UI plans 1 min
  14. 21:51 Founder Transition: From consultancy to full-time product build 1 min
  15. 23:00 Development Timeline: Proof-of-concept to public release (~18 months) 1 min
  16. 24:14 Open Source Strategy: Community, adoption, and business rationale 3 min
  17. 27:00 Licensing Choice: AGPL to prevent SaaS rehosting and protect IP 4 min
  18. 31:10 Open Source Trade-offs: IP concerns vs discoverability and growth 1 min
  19. 32:00 Team Evolution: Solo founder, consultants, and initial hires 1 min
  20. 32:59 Founder Role: Product, ecosystem integrations, community and hiring 2 min
  21. 35:14 Team & Hiring: First developer hire and fully remote setup 2 min
  22. 37:21 Scaling Challenge: Recruiting the right engineering talent 1 min
  23. 38:43 Prevention Limits: Data governance won’t fully eliminate identity issues 2 min
  24. 40:36 Beyond Joins: When fuzzy joins and basic ETL aren’t enough 4 min
  25. 44:25 Deterministic Rules vs Probabilistic ML: Trade-offs for accuracy 1 min
  26. 45:50 Fraud Use Cases: Identity resolution for AML and fraud detection 4 min
  27. 49:23 Graph + ML: Pairwise matching, graph clustering and downstream use 1 min
  28. 50:20 Data Mapping: Need to specify field correspondences for matching 1 min
  29. 51:39 Impact Case Studies: Public-data donors, e-commerce and classifieds 3 min
  30. 54:11 Retrospective: Seeking cofounder earlier and open-sourcing sooner 2 min
  31. 56:07 Founder Advice: Validate use cases, distribution channels, and conviction 3 min
  32. 59:26 Recommended Reading: Creative Selection on product design 1 min
  33. 1:00:38 Closing Remarks: Follow-ups, demos and contact options 1 min

About Sonal Goyal

Sonal Goyal Founder of Zingg

Sonal Goyal is the founder of Zingg, an open-source, ML-powered identity and entity resolution framework that gives organizations a single source of truth for customers and suppliers. She has 23 years of experience building data products for investment banking, telecom, gaming, insurance, and other industries, and is a repeat speaker at conferences such as Databricks Data and AI, Strata, Data Con LA, and GIDS. She holds a BTech from IIT Delhi and lives in India.

Topics in this episode

The wiki pages this conversation is filed under, the strongest first.

Open Source

Open source as public data and ML software, including stewardship, governance, licensing, contribution surfaces, ecosystems, and company distribution.

Data Engineering

Data engineering across pipelines, platforms, data quality, role boundaries, business enablement, and the shift toward AI-ready data systems.

Data Product Management

Data product management across artifacts, adoption, strategy, ownership models, roadmaps, and organizational product discipline.

MLOps

Reference page for MLOps as the operating discipline for production machine learning systems.

Machine Learning

Machine learning as applied modeling, evaluation, production design, monitoring, roles, and business tradeoffs.

Customer Data Platforms

Customer data platforms as bundled tools for collecting, segmenting, analyzing, and activating customer data.

Data Engineering Portfolio

Build portfolio projects that show useful pipelines, SQL and Python depth, modeling, orchestration, quality checks, and operating judgment.

Data Governance

How data governance connects inventory, ownership, catalogs, access controls, quality signals, metrics, contracts, privacy, and policy automation.

Data Products

How data products work as owned, discoverable, trustworthy data interfaces with users and guarantees.

Entity Resolution

Entity resolution connects matching, identity resolution, record linkage, and trusted data products across customer and public-data use cases.

Entrepreneurship

Data and AI entrepreneurship as a business-building path across startups, solopreneurship, freelance consulting, open-source products, and founder transitions.

Founder

How founders choose problems, validate demand, sell, hire, fund, bootstrap, and take responsibility for early product decisions.

Freelance Data Consulting

An operating playbook for data freelancers: client buying fit, pricing risk, scope control, delivery, agencies, and reusable assets.

Information Retrieval

Information retrieval as the design of retrieval units, indexes, candidate generation, prefilters, and the handoff to ranking or generation.

Knowledge Graph vs Vector Search

Compare explicit graph representations with vector similarity search for relationship retrieval, provenance, and embedding similarity.

Modern Data Stack

The modern data stack as an ELT-centered architecture for loading, modeling, serving, operating, and activating data.

Open Source Portfolio Evidence

How open-source issues, pull requests, documentation, demos, and community work become credible portfolio proof for data, ML, AI, and DevRel roles.

Search

Search as the product system that turns retrieval, ranking, answers, recommendations, constraints, and evaluation into a useful surface.

Services to Product Founder

How consultants and freelancers turn repeated data problems into reusable products, open-source tools, or startup paths.

Solopreneur

Solopreneurship as intentionally small data, AI, software, consulting, teaching, and product work.

Startups

Startup context for data and AI work: stages, constraints, pilots, team shape, product-market fit, MLOps choices, and open-source boundaries.

Related books

Fundamentals of Data Engineering

31 questions answered

Data engineering has grown rapidly in the past decade, leaving many software engineers, data scientists, and analysts looking for a comprehensive view of this practice. With this practical book, you'll learn how to plan and build systems to serve the needs of your organization and customers by evaluating the best technologies available through the framework of the data engineering lifecycle.

Joe Reis Matthew Housley

Optional analytics

Optional analytics are off unless you allow them. Your choice does not affect access to DataTalks.Club, Slack, events, or courses.

Current choice: not chosen.

Privacy Policy

If you allow analytics, self-hosted Umami counts anonymous public pageviews without analytics cookies. Private account and learning pages are excluded. Read the Privacy Policy for the complete data boundary.

Want to learn more about our community?

How it started, who's here, and everything that goes on here: courses, events, Slack, and more.

About DataTalks.Club