Everytime a paper like this comes out, I always have 1 question - How do they control the game using the LLMs? How does the control-feedback loop work? WHat tools, software and APIs they use to do it on Mac or Windows?
OP made the framework available https://github.com/JackHopkins/factorio-learning-environment
Show HN: Factorio Learning Environment – Agents Build Factories
21–30 of 225 posts
Re: Show HN: Factorio Learning Environment – Agents Build Factories
#22"put the right signals into my train network" Not even humans can pass this benchmark.
Re: Show HN: Factorio Learning Environment – Agents Build Factories
#23> [LLMs] yet are unable to operate effectively in constrained environments, reflecting limitations in error analysis This reflects my experience with gen-LLM coding, where LLMs keep trying to do the same thing in a loop.
Re: Show HN: Factorio Learning Environment – Agents Build Factories
#24Incredible idea and execution, very interesting results. Genuinely: what a time to be alive!
Re: Show HN: Factorio Learning Environment – Agents Build Factories
#25this is an absolutely fascinating project-- wow! i am going to have to fire up Factorio again and try it out! the implications of what the experience of playing games is like in this new LLM era / world order are fascinating.
Since a good AI is too likely to beat humans due to high APM, don't limit their intelligence, instead limit their APM...
Re: Show HN: Factorio Learning Environment – Agents Build Factories
#26Earlier quoted context omitted.
Hey - yes, I think this is definitely possible, as you don't need any training compute for it to work. Its super easy to plug-and-play different models into new games, once an API is made available. Models struggle in 2 main areas. The first is spatial reasoning: often the models make off-by-one errors which they find it hard to recover from (as factories are very sensitive to these mistakes - like in programming). T…
Have you tried specific prompting like writing a mermaid diagram that forces the model to contextual use long term horizon tasks ?
Re: Show HN: Factorio Learning Environment – Agents Build Factories
#27Factorio is a game that requires SIGNIFICANT amounts of thinking ahead, often requiring investments into things that won't pay off until much later and which might even significantly hamper initial development. Building a main bus vs spaghetti belts is one of the obvious examples here.
Humans with a little bit of experience playing factorio know that while building 1 item/s of some new resource is good, the game is about eventually building thousands of the new item. Until the LLM learns not to be short term minded it will probably build itself into a corner very quickly.
It is kind of amazing that these models manage to figure out a strategy at all, considering the game is not in their training set. That said, the current research goals are not very good IMO. Building the largest possible base has the predictable result of the AI building a humongous belt loop covering much of the map. A much better target would be the "standard" goal of SPM.
I think 99% of Factorio could be "solved" with GOFAI algorithms from the 80s and enough processing power. Set up a goal like 10k SPM and then work backwards towards how many of each resource you need, then recursively figure out fastest way to set up the production for each subresource using standard optimization algorithms from OR. No LLMs needed.
Re: Show HN: Factorio Learning Environment – Agents Build Factories
#28this is an absolutely fascinating project-- wow! i am going to have to fire up Factorio again and try it out! the implications of what the experience of playing games is like in this new LLM era / world order are fascinating.
I'd love to finally see interesting (non-predictable) AI opponents in games like StarCraft and Age of Mythology! Since a good AI is too likely to beat humans due to high APM, don't limit their intelligence, instead limit their APM...
Re: Show HN: Factorio Learning Environment – Agents Build Factories
#29I think this very clearly illustrates a big weakness of current LLMs-- humans might struggle just as much at first, but are able to specialize and adapt to a task, while LLMs can't-- yet.
I'm expecting even greater improvements from figuring out online learning/adaptation than what we got from chain-of-thought approaches.
Do you think the "API" to interact with the game is a big obstacle, compared to a human interacting with the game via monitor? Did anyone try to interact with the game via this API, and how does human effort measure up to the AIs?
Re: Show HN: Factorio Learning Environment – Agents Build Factories
#30its funny how video games are the hardest benchmark that humanity has for ai
There's probably also a distorting factor in that all the AI research into stock market and military applications probably doesn't get published, so it seems like video game AIs are a much larger percentage of research than it actually is.