Manuscript Offprint
arXiv:2610.36761Making Self-Driving Laboratories Auditable:A Unified Framework for Hybrid Actions,Measurements, and Safe Execution
Abstract
Self-driving laboratories (SDLs) are laboratory systems that couple experimental planning, automated execution, and measurement feedback in a closed loop. Integrating flexible robot control with the typed application programming interfaces (APIs) and continuous measurements exposed by laboratory instruments remains an execution-interface challenge. To address this challenge, we propose a traceable framework comprising four components: LAM (Lab Action Model), OpenSDL, Safe-SDL, and L3-Bench. LAM is a proposed measurement-conditioned policy architecture that extends vision-language-action paradigms to generate both continuous robot trajectories and typed instrument API calls. OpenSDL is an execution substrate with an initial control implementation, designed to map role-level operations to heterogeneous devices, coordinate execution, and record timestamped causal events. The proposed Safe-SDL runtime gate combines pre-dispatch schema and resource checks with signal temporal logic monitoring during execution, including extended waiting periods. L3-Bench (Level-3 Laboratory Benchmark) specifies an episode-level evaluation protocol covering physical outcomes, timing, reproducibility, safety violations, and fault recovery. Together, these components provide an end-to-end design for linking hybrid action generation, monitored device execution, measurement feedback, and experimental evaluation, addressing coordination and traceability challenges in SDL workflows.
Keywords: self-driving laboratory; vision-language-action; heterogeneous action space; measurement-conditioned control; runtime safety; reproducible benchmark.
1 Introduction
Self-driving laboratories (SDLs) are laboratory systems that couple experimental intent and planning to automated execution and measurement feedback in a closed loop [1]. This approach can accelerate materials discovery and reaction optimization while reducing the need for repeated manual intervention [1–3]. Their defining operation is a repeated decision cycle: (i) a machine-readable objective is translated into experimental operations; (ii) those operations are executed by instruments and robots; (iii) measurements and device states are collected; and (iv) the resulting evidence is used to inform the next decision. Through this cycle, experimental throughput can be increased and condition search or hypothesis testing conducted systematically across many trials [2–5]. To implement this cycle, practical SDLs combine planning tools for step (i), device control for step (ii), sensing and data acquisition for step (iii), and data analysis and decision-making for step (iv). Data and provenance management link these stages, while human supervision supports oversight and intervention throughout the cycle [1].
Representative developments have showcased how experimental procedures and robot actions can be represented, executed, and recorded. In 2019, Steiner et al. described Chemputer, which encoded chemical procedures as executable programs, separating hardware-independent procedures from platform-specific connectivity and device drivers [5]. In 2023, Boiko et al. introduced Coscientist, which combined language-model reasoning with documentation search, code execution, and laboratory APIs to plan and perform chemical experiments [6]. In 2024, Kim et al. introduced OpenVLA, a vision-language-action (VLA) model connecting visual observations and language instructions to learned robot control [7]. In the same year, Bai et al. developed a dynamic knowledge graph framework for distributed SDLs that supports shared ontologies.
Corresponding authors.
and cycle-level provenance, with limited granularity for exact operation timing under hardware constraints [8]. In 2026, Ren et al. introduced LabVLA, which applied VLA policies to laboratory protocols while acknowledging that measurement-driven protocol revision had not yet been demonstrated [9]. IvoryOS provides an interoperable web interface for orchestrating Python-based SDLs [10]. Established standards address device connectivity and provenance. SiLA 2 (Standardization in Lab Automation) describes instrument capabilities through typed Features, Commands, and Properties, supporting discovery, command execution, and property subscriptions [11]. Provenance standards provide a formal basis for representing auditable records. The World Wide Web Consortium's PROV Ontology (W3C PROV-O) represents entities, activities, and agents through generation, usage, attribution, and qualified relations carrying roles and time information [12]. PROV-CONSTRAINTS defines validity, equivalence, and event-ordering constraints for provenance records [13]; the companion PROV-SEM Working Group Note provides first-order semantics for the PROV data model [14]. ProvONE extends PROV with scientific workflow structure and execution provenance [15], while Research Object Crate (RO-Crate) packages research artefacts with Schema.org-based structured metadata [16].
These approaches establish provenance representation and consistency rules. Our execution-interface contribution concerns their coupling to measurement-conditioned hybrid actions, pre-dispatch gating, clock-domain-aware timestamping, and timed safety monitoring. We position SDL-Traj as a proposed PROV-O-aligned laboratory profile, reusing core provenance relations and adding application-specific terms for device capabilities, monotonic-clock metadata, and signal temporal logic (STL) robustness. Explicit vocabulary mappings, PROV-O export, SiLA 2 adapters, and conformance tests remain implementation targets. For example, reaction and cooling waits require monitoring to remain active and link fresh or stale measurements, pending calls, verified completion events, and gate decisions. Such execution records must preserve both scientific context and the conditions under which physical actions were admitted. These requirements motivate a shared interface linking measurement-conditioned action generation with execution, monitoring, and evaluation. We therefore propose a traceable framework comprising LAM (Lab Action Model), OpenSDL, Safe-SDL, and L3-Bench.
LAM is designed to generate a hybrid output consisting of continuous robot trajectories and typed instrument API calls from task instructions, visual observations, robot states, and instrument measurements. Its proposed architecture extends the VLA framework with typed telemetry and shares multimodal context between a continuous motion expert and a discrete function-calling head. OpenSDL, with an initial control implementation, is designed to map role-level operations to heterogeneous devices and coordinate operations according to their dependencies, waiting requirements, and completion conditions. Its event model links measurements, device states, and execution outcomes to dispatched commands and runtime decisions in timestamped causal records. In the proposed loop, updated observations and confirmed events provide context for subsequent LAM action proposals. Safe-SDL is the proposed runtime gate for schema and resource checks before dispatch and monitoring of formalized temporal constraints throughout execution, including extended waiting periods. Timeouts, degraded measurement quality, or insufficient safety margins are intended to trigger action blocking and predefined degradation or safe-abort procedures. L3-Bench (Level-3 Laboratory Benchmark) specifies an episode-level evaluation protocol covering protocol-specific physical outcomes, timing, reproducibility, safety violations, and fault recovery. Here, L3 denotes measurement-conditioned adaptation within an experiment, as defined in the task-specific classification of Section 2.1. End-to-end LAM training, cross-device transfer experiments, and systematic hardware and safety validation remain to be completed; improvements in throughput, adaptability, and fault recovery are hypotheses to be tested through the proposed evaluation.
2.1 Autonomy Levels
We adopt a task-specific working L1–L4 autonomy classification that complements published SDL autonomy taxonomies [17,18]. These levels classify execution capability; SDLs additionally require the planning-and-feedback loop defined above. L1–L4 describe increasing adaptation: L1 denotes scripted execution or teleoperation, L2 visual protocol execution, L3 measurement-conditioned adaptation, and L4 hypothesis optimization across batches with multi-instrument coordination. We focus on implementable and measurable L3 behavior in the near term, leaving L4 for future work.
2.2 Hybrid State–Action and Event Semantics
We represent the laboratory process as a partially observable Markov decision process (POMDP), a standard model for sequential decision-making when the physical state cannot be observed completely:
Here, S is the latent physical state of the laboratory, A is the hybrid candidate-action space, is the transition model describing how action a changes state s to , and is the task or operational reward. is the observation space, is the observation model, and discounts delayed reward. The notation captures temperatures, concentrations, device queues, and completion states that are partially observed and may be delayed or noisy; the current implementation leaves the transition and reward models unspecified. At time , the observation is , where contains synchronized visual frames, is the proprioceptive state, and contains measurement streams from heterogeneous instruments. The action space is the Cartesian product
The arm-action space includes a no-motion option, and the instrument-action space contains finite, possibly empty collections of calls. Feasible combinations depend on resource and safety constraints. A continuous action contains control steps and trajectory dimensions, with recorded coordinate frame, control period, and calibration version. An individual instrument call is a typed instrument call: Role identifies the capability, Op identifies the operation such as Set, Execute, or Read, and contains validated parameters and units. The two action types share a time base and event ledger. Empty outputs allow monitoring during waiting periods.
To give this Cartesian product executable semantics, the output of a decision cycle is written as
where each instrument call includes a role, an operation, parameters, a waiting policy, and an idempotency key:
Here, is a semantic capability in the role dictionary, is the requested operation, contains typed parameters, specifies timeout, retry, and completion conditions, and supports deduplication and transaction association. The action compiler checks units, ranges, resource locks, and preconditions before mapping a role call to a concrete DeviceProvider (an adapter that implements a role for one physical or simulated device). Role-preserving substitution retains high-level action labels; device calibration, latency, and physical limits still require compatibility tests.
States, actions, and events share a common timeline. Observations, candidate actions, and device returns are recorded as events , linked by episode IDs, timestamps, and causal parent events. The proposed ledger combines device timestamps, a runtime monotonic clock, and causal event IDs. Clock offsets and drift are recorded explicitly; receive order alone cannot establish cross-device causality. In this paper, an event is therefore the auditable record of one observation, proposal, gate decision, dispatch, return, or compensation step recorded in the event ledger. This design distinguishes an incorrect model proposal, a safety-blocked action, and a device execution failure, and allows replay to reconstruct the causal sequence from proposal through approval to completion.
2.3 Design Requirements
We express the laboratory control interface as five checkable invariants. Semantic portability requires policies to depend on roles, capabilities, and units. Action composability requires continuous trajectories and discrete calls to carry preconditions, resource requirements, and completion signals so that they can form a directed acyclic graph (DAG) execution plan. Temporal consistency requires visual frames, proprioception, telemetry, and action events to share monotonic timestamps with explicit measurement delays and waiting intervals. Safety gating requires every action to pass through the same observable safety kernel before submission to the bus; device interlocks govern actions independently of model confidence. Replayability requires raw inputs, compiled device commands, return bytes, and safety decisions to be linked to the same episode for offline replay and difference analysis.
These invariants define an auditable protocol contribution and establish module boundaries. LAM generates candidate actions from context, while OpenSDL checks their semantic, temporal, and safety properties; the modules exchange data only through a versioned schema. If an invariant depends on manual action, that intervention must be reported in evaluation.
The evaluation addresses four research questions (RQs):
RQ1. Does measurement-token conditioning improve adaptation to measurement shifts?
RQ2. Does concurrent hybrid action dispatch reduce completion time while respecting resource constraints?
RQ3. Does runtime gating contain faults and support recovery at a measurable throughput cost?
RQ4. Can role-preserving device substitution maintain action semantics, with fixed-manifest replay reproducing execution histories and metrics?
3 LAM: Lab Action Model
3.1 Model Structure and Multimodal Context Construction
LAM (Lab Action Model) is the policy interface proposed in this paper. The proposed LAM architecture comprises three cooperating modules:
-
Multimodal context backbone (target size: approximately 3B parameters; VLM denotes vision-language model). Encodes task language, visual context, trajectory history, and device states.
-
Continuous motion expert (target size: approximately 300M parameters). Uses flow matching to generate trajectory chunks, following the VLA motion-modeling approach exemplified by [19]; obstacle avoidance is checked by the execution layer.
-
Discrete function-calling head. Generates standardized Role-Op-Parameters calls with device waiting, failure, and retry semantics.

