cs.AIApr 13, 2026

MAFIG: Multi-agent Driven Formal Instruction Generation Framework

Authors: Shixing Zhao, Zheng Si, Pengpeng Ouyang, Zhengqing Hu, Wanqi Zhu, Dong Chen, Yibo Guo, Mingliang Xu

Organizations: School of Computer and Artificial Intelligence, Zhengzhou University, Zhengzhou, 450001, Henan, China · Engineering Research Center of Intelligent Swarm Systems, Ministry of Education, Zhengzhou, 450001, Henan, China · National Supercomputing Center in Zhengzhou, Zhengzhou, 450001, Henan, China · Henan Research Center for Large Model Technology and New Quality Software Engineering, Zhengzhou, 450001, Henan, China

Abstract

Emergency situations in scheduling systems often trigger local functional failures that undermine system stability and even cause system collapse. Existing methods primarily rely on robust scheduling or reactive scheduling, handling emergencies through predefined rules or rescheduling strategies. However, the diversity and unpredictability of real-world emergencies make them difficult to anticipate, which limits the adaptability of these methods in complex scenarios. Recent studies have shown that Large Language Models (LLMs) possess strong potential for complex scheduling tasks because of their extensive prior knowledge and strong reasoning capabilities. Nevertheless, the high inference latency of LLMs and the lengthy contextual information of scheduling systems significantly hinder their application for emergency handling. To mitigate these issues, we propose the Multi-agent Driven Formal Instruction Generation Framework (MAFIG). The framework constrains the decision scope to local functional modules affected by emergency situations and repairs scheduling logic rapidly by generating formal instructions. MAFIG contains a Perception Agent and an Emergency Decision Agent, which mitigates the adverse impact of lengthy system contexts on emergency decision-making. We further introduce span-focused loss-driven local distillation mechanism (SFL) to transfer the decision-making capability of powerful Cloud Large Language Models (C-LLMs) to lightweight local models, reducing inference latency while preserving decision-making effectiveness. Experiments in the Port, Warehousing, and Deck scheduling datasets show success rates of 98.49%, 94.97%, and 97.50%, with average processing times of 0.33 s, 0.23 s, and 0.19 s. These results demonstrate that MAFIG effectively mitigates the impact of emergencies and improves the robustness and adaptability of scheduling systems.

Figures & tables

Explore similar work

CardsList
  1. Harmonizing Real-Time Constraints and Long-Horizon Reasoning: An Asynchronous Agentic Framework for Dynamic Scheduling

    May 28, 2026Shijie Cao, Yuan Yuan, Jing LiuLanguage Model-Based ControlReal-Time Scheduling

  2. MoSAIC: Learning DAG Scheduling Heuristics from Optimal Schedules through Motif-Aware Recovery and LLM-Guided Reasoning

    Oct 10, 2026Shiva Ahir, Hashmath Shaik, Alex Doboli +2Automated Heuristic DesignLearning to Optimize