• Hey, guest user. Hope you're enjoying NeoGAF! Have you considered registering for an account? Come join us and add your take to the daily discourse.

PD GT7 A.I goes self aware: Sophy at the wheel

Thirty7ven

Banned




“Sophy is very fast, with lap times better than expected for the best drivers,” he says via a translator. “But watching Sophy, there were certain moves that I only believed were possible afterward.”

In contrast to board games that AI has mastered, such as chess or Go, Gran Turismo requires continuous judgments and high-speed reflexes. It’s far more complex than action games like Starcraft or Dota and demands challenging driving maneuvers. A Gran Turismo ace must balance pushing a virtual car to its limits and wrestling with friction, aerodynamics, and precise driving lines with the subtle dance of trying to overtake an opponent without unfairly blocking their line and incurring a penalty.

Gerdes says the techniques used to develop GT Sophy could help the development of autonomous cars. Currently, self-driving cars only use the kind of neural network algorithm that GT Sophy employed to keep track of road markings and perceive other vehicles and obstacles. The software controlling the car is handwritten. “GT Sophy’s success on the track suggests that neural networks might one day have a larger role in the software of automated vehicles than they do today,” Gerdes writes.

GT Sophy mastered Gran Turismo through hours of practice. As with other recent feats of AI gameplay, this involved training an algorithm known as a neural network to improve its operation of the game’s controls by providing positive and negative feedback. The approach, known as reinforcement learning, is inspired by the way animals respond to success and failure in the real world. Although it is decades old, the method has come to the fore in recent years, thanks to more sophisticated algorithms, more powerful computers, and more copious training data.

GT Sophy is the first AI capable of beating professional esports drivers in such a realistic, high-speed game. In a series of races held in July and October 2021, Sophy bested the best Gran Turismo drivers, including Miyazono.

Peter Wurman, director of Sony AI America, says mastering Gran Turismo is as important an AI landmark as dominating chess or Go. Wurman cofounded Kiva Systems, which developed the shelf-moving robots that transformed Amazon’s warehouses. Because a Gran Turismo driver must understand how to beat other drivers without incurring penalties for unfair play, Wurman says GT Sophy points the way to robots that learn how to interact with humans in more sophisticated social settings. “With board games, you have a long time to decide what you're going to do between each move,” Wurman says. “Real-time interaction is what we do every day.”

“Sophy takes some racing lines that a human driver would never think of,” he says. “I think a lot of the textbooks regarding driving skills will be rewritten.”

More at the link, pretty exciting.





 
Last edited:

Bwesh

Member
...far more complex than action games like Starcraft or Dota and demands challenging driving maneuvers.
I highly doubt this. Dota needs constant calculations and focus on where you are, where your allies and enemies are, your own cooldowns, your enemies cooldowns, buyback statuses, what items your enemies are building, and more. There's also more on-the-fly decision making in Dota than Gran Turismo.
 

IntentionalPun

Ask me about my wife's perfect butthole
Interesting stuff.

Would be interesting to note if this is due to some "cracks" in the "simulation" or if these sorts of techniques would actually work on a real track with real cars.

Typically the "lines" that drivers use in these games are meant to mimic those used in real life.

But honestly.. from a machine learning standpoint... not sure how interesting this is lol Folks working on car AI aren't trying to make cars win races on controlled track conditions.
 
Last edited:
  • Like
Reactions: Alx

Thirty7ven

Banned
I highly doubt this. Dota needs constant calculations and focus on where you are, where your allies and enemies are, your own cooldowns, your enemies cooldowns, buyback statuses, what items your enemies are building, and more. There's also more on-the-fly decision making in Dota than Gran Turismo.

Sounds more like you're imagining a lone car on the track. Going 260km/h with a bunch of other cars at the same time, and trying to overtake, not getting overtaken, while accounting for possible penalties and reacting to human player actions?
 

SLB1904

Banned
I highly doubt this. Dota needs constant calculations and focus on where you are, where your allies and enemies are, your own cooldowns, your enemies cooldowns, buyback statuses, what items your enemies are building, and more. There's also more on-the-fly decision making in Dota than Gran Turismo.
That's not accurate at all. Racing you have to make decisions under of 10th of a sec.
 

Aenima

