Score: 0

From Pre-labeling to Production: Engineering Lessons from a Machine Learning Pipeline in the Public Sector

Published: November 3, 2025 | arXiv ID: 2511.01545v1

By: Ronivaldo Ferreira , Guilherme da Silva , Carla Rocha and more

Potential Business Impact:

Builds trustworthy government AI for everyone.

Business Areas:
Machine Learning Artificial Intelligence, Data and Analytics, Software

Machine learning is increasingly being embedded into government digital platforms, but public-sector constraints make it difficult to build ML systems that are accurate, auditable, and operationally sustainable. In practice, teams face not only technical issues like extreme class imbalance and data drift, but also organizational barriers such as bureaucratic data access, lack of versioned datasets, and incomplete governance over provenance and monitoring. Our study of the Brasil Participativo (BP) platform shows that common engineering choices -- like using LLMs for pre-labeling, splitting models into routed classifiers, and generating synthetic data -- can speed development but also introduce new traceability, reliability, and cost risks if not paired with disciplined data governance and human validation. This means that, in the public sector, responsible ML is not just a modeling problem but an institutional engineering problem, and ML pipelines must be treated as civic infrastructure. Ultimately, this study shows that the success of machine learning in the public sector will depend less on breakthroughs in model accuracy and more on the ability of institutions to engineer transparent, reproducible, and accountable data infrastructures that citizens can trust.

Country of Origin
🇧🇷 Brazil

Page Count
11 pages

Category
Computer Science:
Software Engineering