arXiv:2608.23039cs.DLAug 2026

Manuscript Offprint

arXiv:2608.23039

Beyond FAIR Data: Instrument Traces for Active and Autonomous Scientific Experimentation

Sergei V. Kalinin, Boris N. Slautin, Yu Liu, Charles Cao

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Artificial intelligence is turning scientific instruments from passive data sources into active systems in which each observation can change what is measured next. We argue that this transition generates a fourth class of scientific record, the experimental trajectory, complementing the sample provenance, the acquired data and instrument metadata, and the analysis workflows. The resulting Instrument Trace objects should ultimately be synchronized with Sample Trace objects describing the evolving specimen provenance and Decision Trace objects describing the human, algorithmic, or agentic logic that selects subsequent actions. We demonstrate retrospective reconstruction of an Instrument Trace from a longitudinal AFM/PFM archive containing approximately 118,000 timestamped events acquired from 2023 to 2026. Working downward through the hierarchy of instrument use, we recover from conventional saved files alone the material-campaign structure of the sample stream, latent probe and calibration states, session-level experimental complexity and control aggressiveness, a recurrent grammar of experimental decisions, and the composite parameter actions from which recorded tuning is assembled. The same analysis exposes what is missing from conventional archives, including unsaved tuning, failed operations, explicit probe and sample-state identities, complete time accounting, exogenous state, and decision rationale. We therefore propose a prospective architecture for active instruments that records project and campaign hierarchy, synchronized sample/instrument/decision traces, controller identity, errors and recovery, environment, action provenance, common action semantics, safety filtering, and replay. Instrument Traces convert instrument archives from repositories of measurements into longitudinal records of how scientific knowledge was acquired and provide a basis for reproducible autonomy, operator training, predictive maintenance, counterfactual analysis, and federated learning across facilities.

1. Introduction

Artificial intelligence increasingly acts as a part of the data generation process rather than merely analyzing data post hoc. Machine-learning models select measurements, optimize parameters, control experimental hardware, and are beginning to participate in experiment planning. This creates a demand not only for more data, but for data that retain enough context to support machine interpretation and reuse. The FAIR principles - Findable, Accessible, Interoperable, and Reusable - provide the foundational framework for such stewardship 1^{1}. In mature, standardized domains, large interoperable repositories and reproducible computational pipelines have already enabled qualitatively new modes of discovery, exemplified by AlphaFold and RoseTTAFold in structural biology 2,3^{2,3} and by the Materials Project, OQMD, AFLOW, JARVIS, NOMAD, and related high-throughput and data-driven discovery frameworks in materials science 4−11^{4-11}. Microscopy is less forgiving: the scientific meaning of an image or spectrum often depends strongly on instrument configuration, probe state, calibration, feedback conditions, and acquisition history. Reproducibility therefore requires preservation of data plus instrumental metadata and, increasingly, the computational analysis workflow that transforms raw measurements into scientific results. Open microscopy analysis environments and reproducible code workflows, including Pycroscopy, py4DSTEM, and AtomAI, illustrate this move toward executable and inspectable analysis records 12−15^{12-15}, consistent with broader efforts to treat computational workflows themselves as FAIR research objects 16,17^{16,17}. In active experiments, however, even this expanded FAIR record is incomplete because the analysis may change the subsequent experiment itself.

A parallel and much older tradition exists in industrial process monitoring. Shewhart's statistical process control established the use of time-resolved measurements to distinguish stable variation from assignable departures from normal operation 18{}^{18}. Multivariate process monitoring subsequently used latent-variable models, including principal-component analysis, to represent high-dimensional process histories and detect abnormal operating states 19{}^{19}. Process-history-based fault diagnosis and condition-based maintenance connected sensor traces to fault identification, prognosis, maintenance, and recovery decisions 20,21{}^{20, 21}, while process mining demonstrated that realized workflows can be reconstructed directly from time-stamped event logs rather than inferred from prescribed procedures 22{}^{22}. These traditions show that operational histories can reveal latent states, inefficiencies, precursors to failure, and changes in operating regime. Scientific instruments differ from production assets in one critical respect: their trajectory is often changed deliberately to acquire new information as a part of exploration process. For an active instrument, the question is therefore not only whether the process remains healthy, but how the experiment changes state, which action is selected next, and eventually what evidence motivated that action.