Figure 1: LAM architecture for measurement-conditioned hybrid laboratory control. Task language, RGB/RGB-D observations, robot proprioception , and time-stamped instrument telemetry enter a multimodal context builder comprising a vision-language-model (VLM) backbone and a telemetry encoder. Typed measurement tokens retain device roles, units, sampling times, and data-quality information within the shared context. A continuous action head generates robot-trajectory chunks, a discrete function-calling head generates typed instrument application programming interface (API) calls, and an optional dynamics head predicts the next measurement state . The execution layer connects the arm controller and the signal temporal logic (STL) safety monitor with event logging to the OpenSDL bus. Parallel dispatch coordinates compatible actions, while updated observations and confirmed execution events supply feedback for subsequent decisions.
At each decision cycle, the backbone receives a fixed-length history window and the current task constraints. The two action heads share context and use separate output vocabularies. The motion expert generates a trajectory chunk for the next steps, while the function-calling head generates zero or more calls with resource declarations. The scheduler determines which actions may execute concurrently from device occupancy and action dependencies. This decomposition retains the VLA's language and visual representations and keeps instrument calls in their typed API representation.
Figure 1 shows the computation from heterogeneous observations to concurrent actions.
The shared backbone first assembles asynchronous observations into a unified context. Let the language, vision, proprioception, and telemetry encoders produce , , , , respectively. Each token carries modality, role, unit, sampling-time, and quality information. Missing or stale entries receive explicit status embeddings and restricted attention access:
Here, stores the most recent w confirmed events; Concat preserves their modality order while forming one attention sequence. The superscripts L, V, q, M identify language, vision, proprioception, and measurement tokens, respectively. For missing or stale sensors, the encoder emits explicit missing/stale flags; interpolated values carry the same status. This convention distinguishes unavailable measurements from measurements ignored by the model during cross-device transfer.
3.2 Hybrid Action Decoding and Uncertainty Handling
Given task specification and the shared representation , the continuous and discrete heads compute
where is the set of currently available roles and capabilities, maps context and robot state to a continuous trajectory, and maps context and available roles to typed calls. The parameter denotes trainable model weights. The function-calling head uses schema-constrained structured decoding: roles, operations, and parameters must pass type checks before entering the execution queue. The scheduler inserts explicit barriers for calls with resource conflicts, while read-only measurements and workspace-independent actions may overlap with robot trajectories. The final action is an executable subgraph obtained by resolving dependencies between the two heads.
Laboratory policies face risks from out-of-distribution observations and sensor distortion as well as average prediction error. The proposed confidence interface reports an action-level score and device-quality summary . Discrete-call token scores and continuous-action uncertainty require head-specific estimators, calibrated against held-out action failures. Estimator construction, calibration error, and abstention thresholds must accompany a trained model. At runtime, confidence below a pre-registered threshold or stale telemetry indicated by triggers read-only operation, a request for human confirmation, or safe degradation. Rejected proposals are logged as abstentions and reported separately from device retries. Their episodes remain in episode-level accounting, including termination outcomes and human interventions.
3.3 Measurement-Conditioned Training Objective
The Telemetry Encoder projects calibrated measurements into the shared context. A scale-preserving specification is
Here counts measurement tokens, is the embedding dimension, and fixes unit conversions and channel scales from training data or calibration. embeds roles, units, timestamps, and quality flags. Raw values and scaling metadata remain available to the safety monitor. Fixed scaling retains absolute magnitudes at the encoder input for threshold-dependent decisions. The resulting supplies . The optional dynamics head predicts at a fixed, recorded forecast offset, using valid-channel masks.
For normalized action coordinates, a concrete conditional flow-matching objective follows the linear interpolation used in flow-based VLA training [19]:
The expectation samples demonstrated chunks, standard Gaussian noise of the same shape, and flow time . Flow time is separate from physical time . The vector field predicts the interpolation velocity; integration from noise at to produces a chunk that is mapped back to physical coordinates. The Frobenius norm sums squared errors over control steps and dimensions. This specifies a training objective; model training remains pending.
The hybrid training loss is
Here contains validated target calls, and cross-entropy supervises their serialized tokens using conditional probabilities before decoding. The optional prediction loss is mean squared error on available, fixed-scale measurement targets and is skipped when none are valid; weight the terms. Training records retain observations, actions, device returns, waiting intervals, exception labels, and safety decisions.
Cross-modal consistency and safety-supervised auxiliary losses remain possible extensions. Their label construction, differentiable definitions, and ablations must be specified before inclusion in a trained model. Runtime gating remains an independent execution requirement.
3.4 Data Curation and Splits
Training, calibration, and test partitions group entire experimental batches, including their episodes and adjacent frames. Normalization statistics are fitted on training data. Device-transfer tests hold out the target provider during training. Each episode retains task descriptions, device and calibration metadata, observations available by decision time, candidate actions, device returns, waiting intervals, safety decisions, and termination reasons. Four evaluation settings cover nominal operation, measurement shift (RQ1), device transfer with preserved role capabilities and a substituted DeviceProvider (RQ4), and fault injection (RQ3). Evaluation conditions share a schema version; overlapping shift conditions are flagged and reported separately. The concurrency ablation for RQ2 uses matched task instances and seeds, with fresh rollouts for each policy.
4 OpenSDL: Unified Infrastructure and Runtime Safety
4.1 Unified Research Infrastructure
The initial OpenSDL implementation provides a Rust control engine, protocol adapters, MQTT/serial/TCP transports, ESP32 bridging, and a SQLite store for commands, device events, and serial bytes. The proposed research interface extends this substrate with SDL-Traj trajectories aligned to LeRobot-style data [20], semantic role/DeviceProvider contracts, and causal safety records. The Mother Node coordinates device routing; the target event model links observations and decisions across simulation, hardware-in-the-loop (HIL) evaluation, and hardware. These research extensions and their conformance tests remain distinct from the implemented control substrate.
4.2 Role, DeviceProvider, and Event Ledger
The role abstraction expresses physical device capabilities through a stable semantic interface. A role descriptor declares at least its name, supported operations, parameter schema, units, and safety ranges. A DeviceProvider additionally declares protocol versions, connection status, available resources, and rollback capabilities. A call is compiled only when both the descriptor and provider accept it. For example, a Set call on the heater role specifies target temperature and hold time; serial registers or vendor software development kit (SDK) calls remain internal to the provider. Two providers implementing the same role produce consistent SDL-Traj action labels, while calibration coefficients and device diagnostics are stored as metadata.
The contract distinguishes three return states: accepted means that a command has entered the device queue, completed means that its completion condition has been satisfied, and failed means that the device or communication layer cannot complete it. A Read call may return a stream or a snapshot and must include units, sampling time, quality flags, and calibration version. Operations with irreversible physical effects must be marked non-compensable in the descriptor, allowing the runtime to require a higher approval level or prohibit automatic retries.
The implemented store uses wall-clock ingestion timestamps. The proposed causal ledger adds clock calibration, episode links, and six lifecycle event types: proposal, gate, dispatch, acknowledge, complete, and compensate. Each event contains a minimal traceability tuple:
Here, episode identifies one complete task attempt, event is the unique event ID, and type identifies one of the six lifecycle stages. The timestamps and record runtime monotonic time and device-reported time; role, op, and status identify capability, operation, and outcome; parents records causal predecessor IDs, including all prerequisites at a join. args stores a summary of schema-validated parameters, while raw transmitted and received bytes are linked through content hashes. Safety-kernel inputs, robustness scores, and gating reasons are linked to the corresponding action's event ID, allowing an exception to be traced to specific observations and model versions.
The proposed replay protocol reconstructs causal event order in three modes: dry-run performs only schema and safety checks; sim-replay sends actions to the digital twin; and hardware-replay permits only explicitly allowed operations approved by a human. Replay compares event sequences, state transitions, and measurement trajectories. Differences due to random sampling, clock drift, or device noise must be explicitly categorized in the report.
4.3 Temporal Coordination and Runtime State Machine
The scheduling unit is an action graph with resource and temporal constraints. Nodes declare device resources to read or write, expected duration, prerequisite events, and cancellation semantics; directed edges encode dependencies and barriers. Resource conflicts are resolved through reservations and an acyclic ordering before topological dispatch. Two writes to the same instrument use mutual exclusion; reads use snapshots or stream subscriptions; and workspace reservations coordinate robot access; independent motion checks and device interlocks enforce physical limits.
To prevent an uninterpretable intermediate state when one action succeeds while another times out, the proposed scheduler uses a logical prepare-and-dispatch protocol. Providers that support preparation acknowledge safety-approved proposals before execution is committed once prerequisite events are satisfied. This protocol coordinates software state; physical reversibility depends on the device and operation. If a node fails, the scheduler selects retry, compensate, or abort according to provider compensation actions and checkpoint policies. This mechanism accounts for potentially irreversible physical operations; such operations remain explicit in evaluation and human approval.
The proposed runtime state machine defines seven states with the following transition rules:
- OBSERVED admits observations only after synchronization and data-quality checks.
• PROPOSED permits LAM to generate candidate actions.
• GATED performs schema, resource, and STL checks.
-
DISPATCHED waits for device acknowledgment, while VERIFIED records completion and updates the checkpoint.
-
Timeouts, invalid measurements, or insufficient robustness trigger recovery or SAFEABORT; COMPENSATED is recorded only after recovery is verified.
Each transition records its triggering event and operator overrides, making the state machine itself an object of evaluation.
4.4 Safe-SDL Runtime Gating
We impose an STL specification on continuous state trajectories:
Here T is measured temperature with limit , is contact force with limit , and is robot
Table 1: Minimum fields required for an auditable SDL-Traj event.
| Field group | Examples | Audit invariant |
| Identity | episode ID, event ID, parent IDs | Every action and return is traceable to one episode and its causal predecessors. |
| Observation | RGB/RGB-D, , , quality flags | Sensors carry units, calibration version, sample time, and stale/missing status. |
| Action | role, op, typed parameters, idempotency key | The submitted action is identical to the schema-validated action used for evaluation. |
| Execution | provider, protocol version, ack, completion, raw bytes | Device-level failures are separated from model errors and safety blocks. |
| Safety | formula version, robustness, gate decision, operator override | A blocked or approved action has an explicit, replayable reason. |
| Environment | asset commit, configuration hash, seed, clock offset | A replay can reconstruct the software, asset, and timing context. |
clearance from protected labware with minimum . The operator requires the predicates throughout the specified horizon. To compare heterogeneous margins, define positive, fixed scales and
Here and . Each scale has its corresponding physical unit, making dimensionless. Signed temporal robustness over a fully observed window is its minimum margin [21]. The online monitor uses the available window in and reports both robustness and data validity. An incomplete future horizon remains undecided; predicted measurements provide auxiliary information without certifying future safety.
Invalid or stale safety inputs, loss of heartbeat, or trigger blocking and a configured safe response, where is a fixed dimensionless margin. Recovery uses provider-supported compensation or a verified checkpoint; irreversible operations can require safe abort. Monitoring runs independently of policy inference, including waiting periods. Sampling intervals, end-to-end delay, measurement uncertainty, and between-sample violations must be assessed on the target hardware. Schema checks cover discrete parameters; chemical, pressure, and biosafety hazards outside the specification require separate controls and human approval.
We separate safety performance into four quantities: constraint violation rate, interception rate for hazardous actions, false-positive rate for normal actions, and time from failure to a safe state. Accident-free operation must be interpreted together with challenge coverage and effective interception. L3-Bench therefore calls for labeled fault injection in controlled environments, with joint records of gate decisions, device feedback, and operator overrides.
4.5 Closed-Loop Execution Algorithm
The following pseudocode specifies runtime synchronization, candidate generation, pre-dispatch gating, and event recording. In Algorithm 1, is the task specification, is the synchronized runtime state and history, and is the minimum accepted robustness margin. GateAndReserve checks schema, resource availability, and safety conditions, returning approval and a logged reason. BuildContext includes confirmed history and available capabilities from . Dispatch reconciles pending calls, checks stable idempotency keys, and reserves resources; checkpoints advance only on verified completion. New dispatch requires durable proposal/gate logging; rejected or unlogged candidates release reservations. A preset deadline and retry budget terminate stalled episodes. Recovery depends on provider capabilities.
Algorithm 1 OpenSDL closed-loop execution with Safe-SDL gating
Require: Task , safety formula , threshold Ensure: COMPLETED or SAFEABORT 1: INITIALIZERUNTIME() 2: while is not fulfilled do 3: 4: 5: 6: if then 7: BLOCKPENDING(); SAFEDEGRADE() 8: RECOVERIFSUPPORTED(); LOGDECISION() 9: return SAFEABORT 10: end if 11: 12: 13: 14: 15: logged 16: if then 17: DISPATCHREADY() 18: else 19: ABSTAINORREQUESTREVIEW(reason) 20: end if 21: RECORDRETURNSANDCHECKPOINT() 22: end while 23: return COMPLETED
4.6 Reproducible Research Loop
The research workflow uses the same schema and event ledger as the runtime. Here HIL (hardware-in-the-loop) means that real controllers or devices are connected to a simulated environment, whereas a digital twin is a software model used for replay or simulation. The research lane covers trajectories, schemas, models, and evaluation, while the runtime lane covers observations, device routing, and replayable records. Model inference and L3-Bench results connect the two lanes through the same manifest and event ledger. In Algorithm 2, D supplies held-out evaluation cases, D' their schema-normalized specifications, W the LAM checkpoint, E is the simulator or HIL context, is the loaded policy, is the seeded digital twin, and are simulation and optional HIL rollouts, and R is the exported benchmark report with its configuration, seed, asset, and log manifest. Rollouts cover the four registered evaluation settings defined in Section 5.1, with the concurrency ablation using matched task instances and seeds.
Algorithm 2 OpenSDL reproducible research loop
Require: Held-out cases D, LAM checkpoint W, simulator or HIL context E
Ensure: Benchmark report R and replay artifacts
1:
2: VALIDATESchema( )
3:
4:
5:
6:
7:
8: return EXPORT( , config, seed, assets, logs)
4.7 Artifact Manifest and Release Tiers
The proposed run manifest binds an episode ID to code and schema versions, model hash, provider inventory, calibration, digital-twin assets, random seeds, fault configuration, and event-log indices. Clean-3D names the planned versioned scene/geometry asset set. Missing required fields are reported as reproducibility failures. Tier-1 releases contain schemas, simulators, and sanitized trajectories; Tier-2 adds HIL configurations and logs; Tier-3 adds permitted physical-device providers, calibration, and raw records. Restricted protocols require simulated substitutes with role descriptors and fault scripts, with each result identifying its tier and limitations.
5 L3-Bench and Evaluation Plan
5.1 Metrics and Evaluation Protocol
L3-Bench (Level-3 laboratory benchmark) complements binary task success with verifiable physical quantities. Figure 2 summarizes the scenario families, comparative conditions, validity checks, and reporting hierarchy. Mass-transfer error is , the absolute deviation between the protocol target mass and the measured delivered mass. Dispensing uniformity is , with sample standard deviation across wells and positive mean volume ; report the mean and target-volume error alongside CV, since uniformly incorrect dispensing can have low variation. For temperature control, overshoot is , settling time is the first sustained entry into a fixed tolerance band over a prescribed observation window, and
weights temperature error by elapsed time over the observation duration . The set point is the requested thermal condition. Overshoot measures excursion above it, settling time measures response speed, and ITAE has units of temperature times time squared. Runs that never settle are reported as censored; safety margin is evaluated against the separate critical limit. Temporal safety violation rate (SVR) is the fraction of evaluated operations with at least one constraint violation, using protocol-level operation boundaries shared across methods; reports also include episode-level violation incidence and monitored violation duration, including waits. Replay compares event IDs, causal order, and recomputed metrics against fixed tolerances. Independent reruns assess paired metric differences against pre-specified equivalence margins; equivalence requires the confidence interval to lie entirely within those margins. Thresholds must be pre-registered according to device precision and the experimental protocol before results are observed.
The basic statistical unit in L3-Bench is a complete episode, from task submission to completion, rollback, or safe termination. A successful grasp or individual API call is an intermediate metric; the episode-level outcome remains the evaluation unit. For episode k, normalized yield and time cost are defined as
Here is a protocol-defined, higher-is-better physical outcome for episode , while and are fixed lower and upper reference values with . Values outside are retained and flagged; normalization is protocol-specific. The makespan is elapsed time from task submission to completion or safe termination; and count device retries and human interventions. The coefficients and convert those interventions into the same cost units as time and must be fixed before experimentation and reported. These penalties represent additional intervention cost, including any burden beyond elapsed time. Failed and aborted episodes retain their measured outcomes and labels; missing outcomes follow
Task Specification
3 Scenario Families

