Support for Machine Learning (ML) on PS5 and Series X?

The Series consoles have Schrödinger's ML.



Are they doing real-time inference or did they use ML offline to generate the animations? I couldn't tell from that presentation.

They use this as a basis

http://theorangeduck.com/media/uploads/other_stuff/phasefunction.pdf

We present a real-time character control mechanism using a novel neural network architecture called a Phase-Functioned Neural Network. In this network structure, the weights are computed via a cyclic function which uses the phase as an input. Along with the phase, our system takes as input user controls, the previous state of the character, the geometry of the scene, and automatically produces high quality motions that achieve the desired user control. The entire network is trained in an end-to-end fashion on a large dataset composed of locomotion such as walking, running, jumping, and climbing movements fitted into virtual environments. Our system can therefore automatically produce motions where the character adapts to different geometric environments such as walking and running over rough terrain, climbing over large rocks, jumping over obstacles, and crouching under low ceilings. Our network architecture produces higher quality results than time-series autoregressive models such as LSTMs as it deals explicitly with the latent variable of motion relating to the phase. Once trained, our system is also extremely fast and compact, requiring only milliseconds of execution time and a few megabytes of memory, even when trained on gigabytes of motion data. Our work is most appropriate for controlling characters in interactive scenes such as computer games and virtual reality systems.

EDIT:
They show this at SIGGRAPH 2020
 
Last edited:
  • Like
Reactions: snc
Sony just published a patent on a ML-based upscaling technology.
It looks like a hybrid between a spatial upscaler and ML-upsampling, but it doesn't seem to use any temporal data.
They mention VR a lot, so maybe this is a solution for forward renderers where TAAU isn't really an option, or because on VR the FoV can change too fast, creating too many artifacts.

Computer-implemented method for completing an image.




HwltMVP.jpg
fmi30IV.jpg


kNP1nAu.jpg
 
Expert Human-Level Driving in Gran Turismo Sport Using Deep Reinforcement Learning with Image-based Representation

Abstract

When humans play virtual racing games, they use visual environmental information on the game screen to understand the rules within the environments. In contrast, a state-of-the-art realistic racing game AI agent that outperforms human players does not use image-based environmental information but the compact and precise measurements provided by the environment. In this paper, a vision-based control algorithm is proposed and compared with human player performances under the same conditions in realistic racing scenarios using Gran Turismo Sport (GTS), which is known as a high-fidelity realistic racing simulator. In the proposed method, the environmental information that constitutes part of the observations in conven- tional state-of-the-art methods is replaced with feature representations extracted from game screen images. We demonstrate that the proposed method performs expert human-level vehicle control under high-speed driving scenarios even with game screen images as high-dimensional inputs. Additionally, it outperforms the built-in AI in GTS in a time trial task, and its score places it among the top 10% approximately 28,000 human players.
https://arxiv.org/pdf/2111.06449.pdf
 
Outperforming stock Gran Turismo AI is nothing to brag about. lol I've seen budget racing games with better/more competitive AI than in GT.

Top 10% of human players is a reasonably ok result if true, but still far from competitive. When more dedicated sims programmed by quite small teams are capable of *way* better AI behavior and performance(both are important), I feel like even just as a tech experiment, this doesn't tell me much since it's an area Polyphony have never seemingly cared much about, so it's kind of a poor basis of comparison in terms of what its real potential is.

I have no doubt ML could ultimately be used to create decent driving AI, but can it do better than the current best human programmers?
 

I think it's fantastic that GT is doing something along these lines now. MS started using ML to create AI for Forza Motorsport on the original Xbox.

The Inner Workings of Forza’s Drivatar | AI and Games

Given the novelty of what Drivatar represents, it required a unique insight into making it happen. Hence, while Forza Motorsport was developed at Turn 10 Studios, in Redmond, Washington in the United States, the original Drivatar was conceived and developed at Microsoft Research Cambridge, in the United Kingdom. This isn’t the only time that Microsoft Research has had a significant impact on Xbox game development, with the likes of the Kinect peripheral and the TruSkill matchmaking systems built on the AI research conducted by their divisions.