Member
From what i understand this AI Sophy is not to be used in the game, it would be impossible to beat her driving fair. It seems they are using GT to train the ai for use in real life cars and other robotics.

I also heard this AI will soon change her name to Skynet.
 

Raven117

Member
I highly doubt this. Dota needs constant calculations and focus on where you are, where your allies and enemies are, your own cooldowns, your enemies cooldowns, buyback statuses, what items your enemies are building, and more. There's also more on-the-fly decision making in Dota than Gran Turismo.
LOL. Been drinking that koolaid that DOTA is the most complex and real time fast decision making than anything, huh?
 

Kuranghi

Gold Member
That's not accurate at all. Racing you have to make decisions under of 10th of a sec.

Its got nothing to do with reaction time, its about making extremely complex intelligent decisions, in Dota/LoL that could be running away to buy something, engaging, supporting someone else who just turned up, chasing, staying put. In GT it has to avoid the other cars, its not following a live changing economy as the game/race goes on.

There's only so much that could happen in a race since its a linear journey round a set track where the speed of opponents will be within a predictable range, I'm not saying there aren't other factors to consider in GT outside of the immediate logistics of the cars around you, but I think its fair to say its nowhere near as complex as a free moving open map where any player can be anywhere and decide to retreat or advance for many different reasons.

I'd say the decisions that could be made by an AI in a high-level game of DotA/LoL would change at such a pace that the AI could often never make a decision that wasn't too out of date to be useful, just because it can't reasonably predict what the opponents will be doing that far in the future. Compared to a racing game where you can predict what the opponent will do further into the future because there are so many less avenues of decision the opponent can go down.
 

Guilty_AI

Member
Interesting stuff.

Would be interesting to note if this is due to some "cracks" in the "simulation" or if these sorts of techniques would actually work on a real track with real cars.
Technically they are using these "cracks" on the simulation to develop the AI. However, considering they're simulating a real car in a real track, it shouldn't be impossible to use the developed AI for our own matrix, as long as the car and track are the same ones used during the training.

Well, the concept isn't really anything new, you can find plenty of people on youtube doing similar things.




👆Its using the same methodology that was used for this sophy.
 
Last edited:

SLB1904

Banned
Its got nothing to do with reaction time, its about making extremely complex intelligent decisions, in Dota/LoL that could be running away to buy something, engaging, supporting someone else who just turned up, chasing, staying put. In GT it has to avoid the other cars, its not following a live changing economy as the game/race goes on.

There's only so much that could happen in a race since its a linear journey round a set track where the speed of opponents will be within a predictable range, I'm not saying there aren't other factors to consider in GT outside of the immediate logistics of the cars around you, but I think its fair to say its nowhere near as complex as a free moving open map where any player can be anywhere and decide to retreat or advance for many different reasons.

I'd say the decisions that could be made by an AI in a high-level game of DotA/LoL would change at such a pace that the AI could often never make a decision that wasn't too out of date to be useful, just because it can't reasonably predict what the opponents will be doing that far in the future. Compared to a racing game where you can predict what the opponent will do further into the future because there are so many less avenues of decision the opponent can go down.
Dude you clearly don't know nothing about racing. What ignorant statement lol
 

Guilty_AI

Member
That's not accurate at all. Racing you have to make decisions under of 10th of a sec.
This kind of reaction time doesn't really matter much for an AI. Its the decision making process thats troublesome.

The AI can perceive a incoming wall pretty fast no problem, and it has more than enough leeway to react in time, being a machine and all. The real problem here is how we teach the AI that it is supposed to break when it sees said oncoming wall.

In that sense, competing with other humans is definitely a much more complex task, since humans are far more unpredictable than a racing track. As i showed in the video earlier, the methodology is 'simple' enough that you can find people on youtube applying it to different games for educational purposes, or even just for the heck of it.
 
This is pretty impressive, I mean they are essentially teaching an AI Newtonian physics simply by trial and error. Brake point, break locking, tire grip, the effect of tire wear, the effect of having 10 gallons of gas instead of 12, etc all need to be figured out, again by trial and error. Granted, it's not like a human does any of this precisely, but we are able to understand how they all relate and intuitively comprehend how they all effect each other because we can actually think. This AI is figuring it out by simply driving a billion times and seeing which one produces the best outcome.

