New opportunity

Research Engineer, Privacy and Anonymization

HUD · San Francisco, United States

About this role

HUD is hiring a full-time Research Engineer, Privacy and Anonymization to build systems that detect and remove personally identifiable information (PII), secrets, and sensitive data from real-world datasets prior to AI training and synthetic data generation. You will own the end-to-end privacy pipeline to protect sensitive information while preserving data structure and signal for training AI agents.

Responsibilities

  • Build systems to detect PII, quasi-identifiers, credentials, and sensitive information, designing transformations tailored to data types and downstream use cases
  • Develop and benchmark detection approaches combining rules, statistical models, classifiers, and LLM-based methods
  • Build production pipelines to anonymize raw data before downstream processing, training, evaluation, or synthetic data generation workflows
  • Create evaluation frameworks measuring privacy risk and retained data utility using recall-weighted metrics, leakage tests, and adversarial re-identification attempts
  • Design resilient systems that handle new data sources, schema drift, unusual formats, and sensitive data embedded in unexpected fields
  • Collaborate with engineering, research, operations, and customers to translate privacy requirements into practical technical policies and safeguards

Required qualifications

  • Strong proficiency in Python and experience building reliable production data or machine learning systems
  • Experience with information extraction, named-entity recognition, classification, or related methods for detecting rare or sensitive content
  • Strong experimental instincts to compare approaches across recall, precision, latency, cost, and downstream data utility
  • Understanding of redaction, masking, pseudonymization, anonymization, and synthetic data, including when each applies
  • High attention to detail with the ability to reason about subtle leakage paths, edge cases, and adversarial failure modes
  • Experience building end-to-end data processing pipelines without a fully prescribed roadmap
  • 3+ years of experience listed in role metadata, though HUD notes it prioritizes technical aptitude and learning potential over years of experience

Preferred qualifications

  • Hands-on experience with privacy-enhancing technologies such as differential privacy, k-anonymity, secure aggregation, or format-preserving encryption
  • Experience working with sensitive data in healthcare, finance, or security domains
  • Experience building low-latency or high-throughput ML inference and data-processing systems
  • Background working in unstructured problem spaces from early research through production deployment
  • Early-stage startup experience and strong cross-timezone communication skills

Benefits

  • 100% covered medical, dental, and vision insurance for US and Singapore employees
  • 401(k) with a 4% match
  • Lunch and dinner provided for in-office employees
  • Company-wide holiday break from Christmas Eve to New Year's Day in addition to PTO and paid holidays
  • Equinox membership and commuter benefits for US employees, or a health/wellness stipend for Singapore employees
  • Unlimited access to AI coding and chat tools including ChatGPT, Claude Code, and Cursor
  • Annual travel budget to visit the San Francisco or Singapore offices

Offices are located in San Francisco and Singapore, with remote options available for candidates who can maintain a 70-80% working-hour overlap with either time zone. Relocation and visa sponsorship are offered for strong full-time candidates to the US or Singapore (listing also notes US citizen/visa only in summary metadata). Base salary bands are $135,000 - $230,000 in San Francisco and major US cities, and $100,000 - $175,000 in Singapore and the rest of the world.

For full details about this role, click “Apply on company site” to view the employer’s original posting.

Skills for this role

PythonInformation ExtractionNamed-Entity RecognitionClassificationLarge Language Models (LLMs)Data AnonymizationPseudonymizationSynthetic DataDifferential Privacyk-AnonymityFormat-Preserving EncryptionData PipelinesMachine Learning InferencePrivacy EvaluationAdversarial Testing

Your skill match

Checking your profile…

YOUR NEXT STEP

Get interview-ready for this role

A focused preparation guide, built around this job’s responsibilities and requirements.

✦ AI-generated guide
Preparation suggestions, not the employer’s actual interview questions. Always check the original posting for current requirements.
01

Understand the role

