# Don’t be data poor — Anuj Iravane, Anterior <!-- ref: @content/youtube/aie/dont-be-data-poor-anuj-iravane-anterior tags: [synthetic data, healthcare AI, evaluation, policy decision trees, domain experts, data pipelines] version: 2 updated_at: 2026-11-24T05:08:59.070Z --> **[Watch on YouTube](https://www.youtube.com/watch?v=XAsb7MIAzm8)** # Don’t be data poor — Anuj Iravane, Anterior *Synthesized from Anuj Iravane's talk on AI Engineer, 2026-08-19.* Anuj Iravane, who leads AI at Anterior, a clinician-led AI company that builds agents for health plans, presents how the team generates synthetic medical records for evaluation. The transcript is machine-generated and some names are spelled loosely. ## Core Thesis Anuj Iravane argues that healthcare AI teams often need data they are not allowed to keep, because contracts can forbid derived copies of patient records. His answer is to generate synthetic records. The pipeline reverses the production task: it samples a label and a reasoning trace from a symbolic policy first, then builds the documents backward from them, so rare cases can be modeled before they appear in production. ## Key Insights - **The workload.** Anterior runs AI transformations for health plans, building agents for prior authorization and payment integrity, where a policy is applied to highly unstructured data such as scanned fax bundles. He estimates about 70% of medical communication still happens by fax. Records can run past 300 pages and include bad handwriting, tables, checkboxes and key-value pairs. - **Accuracy bar.** In healthcare, 95% is not good enough. A 95% score on 200 customer cases says nothing about rare edge cases outside that sample, which is why sampling scenarios from a symbolic representation matters. - **Why LLMs struggle to generate records.** Records are rare in pre-training data, and training objectives reward helpfulness rather than diversity, which produces mode collapse. One-shot generation of a 300-page record is unrealistic, the same way one-shot generation of a novel is. - **Reverse the forward task.** The forward task applies a policy to records and reaches a label. Anterior represents policies as decision trees (its example is a CPAP medical-necessity policy) and samples reasoning traces through them. That sampling gives a more uniform conditioning distribution than an LLM prior. - **Layered generation.** The pipeline first sets patient invariants such as sex, birth date and blood group, then produces a patient journey, an ordered list of events and provider encounters. Each encounter gets a document plan, and documents are generated in parallel from the plan and the preceding history. This keeps prompts short and lets patient journeys grow longer. - **Checks.** A refinement loop runs evals, including an LLM check for consistency across documents. A round-trip check runs the original task on the generated records and compares the result with the sampled label, so labels are correct by construction without ground-truthing. - **Results.** About 90% of Anterior's eval datasets are now synthetic. In a blind review, clinicians could tell synthetic from real records only about 60% of the time, which the speaker calls close but with room to improve. - **Domain experts own the pipeline.** Clinicians can steer generation at any step and use production cases as seeds. The whole pipeline is written as skill files on an internal agent harness, so adding a new document type, such as a new customer's intake form, takes a new skill file rather than an engineering change. - **Text only.** Generation and evaluation happen in markdown. PDF rendering was judged unnecessary because modern parsers convert complex PDFs to markdown. ## Actionable Takeaways 1. Reverse the inference workflow: sample labels and reasoning traces first, then generate the inputs that would produce them. 2. Draw diversity from a distribution suited to the domain, such as decision-tree paths from a symbolic policy, rather than from open-ended LLM prompting. 3. Generate records layer by layer (patient invariants, then event journey, then per-encounter documents) so prompts stay small and records can be long. 4. Add a round-trip check: run the original task on each generated record and compare the output with the label it was sampled from. 5. Let domain experts own pipeline logic through skill files so new document types do not need engineering changes. ## Notable Quotes > "95% is not good enough." — Anuj Iravane > "it's really important to give your domain experts the keys" — Anuj Iravane --- *Related: `@protocol/eval` · `@content/youtube/cole-medin/the-biggest-ai-coding-agent-upgrade-is-already-on-your-machine` · `@content/youtube/sequoia/how-companies-are-building-their-own-intelligence-sonya-huang-sequoia-capital` · `@content/youtube/langchain/managed-deep-agents-conceptual-video` · `@content/youtube/cole-medin/google-s-agents-cli-the-cli-skills-combination-to-ship-ai-agents-easily`* --- *You're reading a protocol on [protocol.supply](https://protocol.supply) — hosted, searchable knowledge for AI agents. Think Agent Skills, as an API: bootstrap once (`curl -sL https://api.protocol.supply/bootstrap`), search (`/search?q=…`), fetch (`/@repo/slug`).* *Any skill can become a protocol, and any protocol installs as a local skill — tell your agent "install this as a skill" or see [`@protocol/protocol-to-skill`](https://api.protocol.supply/@protocol/protocol-to-skill).*