CrafText Benchmark: Advancing Instruction Following in Complex Multimodal Open-Ended World

TL;DR

Introduces CrafText benchmark with 3924 instructions, evaluating instruction following in dynamic, multimodal environments with advanced RL algorithms.

cs.AI 🔴 Advanced 2025-05-17 30 views
Zoya Volovikova Gregory Gorbov Petr Kuderov Aleksandr I. Panov Alexey Skrynnik
multimodal environment instruction understanding dynamic interaction generalization reinforcement learning

Key Findings

Methodology

This work constructs the CrafText environment based on Craftax, integrating GPT-4 to generate diverse instructions and validation functions. It features four task categories—Localization, Conditional, Building, and Achievement—and employs JAX-accelerated RL algorithms like PPO, FiLM, and Dynalang. The framework evaluates agents’ ability to interpret complex instructions, adapt to environment changes, and generalize across unseen tasks. Extensive experiments measure success rates on instruction paraphrasing and novel goal configurations, emphasizing the importance of environment dynamics for robust learning.

Key Results

  • In medium difficulty tasks, PPO-T+ achieved a success rate of 45% on paraphrased instructions and 28% on new goals, outperforming baselines such as Dynalang at 15%. In complex tasks, success rates declined due to environment variability, but diverse training improved generalization. The models demonstrated strong language understanding, handling 3924 instruction variants, indicating high robustness. Results confirm that integrating large-scale instruction data with environment modeling enhances adaptability in complex scenarios.

Significance

This research advances instruction-following in realistic, dynamic settings, moving beyond static, template-based environments. By incorporating large, diverse instruction datasets and environment variability, it provides a comprehensive evaluation framework, bridging the gap between laboratory research and real-world applications such as robotics and autonomous systems. It addresses core challenges in natural language understanding, environment adaptation, and task generalization, paving the way for more intelligent, flexible AI agents capable of operating in unpredictable environments.

Technical Contribution

The paper introduces a novel benchmark combining GPT-4 generated instructions, multi-task validation functions, and JAX-based RL training, supporting environment dynamics. It innovates by enabling models to handle environment variability and linguistic diversity simultaneously, with a systematic evaluation protocol for generalization. The integration of large instruction datasets with environment modeling represents a significant step forward in multi-modal AI research, offering new avenues for scalable, adaptable instruction-following systems.

Novelty

This is the first large-scale benchmark to evaluate instruction following in environments with both dynamic changes and rich linguistic diversity, leveraging GPT-4 for instruction generation and validation. Unlike prior static or template-based environments, CrafText emphasizes environment variability and instruction complexity, establishing a new standard for testing AI robustness and generalization in real-world-like scenarios.

Limitations

  • Despite improvements, success rates in highly dynamic or unseen environments remain below 50%, indicating room for better generalization. The reliance on predefined validation functions limits reasoning depth. High computational costs for training large models pose deployment challenges. Future work should focus on integrating reasoning modules and reducing training overhead.

Future Work

Future directions include enhancing models with reasoning and exploration capabilities, integrating multi-modal perception, and deploying in real robotic platforms. Extending the benchmark to include more complex tasks, such as multi-step reasoning and long-horizon planning, will further push the boundaries of instruction-following AI. Improving computational efficiency and scalability remains a priority to facilitate broader adoption.

AI Executive Summary

This paper introduces CrafText, a comprehensive benchmark designed to evaluate instruction-following agents in complex, dynamic, multimodal environments. Traditional research in this area has largely focused on static, template-based settings, which do not reflect the unpredictability of real-world scenarios. To bridge this gap, the authors constructed a dataset of 3924 instructions across four task categories—Localization, Conditional, Building, and Achievement—featuring a vocabulary of over 3400 words. These instructions are generated using GPT-4, ensuring linguistic diversity and complexity.

The core innovation lies in creating an environment that models real-world volatility, where objects and goals evolve over time, requiring agents to adapt continuously. The environment leverages JAX for high-performance RL training, employing algorithms such as PPO, FiLM, and Dynalang. The evaluation protocol emphasizes the agent’s ability to generalize to paraphrased instructions and unseen goal configurations, testing both linguistic flexibility and environmental adaptability.

Experimental results demonstrate that models trained with diverse instructions and environment dynamics outperform traditional static approaches, achieving success rates up to 45% in paraphrased instruction tasks and 28% in novel goal scenarios. These findings highlight the importance of environment modeling and instruction diversity in developing robust AI agents capable of operating in real-world settings.

Overall, CrafText sets a new standard for instruction-following benchmarks, emphasizing the integration of language understanding, environment dynamics, and generalization. While promising, the study also reveals challenges in achieving high success rates under extreme variability, indicating avenues for future research in reasoning, exploration, and efficiency. This work significantly advances the field, offering a scalable, realistic platform for training and evaluating next-generation autonomous agents.

Deep Analysis

Background

The evolution of multimodal AI has seen significant progress with models like CLIP, FILM, and vision-language navigation systems, enabling better visual-textual integration. Early benchmarks such as BabyAI and CraftAssist focused on static environments with limited linguistic variation, which simplified instruction understanding but restricted real-world applicability. Recent efforts introduced environment dynamics, yet many still rely on templated instructions and limited object interactions, reducing linguistic richness and environmental complexity. To address these limitations, researchers emphasize the need for benchmarks that incorporate diverse language, environment volatility, and complex interactions, aligning AI capabilities closer to human-like understanding and adaptability in real-world scenarios.

Core Problem

