CSE Framework: A UIMA-based Distributed System for Configuration Space Exploration

Elmer Garduño, Zi Yang, Avner Maiberg, Collin McCormack, Yan Fang, Eric NybergUIMA@GSCL 2013

Introduction

Building modern data analysis pipelines, such as Question Answering (QA) systems, involves integrating numerous specialized components for tasks like tokenization, named entity recognition, and retrieval. Each component introduces its own set of hyperparameters, leading to a combinatorial explosion of potential configurations. Traditionally, researchers have relied on manual "plug-and-play" experimentation, which is often inefficient, non-exhaustive, and prone to redundancy.

The CSE Framework addresses these challenges by automating Configuration Space Exploration (CSE). Built on the Unstructured Information Management Architecture (UIMA), it provides a distributed system capable of exploring thousands of component combinations in parallel, utilizing intelligent pruning to discover optimal system setups that frequently outperform human-tuned benchmarks.

Methodology

The CSE Framework treats pipeline construction as a constraint optimization problem. It is built atop UIMA and uimaFIT, leveraging several key technical features to manage complexity and scale.

Declarative Configuration

Users define the search space—specifying which components to evaluate at each pipeline phase—using declarative YAML descriptors. This approach abstracts the underlying complexity, allowing researchers to focus on the experimental design rather than the implementation details of the search logic.

Example of declarative YAML descriptors used to define the configuration space.

Distributed Execution and Persistence

The framework employs a master-worker architecture using Java Message Service (JMS). Experimental "traces" (specific paths through the configuration space) are distributed across a cluster. To minimize redundant computation, the system automatically caches intermediate results (UIMA CAS objects). If multiple configurations share initial processing steps, those steps are executed once, and the results are reused across all relevant traces.

Intelligent Pruning

To handle massive search spaces, the framework supports configurable pruning. If a component performs poorly in an early phase based on gold-standard evaluation, the system can "prune" that branch of the search tree, preventing the waste of resources on downstream components.

Experimental Evaluation

The framework was evaluated using two primary benchmarks in the biomedical Question Answering (BioQA) domain: the TREC Genomics Track 2006 and the QA4MRE (Question Answering for Machine Reading Evaluation) task. These benchmarks provided a rigorous environment to test the framework's ability to identify high-performing configurations in complex NLP tasks.

Results and Discussion

The CSE Framework demonstrated significant improvements over established human-tuned systems. In the TREC Genomics task, the automated search discovered configurations that outperformed the best participating systems from the original competition.

Comparison of CSE performance against human-tuned participant systems in the TREC Genomics task.

As shown in the table above, the CSE-derived system achieved a DocMAP of 0.5648 and a PsgMAP of 0.1773, surpassing the human-tuned benchmarks of 0.5439 and 0.1486, respectively. Notably, the framework achieved these results by exploring a vast execution space, including over 190,000 component executions across 2,700 unique traces on a 40-node cluster.

In the QA4MRE task, the framework identified a configuration that yielded a 59.6% performance gain over the initial manual configuration. These results suggest that automated exploration can identify effective component combinations that may be counter-intuitive to human experts.

Conclusion and Future Work

The CSE Framework successfully formalizes pipeline engineering as a systematic search problem. By automating the exploration of the configuration space, it enables the discovery of high-performance systems with significantly less manual effort.

Future developments for the framework include the implementation of a graphical user interface to replace YAML-based configuration, advanced visualization tools to help researchers interpret the results of large-scale combinatorial experiments, and an enhanced workflow language to support more complex, non-linear Directed Acyclic Graph (DAG) structures.

Summary updated

BibTeX
@inproceedings{garduno2013cse,
  author = {Elmer Garduño and Zi Yang and Avner Maiberg and Collin McCormack and Yan Fang and Eric Nyberg},
  title = {{CSE Framework: A UIMA-based Distributed System for Configuration Space Exploration}},
  booktitle = {UIMA@GSCL},
  year = {2013},
}
Figure