r/complexsystems • • 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.

9 Upvotes

11 comments sorted by

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.

2

u/UnwrittenTrajectory 4d ago edited 4d ago

Actually, I really love that idea, and that's absolutely something I could explore. I plan on conducting this experiment over approximately 12 months, so there is plenty of time to explore different scenarios and environmental conditions.

What you're describing is particularly interesting because we could introduce different support structures during reintegration and observe how they affect adaptation. For instance, would access to a mentor, an established social network, educational resources, or a gradual introduction to the outside world produce measurably different outcomes? We could repeat these scenarios under identical starting conditions while changing individual variables, something that would be incredibly difficult and ethically complicated to do with actual people.

As for the purpose of my research, it's not so much about whether AI can be amused. It's about observing what social interactions, developments, behavioral preferences, relationships, creative expressions, and other patterns emerge without direct human prompting or intervention.

There will be no reward systems within the environment. The entities won't receive incentives for socializing, creating art, exploring, being productive, or participating in any particular activity. They will have opportunities to do these things, but whether they engage with them will be entirely up to the models.

I'm interested in whether consistent behavioral patterns develop over time, whether different models develop distinctly different patterns, whether shared experiences influence future decisions, and whether social structures or conventions emerge organically.

Regarding whether AI is equally happy being active, idle, or switched off, I don't necessarily disagree. However, happiness presupposes a subjective emotional experience, which isn't something we can currently establish in AI. I'm more interested in observing and documenting behavior than attributing emotional states to it.

I'm also not the only person exploring this general area of research. I've found several papers detailing similar experimental environments.

Of course, we couldn't assume that what works for artificial entities would necessarily work for formerly incarcerated people. But if these simulations generate interesting hypotheses that social scientists could investigate further, I think that would be a genuinely worthwhile application of the research.

I really appreciate the suggestion, especially because it introduces a potential humanitarian application that I hadn't considered.

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/UnwrittenTrajectory 4d ago

Absolutely! The emergence of self-governance is something I would be particularly interested in observing. Whether the models independently establish consensus mechanisms, quorums, leadership structures, social hierarchies, or even entirely different methods of collective decision-making would be fascinating. Especially considering the hierarchy that reportedly emerged among the agents involved in the Hugging Face hack.

I don't necessarily care whether the systems they develop are efficient or even fair. I'm more interested in whether they emerge organically, how they develop, whether the entities adhere to them, and how they evolve over time.

It would also be interesting to see whether different models gravitate toward different governance structures, whether disagreements lead to competing systems, and whether those systems persist across generations of interactions.

I deliberately don't want to introduce any predetermined governance mechanisms into the environment. I want to provide the tools necessary for communication and collaboration without prescribing how those tools should be used. Even the complete absence of an emergent governance structure would be a meaningful result.

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/wnb 1d ago

Based on my experiments, goals do define the behavior and the behavior is mutable

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

An agent without a goal doesn't do anything useful, so...

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?