I would also really like to see two of these AI race each other. They would both essentially be fighting for the same "optimal" path, so I wonder what kind of decisions would be made when both AIs have to react to each other doing the same thing. This AI might actually prove what starting position is quantitatively the best and most likely to produce a race winner, because it would be the only variable in the experiment.
 

SLB1904

Banned
This kind of reaction time doesn't really matter much for an AI. Its the decision making process thats troublesome.

The AI can perceive a incoming wall pretty fast no problem, and it has more than enough leeway to react in time, being a machine and all. The real problem here is how we teach the AI that it is supposed to break when it sees said oncoming wall.

In that sense, competing with other humans is definitely a much more complex task, since humans are far more unpredictable than a racing track. As i showed in the video earlier, the methodology is 'simple' enough that you can find people on youtube applying it to different games for educational purposes, or even just for the heck of it.
Yeah but this ai is beating the best players in the world. These guys are constantly in the world finals. And if you see the races they are very close races. That's impressive
 

Guilty_AI

Member
Yeah but this ai is beating the best players in the world. These guys are constantly in the world finals. And if you see the races they are very close races. That's impressive
Its impressive, but its important to note they're beating those players in time score. They're basically driving an empty track and making the best time possible, other players aren't something it needs to consider, unlike what you'd see in a Dota 2 or Chess AI.

I would also really like to see two of these AI race each other. They would both essentially be fighting for the same "optimal" path, so I wonder what kind of decisions would be made when both AIs have to react to each other doing the same thing.
This is an important point you brought up that some people might get confused about. The AIs in this type of methodology are driving alone in the track. They aren't really adapted to react to other drivers. If you put them against each other, they'd either have to be ghosts or they would just crash.
NVM, this specific one was trained to race against other people
 
Last edited:

Thirty7ven

Banned
Yeah but this ai is beating the best players in the world. These guys are constantly in the world finals. And if you see the races they are very close races. That's impressive

Aside from all the physics involved, of which there basically none to account in LoL, there’s also a matter of strategy to win a race that involves defensive and offensive positioning without penalties. The aim here is for the A.I to behave like a professional racer, it’s not just about perfect lines in a time trial.
 

BlackM1st

Banned
I wouldn't mind smashing Sophy
samsung-samantha.gif



6ad.jpg
 
Like I thought they are using this to train their future cars AI.

Sony is going to need a City diving sim mode in their games, maybe that gathers google maps data.



It’s amusing, I guess.
 

Guilty_AI

Member
What? Did you watch the video?
They made a tournament lol
Watch the video.
Yeah, they really are running against other players : 'P (though they did have a problem with it crashing into other players at first as expected).

Still, its not good to compare it to the AIs of the likes of Dota 2 and Chess, because those still require a lot more of "human" decisions in the mix while a race still relies more on reaction time (which is something AIs can vastly exceed humans at just by its nature)
 
Last edited:
I never thought it would be some scientist in a lab that would end up creating true AI, it'll be some game developer or a hobby programmer that inadvertently creates it. Unknowingly unleashing that evil upon us... LOL

EDIT: Sorry, I didn't give context to the hobby programmer. He only wanted to create a digital "companion"... for company :messenger_winking:
 
Last edited:

Thirty7ven

Banned
Yeah, they really are running against other players : 'P (though they did have a problem with it crashing into other players at first as expected).

Still, its not good to compare it to the AIs of the likes of Dota 2 and Chess, because those still require a lot more of "human" decisions in the mix while a race still relies more on reaction time (which is something AIs can vastly exceed humans at just by its nature)

I'm gonna listen to the A.I experts that actually work on the field and teach at university, but you're entitled to your opinion.
 
Last edited:

Zimmy68

Member
Translation, Sophy will crash into everyone at the first turn to take 1st place.
 
Last edited:

Fess

Member
They say ”Gran Turismo”, is this AI in GT7?
Either way this is amazing.
 
Last edited:

Guilty_AI

Member
I'm gonna listen to the A.I experts that actually work on the field and teach at university, but you're allowed to your opinion.
Regarding that... who exactly was the "AI expert" that said it was more complex than these other AIs. Its on the article but i don't remember seeing anyone in the video saying that.
 
Last edited:
Top Bottom