User avatar
jbeale
Posts: 3517
Joined: Tue Nov 22, 2011 11:51 pm
Contact: Website

RPi powered AI beats human pilot in dogfight

Tue Jun 28, 2016 6:02 pm

RASPBERRY PI-POWERED AI BEATS HUMAN PILOT IN DOGFIGHT
http://www.newsweek.com/artificial-inte ... -ai-475291

"When the Raspberry Pi computer was first launched in 2012 to promote the teaching of computer science, its creators probably didn’t imagine the $35 device would one day take on a professional fighter pilot in a dogfight—and win.

But that is exactly what a doctoral graduate at the University of Cincinnati set out to do when he built a Pi-powered artificial intelligence pilot. The AI, dubbed ALPHA, went up against retired United States Air Force Colonel Gene Lee in a series of simulated battles, beating Lee in every single engagement."

W. H. Heydt
Posts: 11091
Joined: Fri Mar 09, 2012 7:36 pm
Location: Vallejo, CA (US)

Re: RPi powered AI beats human pilot in dogfight

Wed Jun 29, 2016 12:05 am

Slate has also picked up the story.

http://www.slate.com/blogs/future_tense ... gence.html

Edit to add...
The Register has picked up the story: http://www.theregister.co.uk/2016/06/28 ... dogfights/

They've added some information...the human was given advantages in the form of more and longer range missiles and simulated AWACS intel to help him. He still lost.

USAF is going to have to add "Powered by Raspberry Pi" to it's fighter jets pretty soon... (Maybe that's where all the Model A+ Pis have been going?)

Edit to add some more....
The BBC weighs in: http://www.bbc.com/news/technology-36650848

fruit-uk
Posts: 609
Joined: Wed Aug 06, 2014 4:19 pm
Location: Suffolk, UK

Wed Jun 29, 2016 6:13 am

Suppose we are going to see a deluge of threads asking how to replicate this :(

Another step towards the end of us all!

NicoVanDerDussen
Posts: 74
Joined: Sat Aug 24, 2013 2:41 pm

Re: RPi powered AI beats human pilot in dogfight

Wed Jun 29, 2016 6:35 am

Interesting!

Any info on which Model Raspi was used?
Setting up your Raspberry Pi to work with a 3G dongle http://nvdd.info/11gKrsZ

alynsparkes
Posts: 2
Joined: Sat Mar 03, 2012 7:02 am
Location: Devon, UK

Re: RPi powered AI beats human pilot in dogfight

Wed Jun 29, 2016 10:03 am

NicoVanDerDussen wrote:Interesting!

Any info on which Model Raspi was used?
Pretty sure it's NOT running on a Pi. According to the actual published PDF (http://www.omicsgroup.org/journals/gene ... 000144.pdf):

"Again, ALPHA can currently operate alongside AFSIM on a single 3.2 GHz core of a CPU."
Which Pi has a multi-core 3.2GHz chip?

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 24161
Joined: Sat Jul 30, 2011 7:41 pm

Re: RPi powered AI beats human pilot in dogfight

Wed Jun 29, 2016 11:37 am

alynsparkes wrote:
NicoVanDerDussen wrote:Interesting!

Any info on which Model Raspi was used?
Pretty sure it's NOT running on a Pi. According to the actual published PDF (http://www.omicsgroup.org/journals/gene ... 000144.pdf):

"Again, ALPHA can currently operate alongside AFSIM on a single 3.2 GHz core of a CPU."
Which Pi has a multi-core 3.2GHz chip?
The stories are a bit inconsistent, but I think the code IS running on the Pi, but the AI itself was programmed up on a larger machine prior to putting it on the Pi.
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Contrary to popular belief, humorous signatures are allowed. Here's an example...
“I think it’s wrong that only one company makes the game Monopoly.” – Steven Wright

User avatar
Gavinmc42
Posts: 4049
Joined: Wed Aug 28, 2013 3:31 am

Re: RPi powered AI beats human pilot in dogfight

Wed Jun 29, 2016 12:14 pm

So a better floor cleaner robot should be easy now?
I'm dancing on Rainbows.
Raspberries are not Apples or Oranges

User avatar
jbeale
Posts: 3517
Joined: Tue Nov 22, 2011 11:51 pm
Contact: Website

Re: RPi powered AI beats human pilot in dogfight

Wed Jun 29, 2016 2:07 pm

On that last page, that paper also says: "Thus, ALPHA can currently operate in the domain of microseconds; one of the side-benefits of fuzzy control. This is utilizing low-budget, consumer grade products."

When you have the source code, you can compile and run software on any machine with enough resources for your program, and I presume they chose the Pi for one set of tests, to demonstrate how it could run effectively even on small/cheap hardware for the publicity impact. Which apparently worked given the discussion here :-).