What matters most

  • Multi-Layer Sensitive Data Detection

    Source evidence: Responsibilities require building systems to detect PII, quasi-identifiers, credentials, and sensitive information by combining rules, statistical models, classifiers, and LLM-based methods. Preparation: Practice designing hybrid detection cascades that pair fast deterministic patterns with NER/classifiers and targeted LLM verification, justifying where each layer adds recall without excessive latency or cost.

  • Privacy Transformations That Preserve Agent-Training Signal

    Source evidence: The role owns the full pipeline for protecting privacy without destroying data structure and signal for AI agent training, requiring judgment across redaction, masking, pseudonymization, anonymization, and synthetic data. Preparation: Be ready to map specific data types and downstream tasks (training, evaluation, synthetic generation) to appropriate transformation strategies and explain how structural consistency is maintained.

  • Rigorous Privacy Risk and Utility Benchmarking

    Source evidence: Responsibilities include creating evaluation frameworks using recall-weighted metrics, leakage tests, and adversarial re-identification attempts, while comparing approaches across recall, precision, latency, cost, and downstream utility. Preparation: Prepare a concrete methodology for quantifying residual leakage and measuring whether anonymized outputs still support downstream model performance.

  • End-to-End Production Resilience Across Messy Schemas

    Source evidence: The engineer must build production pipelines from scratch without a prescribed roadmap that remain robust to new data sources, schema drift, unusual formats, and sensitive data in unexpected fields. Preparation: Review defensive data engineering patterns such as schema-agnostic scanning, fallback handling, and modular pipeline validation in Python.

Likely challenges to think through

  • Balancing Zero-Leakage Recall Against Downstream Data Utility

    Reasoned hypothesis: Aggressive redaction or masking reduces re-identification risk but can strip structural context, relational links, or behavioral signals needed to train AI agents. Preparation: Practice framing privacy-utility Pareto frontiers and defending context-preserving techniques (such as consistent pseudonymization or format-preserving transformations) over blanket deletion.

  • Managing Latency and Cost in Hybrid LLM Detection Pipelines

    Reasoned hypothesis: Combining rules, classifiers, and LLM-based detectors across large volumes of raw data creates a sharp tension between catching subtle contextual secrets and keeping throughput high and inference costs manageable. Preparation: Prepare an architecture that routes easy cases to lightweight rules/NER models and reserves expensive LLM calls for ambiguous spans, backed by clear batching and latency benchmarks.

  • Catching Indirect Leakage and Quasi-Identifiers Under Schema Drift

    Reasoned hypothesis: Real-world customer datasets frequently change structure or embed credentials and quasi-identifiers inside free-text or unexpected fields where standard NER patterns fail. Preparation: Rehearse adversarial failure-mode analysis, including indirect re-identification across joined fields and automated canary/leakage tests when onboarding unfamiliar schemas.

  • Translating Ambiguous Customer Policies Into Concrete Guarantees

    Reasoned hypothesis: Because HUD serves startups, Fortune 500s, and frontier labs with a ~25-person team across San Francisco and Singapore, privacy requirements will likely arrive as high-level compliance or customer expectations rather than fixed specs. Preparation: Practice turning vague privacy goals into explicit, testable technical specifications and communicating trade-offs clearly across asynchronous time zones.

03

Practice your answers

Technical practice

How would you architect a multi-stage PII and secret detection pipeline combining rules, statistical models, classifiers, and LLMs?

What to coverAddress cascading latency and cost trade-offs by running fast deterministic regexes, entropy checks, and lightweight NER classifiers before invoking expensive LLMs on ambiguous context. Discuss routing logic, confidence thresholds, and how to deduplicate overlapping entity spans across detectors.

How do you choose between redaction, masking, pseudonymization, anonymization, and synthetic data for downstream AI agent training?

What to coverCompare each transformation's impact on referential integrity, structural syntax, and semantic signal needed for training AI agents. Explain when deterministic pseudonymization or format-preserving encryption is preferred over destructive redaction, and how synthetic data generation mitigates residual linkage risks.

How would you design an evaluation framework that balances recall-weighted privacy metrics against retained downstream data utility?

What to coverDiscuss using F-beta scores (such as F2) to heavily penalize false negatives on rare credentials or PII, alongside task-specific utility benchmarks on anonymized versus raw data. Explain how to construct realistic canary datasets and automated leakage tests.

