---
title: "Project Lighthouse — Part 3: Introducing project-lighthouse-anonymize"
description: "Airbnb has open-sourced project-lighthouse-anonymize, the Python library behind Project Lighthouse's anonymization of perceived race data, alongside two new arXiv papers."
url: "https://swe.quest/articles/project-lighthouse-part-3-introducing-project-lighthouse-anonymize-df592a142a535f24"
canonical: "https://medium.com/airbnb-engineering/project-lighthouse-part-3-introducing-project-lighthouse-anonymize-74f8b26653fb"
source: "Airbnb Engineering"
published: "2026-08-25"
difficulty: "easy"
kind: "Announcement"
reading_minutes: 4
tags: ["privacy","python","open-source","algorithms"]
---

# Project Lighthouse — Part 3: Introducing project-lighthouse-anonymize

A post on [Airbnb Engineering](https://swe.quest/sources/airbnb.md), published 2026-08-25, 4 min read, Announcement. Original: [https://medium.com/airbnb-engineering/project-lighthouse-part-3-introducing-project-lighthouse-anonymize-74f8b26653fb](https://medium.com/airbnb-engineering/project-lighthouse-part-3-introducing-project-lighthouse-anonymize-74f8b26653fb)

## Summary

Airbnb has open-sourced project-lighthouse-anonymize, the Python library behind Project Lighthouse's anonymization of perceived race data, alongside two new arXiv papers. Core Mondrian extends the classic Mondrian k-anonymity algorithm with a Strategy Pattern architecture, a hybrid recursive-queue parallel execution model, NaN-pattern pre-partitioning and dynamic suppression budgets. The data quality paper defines three metrics (Pearson correlation, RILM and NMIv1) and validates their thresholds by framing quality assessment as a classification problem on synthetic data. The library exposes k\_anonymize, p\_sensitize and threshold checks, and the default thresholds are offered as starting points for similar systems.

Written by swe.quest, not by the author.

**Difficulty:** Easy: no special background needed; explains what something is and why it matters

## Topics

- [Privacy](https://swe.quest/tags/privacy.md) (Security)
- [Python](https://swe.quest/tags/python.md) (Languages)
- [Open source](https://swe.quest/tags/open-source.md) (Engineering practices)
- [Algorithms](https://swe.quest/tags/algorithms.md) (Architecture & design)

## Prerequisites

- k-anonymity
- Python data analysis ([easy posts on Python](https://swe.quest/tags/python.md?difficulty=easy))

## Keywords

project-lighthouse-anonymize, Project Lighthouse, Mondrian, Core Mondrian, k-anonymity, p-sensitive k-anonymity, Airbnb

## Related posts

- [De-identifying text at scale: How Airbnb protects personal data in AI training](https://swe.quest/articles/de-identifying-text-at-scale-how-airbnb-protects-personal-data-in-ai-training-8f0e89339f2f4724.md): Airbnb Engineering · 2026-11-17 · Medium · 13 min read · Privacy, Machine learning, ML platforms, Python
  Airbnb de-identifies messages, reviews and support chats before ML training using Presidio, an open-source PII framework, shipped as an in-process Python library and a shared pipeline step whose de-identified dataset tag gates model deployment.
- [Privacy-Aware Infrastructure in the AI-Native Era: An Asset Classification Case Study](https://swe.quest/articles/privacy-aware-infrastructure-in-the-ai-native-era-an-asset-classification-case-a3a231481ce72736.md): Meta Engineering · 2026-06-25 · Medium · 23 min read · Privacy, LLMs, System design, Evaluation, Data pipelines
  Meta classifies data assets for privacy enforcement with a hybrid pipeline: it builds structured evidence briefs from code resolution, lineage, ownership and annotations, uses LLMs only for novel or ambiguous assets, and distills stable patterns into versioned, human-reviewed deterministic rules.
- [How to Handle PII in Staging Databases Without Losing Realistic Data](https://swe.quest/articles/how-to-handle-pii-in-staging-databases-without-losing-realistic-data-41c0818c53e7c05e.md): Neon · 2025-11-17 · Medium · 11 min read · Privacy, PostgreSQL, Testing, Databases
  Four common ways to get realistic but PII-safe staging data are compared, with code for each: manual CSV export plus Python anonymization scripts, Faker-based masking libraries with deterministic seeding to preserve referential integrity, fully synthetic data generators, and replication into staging with SQL masking views or the PostgreSQL Anonymizer extension (declarative security labels, dynamic masking, anonymized dumps, k-anonymity checks).
- [Create Environments with Masked Production Data Using Neon Branches](https://swe.quest/articles/create-environments-with-masked-production-data-using-neon-branches-29a6a3b3a1320ce4.md): Neon · 2025-05-15 · Medium · 7 min read · PostgreSQL, Privacy, Testing, CI/CD
  Neon combines copy-on-write database branches with the PostgreSQL Anonymizer (anon) extension to create production-like non-prod environments without exposing PII.
- [Five Methods For Database Obfuscation](https://swe.quest/articles/five-methods-for-database-obfuscation-477824be1d934bc1.md): ClickHouse · 2023-02-16 · Hard · 23 min read · Analytics & OLAP, Privacy, Performance engineering, Testing, Algorithms
  ClickHouse needed publishable benchmark data that kept the properties driving analytical query performance in its private web analytics dataset: compression ratio, per-column and cross-column cardinality, and value distributions such as power laws.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
