Skip to main content

How do you teach AI to play nice? Give them some games to play together

Image used with permission by copyright holder
What happens when an immovable object meets an unstoppable force? That is an age-old conundrum Google is trying to solve, as when you have two artificial intelligence systems that are programmed to complete conflicting tasks, how do you stop them from fighting about it? To that end, Google is using its DeepMind subsidiary to figure out how to have AIs play nicely together.

DeepMind is running experiments on robotic “social dilemmas” and published the results in a new reportThe Verge reported. The idea was to see how AIs interacted with one another when their tasks might interfere with that of another AI. Would they push through and achieve their goal regardless or do they need specialized programming to make them cooperate?

Cooperation is the key here. While Google’s experiment might seem silly (or at the very least fun to watch) as AI become smarter and take control of more facets of our lives and societal structure, we need them to work together. It’s no good if the AI powering your car decides it is more important than the AI controlling the traffic lights.

Gathering gameplay

To figure out how AI might function in these environments and to try and understand the methods of improving the rate of cooperation, rather than antagonistic selfishness, Google ran some AI through a couple of games.

In “gathering,” the AI earn points for collecting apples (the green squares) but have the ability to freeze their opponent. In that context, if there are plenty of apples, the AI cooperated without much interference but when there was a scarcity of apples, they would zap each other much more often.

In the “wolfpack” game, two AI must work together to corral a third, cooperation was much more apparent because they had a common goal and because points were shared, rather than awarded for selfish actions.

Wolfpack gameplay

This might all seem obvious to us, because that is similar to how the human brain responds to such stimuli. To be able to see AI making similar choices though, gives us a much better understanding of how AI might react to conflict in the future. That, in turn, makes it easier for us to program around it.

It’s just a case of encouraging cooperation through programming and not rewarding selfish behaviour as much. Perhaps programming AIs to believe they are all part of the same system, working toward a common goal. That sounds an awful lot like some sort of Super Matrix.

Editors' Recommendations

Jon Martindale
Jon Martindale is the Evergreen Coordinator for Computing, overseeing a team of writers addressing all the latest how to…
Windows 11 may replace a favorite shortcut with more AI
Windows 10 desktop showing task view.

Microsoft is currently testing removing a popular Windows 11 feature and swapping it out for AI.

The brand recently rolled out the Windows 11 preview build for the Dev Channel. In the build, the shortcut to Copilot is a primary feature of the operating system. The shortcut will be located in the bottom-right corner of the screen and will replace the "Show desktop" button, which has been commonplace on Windows since 2009, according to Neowin.

Read more
Graphics cards are selling again, and that worries me
The RTX 4080 logo on a pink background.

GPUs are selling again. Ever since the GPU shortage, graphics cards haven't been selling well, but a recent report from Jon Peddie Research shows that trend is changing. The report shows that GPU shipments increased by 16.8% compared to last quarter, which is a positive sign.  Still, I can't help but feel worried about what this could mean for GPU prices.

Both AMD and Nvidia came out of the pandemic highs with new ranges of graphics cards. Nvidia set the bar with pricing higher than we've ever seen before, and AMD quickly followed, pricing its cards just low enough to be considered a value by comparison. That's made the price of building a new gaming PC higher than it's ever been.

Read more
How a MacBook Pro sneakily got me back into PC gaming
The 14-inch MacBook Pro with M3 Max chip seen from behind.

I have fond memories of the old days of PC gaming. That is, the old days for me. Games like Starcraft and Elder Scrolls: Morrowind had a big impact -- but honestly, it's remembering the endless hours of Baldur's Gate II: Shadows of Amn that ring my nostalgia bell the loudest.

But somewhere along the way, I more or less retired from regular gaming. Between reaching my mid-30s, getting some new hobbies, being married, buying a house, and having kids, I wasn't finding a lot of time or energy for the old pastime. It sounds stereotypical, I know, but its sadly true.

Read more