The original Drivatar is quite interesting, given that it exploits a feature unique to the Xbox at that time: a hard drive. Unlike Nintendo’s GameCube and Sony’s Playstation 2, the original Xbox came with an 8GB hard disk installed and ready to go. An idea that became more commonplace with the next generation of consoles. So in the early Forza Motorsport titles 1 through 4, your Drivatar was trained on the hard drive of your console, meaning it only existed on your Xbox. Meanwhile, other drivers are based on existing pre-trained data from the developers at Turn 10 that was shipped on the disc. But as we’ll see in a moment, each Drivatar is fundamentally a really small amount of data. And while they wouldn’t be shared via Xbox Live, you could grab an Xbox Memory Unit and copy the Drivatar for use on other consoles.

While primitive by today's standards, it's interesting in that the training for the AI happened on the Xbox itself.

Forza Motorsport 5 saw a massive upgrade in the Drivatar system as now the AI was trained on Microsoft's servers using Deep Learning with the data inputs for it being every person that played Forza Motorsport while connected to the internet. However, those inputs are also modified by data inputs using data input from actual professional drivers. So they became like a hybrid of you and your friend's drive skill combined with a professional driving skillset.

It's very interesting in how they attempted to create an AI that mimicked you and your friends but attempted to mitigate the especially bad driving habits of players (like deliberately crashing into another player) by blending it with professional data sets.

Of course, the system of creating driver AI using Deep Learning is constantly evolving at Turn 10 so it sees improvements with each Forza release.

Regardless, it's very cool to see Gran Turismo also doing this now.

The X360 generation is when MS really started to leverage ML and Deep Learning for console gaming. It's basically the only reason that Kinect even worked as well as it did and why it represented such a breakthrough in consumer level full body tracking.

Regards,
SB
 
Last edited:
I think it's fantastic that GT is doing something along these lines now. MS started using ML to create AI for Forza Motorsport on the original Xbox.

The Inner Workings of Forza’s Drivatar | AI and Games



While primitive by today's standards, it's interesting in that the training for the AI happened on the Xbox itself.

Forza Motorsport 5 saw a massive upgrade in the Drivatar system as now the AI was trained on Microsoft's servers using Deep Learning with the data inputs for it being every person that played Forza Motorsport while connected to the internet. However, those inputs are also modified by data inputs using data input from actual professional drivers. So they became like a hybrid of you and your friend's drive skill combined with a professional driving skillset.

It's very interesting in how they attempted to create an AI that mimicked you and your friends but attempted to mitigate the especially bad driving habits of players (like deliberately crashing into another player) by blending it with professional data sets.

Of course, the system of creating driver AI using Deep Learning is constantly evolving at Turn 10 so it sees improvements with each Forza release.

Regardless, it's very cool to see Gran Turismo also doing this now.

The X360 generation is when MS really started to leverage ML and Deep Learning for console gaming. It's basically the only reason that Kinect even worked as well as it did and why it represented such a breakthrough in consumer level full body tracking.

Regards,
SB
My drivatars in fh5 trying to kill me driving into me :d
 
Outperforming stock Gran Turismo AI is nothing to brag about. lol I've seen budget racing games with better/more competitive AI than in GT.

Top 10% of human players is a reasonably ok result if true, but still far from competitive. When more dedicated sims programmed by quite small teams are capable of *way* better AI behavior and performance(both are important), I feel like even just as a tech experiment, this doesn't tell me much since it's an area Polyphony have never seemingly cared much about, so it's kind of a poor basis of comparison in terms of what its real potential is.

I have no doubt ML could ultimately be used to create decent driving AI, but can it do better than the current best human programmers?

It's not stock AI. It's outperforming human expert player and it's not done on ps5.
 
  • Like
Reactions: snc
Outperforming stock Gran Turismo AI is nothing to brag about. lol I've seen budget racing games with better/more competitive AI than in GT.

