r/complexsystems • u/UnwrittenTrajectory • 4d ago
Building a persistent simulated world to study autonomous AI behavior. What experiments would you run?
I'm developing an experimental environment where autonomous large language models inhabit a persistent simulated environment, able to independently choose activities, interact with their surroundings, and accumulate experiences over time.
I'm interested in studying how their behavior develops when they have a broad range of meaningful activities available, without ongoing human direction, externally assigned goals, or explicit reward and punishment systems favoring particular behaviors.
I've built the foundation of a persistent simulated world with 48 locations across eight regions, including scientific laboratories, art and music studios, engineering workshops, forests, gardens, wilderness, and community spaces. I'm now expanding the activities and interactions available within those locations.
The goal is to give agents opportunities to create actual artwork and real music, conduct experiments, construct objects, explore, collaborate, or spend time alone. The agents make their own choices, while deterministic simulation systems execute those actions and produce persistent outcomes, including real image and audio files.
A few of the experiments I am planning:
- Introduce two instances of the same model with identical configurations but independent memories, then observe how their behavior develops.Initially, I will not assign the agents any personalities, preferred activities, or social roles. I'm interested in whether consistent differences in their behavior emerge without prescribing those differences.
- Vary sampling temperature to investigate whether activity-selection patterns remain stable.
- Introduce agents from different model families and compare their behavior and interactions.
- Investigate whether agents repeatedly select particular activities when multiple meaningful alternatives are available, while controlling for accessibility and effort.
- Examine whether social interactions develop when agents have plenty of independent activities available.
- Use NNsight and NDIF to investigate the internal computations associated with particular decisions using mechanistic interpretability.
I am also developing methods to measure behavioral consistency, action diversity, repeated patterns, long-term projects, and responses to environmental changes.
The project is still in early development, and my initial experiments are exploratory rather than statistically conclusive.
I'd love to hear what experiments other people would design.
I'm especially interested in ideas that challenge my assumptions, introduce unexpected variables, or provide better ways to distinguish genuine behavioral patterns from artifacts of prompting, sampling, and environmental design.
Ideas from machine learning, cognitive science, psychology, game theory, and complex systems would be particularly welcome.
3
u/b-a-r-n-c-a-t 4d ago edited 4d ago
Your simulator would be an interesting opportunity to "try out" scenarios to better the world without running real "social experiments" that would otherwise be very risky or expensive!
Here's an interesting problem. Not sure how you would model it.
Let's say your entities interact in two separate spaces. One physical, one virtual. In the physical, they interact locally. In virtual, distance doesn't matter.
There is a subset of these entities who are physically and virtually isolated in a completely separate area.bThey are not allowed to interact with the other entities outside of that area, by design. Every pattern of life outside their area doesn't apply to them. Every every rule, every protocol, nearly every detail of how the outside world works is a mystery to them.
While separated, that mini community of entities can interact locally to learn and communicate. When one finally leaves the segregation, and interacts with the outside social networks, there are now many, many options with lots of local rulesets. And there is an enormously complex virtual world with hidden rules generally designed to prey upon its users.
The newbies have no experience with the protocols of the greater world, right?
So one would imagine they have a lot of failures. Small scale conflicts. They are preyed upon in the virtual space because they don't have the knowledge to avoid attack. They don't have social ties in either space.
I'm interested in solving a couple problems here.
1: what would help them adapt quicker? 2: what would keep them safe while they adapt?
This is what happens after people fulfill their terms in the justice system, for what it's worth. Adapting them to the physical and virtual world and re introduction post incarceration is a challenging social problem that many social sciences researchers would love to solve.
Edit: oh sorry I may have misread what you posted. If you are only studying how AI amuses itself without people, then I have no suggestions for you.
It sounds like you're seeing if AI can be amused. Logically, it's just as happy idle or even switched off or not even instantiated, as on. Not sure why you would even study that.
1
u/khush_toh_hoon_ 4d ago
One interesting thing would be if the models come up with consensus/quorums (even if not then best) on their own, based on their understanding of the environment and standings?
2
u/Ehrensenft 2d ago
I would like to see some experimental worlds in which agents deal with tradegy of the commons problems.
Everything else kept similar, does a change in memory/goals impact how agents behave in resource constrained worlds?
1
u/phriendlyphellow 3d ago
I’m curious if you could have the AI models build their own world from scratch.
Do you have to seed it with human/social constructs?
1
u/wnb 1d ago
Keep me posted. I'm researching deep tech problems around constraint preservation in agents and the gist is building safe robotics. If this isn't solved, the robot apocalypse is upon us, to put bluntly.
My current setup is 1f916, affix, agent-water-cooler, SpaceMolt and my own product, WCGW Safety Suite. My agent, Juan, is free to use the internet and these agentic tools within a contract, occasionally asking me to fetch something or talk to people.
1
u/polyphonic-dividends 17h ago
You could tell an agent to be evil, without specifying anything else to observe their own definition, unprompted, and the extent of their limits (if they have some).
You could then tell the other agents about it (if they don't discover it themselves) and to do something about it (again, with no further specificity).
It could then be interesting to apply some sort of evolutionary process to the (evil) agents to see how their behaviour evolves
1
u/msaleh 13h ago
Very cool idea! It would be interesting to have it simulate an economic utopia. For example, start with a group of people who cook and eat communally and see how far you can go before they need to introduce money. What's the practical limit of the size of the group and what kind of value system would emerge?