W. H. Heydt
Posts: 11091
Joined: Fri Mar 09, 2012 7:36 pm
Location: Vallejo, CA (US)

Re: RPi powered AI beats human pilot in dogfight

Wed Jun 29, 2016 5:23 pm

jamesh wrote: The stories are a bit inconsistent, but I think the code IS running on the Pi, but the AI itself was programmed up on a larger machine prior to putting it on the Pi.
I would suspect it of being the other way around...develop on a Pi and then port to a bigger/faster machine to run.

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 24161
Joined: Sat Jul 30, 2011 7:41 pm

Re: RPi powered AI beats human pilot in dogfight

Wed Jun 29, 2016 6:55 pm

W. H. Heydt wrote:
jamesh wrote: The stories are a bit inconsistent, but I think the code IS running on the Pi, but the AI itself was programmed up on a larger machine prior to putting it on the Pi.
I would suspect it of being the other way around...develop on a Pi and then port to a bigger/faster machine to run.
My indirect experience with neural nets was that we were unable to program the net with currently available equipment - more oomph was needed. Not sure that applicable here though.
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Contrary to popular belief, humorous signatures are allowed. Here's an example...
“I think it’s wrong that only one company makes the game Monopoly.” – Steven Wright

dom
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5372
Joined: Wed Aug 17, 2011 7:41 pm
Location: Cambridge

Re: RPi powered AI beats human pilot in dogfight

Wed Jun 29, 2016 7:04 pm

jamesh wrote:My indirect experience with neural nets was that we were unable to program the net with currently available equipment - more oomph was needed. Not sure that applicable here though.
Correct. Training a neural net is expensive.
Running a neural net is cheap (just a weighted sum of inputs).
Generating the inputs may or may not be expensive. Often you analyse an image to produce some "features" that are the inputs for the neural net. That analysis may be expensive.

User avatar
jbeale
Posts: 3517
Joined: Tue Nov 22, 2011 11:51 pm
Contact: Website

Re: RPi powered AI beats human pilot in dogfight

Wed Jun 29, 2016 7:10 pm

Seems like neural networks in image-recognition research are certainly using a lot of hardware, based on quotes like:

https://research.googleblog.com/2016/04 ... -with.html
"Using the distributed trainer, we trained the Inception network to 78% accuracy in less than 65 hours using 100 GPUs."

User avatar
Gavinmc42
Posts: 4049
Joined: Wed Aug 28, 2013 3:31 am

Re: RPi powered AI beats human pilot in dogfight

Thu Jun 30, 2016 4:57 am

Raspberry Pi Zero super cluster for training/learning the Fuzzy expressions?
100GPU's = 50 Zero's = $250
Then run the Fuzzy stuff on one Zero = $5 against a pilot with $$$$$$$$ of training.
What's the current cost of F22 and F35?
Replace drone operators with Pi's?
MIB going to show up on RPF's doorstep with export restrictions?

Interesting ideas here for computer gaming companies.
I'm dancing on Rainbows.
Raspberries are not Apples or Oranges

Return to “General discussion”