# Don’t be data poor — Anuj Iravane, Anterior

## Executive summary

The talk addresses the critical problem of 'data poverty' in highly regulated domains like healthcare, where the most valuable data (Patient Health Information or PHI) is ephemeral and legally prohibited from being retained, anonymized, or derived for dataset creation. The core solution presented is synthetic data generation. This process involves reversing the standard inference workflow—starting by sampling a desired label and reasoning trace, and then generating the necessary unstructured medical record that would have produced it. The resulting pipeline uses an LLM-based, coarse-to-fine approach, ensuring high fidelity while maintaining domain expert control.

## Key takeaways

- Reverse Inference for Data Generation: Instead of running the forward task (Unstructured Data + Policy $\rightarrow$ Label), the method reverses this by sampling a label and a reasoning trace first, then generating the input data that supports it. This circumvents the diversity problem inherent in standard LLM generation.
- Domain Expert Ownership (Human-in-the-Loop): To ensure generated data is useful, domain experts (clinicians) must own the pipeline. This is achieved by enabling them to interject at any point in generation and modeling the entire workflow as a skills-based system running on an agent harness.
- Synthetic Data Fidelity: The generated data can be highly accurate, with early results showing that in a blind review, clinicians were only able to distinguish synthetic from real records about 60% of the time.

## Technical details

- Policy Modeling: Policies are modeled explicitly as symbolic decision trees (e.g., for a CPAP device medical necessity review). This allows the system to deterministically sample diverse reasoning traces, providing a more uniform and effective prior distribution than standard LLM sampling.
- Synthetic Pipeline Architecture: The pipeline uses an LLM-based coarse-to-fine pattern: 1) Generate patient invariants (e.g., sex, birth date). 2) Produce a high-level 'patient journey' (list of events/encounters). 3) Fan out to generate specific documents for each encounter, hydrating them with synthetic information. 4) Include a refinement loop that checks for consistency and contradictions across independently generated documents.
- Data Handling & Constraints: The data is highly unstructured (scanned fax bundles, handwriting, tables, images) and classified as PHI. Contracts prohibit retaining, reusing, or deriving information from this source, necessitating synthetic generation.

## Practical implications

- Allows organizations to model and test rare edge cases (outside the production data distribution) before going live, mitigating risk associated with limited real-world data.
- Reduces dependency on waiting for customer data by enabling rapid synthetic dataset creation from scratch.
- The skills-based workflow approach allows domain experts to add support for new document types or logic without requiring engineering changes.

## Topics

Synthetic Data Generation, LLMs (Large Language Models), Health Informatics, Policy Modeling, Agentic Workflows, PHI Compliance, Anuj Iravane, Anterior

Source: https://www.youtube.com/watch?v=XAsb7MIAzm8