This open-ended nature of exploratory research is particularly distinct for microscopy. Automated and autonomous electron and scanning probe microscopy have been formulated as sequential decision systems in which human operators, instrument-native feedback, probabilistic models, and higher-level agents act on different timescales 23−25{}^{23-25}. Active-learning implementations in scanning probe microscopy already select where to measure next, which channel to acquire, or how to interrogate a local response based on information accumulated during the campaign 26,27{}^{26,27}, while machine-learning-based probe conditioning, image-quality management, and automated STEM demonstrate increasingly direct links between measurements, latent instrument state, and corrective action 28−31{}^{28-31}. Related work has emphasized that microscopy workflows span ideation, orchestration, execution, real-time analysis, storage, and theory-experiment interaction rather than a single post-acquisition analysis step 24,25{}^{24, 25}. Community roadmaps for autonomous experimentation have likewise identified data and workflow infrastructure, rather than algorithms alone, as a principal bottleneck 32{}^{32}. These developments move the scientific record from a stored data product toward a record of the experimental workflow that produced it.

The same process-centric view has begun to emerge in self-driving laboratories, from closed-loop reaction optimization and mobile robotic chemistry to autonomous thin-film discovery 33−37{}^{33-37}. ESCALATE introduced machine-readable experiment specification and metadata capture 38{}^{38}, and distributed self-driving-laboratory architectures have represented design-make-test-analyze processes and resource states using dynamic knowledge graphs 39{}^{39}. Individual autonomous campaigns increasingly expose useful trajectories: CAMEO used Bayesian uncertainty to choose sequential synchrotron measurements 40{}^{40}; A-Lab analyzed successful and failed synthesis trajectories to improve future synthesis policy 41{}^{41}; SAMPLE compared the search paths followed by multiple autonomous protein-engineering agents 42{}^{42}; and AlphaFlow learned multistep reaction programs rather than only static parameter values 43{}^{43}. In microscopy, machine-learning-based STM tip conditioning provides a direct example in which measurement data were used to infer a latent instrument state and trigger corrective action 31{}^{31}. Retrospective experimental histories can also generate new science: Nega et al. mined 8,470 robotic perovskite crystallization experiments, identified a humidity dependence, and then tested the resulting trace-water hypothesis with 1,296 targeted interventions 44{}^{44}. These examples show that experimental trajectories are already scientifically useful, but they are typically analyzed within a single designed campaign or represented as orchestration infrastructure rather than as the heterogeneous longitudinal history of a general-purpose instrument.

Here we introduce the Instrument Trace as the longitudinal record of how a scientific instrument is actually used. We organize instrument use hierarchically into projects, campaigns, sessions, and events and place it alongside a Sample Trace and a Decision Trace. We then ask how much of this structure can be recovered retrospectively from existing instrument files. Using a multiyear AFM/PFM archive, we work downward through this hierarchy: the sample stream and its campaign structure, the latent probe and calibration state of the instrument, session-level complexity and control strategy, the event-level grammar of experimental decisions, and finally the individual control changes from which tuning is assembled. Finally, we use the limitations of the retrospective reconstruction to define what future active instruments should record, including complete timing, failed actions, exogenous state, operator and controller identity, common action semantics, physical safety filters, and decision provenance. Although a complete active-experiment record can in principle be connected through persistent identifiers to sample histories, preparation records, LIMS entries, and other forms of sample provenance, we deliberately restrict the retrospective case study here to the instrument-side trace. This is both a useful test and a practical choice: native acquisition files, timestamps, and instrument metadata are commonly retained inside microscopy facilities, whereas sample histories and sample-specific metadata often remain with individual users and are not consistently available to the facility. The present analysis therefore asks how far one can go using the record that is most broadly and routinely available across shared microscopy infrastructure; Section 4 returns to the additional links that should be captured prospectively 45−47{}^{45-47}.