HackerPapers

arXiv:2503.09617cs.MA

Factorio Learning Environment

Jack Hopkins, Mart Bakler, Akbir Khan

Abstract

Large Language Models (LLMs) are rapidly saturating existing benchmarks, necessitating new open-ended evaluations. We introduce the Factorio Learning Environment (FLE), based on the game of Factorio, that tests agents in long-term planning, program synthesis, and resource optimization. FLE provides exponentially scaling challenges -- from basic automation to complex factories processing millions of resource units per second. We provide two settings: (1) lab-play consisting of eight structured tasks with fixed resources, and (2) open-play with the unbounded task of building the largest factory on an procedurally generated map. We demonstrate across both settings that models still lack strong spatial reasoning. In lab-play, we find that LLMs exhibit promising short-horizon skills, yet are unable to operate effectively in constrained environments, reflecting limitations in error analysis. In open-play, while LLMs discover automation strategies that improve growth (e.g electric-powered drilling), they fail to achieve complex automation (e.g electronic-circuit manufacturing).

arXiv comments
Journal reference
DOI
Subjects
cs.MAMultiagent Systems cs.CLComputation and Language cs.LGMachine Learning

On Hacker News

Linked by 2 identifiable commenters in 2 comments across 2 threads, from Jul 2025 to Apr 2026.

Comments linking this paper, per year.

Discussed in comments2 threads

  1. Codex for almost everything 1 comment
  2. Baba Is Eval 1 comment
    • In Factorio's paper [1] page 3, the agent receives a semantic representation with coordinates. Have you tried this data format? [1]: https://arxiv.org/pdf/2503.09617

      kinduffView on HNParent context

Submitted to Hacker News

Connected through shared HN threads, not inferred similarity or a recommendation.