What is 'blocking' in entity resolution, and why is it needed when matching records at scale?

Quick Overview

Explain what blocking is in entity resolution and why record matching at scale cannot compare every pair. Tests the quadratic cost of pairwise matching, choosing blocking keys, the trade-off between missed matches and block size, and how blocking quality is measured.

What is 'blocking' in entity resolution, and why is it needed when matching records at scale?

Role: Data Scientist

Category: Data Manipulation (SQL/Python)

Difficulty: medium

Interview Round: Other

What is "blocking" in entity resolution, and why is it needed when matching records at scale? ```hint Count the pairs Work out how many comparisons a full pairwise match of one million records needs. ``` ```hint What can the matcher never see? Think about what happens to a true match whose two records end up in different groups. ``` ### What a Strong Answer Covers - Why comparing all pairs of records does not scale, with a rough count - How a blocking key produces candidate pairs, and where the expensive comparison runs - The trade-off between missed matches and comparison cost, and how blocking quality is measured - Ways to recover matches a single key misses and to handle oversized blocks - Where blocking sits in the full entity resolution pipeline ### Follow-up Questions - How would you measure whether your blocking scheme is losing true matches? - One block holds 40% of the records because the key field is often missing. What do you do? - How would you block records whose main identifying field is free text, such as product titles? - How does sorted neighborhood blocking differ from standard key blocking, and when is it the better choice?

Overview: Explain what blocking is in entity resolution and why record matching at scale cannot compare every pair. Tests the quadratic cost of pairwise matching, choosing blocking keys, the trade-off between missed matches and block size, and how blocking quality is measured.

Nov 25, 2026
mediumData ScientistOtherData Manipulation (SQL/Python)
0
0

What is "blocking" in entity resolution, and why is it needed when matching records at scale?

What a Strong Answer Covers Guidance

  • Why comparing all pairs of records does not scale, with a rough count
  • How a blocking key produces candidate pairs, and where the expensive comparison runs
  • The trade-off between missed matches and comparison cost, and how blocking quality is measured
  • Ways to recover matches a single key misses and to handle oversized blocks
  • Where blocking sits in the full entity resolution pipeline

Follow-up Questions Guidance

  • How would you measure whether your blocking scheme is losing true matches?
  • One block holds 40% of the records because the key field is often missing. What do you do?
  • How would you block records whose main identifying field is free text, such as product titles?
  • How does sorted neighborhood blocking differ from standard key blocking, and when is it the better choice?