AI Machine Learning & Data Science Research

Microsoft & Arizona U’s TextWorldExpress Simulates Text Games at 1M SPS, a Speedup of 3 Orders of Magnitude

In the new paper TextWorldExpress: Simulating Text Games at One Million Steps Per Second, a research team from the University of Arizona and Microsoft Research Montréal presents TextWorldExpress, a high-performance text-game simulator that boosts throughput by approximately three orders of magnitude, reaching one million steps per second.

Text games have emerged as a fundamental research paradigm for learning and evaluating embodied agents on natural language processing (NLP) tasks. The tooling in this research area however is built on legacy code bases that limit the games to running at 1-300 steps per second, which can entail weeks of experiment time for sample-heavy reinforcement or evolutionary learning agents.

A research team from the University of Arizona and Microsoft Research Montréal addresses this issue in the new paper TextWorldExpress: Simulating Text Games at One Million Steps Per Second, proposing a high-performance text-game simulator that boosts throughput by approximately three orders of magnitude, reaching one million steps per second (SPS).

The team summarizes their main contributions as follows:

  1. TextWorldExpress is a highly optimized reimplementation of three text game benchmarks focusing on instruction following, commonsense reasoning and object identification.
  2. We empirically demonstrate that this simulator runs up to three orders of magnitude faster than current tooling, reaching 300k steps per second (SPS) on a single thread and exceeding 1M SPS on modest multi-core desktop hardware.

TextWorldExpress is built on heavily optimized and profiled code that enables it to quickly render environments and simultaneously generate an exhaustive set of possible actions for agents to significantly speedup simulation time. Moreover, TextWorldExpress simulations can be done entirely on CPU cores, so it can perform large-scale simulations without requiring expensive multi-GPU nodes.

In their empirical study, the team compared the TextWorldExpress with three popular benchmark environments — TextWorld (Côté et al., 2018), Jericho (Hausknecht et al., 2020), and ScienceWorld (Wang et al., 2022) — on tasks from three action spaces: CookingWorld, TextWorld Commonsense and Coin Collector. The results show that TextWorldExpress can effectively simulate in online generation mode at an average speed of 212k frames per second per thread, almost three orders of magnitude faster than current simulators. On multi-core workstations, TextWorldExpress can reach over one million steps per second.

Overall, the study shows that the proposed TextWorldExpress can significantly reduce experiment runtimes, enabling researchers to conduct billion-step-scale experiments in about one day.

The code is available on the project’s GitHub. The paper TextWorldExpress: Simulating Text Games at One Million Steps Per Second is on arXiv.


Author: Hecate He | Editor: Michael Sarazen


We know you don’t want to miss any news or research breakthroughs. Subscribe to our popular newsletter Synced Global AI Weekly to get weekly AI updates.

5 comments on “Microsoft & Arizona U’s TextWorldExpress Simulates Text Games at 1M SPS, a Speedup of 3 Orders of Magnitude

  1. Pingback: University of Arizona and Microsoft AI Research Presents 'TextWorldExpress': A High-Performance Text-Game Simulator That Boosts Simulation Upto One Million Steps Per Second - Free Download

  2. Pingback: University of Arizona and Microsoft AI Research present TextWorldExpress: a high-performance text game simulator that boosts simulation to up to one million steps per second - Instant News

  3. Thanks for writing this post.

  4. Very well researched article written by you.

  5. ANTHONY JOSHUA

    [COINS RECOVERY WORLDWIDE FIRM] Con artists have been scamming and scheming since ancient times. And yet every generation seems to bring a new bag of tricks, inspired by the latest app, platform, or pandemic there is to exploit. This time I fell into an investment designed to alleviate me from poverty, the economy was hitting hard and my taco’s restaurant was in a bad place financially. It was either I get run down by time due to low capital or somehow double my capital and I always hear how cryptocurrency is not only a risk but a good investment strategy if done right . Being desperate I I got engaged with cyber criminals who ran a network of investment scam from the broker to the website where I invested, they ripped me off as much as USD 677K under a month . i thought I was as careful as ever but their superpower is using the right word, asking the right questions because the process of being fooled takes place inside our minds,it’s up to us to realize when we are being taken. When Is I did realize I was on a rampage as to how to recover my asset but no matter what I did it looked like I was always hitting a dead end with no positive lead on how to recover my lost crypto investment, My lawyer first suggested hackers and asked me to give it a thought. Few days later, ready to try anything he connected me with “COINS RECOVERY WORLDWIDE TEAM”, anyone in my situation would have given up hope of recovery but COINS RE-COVERY TEAM recovered my asset with ease and quality experience. I’m indeed grateful for a smooth recovery process, these fraudsters are eating deep into our pockets everydaY,COINSRECOVERYWORLDSWIDE TEAM can turn that around out CONTACT[COINSRECOVERYWORLDWIDE]
    @
    G
    MAILLLL
    [.]
    COM

Leave a Reply

Your email address will not be published. Required fields are marked *