Visual-CoT: a visual guided chain of thought framework for fine-grained control in StarCraft II actions
Yanan Ni, Runnan Qi, Zongyuan Li, Kuihua Huang, Lumin Jiang, Xiaojie Xu, Guo Xian, Xuebo Zhang · 2025
In recent years, large language models (LLMs) have made significant progress in the field of natural language processing. However, fine-grained action control in complex environments remains a significant challenge. To address this issue, we propose a framework called Visual-CoT (Visual guided Chain of Thought), which aims to enhance the ability of LLMs to perform fine-grained action control in complex strategy games such as StarCraft II. This framework integrates visual information with the chain of thought, allowing visual data to seamlessly interact with the reasoning and decision-making processes of LLMs. We implement Visual-CoT on the LLMPySC2 environment (the Large Language Model StarCraft II Learning Environment) and validate it on a map featuring high-ground terrain information, simulating a scenario where one Colossus faces thirty-two Zerglings. Experimental results show that the Visual-CoT framework improves the LLM’s win rate to 45% (winning 9 out of 20 games), significantly enhancing fine-grained control and precise action execution capabilities. The code is open-sourced and available at https://github.com/Flycat-Tom/Visual-COT.