NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Robotic Process Automation of Unstructured Data with Machine Learning

Anna Wróblewska, Tomasz Stanislawek, Bartlomiej Prus-Zajaczkowski, Lukasz Garncarek

TL;DR

This paper presents a framework for automating business processes that handle unstructured data, a significant challenge for current Robotic Process Automation (RPA) tools. By integrating machine learning, particularly deep learning, the authors aim to improve the accuracy and efficiency of tasks like document classification, information extraction, and data validation, moving beyond traditional RPA's limitations.

What Problem Does This Paper Address?

Many businesses rely on processing a high volume of documents, such as invoices, emails, and letters, to conduct their operations. Traditional Robotic Process Automation (RPA) tools excel at automating repetitive tasks performed through graphical user interfaces (GUIs). However, these tools struggle with unstructured data, where the format and content vary significantly, making it difficult to define rigid, step-by-step automation rules. This paper tackles the challenge of extending RPA capabilities to effectively process and extract meaningful information from these unstructured documents, thereby unlocking greater automation potential and efficiency gains for businesses.

Methods

The authors propose a system architecture that augments traditional RPA with machine learning services. Key ML techniques employed include:

  • Image Processing: For enhancing document quality before OCR, using techniques like morphological filtering and Hough transforms to correct skewness.
  • Document Classification: Employing Support Vector Machines (SVMs) as a baseline, with ongoing experiments in deep learning methods like Convolutional Neural Networks (CNNs) and Recurrent Neural Networks (RNNs), including transfer learning with pre-trained language models.
  • Information Extraction: Utilizing character-level recurrent neural networks (like LSTMs and GRUs) to identify and extract specific entities (e.g., monetary amounts, addresses) from text.
  • Document Identification: A multi-step process involving information extraction, candidate matching against a client database, and a machine learning model (logistic regression baseline) to determine the correct match.
  • Validation and Improvement: Incorporating a "Validation and Improvement Path" where human feedback is used to correct model errors, feeding back into a "Validation Service" to continuously improve model accuracy.

The system is designed with a modular architecture, communicating via REST web services, allowing for easier integration into existing business processes.

Datasets

The paper mentions the use of datasets for training and testing their models, specifically in the context of a debt collection use case:

  • Court Documents: Training set of 26,639 documents, test set of 2,501 documents.
  • Bailiff Documents: Training set of 25,339 documents, test set of 2,691 documents.

They also refer to large open datasets like ImageNet and COCO, which are used for pre-training models in transfer learning. The authors note that their current datasets were obtained in a "partially automated manner" and require verification by linguists.

Key Insights and Ideas

  • Bridging the Gap in RPA: The core idea is to make RPA "smarter" by infusing it with ML capabilities, enabling it to handle the ambiguity and variability inherent in unstructured data.
  • Transfer Learning for Efficiency: Leveraging pre-trained language models and deep learning architectures (like VGG-19 and Faster-RCNN) significantly reduces the need for large, task-specific training datasets, a major bottleneck in ML adoption.
  • Modular ML Services: Designing the ML components as distinct services allows for flexible integration and easier upgrades, making the overall RPA system more adaptable.
  • Continuous Improvement Loop: The inclusion of a validation and feedback mechanism is crucial for building robust and reliable ML models in real-world business scenarios.
  • Handling Polish Language Complexity: The authors acknowledge the specific challenges of NLP for Polish due to its complex grammar and inflection, highlighting the need for specialized approaches.

Key Results

  • Document Classification: Achieved 92.08% accuracy for bailiff documents and 92.36% for court documents using SVMs. Deep learning methods showed a slight improvement of 0.5-1.0 percentage points.
  • Document Identification: Reported 99.84% precision and 76.02% recall with their baseline solution.
  • Monetary Amount Extraction (Table I):
    • Bailiff costs: Precision 83.07%, Recall 86.40%, F1 Score 84.70%.
  • Court costs: Precision 77.46%, Recall 97.77%, F1 Score 86.44%.
  • These results were achieved on test sets of approximately 3000 documents each, with no preprocessing steps for table identification achieving 91% precision and 87% recall.

Limitations and Future Work

  • Dataset Quality: The current datasets are partially automated and require linguistic verification, which impacts the ultimate quality of results.
  • Recall in Document Identification: The recall of 76.02% for document identification is noted as below expectations, with optimism that pre-trained language models will improve this.
  • Action Stage Automation: The authors plan to experiment with automating the "Action" stage of the business process, enabling the system to perform more complex tasks like responding to client emails.
  • Transfer Learning for Reduced Data: A key future goal is to significantly reduce the amount of training data required for automation by advancing transfer learning techniques.
  • Experimentation with Models: Ongoing experiments with various deep learning architectures and pre-trained models are planned to further enhance performance.

Summary updated

BibTeX
@inproceedings{wroblewska2018robotic,
  author = {Anna Wróblewska and Tomasz Stanislawek and Bartlomiej Prus-Zajaczkowski and Lukasz Garncarek},
  title = {{Robotic Process Automation of Unstructured Data with Machine Learning}},
  booktitle = {Fedcsis (position Papers)},
  year = {2018},
  doi = {10.15439/2018f373},
}
Figure