Adaptive Dilution
Measurement-Conditioned Titration
Fault Injection & Recovery
2 Baselines
Vision-Only Single-Arm
LAM w/o Measurement
Full Model
LAM × OpenSDL
4 Evaluation Settings

1 Nominal
2 Measurement Shift
3 Device Transfer
4 Fault Injection
Validity Enforcement
Initialization
Profiling
Matching
Activation
Configuration
On-the-fly Checks

Schema
Safety
Replay
Gate Ablation: Simulation / HIL Only
Evaluation Reporting
Task
Separate Liquid · Heating
Condition
Delay · High Pressure
Episode
Bootstrap · CI
Metrics
Y · SVR · C

Time
Physical Outcomes
Time & Safety
Makespan · Recovery
Figure 2: Overview of the L3-Bench evaluation protocol. Left: adaptive dilution, measurement-conditioned titration, and fault injection with recovery define three scenario families. Two baselines—a vision-only single-arm policy and LAM without measurement tokens—are compared with the full LAM × OpenSDL framework under nominal, measurement-shift, device-transfer, and fault-injection conditions. Center: initialization comprises profiling, matching, activation, and configuration, followed by on-the-fly schema, safety, and replay-readiness checks of manifest and ledger completeness. The safety-gate ablation is restricted to simulation or risk-assessed hardware-in-the-loop (HIL) evaluation. Right: liquid separation/heating and delay/high pressure illustrate task and condition metadata; the evaluated scenario families are defined on the left. Complete episodes are scored, with batch-level clustering for bootstrap confidence intervals. Primary endpoints are normalized physical yield Y, temporal safety violation rate SVR, and operational time cost C; diagnostic measures include mass-transfer error , temperature-control error ITAE, makespan, and recovery. Photographs illustrate the laboratory scenarios; check marks and miniature plots indicate protocol requirements and metric types.
Table 2: Pre-specified evaluation matrix for L3-Bench.
| Evaluation setting | Controlled intervention | Primary question | Required report |
|---|---|---|---|
| Nominal | Same devices, protocol, and measurement range | Can the full loop execute the task? | Y, C, completion rate |
| Measurement shift | Noise, latency, or target-range change | Do measurement tokens improve adaptation (RQ1)? | Δm, CV, calibration error |
| Fault injection | Offset, slip, timeout, over-temperature | Does gating contain and recover from faults (RQ3)? | SVR, interception, recovery time |
| Device transfer | New provider with the same role descriptor | Are action semantics portable (RQ4)? | Schema failures, transfer gap |
a pre-specified reporting rule. Cost comparisons separate completed and aborted runs.
Each configuration must report at least the episode count, mean and median, interquartile or confidence intervals, a breakdown of failure causes, and safety-kernel false positives and missed detections. Continuous and binary metrics are aggregated separately. If device incompatibility prevents a scenario from being executed, the result is marked not applicable with a retained explanation.
Table 2 maps interventions to the research questions defined in Section 2.3. Nominal conditions test basic closed-loop execution. Measurement shift changes noise, sampling frequency, or target ranges to test RQ1. Fault injection triggers displacement, slips, timeouts, or overheating to test RQ3. Device transfer preserves role capabilities while substituting the provider to test RQ4. The concurrency ablation evaluates RQ2, and fixed-manifest replay checks the reproducibility component of RQ4. All comparisons use fixed task scripts, thresholds, and episode termination rules.
5.2 Scenarios and Comparative Evaluation
Evaluation should cover at least three scenario families: adaptive high-throughput dilution, where a pipetting station serving 96- or 384-well plates and robot arm coordinate gradient dispensing and transfers between workstations; measurement-conditioned titration, where feed rates are adjusted using pH, mass, color, or temperature; and fault injection and recovery, where displaced consumables, grasp slips, abnormal cap resistance, and communication timeouts are simulated to compare safe stopping, retry, and rollback.
The two primary baselines are a vision-only single-arm policy and LAM without measurement tokens, both compared with the full LAM × OpenSDL framework. The measurement-token ablation removes measurement tokens from policy context while retaining runtime logging and safety checks. It also masks measurement values and derived summaries in event history, holding architecture, training budget, devices, and task instances fixed. The single-arm baseline tests overall system capability with different device access and concurrency; component attribution uses matched ablations. Throughput reports must also state batch duration, the number of parallel devices, and failed-attempt and retry costs, avoiding direct ratios between unequal workloads.
Component ablations isolate the effects of removing measurement tokens, disabling concurrency between continuous and discrete heads, disabling runtime-ledger integration while retaining an independent evaluation logger, and an offline control with the Safe-SDL gate disabled. To address RQ2, the concurrency ablation varies overlapping action dependencies and reports makespan, device utilization, and retries. The gate-disabled condition is restricted to simulation or a risk-assessed HIL environment to estimate the safety kernel's effect on normal throughput. Physical interlocks remain active in HIL. Each ablation changes one component and fixes model capacity, task instances, devices, seeds, and other execution rules. Identical control commands are used when measuring logging overhead.
Statistical analysis preserves paired comparisons and resamples independent experimental batches when their episodes share conditions. Reports stratify by task, device, and fault type; a pre-specified hierarchical model can account for these dependencies. Reports include effect sizes, uncertainty intervals, and worst-case quantiles, since average yield can hide rare but severe safety failures. The primary endpoints (Y, SVR, and C) are specified in advance; other metrics serve as secondary endpoints or diagnostics. Any changes to thresholds, exclusions of failed episodes, or revisions to termination rules after inspecting the test set must be documented in the version history.
5.3 Current Status and Reproducibility Checklist
For RQ4, the reproducibility checklist in Appendix C requires versioned configurations, calibrations, seeds, complete event records, and result-generation scripts. A release must regenerate summaries from manifests and run schema, provider, and replay checks. Dry-run or simulated replay results identify the hardware conditions they leave untested.
Table 3 summarizes implementation status, available evidence, and pending experiments for each component.
Table 3: Implementation status and evidence planned for the arXiv release.
| Component | Status and evidence |
|---|---|
| OpenSDL 1.0 mother/edge/transportRole/DeviceProvider and SDL-Traj | Control engine, adapters, transports, and SQLite logging implemented; end-to-end replay validation pending.Proposed research contracts; full schema and compatibility validation pending. |
| LAM hybrid action heads | Proposed architecture and training objectives; trained checkpoints and ablations pending. |
| Clean-3D assets and digital twin | Asset specification; released manifests and validated scene inventory required. |
| L3-Bench | Metrics, scenarios, and evaluation protocol defined; full results pending. |
| Hardware transfer and safety statistics | Hardware-transfer experiments and safety statistics remain pending. |
6 Discussion and Limitations
The central implication of this work is that an autonomous laboratory interface must jointly express heterogeneous instrument calls, continuous robot trajectories, waiting semantics, and safety constraints, while preserving a shared schema across simulation, HIL, and hardware. LAM × OpenSDL therefore defines falsifiable engineering hypotheses: measurement tokens should improve adaptation under measurement shift; hybrid action graphs should reduce makespan under concurrency stress; Safe-SDL should turn faults into interpretable blocks, degradation, or rollback; and role-preserving provider substitution and fixed-manifest replay should preserve action semantics, key state transitions, and metrics. End-to-end training, cross-device transfer, fault injection, and episode-level statistics remain necessary to establish these benefits. When outcomes fall short, failures should be attributed to representation, scheduling, providers, devices, or statistical protocols.
The scope of these claims is limited. The target runtime combines schema validation, least-privilege providers, heartbeats, STL monitoring, and human oversight. Current SQLite logging provides append-only application behavior; integrity under privileged modification requires additional access controls and tamper-evident storage. Complete sensor failures, unknown chemical reactions, and hazards outside the formalized model require safe termination; safety certification remains outside the scope of the architecture. Public releases should include role schemas, simulated providers, example configurations, Clean-3D asset manifests, generation scripts, and fault injectors, using hashes, interfaces, and sanitized substitutes for unauthorized proprietary protocols, sensitive processes, and industrial models. This manuscript remains an architecture and evaluation protocol. The external validity of L3/L4 levels for chemical and biological tasks, protocol-dependent physical yield, the coverage of STL constraints, and reduced concurrency under shared workspaces or irreversible reactions require further experiments and human oversight.
7 Conclusion
This work proposes LAM × OpenSDL to connect continuous robot control, typed instrument calls, and measurement feedback in heterogeneous SDLs. The proposed LAM interface conditions motion and instrument actions on shared observations and typed measurement tokens carrying units, timestamps, and quality flags. Its action graphs make dependencies, resource use, waiting, and completion conditions explicit.
The initial OpenSDL control substrate provides device routing, protocol adapters, transports, and SQLite logging. The proposed research contracts add role-level portability, causal records, and comparison across simulation, HIL, and hardware. Safe-SDL specifies pre-dispatch checks and continuous monitoring with conditional recovery; L3-Bench defines episode-level physical outcomes, timing, safety, and reproducibility reports. These interfaces connect performance hypotheses to the command and measurement records needed to test them.
The present work establishes a research foundation comprising the OpenSDL control substrate, LAM interface designs, and the L3-Bench evaluation protocol; throughput, adaptability, and safety benefits still require systematic validation. Future work will address model training, measurement-conditioning ablations, hybrid concurrent scheduling, cross-device transfer, and controlled fault injection. Comparisons among vision-only policies, LAM without measurement tokens, and the complete framework will use fixed configurations, seeds, and calibration conditions, while reporting failures, human interventions, and recovery costs. By combining reusable interfaces with traceable evaluation, LAM × OpenSDL provides an implementable and testable approach to measurement-driven, heterogeneous, and reproducible laboratory control.
Acknowledgments
This work was supported by the National Natural Science Foundation of China (Grant Nos. 92570205 and 92461313) and the Chuangqi Program of Shanghai Innovation Institute, Shanghai Municipal Education Commission.
References
[1] M. Abolhasani and E. Kumacheva. The rise of self-driving labs in chemical and materials sciences. Nature Synthesis, 2:483–492, 2023.
[2] A. Slattery et al. Automated self-optimization, intensification, and scale-up of photocatalysis in flow. Science, 383(6681):eadj1817, 2024.
[3] N. J. Szymanski et al. An autonomous laboratory for the accelerated synthesis of inorganic materials. Nature, 624:86–91, 2023.
[4] R. D. King et al. Functional genomic hypothesis generation and experimentation by a robot scientist. Nature, 427:247–252, 2004.
[5] S. Steiner et al. Organic synthesis in a modular robotic system driven by a chemical programming language. Science, 363(6423):eaav2211, 2019.
[6] D. A. Boiko, R. MacKnight, B. Kline, and G. Gomes. Autonomous chemical research with large language models. Nature, 624:570–578, 2023.
[7] M. J. Kim et al. OpenVLA: An open-source Vision-Language-Action model. arXiv:2406.09246, 2024.
[8] J. Bai et al. A dynamic knowledge graph approach to distributed self-driving laboratories. Nature Communications, 15:462, 2024.
[9] B. Ren et al. LabVLA: Grounding Vision-Language-Action models in scientific laboratories. arXiv:2606.13578, 2026.
[10] W. Zhang et al. IvoryOS: An interoperable web interface for orchestrating Python-based self-driving laboratories. Nature Communications, 16:5182, 2025.
[11] D. Juchli. SiLA 2: The next generation lab automation standard. In S. Beutel and F. Lenk, editors, Smart Biolabs of the Future, volume 182 of Advances in Biochemical Engineering/Biotechnology, pages 147–174. Springer, 2022.
[12] T. Lebo, S. Sahoo, and D. McGuinness, editors. PROV-O: The PROV Ontology. W3C Recommendation, 30 April 2013.
[13] J. Cheney, P. Missier, and L. Moreau, editors. Constraints of the PROV Data Model. W3C Recommendation, 30 April 2013.
[14] J. Cheney, editor. Semantics of the PROV Data Model. W3C Working Group Note, 30 April 2013.
[15] Y. Cao et al. ProvONE: Extending PROV to support the DataONE scientific community. In PROV: Three Years Later, 2016.
[16] S. Soiland-Reyes et al. Packaging research artefacts with RO-Crate. Data Science, 5(2):97–138, 2022.
[17] A. V. Tobias and A. Wahab. Autonomous “self-driving” laboratories: a review of technology and policy implications. Royal Society Open Science, 12:250646, 2025.
[18] L. Hung et al. Autonomous laboratories for accelerated materials discovery: a community survey and practical insights. Digital Discovery, 3:1273–1279, 2024.
[19] K. Black et al. : A Vision-Language-Action flow model for general robot control. arXiv:2410.24164, 2024.
[20] R. Cadene et al. LeRobot: An open-source library for end-to-end robot learning. arXiv:2602.22818, 2026.
[21] G. E. Fainekos and G. J. Pappas. Robustness of temporal logic specifications for continuous-time signals. Theoretical Computer Science, 410(42):4262–4291, 2009.
A Illustrative Role Descriptor
The following minimal role descriptor is consistent with the proposed interface. It is a semantic example spanning devices; concrete providers may compile the same calls into serial registers, network APIs, or HIL simulators.
role: heater schema_version: sdl-role/v1 operations:
- name: Set parameters: target_temperature: unit: degC min: 4 max: 150 hold_time: unit: s min: 0 completion: stable_for idempotency: replace
- name: Read returns: [temperature, unit, quality, sample_time, calibration_version] resources: [heater_zone_0] rollback: set_safe_temperature provider: simulator.heater.v1
The descriptor states capabilities and safety ranges independently of provider internals. A tester can use the same descriptor to generate schema-validity, out-of-range parameter, timeout, and rollback tests, making device substitution a provider-compatibility question that can be checked automatically.
B Failure Taxonomy and Labeling
Failed or aborted episodes receive one primary execution-failure label and may carry secondary labels. REPLAY separately flags reconstruction failure, including for a physically completed episode. The labels are defined below.
Table 4: Failure labels used for episode-level analysis.
| Label | Operational definition |
|---|---|
| MODEL | LAM proposes an incorrect role, trajectory, or parameter despite valid inputs. |
| SCHEMA | Type, unit, range, or required-field validation rejects the proposal. |
| RESOURCE | A device, workspace, or barrier dependency cannot be acquired. |
| DEVICE | Provider returns a hardware, calibration, or communication failure. |
| SAFETY | STL, heartbeat, or data-quality gate blocks or aborts execution. |
| REPLAY | The episode cannot be reconstructed from its manifest and event ledger. |
For multiple execution-failure labels, the primary label identifies the first causal event that prevents normal completion. Subsequent faults receive secondary labels, and compensating actions remain in the event ledger. This rule avoids misreporting safety interception as device failure and prevents rollback cost from being hidden within model retry counts.
C Reproducible Release Checklist
A release candidate is reproducible only when the software, physical configuration, and episode evidence can be reconstructed together. The following checklist turns the protocol into a concrete release gate:
- Code and schemas: record repository commits, schema versions, interface contracts, and model checkpoint hashes.
- Assets and devices: record Clean-3D digital-twin asset versions, provider versions, device inventories, calibration files, units, and clock offsets.
- Configuration: record task scripts, safety formulas, thresholds, random seeds, sampling temperature, and inference batch size.
- Episode evidence: retain synchronized observations, proposed and dispatched actions, device returns, event-ledger indices, operator overrides, and termination labels.
- Replay checks: run schema validation, provider compatibility, dry-run, sim-replay, and hardware-replay tests when the required devices are available.
- Result generation: regenerate tables and figures from manifests with versioned scripts, and report unavailable hardware or sanitized proprietary providers explicitly.
Declarations
Data Availability. This is a system design and engineering report. It uses no human or animal subject data and reports no new biomedical measurements. The planned public release comprises a versioned code repository with releasable schemas, example configurations, figures, and sanitized trajectories. Providers, calibration files, and raw device bytes subject to commercial restrictions are represented by interfaces, hashes, or simulated substitutes. Any episode used to generate a reported number must include a manifest, an event-log index, and data-processing scripts.
Ethics Statement. The current work involves no human participants, animal experiments, or personal data. Physical deployment must comply with institutional rules for chemicals, biosafety, pressure vessels, and device interlocks. Safe-SDL provides software-level gating; institutional approval and on-site training remain required.
Author Contributions. The author team jointly developed the problem formulation, system architecture, OpenSDL interface design, evaluation protocol, and manuscript.
Competing Interests. The authors declare no competing interests directly related to the design objectives of this work.
Funding. Funding sources and grant numbers are provided in the Acknowledgments.
AI Assistance. AI-assisted tools were used for language editing, format conversion, and preparation of selected figures. The authors are responsible for checking the technical content, references, code, figures, tables, and final submission, and take responsibility for all claims in the paper.