Role-Specific Reward Design with Large Language Model for StarCraft II
Sijia Li, Haonan Lou, Xu Zhang, Xin Zeng, Zhixuan Shen, Tianrui Li
Abstract
Reward acts as a signal to guide the agent’s learning process in Reinforcement Learning (RL), evaluating and assigning rewards to the agent’s actions based on theiralignment with goals. Designing reward is challenging in multiagent environment such as StarCraft II benchmark since agents face credit allocation and role adaptation problems. Recent studies have successfully exploited the language understanding and reasoning capabilities of large language models (LLMs) to learn manipulation tasks. Impressed by the remarkable power of LLMs, this paper employs LLMs as role-specific reward designer for playing StarCraft II, making rewards more flexible and task-oriented. Firstly, we develop an interactive text and multiagent RL environment to study real-time strategy generation in StarCraft II. Secondly, we use LLMs to interpret the game situation and understand agent roles from user instructions. Then, by assigning appropriate subtasks, LLMs quantify the completion of these subtasks to generate role-specific rewards. Further, credit assignment problem is addressed by introducing dynamic reward weights in value decomposition method. In StarCraft II maps, experiments show that role-aligned RL agents trained with our framework achieve superior policy performance, and win rate results demonstrates the effectiveness of our approach in decision-making for micromanagement and long-term planning.
BibTeX
@inproceedings{icassp2025_rolespecificrewa,
title = {Role-Specific Reward Design with Large Language Model for StarCraft II},
author = {Sijia Li and Haonan Lou and Xu Zhang and Xin Zeng and Zhixuan Shen and Tianrui Li},
booktitle = {ICASSP 2025},
year = {2025}
}