journal article·2025-12-04Open access

Toward Energy-Safe Industrial Monitoring: A Hybrid Language Model Framework for Video Captioning

Qianwen Cao, Che Li, Hangyuan Shi

Applied Sciences· Volume 15· Issue 23

Abstract

In the energy industry, like industrial monitoring scenarios, using generative AI for video captioning technology is crucial in event understanding and safety analysis. Current approaches typically rely on a single language model to decode visual semantics from video frames. Lightweight pre-trained generative models often produce overly generic captions that omit domain-specific details like energy equipment states or procedural steps. Conversely, multimodal large generative AI models can capture fine-grained visual cues but are prone to distraction from complex backgrounds, resulting in hallucinated descriptions that reduce reliability in high-risk energy workflows. To bridge this gap, we propose a collaborative video captioning framework, EnerSafe-Cap (Energy-Safe Video Captioning), which introduces domain-aware prompt engineering to integrate the efficient summarization of lightweight models with the fine-grained analytical capability of large models, enabling multi-level semantic understanding, thereby improving the accuracy and completeness of video content expression. Furthermore, to fully exploit the strengths of both small and large models, we design a dual-path heterogeneous sampling module. The large model receives key frames selected according to inter-frame motion dynamics, while the lightweight model processes densely sampled frames at fixed intervals, thereby capturing complementary spatiotemporal cues global event semantics from salient moments and fine-grained procedural continuity from uniform sampling. Experimental results on commonly used benchmark datasets show that our model outperforms baseline models. Specifically, on the VATEX dataset, our model surpasses the lightweight pre-trained language model SwinBERT by 19.49 in the SentenceBERT metric, and outperforms the multimodal large language model Qwen2-vl-2b by 8.27, validating the effectiveness of the method.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Multimodal Machine Learning Applications · Generative Adversarial Networks and Image Synthesis · Human Pose and Action Recognition

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

College of Safety and Ocean Engineering, China University of Petroleum-Beijing, Beijing 102249, China

Funding

National Natural Science Foundation of China · Beijing Natural Science Foundation · Science Foundation of China University of Petroleum, Beijing

References (48)

