Mallea system builds and manages interactive worlds from text

Mallea: Building, Steering, and Memorizing Worlds with Coding Agent

Artificial IntelligenceComputer Vision and Pattern Recognition

Summary

It is hard for computers to create and keep track of virtual worlds that respond to changes and look right. The authors made Mallea, a system that builds worlds by understanding text prompts, creating objects and rules that govern them. It can update these worlds based on user commands while remembering how objects look and behave. This approach helps combine the world’s state and appearance in a consistent way so the world can evolve naturally over time.

What this means in practice

  • For game developers: Create interactive game environments that can be dynamically updated through text commands while preserving object appearance and behavior.$Commercial implications: Enables selling tools or engines that allow game creators to build and modify worlds via coding agents and text input.
  • For virtual reality designers: Design immersive VR worlds that evolve based on scripted rules and user interactions while maintaining visual consistency.

Authors

Xuanyi Liu, Ruiqi Li, Siwei Ma

Abstract

Code world models represent world dynamics through explicit state and executable rules. We investigate how to coordinate object representations, behavioral revisions, and visual memory within this formulation. We present Mallea, a system for building, steering, and memorizing worlds from text. A coding agent infers object interaction requirements from the prompt and jointly plans object structure, properties, and rules, favoring compact representations that support those requirements. The world evolves under the planned rules; optional user actions steer it, while text requests can edit properties or extend capabilities with unaffected state preserved. Object texture memory retains reusable appearance only for whitebox-defined objects and adapts it as those objects change. The program advances world state, while a generative renderer combines current structure with remembered appearance. By organizing construction, intervention, and memory around the same objects, Mallea conditions subsequent observations on the latest state and compatible appearance. Project page: https://lxycopper.github.io/Mallea.