LMV-RPA: Large Model Voting-based Robotic Process Automation
Osama Abdellatif, Ahmed Ayman, Ali Hamdi
TL;DR
LMV-RPA addresses the challenge of automating high-volume unstructured document processing by leveraging a majority voting mechanism across outputs from multiple OCR engines and two large language models to generate structured JSON. The approach combines PaddleOCR, Tesseract, EasyOCR, and DocTR with LLaMA 3 and Gemini-1.5-pro to improve accuracy to 99% and accelerate throughput by about 80% over single-layer configurations. Benchmark results against UiPath and Automation Anywhere demonstrate superior speed and reliability for large-scale OCR workflows, particularly in complex layouts. The work provides a scalable, automatic pipeline for converting unstructured OCR text into structured data, with accessible data and code resources.
Abstract
Automating high-volume unstructured data processing is essential for operational efficiency. Optical Character Recognition (OCR) is critical but often struggles with accuracy and efficiency in complex layouts and ambiguous text. These challenges are especially pronounced in large-scale tasks requiring both speed and precision. This paper introduces LMV-RPA, a Large Model Voting-based Robotic Process Automation system to enhance OCR workflows. LMV-RPA integrates outputs from OCR engines such as Paddle OCR, Tesseract OCR, Easy OCR, and DocTR with Large Language Models (LLMs) like LLaMA 3 and Gemini-1.5-pro. Using a majority voting mechanism, it processes OCR outputs into structured JSON formats, improving accuracy, particularly in complex layouts. The multi-phase pipeline processes text extracted by OCR engines through LLMs, combining results to ensure the most accurate outputs. LMV-RPA achieves 99 percent accuracy in OCR tasks, surpassing baseline models with 94 percent, while reducing processing time by 80 percent. Benchmark evaluations confirm its scalability and demonstrate that LMV-RPA offers a faster, more reliable, and efficient solution for automating large-scale document processing tasks.
