Scientific Workflow Management with ADAMS

Peter Reutemann, Joaquin Vanschoren

Abstract

Scientific data mining often involves complex, multi-step pipelines that are difficult to manage using traditional canvas-based visual programming environments. This paper introduces the Advanced Data mining And Machine learning System (ADAMS), a novel workflow engine that utilizes a tree-based representation to streamline workflow construction and maintenance. By automating operator connections and providing a modular, plug-in-based architecture, ADAMS enables rapid prototyping and efficient management of large-scale scientific workflows, as demonstrated in real-world applications like GC-MS analysis and structural health monitoring.

Introduction

Contemporary data mining platforms such as KNIME, RapidMiner, and Kepler typically employ a "canvas-based" approach where users manually connect operators via a directed graph. While intuitive for simple tasks, this paradigm often results in a "spaghetti" of crossing lines as workflows scale to hundreds of steps. Maintaining such workflows is cumbersome, as inserting a single operator often necessitates a complete layout rearrangement. ADAMS addresses these bottlenecks by replacing the free-form canvas with a hierarchical tree structure, prioritizing logical flow over manual visual plumbing.

Methodology: Tree-Based Workflow Representation

The defining feature of ADAMS is its hierarchical organization of "actors." Unlike traditional systems, actors in ADAMS "snap" into a tree structure, allowing the engine to automatically infer connections between outputs and inputs based on the hierarchy.

Example of the tree-based workflow representation in ADAMS, showing hierarchical actors and control logic.

Actor Classification and Data Passing

Actors are categorized by their data I/O roles: Sources (output only), Transformers (input and output), Sinks (input only), and Standalone actors. Data is passed through the tree as "tokens"—Java objects that encapsulate the data along with provenance information. This token-based system allows for flexible granularity, enabling the workflow to process anything from individual data points to entire datasets within the same framework. Complex logic, such as loops and branching, is handled by specialized control actors (e.g., Branch, WhileLoop).

Extensibility and Real-World Applications

ADAMS is designed as a modular "glue" for various scientific tools. Its plug-in architecture allows for the seamless integration of external libraries and custom scripts (Groovy, Jython) without requiring system recompilation. This extensibility is key to its support for a wide range of scientific tasks.

Summary of tasks and third-party library support integrated into the ADAMS framework.

The utility of ADAMS has been validated through several high-complexity projects:

  1. GC-MS Analysis: Automating the detection of compound concentrations in high-dimensional chemical data, a task previously deemed too complex for standard ML tools.
  2. InfraWatch: Managing real-time data streams from over 150 sensors on a highway bridge, demonstrating the engine's capability for high-performance online processing.

Discussion and Conclusion

By shifting the focus from visual layout to logical structure, ADAMS significantly reduces the overhead associated with workflow maintenance. While the tree-based approach may present a steeper initial learning curve for users accustomed to canvas-based tools, the benefits in terms of scalability, reproducibility (via built-in provenance), and rapid prototyping are substantial. Future work focuses on expanding the actor library and enhancing support for massive-scale sensor networks.

Summary updated

BibTeX
@inproceedings{reutemann2012scientific,
  author = {Peter Reutemann and Joaquin Vanschoren},
  title = {{Scientific Workflow Management with ADAMS}},
  booktitle = {ECML/PKDD},
  year = {2012},
  doi = {10.1007/978-3-642-33486-3\_58},
}
Figure