Zillow builds a Fair Housing Guardrails system for LLM-powered real estate conversations
Out-of-the-box LLMs applied to real estate conversations could violate Fair Housing Act requirements by steering users based on legally protected characteristics, creating legal risk and inequitable service at scale.
Prompt-based compliance instruction produced high recall but non-deterministic, low-precision behavior that over-flagged permissible queries. Stop-list matching lacked contextual awareness, misclassifying location names and accessibility-related queries as non-compliant.
Zillow designed and deployed internally a combined Fair Housing Guardrails system uniting prompt engineering, a stop list, and a fine-tuned BERT sequence classifier to detect FHA violations both pre- and post-LLM processing, with iterative improvement via human review and feedback.
Frequently asked questions
What did this team achieve with this AI workflow?
Zillow designed and deployed internally a combined Fair Housing Guardrails system uniting prompt engineering, a stop list, and a fine-tuned BERT sequence classifier to detect FHA violations both pre- and post-LLM proc…
What tools did this team use?
BERT, LLM.
What results were reported?
Recall level at maximum precision lift: 0.6; Prompt-based approach precision quality: sub-optimal precision, inadvertently withholding permissible information (source-reported, not independently verified).
What failed first in this deployment?
Prompt-based compliance instruction produced high recall but non-deterministic, low-precision behavior that over-flagged permissible queries.
How is this compliance monitoring AI workflow structured?
User submits real estate query → Stop list syntactic check → BERT classifier detects FHA violations → Post-processing guardrail review → Flagged content routed to predefined message → Human review and iterative improvement.