Show source-provided references
1. Dance video action recognition algorithm based on improved hypergraph convolutional networks10.1016/j.sasc.2025.200247 ↗
2. Hierarchical Temporal Sequence Segmentation for weakly supervised video anomaly detection10.1016/j.eswa.2025.128753 ↗
3. Recognize-and-tell: Generating video captions with textual cue in scene10.1016/j.eswa.2025.127831 ↗
4. Multi-Temporal Granularity Concept Induction for semantically driven video summarization10.1016/j.eswa.2025.127128 ↗
5. Fusion detection network with discriminative enhancement for weakly-supervised temporal action localization10.1016/j.eswa.2023.122000 ↗
6. Jenni, K., Srinivas, M., Sannapu, R., and Perumal, M. (2023, January 2–5). CSA-BERT: Video Question Answering. Proceedings of the 2023 IEEE Statistical Signal Processing Workshop (SSP), Hanoi, Vietnam.10.1109/SSP53291.2023.10207954 ↗
7. Ramos, R., Martins, B., Elliott, D., and Kementchedjhieva, Y. (2023, January 17–24). Smallcap: Lightweight image captioning prompted with retrieval augmentation. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition 2023, Vancouver, BC, Canada.10.1109/CVPR52729.2023.00278 ↗
8. Multi-Granularity Feature Fusion for Enhancing Encrypted Traffic Classification
9. Dinh, Q.M., Ho, M.K., Dang, A.Q., and Tran, H.P. (2024, January 16–22). Trafficvlm: A controllable visual language model for traffic video captioning. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition 2024, Seattle, WA, USA.10.1109/CVPRW63382.2024.00708 ↗
10. Cao, Q., Shi, H., Li, G., and Li, C. (2025). FlexTransformer: Flexibly Allocating Transformer Modules for Efficient Video Captioning. International Conference on Intelligent Computing, Springer.10.1007/978-981-95-0011-6_1 ↗
11. Switch transformers: Scaling to trillion parameter models with simple and efficient sparsity
12. ViCap-AD: Video caption-based weakly supervised video anomaly detection10.1007/s00138-025-01676-x ↗
13. Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A.N., Kaiser, Ł., and Polosukhin, I. (2017). Attention is all you need. Adv. Neural Inf. Process. Syst., 30.
14. Radford, A., Narasimhan, K., Salimans, T., and Sutskever, I. (2025, December 01). Improving Language Understanding by Generative Pre-Training. Available online: https://www.bibsonomy.org/bibtex/2f37881405991d6cd69534d152ff72e93/ghagerer.
15. Touvron, H., Lavril, T., Izacard, G., Martinet, X., Lachaux, M.-A., Lacroix, T., Rozière, B., Goyal, N., Hambro, E., and Azhar, F. (2023). Llama: Open and efficient foundation language models. arXiv.
16. Wang, P., Bai, S., Tan, S., Wang, S., Fan, Z., Bai, J., Chen, K., Liu, X., Wang, J., and Ge, W. (2024). Qwen2-vl: Enhancing vision-language model’s perception of the world at any resolution. arXiv.
17. Schulhoff, S., Ilie, M., Balepur, N., Kahadze, K., Liu, A., Si, C., Li, Y., Gupta, A., Han, H., and Schulhoff, S. (2024). The prompt report: A systematic survey of prompt engineering techniques. arXiv.
18. Venugopalan, S., Rohrbach, M., Donahue, J., Mooney, R., Darrell, T., and Saenko, K. (2015, January 7–13). Sequence to sequence-video to text. Proceedings of the IEEE International Conference on Computer Vision, Santiago, Chile.10.1109/ICCV.2015.515 ↗
19. Evolution of visual data captioning Methods, Datasets, and evaluation Metrics: A comprehensive survey10.1016/j.eswa.2023.119773 ↗
20. Shoman, M., Wang, D., Aboah, A., and Abdel-Aty, M. (2024, January 16–22). Enhancing traffic safety with parallel dense video captioning for end-to-end event analysis. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Seattle, WA, USA.10.1109/CVPRW63382.2024.00707 ↗
21. Lin, K., Li, L., Lin, C.-C., Ahmed, F., Gan, Z., Liu, Z., Lu, Y., and Wang, L. (2022, January 18–24). Swinbert: End-to-end transformers with sparse attention for video captioning. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, New Orleans, LA, USA.10.1109/CVPR52688.2022.01742 ↗
22. Shen, X., Li, D., Zhou, J., Qin, Z., He, B., Han, X., Li, A., Dai, Y., Kong, L., and Wang, M. (2023, January 17–24). Fine-grained audible video description. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Vancouver, BC, Canada.10.1109/CVPR52729.2023.01020 ↗
23. Cao, Q., Huang, H., and Wang, B. (2025, January 6–8). From Skeleton to Flesh: Aggregated Relational Transformer Towards Controllable Video Captioning with Two-Step Decoding. Proceedings of the 2025 International Conference on Multimedia Retrieval, Chicago, IL, USA.10.1145/3731715.3733347 ↗
24. Ghosh, S., Kong, Z., Kumar, S., Sakshi, S., Kim, J., Ping, W., Valle, R., Manocha, D., and Catanzaro, B. (2025). Audio flamingo 2: An audio-language model with long-audio understanding and expert reasoning abilities. arXiv.10.18653/v1/2024.emnlp-main.361 ↗
25. Li, J., Li, D., Savarese, S., and Hoi, S. (2023, January 23–29). Blip-2: Bootstrapping language-image pre-training with frozen image encoders and large language models. Proceedings of the International Conference on Machine Learning, Honolulu, HI, USA.
26. Bai, S., Zhang, Y., Zhou, W., Luan, Z., and Chen, B. (October, January 29). Soft prompt generation for domain generalization. Proceedings of the European Conference on Computer Vision, Milan, Italy.
27. Wang, C., Yang, Y., Li, R., Sun, D., Cai, R., Zhang, Y., and Fu, C. (2024, January 17–19). Adapting llms for efficient context processing through soft prompt compression. Proceedings of the International Conference on Modeling, Natural Language Processing and Machine Learning, Xi’an, China.10.1145/3677779.3677794 ↗
28. Choi, Y., Bae, S., Ban, S., Jeong, M., Zhang, C., Song, L., Zhao, L., Bian, J., and Kim, K.-E. (2024). Hard prompts made interpretable: Sparse entropy regularization for prompt tuning with rl. arXiv.10.18653/v1/2024.acl-long.449 ↗
29. Ahmad, R.A., Azhar, M., and Sattar, H. (2022, January 12–13). An image captioning algorithm based on the hybrid deep learning technique (CNN+ GRU). Proceedings of the 2022 International Conference on Frontiers of Information Technology (FIT), Islamabad, Pakistan.10.1109/FIT57066.2022.00032 ↗
30. Dense video captioning using unsupervised semantic information10.1016/j.jvcir.2024.104385 ↗
31. RNN-LSTM: From applications to modeling techniques and beyond—Systematic review10.1016/j.jksuci.2024.102068 ↗
32. Automatic video captioning using tree hierarchical deep convolutional neural network and ASRNN-bi-directional LSTM10.1007/s00607-024-01334-6 ↗
33. How deep neural networks learn compositional data: The random hierarchy model
34. Anomaly detection in concrete dam using memory-augmented autoencoder and generative adversarial network (MemAE-GAN)10.1016/j.autcon.2024.105794 ↗
35. Uzzaman, M.S., Debnath, C., Uddin, M.A., Islam, M.M., Talukder, M.A., and Parvez, S. (2022). LRCN based human activity recognition from video data. SSRN Electron. J.10.2139/ssrn.4173741 ↗
36. Luo, R., An, A., Zulkernine, F., and Rivest, F. (2024). YOLO-I3D: Optimizing inflated 3D models for real-time human activity recognition. J. Imaging, 10.10.3390/jimaging10110269 ↗
37. Nadeem, A., Sardari, F., Dawes, R., Husain, S.S., Hilton, A., and Mustafa, A. (2024). Narrativebridge: Enhancing video captioning with causal-temporal narrative. arXiv.
38. Chen, D., and Dolan, W.B. (2011, January 19–24). Collecting highly parallel data for paraphrase evaluation. Proceedings of the 49th Annual Meeting of the Association for Computational Linguistics: Human Language Technologies, Portland, OR, USA.
39. Wang, X., Wu, J., Chen, J., Li, L., Wang, Y.-F., and Wang, W.Y. (November, January 27). Vatex: A large-scale, high-quality multilingual dataset for video-and-language research. Proceedings of the IEEE/CVF International Conference on Computer Vision, Seoul, Republic of Korea.
40. Jin, X., Zhang, B., Gong, W., Xu, K., Deng, X., Wang, P., Zhang, Z., Shen, X., and Feng, J. (2024, January 16–22). Mv-adapter: Multimodal video transfer learning for video text retrieval. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition 2024, Seattle, WA, USA.10.1109/CVPR52733.2024.02563 ↗
41. Fleet, D., Pajdla, T., Schiele, B., and Tuytelaars, T. (2014). Category-specific video summarization. Computer Vision—ECCV 2014, Springer International Publishing.10.1007/978-3-319-10590-1 ↗
42. Carreira, J., and Zisserman, A. (2017, January 21–26). Quo vadis, action recognition? A new model and the kinetics dataset. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR) 2017, Honolulu, HI, USA.10.1109/CVPR.2017.502 ↗
43. Korolkov, V. (2024). Scene detection policies and keyframe extraction strategies for large-scale video analysis. arXiv.
44. Cheng, H., Zhang, Y., Liu, Y., Zhang, Z., Huang, S., and Xiong, H. (2023). Black-box prompt optimization: Aligning large language models without model training. arXiv.
45. Du, H., Li, R., and Gehringer, E. (2025, January 20–23). Objective metrics for evaluating large language models using external data sources. Proceedings of the 18th International Conference on Educational Data Mining, Palermo, Italy.
46. Hessel, J., Holtzman, A., Forbes, M., Bras, R.L., and Choi, Y. (2021). Clipscore: A reference-free evaluation metric for image captioning. arXiv.10.18653/v1/2021.emnlp-main.595 ↗
47. Reimers, N., and Gurevych, I. (2019). Sentence-bert: Sentence embeddings using siamese bert-networks. arXiv.10.18653/v1/D19-1410 ↗
48. Wang, X., Wei, J., Schuurmans, D., Le, Q., Chi, E.H., Narang, S., Chowdhery, A., and Zhou, D. (2023, January 1–5). Self-consistency improves chain of thought reasoning in language models. Proceedings of the Eleventh International Conference on Learning Representations (ICLR), Kigali, Rwanda.