AI-native systems can create a lot of unpredictability. How do you test, debug, and evaluate player-facing AI behavior when the output may not be the same every time?
Piero Molino: Rather than trying to eliminate variability, we design around it. Instead of evaluating whether the AI always produces the exact same output, we focus on whether every output stays within the game’s creative and gameplay constraints. In practice this means evaluating systems in a statistical way, like you evaluate a machine learning system, or how you evaluate a clinical trial and aiming at statistical confidence because certainty may be unachievable. It’s an iterative process, where you get better at every repetition by looking for outliers, and gradually adjusting the aim.
Checklists are a great tool too: you define beforehand behavior that you would desire or prevent, and checking the AI systems against it gives you a baseline confidence that in the most obvious and egregious situations the system behaves as intended.
Finally, for preventing inappropriate behavior, red teaming is the best way to stress test the system.
Given the statistical nature of AI systems, often you need to find the best trade-off, and you won’t possibly identify all issues ahead of time, so you need to pair with best effort during development with quick reaction after shipping it.
What does the production pipeline look like when designers, writers, engineers, and artists are building around AI systems? How does that change collaboration compared to a more traditional game team structure?
Piero Molino: Let me give you an example from the development of the creature generation feature in Bobium Brawlers. We followed a very similar iterative process for the game’s deck generation system.
José Luna, the artist we are working with to define the visual style of the creatures, could not simply draw every possible creature in the game. Players can always come up with descriptions we have never seen before. Instead, he began by drawing a small set of around 20 creatures. We used those images to train our image generation model and integrated it into an early development build.
Once José could see the model’s output inside the game, he quickly identified problems. In some cases, the model overgeneralized. For example, it began generating every dragon as purple because the only dragon in the initial dataset was purple. In other cases, it failed to generalize enough. It did not consistently understand that every creature, including those described as inanimate objects, should have eyes.
Those results informed the next round of artwork. José created additional creatures specifically designed to give the model the examples it was missing, and we trained it again. The process continued when we released our first beta and playtesters uncovered new edge cases that we had not encountered internally. José has now drawn around 100 creatures, and he will probably create more after launch. The more people experiment with the system, the more unusual cases we discover.
In parallel, broader playtesting helped us evaluate content safety. We found that we could block a large portion of inappropriate requests, but not all of them. We established statistical metrics to track the balance. We wanted to minimize false negatives, meaning inappropriate content that slipped through, without creating too many false positives, where legitimate player requests were blocked because the safeguards had become too restrictive. As more people played, we collected additional data and developed a clearer understanding of where we wanted that boundary to sit. Systems like this always involve trade-offs, and exposing them to a wider range of players is often the only way to reveal their weaknesses.
More generally, developing AI-driven features requires closer and more frequent collaboration between creatives and engineers. It also requires continuous iteration, along with quantitative metrics and qualitative evaluation protocols that allow the team to measure whether the system is actually improving.