How do you detect and mitigate indirect leakage through quasi-identifiers and adversarial re-identification attacks?

What to coverExplain how combinations of non-unique attributes can uniquely identify individuals or organizations even after direct PII removal. Discuss applying k-anonymity, generalization, or differential privacy concepts, and describe how you would simulate linkage or inference attacks to stress-test outputs.

How would you keep an anonymization pipeline resilient to schema drift, unusual formats, and sensitive data embedded in unexpected fields?

What to coverCover automated schema inference, recursive inspection of nested JSON/logs, and content-based detection that does not rely solely on column or key names. Discuss anomaly monitoring for sudden drops in entity detection rates and quarantine workflows for unrecognized payloads.

What trade-offs arise when applying privacy-enhancing technologies like differential privacy, k-anonymity, or format-preserving encryption to unstructured text and code?

What to coverAnalyze where formal guarantees like differential privacy or k-anonymity break down on high-dimensional unstructured text or agent trajectories compared to tabular data. Explain how format-preserving encryption maintains valid syntax (such as API keys, emails, or IDs) while managing key security and deterministic linkability risks.

How would you optimize high-throughput Python data processing and ML inference pipelines for large-scale raw datasets?

What to coverAddress batching strategies, asynchronous I/O, multiprocessing versus GIL constraints, and model quantization or distillation for NER/classifier stages. Discuss idempotency, checkpointing, and ensuring zero unredacted raw data persists in intermediate logs or caches.

How would you systematically troubleshoot subtle leakage paths and edge cases when a detector misses obfuscated or domain-specific secrets?

What to coverWalk through diagnosing false negatives caused by encoding variants (Base64, URL encoding), multi-line tokens, typos, or domain-specific identifiers in finance or healthcare. Suggest feedback loops that convert red-team findings and customer edge cases into regression test suites without storing sensitive raw examples.

Behavioural practice

Tell me about a time you built an end-to-end data or ML pipeline without a fully prescribed roadmap.

What to coverUse Situation, Task, Action, and Result to show how you scoped ambiguous requirements, defined success metrics, and iterated from early prototype to reliable production deployment.

Describe a situation where you uncovered a subtle edge case, data leakage path, or failure mode that others overlooked.

What to coverFocus on the specific investigative steps you took to spot the anomaly, how you quantified its impact, and the systemic safeguards you put in place to prevent recurrence.

Tell me about a time you had to balance competing engineering constraints such as accuracy, latency, and cost.

What to coverExplain the experimental framework you used to benchmark alternatives, the trade-off decision you recommended, and the measurable outcome in production.

Describe a time you collaborated across engineering, research, operations, or external stakeholders to translate policy or compliance needs into technical safeguards.

What to coverHighlight how you navigated differing priorities, communicated technical constraints clearly across teams or time zones, and delivered a practical implementation.

02

Sharpen your knowledge

Topics to prepare

  • Redaction, Masking, Pseudonymization, Anonymization, and Synthetic Data

    Explicit requirement: HUD requires understanding the differences among these five techniques and when each is appropriate for preserving data structure and agent-training signal. Exercise: Build a decision matrix mapping raw data types (logs, chat transcripts, tabular records) and downstream goals (model training, evaluation, synthetic generation) to each technique, noting where relational links or formatting must survive.

  • Quasi-Identifiers, Subtle Leakage Paths, and Adversarial Re-Identification

    Explicit requirement: The role involves detecting quasi-identifiers alongside direct PII/credentials and reasoning about subtle leakage paths and adversarial failure modes. Exercise: Take a sample multi-table dataset with direct identifiers removed and design an adversarial linkage attack using combinations of timestamps, rare attributes, and free-text context to identify residual re-identification risks.

  • Multi-Metric Privacy-Utility Trade-Offs and Recall-Weighted Evaluation

    Explicit requirement: Candidates must compare detection and transformation approaches across recall, precision, latency, cost, and downstream data utility using recall-weighted metrics and leakage tests. Exercise: Define an evaluation protocol using F-beta (with beta greater than 1) for sensitive-entity recall alongside a downstream agent-task benchmark to plot privacy-utility trade-offs.

  • Privacy-Enhancing Technologies (Differential Privacy, k-Anonymity, Format-Preserving Encryption)

    Preferred qualification: HUD lists hands-on experience with differential privacy, k-anonymity, secure aggregation, and format-preserving encryption (FPE) as a strong plus. Exercise: Review the formal definitions and failure modes of k-anonymity (homogeneity and background-knowledge attacks) versus differential privacy budgets, and trace how FPE preserves schema validity for identifiers.

