用多智能体框架快速生成调度指令,提升系统应急响应能力。
MAFIG: Multi-agent Driven Formal Instruction Generation Framework

- 通过感知与决策双智能体聚焦局部故障模块,缩小决策范围。
- 在三个真实场景中实现超94%成功率,处理速度低于0.33秒。
- 将云端大模型能力蒸馏到轻量本地模型,兼顾效率与准确性。
调度系统中的紧急情况常引发局部功能失效,威胁系统稳定甚至导致崩溃。现有方法依赖鲁棒或反应式调度,通过预设规则或重排策略应对,但现实紧急事件的多样性和不可预测性使其难以提前预见,限制了复杂场景下的适应性。近期研究表明,大型语言模型(LLMs)凭借广泛先验知识和强推理能力,在复杂调度任务中展现出潜力。然而,LLM的高推理延迟与调度系统冗长上下文显著制约其在应急处理中的应用。为此,本文提出多智能体驱动的形式化指令生成框架(MAFIG),将决策范围限定于受紧急事件影响的局部功能模块,通过生成形式化指令快速修复调度逻辑。MAFIG包含感知代理与应急决策代理,有效缓解长上下文对应急决策的负面影响。进一步引入基于跨度聚焦的损失驱动局部蒸馏机制(SFL),将云端大模型(C-LLMs)的决策能力迁移至轻量级本地模型,降低推理延迟同时保持决策有效性。在港口、仓储、甲板调度数据集上的实验显示,成功率达98.49%、94.97%、97.50%,平均处理时间分别为0.33秒、0.23秒、0.19秒。结果表明,MAFIG能有效缓解紧急事件影响,提升调度系统的鲁棒性与适应性。
原文摘要 · Abstract (English)
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.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。