Despite advances, current instruction-following systems struggle with environment volatility and linguistic diversity. Static benchmarks do not simulate real-world unpredictability, leading to overfitting and poor generalization. The core challenge is designing environments that support complex, multi-goal tasks with dynamic object interactions and natural language variations, enabling models to learn flexible, robust behaviors. Addressing this gap is crucial for deploying AI in real-world applications like robotics, autonomous vehicles, and virtual assistants, where unpredictability and linguistic complexity are inherent.

Innovation

The key innovations include: 1) constructing a large, diverse instruction dataset generated via GPT-4, capturing linguistic richness; 2) designing an environment with dynamic object properties and evolving goals, reflecting real-world volatility; 3) integrating multi-task validation functions for precise success measurement; 4) employing JAX-accelerated RL algorithms for efficient training; 5) establishing a dual evaluation protocol for assessing generalization to both linguistic variations and unseen goals. These innovations collectively enable the development of more adaptable, linguistically flexible AI agents capable of operating in complex, changing environments.

Methodology

  • �� Data generation: Define goal templates, expand with GPT-4 for natural language instructions and paraphrases, and create validation functions for each goal.
  • �� Environment design: Extend Craftax to include environment dynamics, object property changes, and multi-goal interactions.
  • �� Training: Use JAX-based PPO, FiLM, and Dynalang algorithms, leveraging GPU acceleration for large-scale training.
  • �� Evaluation: Implement success rate metrics on paraphrased instructions and new goal configurations, with multiple random seeds for robustness.
  • �� Analysis: Compare models on success rates, generalization, and environment adaptability, conducting ablation studies to assess components' contributions.

Experiments

Experiments involve training models on the medium difficulty subset of the dataset, which includes 277 goals and approximately 5-6 instructions per goal. The models are evaluated on test sets with paraphrased instructions and unseen object configurations. Success rates are averaged over 50 seeds to ensure statistical significance. Hyperparameters such as learning rate, batch size, and environment variability are tuned for optimal performance. Results show that models like PPO-T+ outperform baselines, demonstrating the effectiveness of instruction diversity and environment modeling. Ablation studies confirm the importance of environment dynamics and instruction complexity in achieving robust generalization.

Results

PPO-T+ achieved a success rate of 45% on paraphrased instructions and 28% on new object goals, outperforming baselines like Dynalang (15%). The success rate in complex tasks was lower but improved with diverse training. The models demonstrated high linguistic robustness, handling over 3,900 instruction variants. These results confirm that integrating environment dynamics and large instruction datasets significantly enhances the agent’s ability to generalize and adapt, marking a step forward in real-world AI applications.

Applications

This benchmark supports development of autonomous robots, virtual assistants, and interactive systems that require understanding complex instructions in changing environments. It enables researchers to evaluate and improve models’ robustness, scalability, and generalization, accelerating deployment in real-world scenarios such as household robotics, industrial automation, and autonomous navigation. Long-term, it aims to facilitate AI systems capable of lifelong learning and adaptation in unpredictable settings.

Limitations & Outlook

Despite progress, success rates in highly dynamic or unseen environments remain below 50%, indicating the need for better generalization techniques. The reliance on predefined validation functions limits reasoning depth. High computational costs for training large models pose practical deployment challenges. Future work should focus on integrating reasoning modules, reducing training costs, and expanding task complexity to include multi-step reasoning and long-horizon planning.

Plain Language Accessible to non-experts

想象你在一个超级复杂的厨房里做饭。每次你都要根据不同的菜谱(指令)准备食材、调味料、烹饪步骤。厨房里有很多不同的工具和食材,有时会突然出现新食材或工具,你需要快速适应。以前的厨房只允许你用固定的菜谱和工具,容易出错。而现在,这个厨房可以随机变化,有很多不同的菜谱和新食材,你必须理解每个指令的意思,灵活应对各种变化。这个研究就像是在训练一个聪明的厨师,让它在复杂多变的厨房里学会做各种菜,甚至能应付新菜谱和新食材,变得越来越聪明、灵活。

ELI14 Explained like you're 14

想象你在玩一个超级复杂的厨房游戏,你要按照不同的指令做饭。有时候指令是“用两个鸡蛋做煎蛋”,有时候是“用面粉和糖做蛋糕”。游戏里的厨房也会突然变化,比如出现新食材或工具,你得马上适应。以前的游戏只让你用固定的菜谱,遇到新情况就会卡壳。现在,这个研究让游戏变得更聪明,它教会电脑理解各种不同的指令,还能应对厨房里的变化。它用一种叫GPT-4的聪明助手帮忙生成各种指令和验证方法,让电脑学会在不同环境下都能做出正确的菜。这就像训练一个超级厨师,能在任何厨房、任何菜谱下都能做出美味的饭菜,变得越来越厉害!

Abstract

Following instructions in real-world conditions requires the ability to adapt to the world's volatility and entanglement: the environment is dynamic and unpredictable, instructions can be linguistically complex with diverse vocabulary, and the number of possible goals an agent may encounter is vast. Despite extensive research in this area, most studies are conducted in static environments with simple instructions and a limited vocabulary, making it difficult to assess agent performance in more diverse and challenging settings. To address this gap, we introduce CrafText, a benchmark for evaluating instruction following in a multimodal environment with diverse instructions and dynamic interactions. CrafText includes 3,924 instructions with 3,423 unique words, covering Localization, Conditional, Building, and Achievement tasks. Additionally, we propose an evaluation protocol that measures an agent's ability to generalize to novel instruction formulations and dynamically evolving task configurations, providing a rigorous test of both linguistic understanding and adaptive decision-making.

cs.AI