new

Get trending papers in your email inbox!

Subscribe

Daily Papers

byAK and the research community

Dec 4

NetHack+: A Configurable Environment for Long-Horizon Agent Research

NetHack remains a challenging benchmark for long-horizon decision-making despite extensive research employing reinforcement learning, imitation learning, and language-model agents. A substantial difficulty in NetHack derives from the lack of infrastructure surrounding the game. As a result, we present NetHack+, an upgraded game engine with 17 settings for varying game difficulty, 2.1x the throughput of the NetHack Learning Environment (NLE) at 64 games per thread, and integrations into Gym and Prime Intellect's Verifiers. We accomplish this by refactoring NLE to allow saving and restoring game state, configurable game mechanics, and custom observation and action interfaces embedded in modern LLM harnesses (Prime Agent and Claude Code). We also package a new metric BAL_{min} to reward balanced progression in dungeon depth and experience, motivated by successful human runs and designed to limit rewards for agents that descend without gaining experience. Experimentally, interface improvements and continual harness optimization yield modest gains in BAL_{min}, reaching approximately 1.5x baseline performance. To demonstrate the utility of checkpointing, we introduce Prime-Agent-Explore (PAE), an orchestrator-based search algorithm that selects saved checkpoints and guides subsequent exploration. Using 30 attempts with full vision, PAE reaches 11.4% BAL_{min} and 34.7% BAL_{max}, improving over the single-life baseline by 8.6x and 3.5x, respectively, and exceeding the best of k independent lives with the same number of attempts by 1.6-2.8x. With fog-of-war, PAE reaches 6.0% BAL_{min} and 30.9% BAL_{max}, against 4.0% and 13.2% for the strongest single-life entry on the BALROG leaderboard (GPT-6 Astra). We also evaluate PAE on MiniHack, Crafter, and TextWorld, where it improves over a single attempt on all three and reaches the highest reported score on TextWorld.

  • 3 authors
·
Dec 2 1

diff History for Neural Language Agents

Neural Language Models (LMs) offer an exciting solution for general-purpose embodied control. However, a key technical issue arises when using an LM-based controller: environment observations must be converted to text, which coupled with history, results in long and verbose textual prompts. As a result, prior work in LM agents is limited to restricted domains with small observation size as well as minimal needs for interaction history or instruction tuning. In this paper, we introduce diff history, a simple and highly effective solution to these issues. By applying the Unix diff command on consecutive text observations in the interaction histories used to prompt LM policies, we can both abstract away redundant information and focus the content of textual inputs on the salient changes in the environment. On NetHack, an unsolved video game that requires long-horizon reasoning for decision-making, LMs tuned with diff history match state-of-the-art performance for neural agents while needing 1800x fewer training examples compared to prior work. Even on the simpler BabyAI-Text environment with concise text observations, we find that although diff history increases the length of prompts, the representation it provides offers a 25% improvement in the efficiency of low-sample instruction tuning. Further, we show that diff history scales favorably across different tuning dataset sizes. We open-source our code and data to https://diffhistory.github.io.

  • 3 authors
·
Dec 12, 2023