Boosting AI Reliability with an FSM-Driven Streaming Inference Pipeline: An Industrial Case

πŸ“… 2026-03-02
πŸ“ˆ Citations: 0
✨ Influential: 0
πŸ“„ PDF
πŸ€– AI Summary
Industrial AI systems often exhibit prediction bias and fragility when encountering scenarios not covered in the training data. To address this, this work proposes a streaming inference pipeline that integrates a finite state machine (FSM) with an object detection model, explicitly embedding the FSM into the streaming AI inference process for the first time. By leveraging prior knowledge of operational scenarios, the approach guides and corrects real-time predictions of excavator workload. The method injects domain knowledge in a structured manner through a rule-guided prediction correction mechanism, significantly enhancing the model’s logical consistency and robustness in unseen scenarios. Evaluated on a real-world dataset comprising 12 construction sites, over 7,000 images, and more than 300 excavation operations, the proposed method substantially outperforms baseline approaches relying on handcrafted heuristic rules.

Technology Category

Application Category

πŸ“ Abstract
The widespread adoption of AI in industry is often hampered by its limited robustness when faced with scenarios absent from training data, leading to prediction bias and vulnerabilities. To address this, we propose a novel streaming inference pipeline that enhances data-driven models by explicitly incorporating prior knowledge. This paper presents the work on an industrial AI application that automatically counts excavator workloads from surveillance videos. Our approach integrates an object detection model with a Finite State Machine (FSM), which encodes knowledge of operational scenarios to guide and correct the AI's predictions on streaming data. In experiments on a real-world dataset of over 7,000 images from 12 site videos, encompassing more than 300 excavator workloads, our method demonstrates superior performance and greater robustness compared to the original solution based on manual heuristic rules. We will release the code at https://github.com/thulab/video-streamling-inference-pipeline.
Problem

Research questions and friction points this paper is trying to address.

AI robustness
out-of-distribution scenarios
prediction bias
industrial AI reliability
streaming inference
Innovation

Methods, ideas, or system contributions that make the work stand out.

FSM-driven inference
streaming inference pipeline
AI robustness
prior knowledge integration
industrial AI application
πŸ”Ž Similar Papers
No similar papers found.