Abstract
The reproducibility crisis in experimental science is exacerbated by the inherent ambiguity of natural-language lab protocols. While lab automation requires precise, executable instructions, human-written protocols often rely on implicit arguments, long-range coreferences, and metonymy. This paper presents Process Execution Graphs (PEG), a document-level representation that maps free-form text to structured, machine-readable graphs. To facilitate high-quality data collection, the authors developed an interactive, text-adventure-style simulator for annotation. The resulting X-WLP dataset demonstrates that document-level modeling captures significantly more experimental context than sentence-level approaches, though cross-sentence relation extraction remains a significant computational challenge.
Introduction: The Gap Between Text and Execution
Scientific protocols are the blueprints for discovery, yet they are frequently underspecified. A protocol might instruct a researcher to "swirl," assuming the context of the previously filled tube, or refer to a "mixture" created several steps prior. Such linguistic shortcuts create barriers for lab automation systems (e.g., Autoprotocol) which require explicit, code-like instructions. Traditional NLP methods, which typically operate at the sentence level, fail to maintain the "global state" of an experiment, leading to fragmented and incomplete representations.
Process Execution Graphs (PEG)
To address these limitations, the authors introduce the Process Execution Graph (PEG). A PEG is a directed acyclic graph where nodes represent lab operations (predicates) and physical objects or quantities (arguments). Unlike previous models, PEGs incorporate "successor" edges to define temporal order and can link entities across an entire document, resolving long-range dependencies.
By moving to this document-level view, the researchers found they could capture nearly double the arguments per operation compared to previous sentence-level datasets (3.01 in X-WLP vs. 1.87 in the original WLP). This highlights the vast amount of scientific context that is typically "hidden" between sentences.
Interactive Simulation-based Annotation
A key innovation of this work is the method used to build the X-WLP corpus. Rather than simple text highlighting, the authors utilized an interactive text-based simulator. Annotators "played" through the protocol like a text adventure game, issuing commands that the simulator then validated against a logical lab state.
This approach forces annotators to resolve ambiguities—such as identifying which container a reagent is in—and ensures the resulting graphs are semantically "legal." While this process is time-intensive (averaging 53 minutes per protocol), it resulted in high human agreement, with a Smatch score of 84.99.
The X-WLP Dataset and Model Performance
The primary contribution is the X-WLP corpus, consisting of 279 complex biochemistry protocols. The authors evaluated two machine learning architectures: a pipeline model using SciBERT and a joint multi-task model based on the DYGIE++ framework.
While the models performed well at identifying entities (~79% F1) and grounding operations (~74% F1), a significant performance gap remains. Identifying cross-sentence relations and co-references proved difficult, with F1 scores dropping by nearly half when moving from intra-sentence to inter-sentence tasks (achieving only ~32.5% F1 on the latter).
Conclusion
The introduction of PEGs and the X-WLP dataset represents a significant step toward bridging the gap between natural language and robotic lab execution. By treating protocols as dynamic processes rather than static text, this research provides a foundation for future "text-to-code" assistants and automated "linter" tools that can flag missing or ambiguous steps in scientific documentation. Future work will focus on reducing annotation costs and improving model performance on long-range dependencies.
Summary updated