Speaker
Description
The processing of administrative and legal documents increasingly relies on cloud-based artificial intelligence services, raising concerns regarding the handling of sensitive personal information outside institutional infrastructure. This paper investigates an architecture for automated processing of Romanian notarial documents that combines document understanding, structured information extraction, and multimodal Large Language Models (LLMs), with particular emphasis on the trade-off between cloud-based and locally deployed inference.
The proposed experimental framework addresses two complementary tasks: automated completion of notarial document templates and structured information extraction from Romanian identity cards. Cloud and local models are evaluated under comparable conditions using real notarial templates and synthetically generated identity cards, avoiding the use of real personal data. The evaluation considers extraction accuracy, key-value mapping performance, inference latency, and sensitivity to different prompting strategies.
Experimental results show that the cloud model achieves a pair F1 score of 91.5% for document completion, compared with 74.4% for the best locally deployed model. However, for multimodal identity-card extraction, both cloud and local models achieve the same mean field accuracy of 87.3%. Prompt adaptation is also shown to substantially improve the performance of smaller local models, with pair F1 increasing from 15.4% to 44.5% in the most significant case.
The results indicate that locally deployed language and vision models can support privacy-oriented document processing architectures, particularly for sensitive identity information, while introducing measurable trade-offs in accuracy and inference latency. The study provides practical insights into the design of hybrid cloud-local AI infrastructures for document-centric institutional applications.