Skills to revise

  • Hybrid PII and Secret Detection Benchmarking in Python

    Explicit requirement: Strong Python proficiency and building detection approaches combining rules, statistical models, classifiers, and LLM-based methods for information extraction and NER. Exercise: Implement a tiered Python detector on mixed unstructured text containing API keys, names, and domain-specific quasi-identifiers, benchmarking latency, token cost, precision, and recall across rule-only, NER/classifier, and LLM-assisted stages.

  • Schema-Resilient End-to-End Anonymization Pipelines

    Explicit requirement: Building reliable production data pipelines in Python that stay resilient to new data sources, schema drift, unusual formats, and sensitive data in unexpected fields. Exercise: Build a modular Python transformation pipeline that recursively traverses nested JSON/tabular records with shifting schemas, applies type-aware transformations, and runs automated post-processing canary/leakage checks.

  • High-Throughput ML Inference and Batching Optimization

    Preferred qualification (suggested practice): HUD highlights building low-latency or high-throughput ML inference and data-processing systems as a strong-candidate trait. Exercise: Profile a classifier/LLM redaction step on a 10,000-record batch in Python, testing batching, caching, and confidence-based routing to reduce per-record latency without dropping sensitive-token recall.

04

Your preparation checklist

  • Prepare a walkthrough of an end-to-end data or ML pipeline built without a fixed roadmap

    Document one production Python pipeline you owned from early research to deployment, highlighting architectural trade-offs, throughput or latency optimizations, and how you handled ambiguous requirements.

  • Build a comparison matrix of privacy transformations and privacy-enhancing technologies

    Write a concise reference sheet contrasting redaction, masking, pseudonymization, anonymization, synthetic data, differential privacy, k-anonymity, and format-preserving encryption, including when each preserves utility for AI agent training versus when it fails.

  • Draft an architecture design for a hybrid PII, credential, and quasi-identifier detection system

    Diagram a multi-stage pipeline combining rules, statistical checks, NER or classification models, and LLMs, explicitly mapping out routing thresholds, latency budgets, and resilience to schema drift or unexpected fields.

  • Design a privacy-risk and data-utility evaluation harness

    Outline a benchmark suite pairing recall-weighted metrics, canary leakage tests, and adversarial re-identification attacks with downstream AI training utility metrics so you can explain how you measure residual risk.

  • Compile concrete evidence of debugging subtle leakage paths and edge cases

    Select two or three real examples where you caught rare entity misses, encoding tricks, or indirect linkage risks in sensitive domains (such as healthcare, finance, or security) and turned them into automated safeguards.

  • Plan your schedule and environment for HUD's two technical interviews and 2-3 day work trial

    Note the stated process (2 technical interviews plus a 2-3 day work trial) and prepare a clean local Python workspace for rapid prototyping, benchmarking, and clear written documentation across San Francisco or Singapore time zones.

  • Formulate targeted questions for HUD's engineering, research, and operations stakeholders

    Prepare 4-5 questions covering the modalities of raw agent data HUD processes, acceptable privacy-utility thresholds for frontier lab customers, and how technical privacy policies are aligned across SF and Singapore teams.

AI-generated from the job information · Prepared Nov 17, 2026 (UTC)Useful preparation, not a guarantee of eligibility or an offer.

Availability has not yet been verified. Status can change after a check; confirm on the employer’s website. Report an issue · Our checking policy

KEEP EXPLORING

Similar AI jobs

Related skills and specializations in United States. Matched to this role, not your profile.

Explore more jobs
Finding similar opportunities…