Synthetic data and trajectory factories

Data and evaluation guide — last reviewed: 2026-07-25.

Learning objectives

  • generate synthetic tasks and agent trajectories with traceable lineage;
  • filter contamination, impossible scenarios, and teacher-model error;
  • use synthetic data without replacing real outcome evidence.

The decision in one sentence

Use synthetic trajectories to expand controlled coverage; anchor their generation, filtering, and value claims to real tasks and held-out human evidence.

Factory architecture

An agent trajectory includes observations, context, reasoning-relevant state, tool intents/results, approvals, artifacts, terminal outcome, and rewards or labels. It may train a model, evaluate a harness, or exercise an environment. More volume is useful only if scenario validity and label quality survive.

flowchart TB accTitle: Governed synthetic trajectory factory accDescr: Real task taxonomy and risk analysis seed generators and simulators; validators and humans filter trajectories before versioned datasets enter training or evaluation and are measured on held-out real outcomes. A["Real task taxonomy, failures and risk model"] --> B["Scenario and persona generator"] B --> C["Environment or API simulator"] C --> D["Teacher or candidate agent rollout"] D --> E["Deterministic validators and deduplication"] E --> F["Model critics and sampled human review"] F --> G{"Validity and quality gates pass?"} G -- "No" --> H["Reject, diagnose and adjust generator"] G -- "Yes" --> I["Versioned trajectory dataset with lineage"] I --> J["Train, evaluate or red-team"] J --> K["Held-out real-world outcome evaluation"] K --> A
Stage Main risk Control
Seed narrow coverage taxonomy from real workflows and incidents
Generate unrealistic or biased scenarios constraints and distribution targets
Simulate impossible tool behavior contract/state-machine validation
Rollout teacher error propagation multiple sources and executable oracles
Filter judge bias deterministic checks plus human sampling
Publish contamination and leakage hashes, splits, lineage, deduplication
Use synthetic gain fails in reality held-out real outcome gate

Design the data product

Define intended use separately for training, regression, safety, load, and rare-event exercises. Preserve generator, model, prompt, tool/environment versions, random seed, source taxonomy, filters, scores, reviewer decisions, license, and dataset hash. Never place private production data into an external generator without authorization.

Generate counterfactuals around decision boundaries, degraded dependencies, prompt injection, multilingual inputs, ambiguous goals, and recovery—not only ideal success paths. Include failed and repaired trajectories; filtering every failure teaches neither detection nor recovery.

Detect duplicates and benchmark leakage. Hold out scenario families, not merely random rows, so templates cannot inflate results. Estimate real/synthetic distribution distance across task, language, tool, length, risk, and outcome. Sample human review by uncertainty and harm, and measure reviewer agreement.

Apple’s environment-free API-agent research illustrates teacher rollouts against simulated API responses; synthetic self-reflected trajectories are also an active research area. These methods are evidence inputs, not proof of production safety.

Northstar example

Northstar seeds the factory with adjudicated case archetypes and real incident classes, then generates privacy-safe variants. A state-machine simulator enforces valid case APIs. Calculation code provides an oracle. Reviewers examine all high-risk and a stratified sample of routine trajectories. Training promotion still depends on a sequestered real-case set and a limited live pilot.

Practical artifact: trajectory dataset card

Record purpose, prohibited use, sources, generation graph, distributions, environment fidelity, labels/oracles, filtering, human review, privacy, licenses, contamination checks, splits, known gaps, real-world validation, owner, version, and expiry.

Connect factory releases to agent post-training and regression gates.

Check yourself

  1. A synthetic dataset has 100,000 trajectories and every one succeeds. Why is that a warning sign?
  2. Why hold out scenario families rather than random rows?
  3. Synthetic evaluation improves by twelve points but production outcomes do not move. What does the factory design tell you to check?
  4. What must lineage record so a bad generator or a takedown can be traced?
What a strong answer covers
  1. Filtering out every failure teaches neither detection nor recovery. Include failed and repaired trajectories and counterfactuals around decision boundaries, degraded dependencies, injection, multilingual input, and ambiguous goals.
  2. Templated generation puts near-duplicates on both sides of a random split and inflates results. Hold out families, deduplicate, check benchmark leakage, and estimate real-versus-synthetic distribution distance across task, language, tool, length, risk, and outcome.
  3. The 'synthetic gain fails in reality' risk: require a sequestered real-case set and a limited live pilot as the promotion gate, and check environment fidelity, teacher-model error propagation, and judge bias.
  4. Generator, model, prompt, tool and environment versions, seed, source taxonomy, filters, scores, reviewer decisions, license, and dataset hash. Private production data must not enter an external generator without authorization.

Further reading

results matching ""

    No results matching ""