arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2407.00496cs.LGcs.AI
收藏

一种基于两阶段强化学习的多实体任务分配方法

A Two-stage Reinforcement Learning-based Approach for Multi-entity Task Allocation

Shenzhen International Graduate School, Tsinghua University(清华大学深圳国际研究生院)

Aicheng Gong, Kai Yang, Jiafei Lyu, Xiu Li

AI总结:

本文针对动态多实体任务分配问题,提出一种基于相似性的两阶段强化学习方法,通过预分配策略、注意力机制和超参数网络结构避免局部最优并适应任务变化,在多个环境中优于遗传算法且具备零样本泛化能力。

摘要:

任务分配是一个关键的组合优化问题,对于多机器人协作和资源调度等现代应用至关重要。决策者必须在不同场景下将实体合理地分配给任务。然而,传统方法假设任务和实体的属性与数量是静态的,通常依赖动态规划和启发式算法求解。实际上,任务分配类似于马尔可夫决策过程,任务和实体的属性会动态变化。因此,算法必须根据状态动态分配任务。为解决这一问题,我们提出了一种基于相似性的两阶段任务分配算法,利用强化学习学习分配策略。所提出的预分配策略允许实体预先选择合适任务,有效避免局部最优,从而更好地找到最优分配。我们还引入了注意力机制和超参数网络结构,以适应实体和任务数量及属性的变化,使我们的网络结构能够泛化到新任务。多个环境中的实验结果表明,我们的算法有效应对了实际应用中动态任务分配的挑战。与遗传算法等启发式算法相比,我们的强化学习方法能更好地解决动态分配问题,并以良好性能实现对新任务的零样本泛化。代码可在 https://github.com/yk7333/TaskAllocation 获取。

英文摘要:

Task allocation is a key combinatorial optimization problem, crucial for modern applications such as multi-robot cooperation and resource scheduling. Decision makers must allocate entities to tasks reasonably across different scenarios. However, traditional methods assume static attributes and numbers of tasks and entities, often relying on dynamic programming and heuristic algorithms for solutions. In reality, task allocation resembles Markov decision processes, with dynamically changing task and entity attributes. Thus, algorithms must dynamically allocate tasks based on their states. To address this issue, we propose a two-stage task allocation algorithm based on similarity, utilizing reinforcement learning to learn allocation strategies. The proposed pre-assign strategy allows entities to preselect appropriate tasks, effectively avoiding local optima and thereby better finding the optimal allocation. We also introduce an attention mechanism and a hyperparameter network structure to adapt to the changing number and attributes of entities and tasks, enabling our network structure to generalize to new tasks. Experimental results across multiple environments demonstrate that our algorithm effectively addresses the challenges of dynamic task allocation in practical applications. Compared to heuristic algorithms like genetic algorithms, our reinforcement learning approach better solves dynamic allocation problems and achieves zero-shot generalization to new tasks with good performance. The code is available at https://github.com/yk7333/TaskAllocation.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