cs.CVMar 2, 2026

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

Authors: Yutian Zhang, Zhongyi Pei, Yi Mao, Chen Wang, Lin Liu, Jianmin Wang

Organizations: School of Software, BNRist, Tsinghua University, China · Tianyi Technology Co., Ltd, China

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.

Figures & tables

Explore similar work

CardsList
  1. MsFormer: Enabling Robust Predictive Maintenance Services for Industrial Devices

    Mar 24, 2026Jiahui Zhou, Dan Li, Ruibing Jin +5Industrial Internet of ThingsPredictive Maintenance

  2. IndusAgent: Agentic Reinforcement Learning for Cross-Category Industrial Anomaly Detection

    May 20, 2026Rongbin Tan*, Fangfang Lin*, Jinguo Luo* +9Industrial Anomaly DetectionTool-Using Vision-Language Agents

  3. SteelBench: Evaluating Vision-Language Models in Real-World Industrial Environments

    Jul 6, 2026Suryanarayana Reddy Yarrabothula, Manisha Chawla, Kunal Sinha +5VLM EvaluationVideo Understanding