Top 10% of human players is a reasonably ok result if true, but still far from competitive. When more dedicated sims programmed by quite small teams are capable of *way* better AI behavior and performance(both are important), I feel like even just as a tech experiment, this doesn't tell me much since it's an area Polyphony have never seemingly cared much about, so it's kind of a poor basis of comparison in terms of what its real potential is.

I have no doubt ML could ultimately be used to create decent driving AI, but can it do better than the current best human programmers?
the main feature of this approach that ai use same data as human observing track, few years ago they just want to use ai to drive as fast as possible and they made times impossible even for world finalists
 
I think it's fantastic that GT is doing something along these lines now. MS started using ML to create AI for Forza Motorsport on the original Xbox.
Drivatars straight up didn't work. I'd love for Microsoft to really open up on what's really going on, but I know for a fact that this 'training' doesn't truly copy your driving technique or anything like that. I think all it must do is feature a sort of *very* rough behavioral system with limited, pre-defined categories(all built-in to the normal programmed AI), and then depending on where on a sort of 'chart' that your Drivatar is figured to be, is how it would apply the AI to a given car.

There might be slight performance differences in such a case - like Forza's ultra flawed method of detecting 'perfect turns' and whatnot - that determine if your Drivatar will generally stay near the racing line or whatever, but it does not actually translate proper good driving. Every Drivatar will still exhibit all the same flaws and limitations of the in-built AI, both in terms of behavior and performance.

It's frankly nothing but a neat idea that isn't actually implemented in a way that's useful or interesting. They need a lot more work to make any Drivatar actually drive anything like the player it's supposed to be learning from.

It's not stock AI. It's outperforming human expert player and it's not done on ps5.
Ah ok, that's very different to what the article above was claiming. And obviously a lot more impressive. I mean, I've seen programmed AI that is basically 'world class' sort of pace as well, but the ability to do this with fairly simple training is promising for the future. Of course, doing such a thing for a single car/track and only for maximum laptime isn't nearly enough, but it's a good start.
 
There's a whole segment of racing that will be AI based soon enough =P

nothing particular new, but worthwhile to use things like GT and other simulators before moving them into real life. At least as as foundation before you start applying real cameras etc.
 
It's not stock AI. It's outperforming human expert player and it's not done on ps5.
I notice it rides over the kerb at 0:13

It surprises me, as you would think AI would be be better than say lewis hamilton at driving a car,
eg

this turn I turn 0.1 degrees more to the left 0.001 seconds quicker
does that improve my speed?

this x a billion different permutations to see the best way to handle that 5 seconds of track
 
I notice it rides over the kerb at 0:13

It surprises me, as you would think AI would be be better than say lewis hamilton at driving a car,
eg

this turn I turn 0.1 degrees more to the left 0.001 seconds quicker
does that improve my speed?

this x a billion different permutations to see the best way to handle that 5 seconds of track

I agree it is interesting.

But is it really driving a car? By that I mean, it reacts to feedback from "GT World" through the filter of "GTA Car", so it might even be a bug in GT that hitting the curb at that angle/speed etc does not trigger catastrophe that the real world might have.
Even if it's not a bug in GT, who are we to say that hitting that curb is not the optimal course of action for the AI, but not a human. Does the AI have to contend with a "force feedback wheel" like human would have when hitting that curb?
Would it behave differently if you restricted it to never total the car from the first try, ie if a permutation causes death, then we delete the learning and start over?
 
Machine learning has become quite popular, and i suspect we will see 'machine learning' for many, many things. The first half life and halo, they could have called it machine AI if they pushed the marketing abit more (advanced AI for the time).
 
Drivatars straight up didn't work. I'd love for Microsoft to really open up on what's really going on, but I know for a fact that this 'training' doesn't truly copy your driving technique or anything like that. I think all it must do is feature a sort of *very* rough behavioral system with limited, pre-defined categories(all built-in to the normal programmed AI), and then depending on where on a sort of 'chart' that your Drivatar is figured to be, is how it would apply the AI to a given car.
Game development presentations - a useful reference
 
Back
Top