Goodfire and Rakuten use SAE probes to detect PII in production
Deploying Interpretability to Production with Rakuten: SAE Probes for PII Detection - Goodfire
Goodfire, in collaboration with Rakuten, applied sparse autoencoder (SAE) probes to PII detection in Rakuten AI agents, marking the first known enterprise application of SAEs for language model guardrails. The method trains an SAE on a Llama 3.1 8B side model, then trains a classifier on its feature activations to classify PII categories such as names, addresses, phone numbers, and emails token by token. Because real PII is sensitive, all training data is synthetic; SAE probes outperform ordinary activation probes and attention probes on distribution shift from synthetic to real production data, and also perform better in non-English and label noise scenarios. In terms of cost, the probe is 10 to 500 times cheaper than common LLM-as-judge approaches with comparable performance; using the same model as a white-box probe improves F1 from 51% for black-box judges to 96%.
The Goodfire and Rakuten deployment case provides comparative data on SAE probe transfer from synthetic to real data, which can be transferred to enterprise guardrail scenarios.