---
title: "Privacy-Aware Infrastructure in the AI-Native Era: An Asset Classification Case Study"
description: "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."
url: "https://swe.quest/articles/privacy-aware-infrastructure-in-the-ai-native-era-an-asset-classification-case-a3a231481ce72736"
canonical: "https://engineering.fb.com/2026/06/25/security/privacy-aware-infrastructure-in-the-ai-native-era-an-asset-classification-case-study/"
source: "Meta Engineering"
published: "2026-06-25"
difficulty: "medium"
kind: "Case study"
reading_minutes: 23
tags: ["privacy","llms","system-design","evals","data-pipelines"]
---

# Privacy-Aware Infrastructure in the AI-Native Era: An Asset Classification Case Study

A post on [Meta Engineering](https://swe.quest/sources/meta.md), published 2026-06-25, 23 min read, Case study. Original: [https://engineering.fb.com/2026/06/25/security/privacy-aware-infrastructure-in-the-ai-native-era-an-asset-classification-case-study/](https://engineering.fb.com/2026/06/25/security/privacy-aware-infrastructure-in-the-ai-native-era-an-asset-classification-case-study/)

## Summary

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. About 85% of requests resolve on the deterministic path in single-digit milliseconds. The ~15% LLM fallback takes seconds and costs roughly 400x the compute. Key lessons are that context matters more than prompt tuning, that circular label fields must be masked from both the LLM and rule distillation, and that evaluation must stay independent of optimization, using frozen human-reviewed reference sets and calibrated confidence scores.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Privacy](https://swe.quest/tags/privacy.md) (Security)
- [LLMs](https://swe.quest/tags/llms.md) (AI & ML)
- [System design](https://swe.quest/tags/system-design.md) (Architecture & design)
- [Evaluation](https://swe.quest/tags/evals.md) (AI & ML)
- [Data pipelines](https://swe.quest/tags/data-pipelines.md) (Data & databases)

## Prerequisites

- LLM classification basics ([easy posts on LLMs](https://swe.quest/tags/llms.md?difficulty=easy))
- data lineage
- privacy policy enforcement ([easy posts on Privacy](https://swe.quest/tags/privacy.md?difficulty=easy))

## Keywords

Meta, privacy-aware infrastructure, asset classification, evidence brief, rule distillation

## Related posts

- [How Meta understands data at scale](https://swe.quest/articles/how-meta-understands-data-at-scale-ab2f3889e09c8113.md): Meta Engineering · 2025-04-28 · Medium · 19 min read · Privacy, Data pipelines, Machine learning, System design
  Meta's Privacy Aware Infrastructure builds data understanding by schematizing every data asset in a canonical Thrift-based format (DataSchema, covering over 100 million schemas across 100+ systems) and annotating fields with a universal privacy taxonomy of semantic types.
- [Scaling Privacy Infrastructure for GenAI Product Innovation](https://swe.quest/articles/scaling-privacy-infrastructure-for-genai-product-innovation-98d3311fada3a633.md): Meta Engineering · 2025-10-23 · Easy · 9 min read · Privacy, Data pipelines, LLMs, Observability
  Meta scales its Privacy Aware Infrastructure (PAI) to cover GenAI products such as its AI glasses, using cross-stack data lineage as the foundation for automated privacy enforcement.
- [How Meta enforces purpose limitation via Privacy Aware Infrastructure at scale](https://swe.quest/articles/how-meta-enforces-purpose-limitation-via-privacy-aware-infrastructure-at-scale-4130d5b9e1cba60a.md): Meta Engineering · 2024-08-27 · Medium · 14 min read · Privacy, Security, Data pipelines
  Meta enforces purpose limitation (data used only for allowed purposes) with Policy Zones, an information flow control system built into HHVM, Presto, Spark and other infrastructure.
- [How We Built Slack AI To Be Secure and Private](https://swe.quest/articles/how-we-built-slack-ai-to-be-secure-and-private-8e548d6f05ad3aa4.md): Slack Engineering · 2024-04-18 · Easy · 7 min read · Privacy, LLMs, RAG & retrieval, Security, System design
  Slack AI was designed around four principles: customer data never leaves Slack's trust boundary, no LLM training on customer data, the AI only sees what the requesting user can see, and all existing compliance controls still apply.
- [Leveraging AI for efficient incident response](https://swe.quest/articles/leveraging-ai-for-efficient-incident-response-c0ed9d554ec34552.md): Meta Engineering · 2024-06-24 · Medium · 5 min read · Incidents & postmortems, LLMs, Model training, Debugging
  Meta's AI-assisted root cause analysis system narrows suspect code changes in its web monorepo by combining a heuristic retriever with a fine-tuned Llama 2 (7B) ranker.

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)
