- observable fields available before the result
- observable numeric, categorical, boolean, or set target
Configuration
For point-transition discovery, start with"autonomous_projection": {"enabled": true}, which uses built-in server defaults (minimum_observations: 2, minimum_availability: 0.8, discover_causal_bindings: true, minimum_causal_variables: 2). When pairing Transition Discovery with joint learning.transition.futures over wider schemas, set maximum_input_paths: 8 and maximum_buffered_events: 128 as shown in Pair with probabilistic futures.
Projection fields
Override the server defaults only when your stream requires tighter bounds:learning.transition.targets remains required. If input_paths is empty, autonomous projection must be enabled. A non-empty input_paths list remains authoritative.
Ingest events
learner_eligibility on every write. Early events before Discovery commits return HTTP 201 with learner_eligibility.accepted: false and rejection_reason: "projection_accumulating". Treat that as normal buffering until autonomous_projection.status reaches "ready", when buffered rows admit together with sample_count_delta > 1.
Send complete, finite
values on every write. When resolving linked probabilistic forecasts, attach decision_id and future_id in event metadata only for queries that returned status: "predicted". See Request contracts for timestamp and serialization details.
Inspect state
Inspect Domain-level transition and discovery state viaPOST /domains/{domain_id}/explain or by requesting learning_state on POST /domains/{domain_id}/query:
state_identity.counters.transition_samples and learning_state.subsystems.structured_transition.futures.pending_forecasts.
Useful fields:
Readiness and continued learning
Inspect these stages separately:
Record supported-query coverage and outcome quality separately. Evaluate online operation by recording each prediction before submitting its outcome. For frozen evaluation, stop learner writes and verify state identity through scoring. Learning schedules describes both protocols.
With bounded retention, an accepted update can leave the retained sample count unchanged. In the recorded run below, the buffer reaches 512 events; later updates report
accepted: true and increasing model_version while sample_count_delta remains zero. Inspect admission and learner versions together. Record total observations and retained samples separately.
Automatic discovery can remain enabled during continued learning. Optionally, you can pre-seed resolved observations via POST /domains/{domain_id}/batch (up to 50 operations per call; note /batch does not resolve open future_id forecasts) to transition autonomous_projection directly to status: "ready" before live queries begin. On a fixed schema with stable field availability, the formed projection stays steady while the predictive learner continues updating online; when eligible paths or availability change, projection updates increment revision and rebuild buffered evidence (schema_changed: true). Inspect active input_paths via POST /domains/{domain_id}/explain, pin explicit paths when governance requires a fixed contract, or create a separate Domain when evaluating an independent calibration partition.
Read a recorded projection change
These excerpts show prediction diagnostics before the observation update at each step.step, diagnostics, and update are application log fields. Prediction values are rounded.
sample_count_delta: 2 records the admission of both buffered observations, and schema_changed: true marks the projection revision.
The following query produces predictions for both action values. This run estimated reward from observations and a candidate action; predicted_reward preserves those two estimates in the application log. The number of observations needed for readiness follows the run’s configured projection thresholds.
Query rules
Pass the current values at the same paths Core discovered. Omit the withheld target.Pair with probabilistic futures
Transition Discovery pairs natively withlearning.transition.futures with zero hand-authored input paths (input_paths: []). It discovers compact input projections across continuous joint multivariate targets, mixed categorical plus numeric multi-revision (future_id) streams (while preserving monotonic tightening across revisions), and state-conditioned error distributions around an existing forecaster.
- Declare bare signal names in
schema.signals(without thevalues.prefix) andvalues.<signal>intargets[].path. Setlearning.transition.input_paths: []and enable bothautonomous_projection(withmaximum_input_paths: 8to prevent default32from diluting isotropic kernel distances over wide schemas, andmaximum_buffered_events: 128aligned tomax_samples: 128so discovery adapts cleanly under drift) andfutures. - Optional fast-start: You can pre-seed resolved historical observations through
POST /domains/{domain_id}/batch(up to50operations per call with complete finite values) before live queries begin. Pre-seeding is optional; it transitionsautonomous_projectiondirectly tostatus: "ready",revision: 1, andinput_source: "discovered"withpending_forecasts: 0. Note that/batch"event"operations do not resolve pendingfuture_idforecasts. - Confirm readiness through
POST /domains/{domain_id}/explain, then run score-before-ingest queries and linked outcome events.
futures contracts when pairing with Discovery (see Probabilistic futures, Futures configuration, and streaming joint futures workflow):
- Lossless joint clouds: Keep
max_samples == max_support <= 128andmax_branches: 128so recent observations are represented without branch truncation, and verifyomitted_probability == 0(wire branch probabilities round to 4 decimals, so do not assert|1 - sum(branch.probability)| <= 1e-5; use a rounding-tolerant sum check such as<= 0.01). - Linear residual transport: When enabling
numeric_transport: "linear_residual", supply at leastmax(29, 2*(d+1))complete finite rows (wheredis the discovered input count; earlier rows safely fall back to empirical"none"futures), set"numeric_ridge": 1.0on noisy or heavy-tailed covariates, and enforce physical bounds on bounded targets (see streaming joint futures workflow). - Linked resolution: Check
futures.status("predicted"or"abstained", never"ready"; readabstention_reasonon abstention), attachdecision_idandfuture_idin eventmetadataonly when resolving a"predicted"query, and verifylearner_eligibility.futures_update.acceptedistrue.
Mid-stream schema revisions and structural-key pinning
Mid-stream schema revisions and structural-key pinning
- Mid-stream
schema_changed: truewith linkedfutures: If a live linked event triggers a projection revision (schema_changed: true), that response omitslearner_eligibility.futures_updateand leaves the open forecast pending (+1pending_forecasts). Keepingmaximum_buffered_eventsaligned withmax_samples(and optionally pre-seeding representative history via/batchbefore live queries) minimizes mid-stream revisions. Remember that/batch"event"operations never resolve openfuture_idforecasts. - Pinning structural keys: Because marginal warmup screening can omit rare-regime indicators or entity boundaries that only become decisive during later structural shifts, use a hybrid contract when those distinctions matter: pin structural keys (such as entity identifiers or slow regime indicators) explicitly and let Discovery select covariates.
Categorical targets
Usetype: categorical for labels with no numeric ordering:
learning.transition.futures is enabled, categorical and boolean keys inside futures.marginals are JSON-encoded strings (decode keys with json.loads).
Causal discovery
Causal discovery uses observations and interventions to infer causal relationships. Define the causal result being sought and the evidence that can distinguish competing explanations.Causal questions and evidence
CausaLab and IVRE both concern causal inference. Their unknown relationships and experiment protocols differ.
The CausaLab schedule supplies intervention measurements. Adapt-1 learns the causal relationships from their observed effects. The result demonstrates causal recovery in the evaluated numerical setting.
IVRE involves ambiguous evidence about discrete causes. A detector activating with objects A and B together can be consistent with several assignments of causal roles. Further experiments help distinguish those assignments. A correct activation prediction for that combination alone leaves the individual causes unresolved.
IVRE therefore tests causal identification and the choice of informative experiments. Assess whether the learner can identify causes from a fixed set of legal observations, then assess whether its experiment choices obtain useful evidence under the same budget. Evaluate causal beliefs separately from detector prediction accuracy and experiment-selection quality.
Autonomous causal discovery
Use this setup when both the predictor inputs and the before/after causal bindings should form from observations. The application supplies the public measurements, permitted interventions, event meanings, and observable targets. Adapt-1 forms the executable input projection and compatible variable and intervention bindings, then learns relationships from admitted intervention evidence. The following declaration leavesinput_paths, causal_graph.intervention_path, and causal_graph.variables unresolved. The numeric thresholds are example settings. They control admission and readiness; evaluate the learned relationships separately.
Create the Domain through POST /api/v1/domains:
after field as a target. Keep additional post-intervention measurements outside the candidate input surface. An earlier measurement such as values.before.output is available before the intervention and has a different role from the withheld values.after.output.
Submit the observed result of each permitted intervention through POST /api/v1/domains/autonomous-intervention-demo/events. This payload illustrates the record shape; use the measurements from the actual execution:
before and after provide candidate variable pairs. The intervention string identifies the variable deliberately manipulated. setpoint is the requested value, known before execution. Keep these meanings stable across records and preserve the actual episode and measurement boundaries.
Collect varied legal interventions that can distinguish the relationships being investigated. After each write, inspect learner_eligibility and the returned projection state. When requesting learning_state, inspect:
causal_graph relationships and their evidence separately when returned. Confirm formed causal bindings through populated intervention and variable-binding fields; use the discovered label to identify their provenance.
Query a proposed intervention through POST /api/v1/domains/autonomous-intervention-demo/query, supplying the current measurements and proposed command while withholding all after targets:
transition_prediction when its status is predicted, and retain the support, evidence IDs, model version, and abstention reason when returned. The query context must satisfy the discovered input contract. Evaluate predicted measurements and recovered causal relationships against their respective observations and intervention evidence.
Automatic discovery can remain enabled during continued learning. Explicitly pin inputs or bindings when the application requires a reviewed fixed contract, or run discovery on a separate Domain when evaluating an independent calibration partition. Learn unknown action effects applies the same boundary to opaque legal actions.
Numeric before/after contract
For a mixed configuration, declare the approved pre-outcome inputs and enable binding discovery alongside causal-graph learning. The following excerpt keeps predictor inputs explicit while compatible numeric before/after bindings form from evidence.before and after, plus an intervention string matching one of those variable names. Core can discover the paired paths and intervention field while the declared transition inputs remain fixed.
Binding discovery identifies which event fields describe each variable before and after an intervention. Causal-graph learning uses intervention evidence to estimate causal relations among those variables. Inspect the recovered relations separately from binding readiness and prediction accuracy. Causal interpretation requires a valid intervention protocol and an assessment of confounding and identifiability.
Discrete cause identification
For object-panel evidence, preserve each object’s presence and the observed detector outcome. Use appropriate categorical or boolean targets for outcome prediction. Define how supported model outputs, induced rules, or hypotheses produce the causal beliefs being evaluated. A detector predictor’s output and an object-role belief have different meanings. Use the automatic binding interface for compatible numeric before/after variables. For discrete object-panel experiments, select a learning contract that matches the records and configure the observation representation, causal-belief outputs, and experiment-selection objective for that task. When the learner chooses experiments, give it the observed experiment history and an objective tied to identification quality or efficiency. Evaluate each experiment by the evidence it provides for distinguishing causal roles, alongside its predicted detector outcome. Record admitted evidence, supported-query coverage, causal-belief quality, and complete task outcomes. Use these measures to track prediction coverage, recovered causes, and the information gained from selected experiments.Move from discovery to a pinned contract
- Run discovery on representative training data.
- Read the discovered
input_pathsand causal bindings viaPOST /domains/{domain_id}/explain. - Check availability, semantics, leakage, stability across folds, and behavior under missing fields.
- Create a new Domain or update learning configuration with approved explicit paths.
- Evaluate frozen on held-out events.
Sharing reviewed inputs across Domain learners
Becauseautonomous_projection exposes its formed input view through POST /domains/{domain_id}/explain, you can inspect discovered paths before authoring explicit contracts elsewhere in the same architecture (such as a pinned transition contract or a value learner, where compact discovered subsets fit cleanly within /value/*’s 16-feature flat context limit):
- Run Transition Discovery (
input_paths: [],autonomous_projection.enabled: true) on representative historical records. - Inspect
autonomous_projection.input_pathsviaPOST /domains/{domain_id}/explain, reviewing the selected fields for leakage, stability, and any structural keys that should remain pinned. - Validate the discovered subset against the full reviewed feature set on a held-out partition before pinning explicit paths in production.
Discovery overview
Review the Discovery paths and their shared lifecycle.
Structure Discovery
Discover useful fields, combinations, lags, and predictive rules.
Sequential Discovery
Discover state-dependent action values and delayed credit across episodes.
Complete examples
Run transition, structural, sequential, and mixed workflows.
