Poll

What kind of Neural Nets do you think B-Bot uses?

Spiking
0 (0%)
Recurrent
0 (0%)
Convolutional
1 (33.3%)
All of the above
1 (33.3%)
None - No Neural nets
1 (33.3%)

Total Members Voted: 3

Voting closed: January 27, 2018, 04:27:25 pm

B-Bot

  • 10 Replies
  • 5598 Views
*

Korrelan

  • Trusty Member
  • ***********
  • Eve
  • *
  • 1454
  • Look into my eyes! WOAH!
    • YouTube
B-Bot
« on: January 20, 2018, 11:23:50 am »
Quite a few members have been writing about and coding for AI driven insects, amoebas, etc. and discussing using classical weight driven neural nets for their brains

I wrote this little side project as an exercise in machine learning to demonstrate both emergent behaviour and the transference of intelligence/ skills through both shown example and environment driven behaviour.

If you where to take a human baby at birth and keep it confined with no human contact would it grow up to be average intelligent human citizen?  Although DNA gives us the machinery to become intelligent, we are each defined mentally/ morally by what we learn from our parents/ teachers/ peers.

Introducing B-Bot

You can teach the B-Bot to do anything within the scope of its environment.  To hug/ follow the outline of the walls, patrol a certain area in set patterns, avoid the blue and hunt the green or vice versa, B-Bot can learn any methods or actions you choose to teach it.

At the start the B-Bot knows absolutely nothing, no memories or intelligence of any kind. 

The B-Bot is entirely sensory driven; it can see in a forward facing arc, it has a memory and the ability to move.  I’ve given it the equivalent of an eye saccade just to help with the training times.

Some emergent behaviour might see if trained long enough lol…

Stubborn belief system and free will… lol (it can be a pain to teach)
Follows food then jumps on it.
Object avoidance – will run and swerve around objects to get to food.
Appears to actively hunt food – will wait for it to emerge then grab it.
Territory – the bot can self define a route or territory to patrol
Tactics – Just watch your bot and let me know what you see… anthropomorphism.

The B-Bot learns from how you play the game.  I suggest you first spend 5 minutes guiding the B-Bot around the arena, turning at the walls and getting B-Bot used to its environment.  There are no boundaries set in the app, the bot will leave the arena unless you show it how to turn at the walls.  If it does manage to flee… it will re-spawn in the center and carry on.

Then hit the green tickbox and start teaching B-Bot to eat the green dots/ food. Try to guide the bot so it hits the food head on, as the bot learns you will notice it taking over, becoming more confident and jumping/ guiding its self toward the food.  This usually starts to happen when the ‘Mem’ number reaches 2500 ish.  The more you train the bot the better it gets.  When the bot hits the wall, guide/ help it by using the arrow keys, teach it what to do in this situation. 

The schema uses intelligence plasticity so you can always re-train your bot out of a particular trait it’s learned.

You guide/ show the B-Bot what to do by using the left/ right arrow keys for steering and the UP key for moving forward.

Once your bot is trained click the ‘move’ tick box to start the food moving, then train some more… train the bot to catch moving food.

You can then active blue food… the bot will stop when ever it sees it because it doesn’t recognise it or know what to do… train the bot to avoid blue food but eat green food… or to eat both.

If the bot stops and a question mark flashes on the left, just use the arrow keys to guide it out of a situation or towards the food. 



The App is written for the Windows API and you should hopefully be able to download it from this link on my G-Drive.  It’s all been virus checked and don’t worry I’m not going to take over your computer and make it part of my huge AI bot net… lol.

https://drive.google.com/open?id=1OhY1mX4xEJI0Wy1fAflaU6gCHFu3rhNW

The more time you invest teaching your B-Bot the more intelligent it will become. Lets see what you can teach your B-Bot to achieve. 

At the start or after a reset always press the forward key a few times first, this just teaches B-Bot to move forward when it sees nothing ahead.

Have fun…

 :)



ED: I wrote the app and instructions in a few hours between jobs, sorry for roughness, I will be revising the above text lol.

Q: Considering the many complex behaviours you can teach B-Bot, what kind of neural nets do you think I'm implementing?

 :)
« Last Edit: January 20, 2018, 04:03:39 pm by korrelan »
It thunk... therefore it is!...    /    Project Page    /    KorrTecx Website

*

LOCKSUIT

  • Emerged from nothing
  • Trusty Member
  • *******************
  • Prometheus
  • *
  • 4659
  • First it wiggles, then it is rewarded.
    • Main Project Thread
Re: B-Bot
« Reply #1 on: January 20, 2018, 07:02:02 pm »
Wow korrelan....that's pretty nice. There's no way I'm gonna guess what you are using or invented. It could be anything!

I made a virtual creature that learns to crawl within a minute. I didn't use ANNs heahiehuea!!!!

Emergent          https://openai.com/blog/

*

ranch vermin

  • Not much time left.
  • Terminator
  • *********
  • 947
  • Its nearly time!
Re: B-Bot
« Reply #2 on: January 21, 2018, 11:41:25 am »
i see your creature slows down as it gets closer to the edges - is this the network being accessed?

*

Korrelan

  • Trusty Member
  • ***********
  • Eve
  • *
  • 1454
  • Look into my eyes! WOAH!
    • YouTube
Re: B-Bot
« Reply #3 on: January 21, 2018, 12:16:44 pm »
Yeah! I didn't bother optimizing the code,

 :)
It thunk... therefore it is!...    /    Project Page    /    KorrTecx Website

*

Zero

  • Eve
  • ***********
  • 1287
Re: B-Bot
« Reply #4 on: January 22, 2018, 04:03:17 pm »
Downloaded!

...computing feed back ...computing feedback ...computing feedback

ED: Done!
« Last Edit: January 22, 2018, 11:22:06 pm by Zero »

*

Zero

  • Eve
  • ***********
  • 1287
Re: B-Bot
« Reply #5 on: January 22, 2018, 11:23:15 pm »
So... it's very slow on my computer: when the creature sees something, it takes like 4 seconds between each move... Less when I hit the Turbo button. What happens internally when Turbo is on?

Very funny. I need to play more to see what I can teach it... Could there be a "good boy" button and a "don't do that" button?

What language & libraries did you use?

Nice job!  O0

*

ranch vermin

  • Not much time left.
  • Terminator
  • *********
  • 947
  • Its nearly time!
Re: B-Bot
« Reply #6 on: January 23, 2018, 08:56:37 am »
I dont blame you for it being slow,   machine learning is worse than raytracing workload wise.

*

ivan.moony

  • Trusty Member
  • ************
  • Bishop
  • *
  • 1729
    • mind-child
Re: B-Bot
« Reply #7 on: January 23, 2018, 09:35:41 am »
The Universe took 13.7 billions years to create us, and we are still slow sometimes.

*

Korrelan

  • Trusty Member
  • ***********
  • Eve
  • *
  • 1454
  • Look into my eyes! WOAH!
    • YouTube
Re: B-Bot
« Reply #8 on: January 24, 2018, 09:40:55 am »
Apologies for the delay, I’m away working ATM.

@Ranch

It shouldn’t slow down at the edges lol.

@Zero

Quote
It takes like 4 seconds between each move

Four second delay?  Wow that’s slow.  The program ran to fast to teach on my machine so I had to alter the program loop cycles to slow it down. The turbo just runs the code at full whack.

Quote
Could there be a "good boy" button and a "don't do that" button?

There could be, but the whole point of the demo was to show learning without reward.

Quote
What language & libraries did you use?

The code uses the standard windows API GDI32/ 64.

I will have a look at it and profile/ optimize it when I get back tomorrow.

@Ivan

Very true lol.

 :)
It thunk... therefore it is!...    /    Project Page    /    KorrTecx Website

*

Art

  • At the end of the game, the King and Pawn go into the same box.
  • Trusty Member
  • **********************
  • Colossus
  • *
  • 5865
Re: B-Bot
« Reply #9 on: January 24, 2018, 05:31:22 pm »
Korrelan,

It might be just my system, but the left & right arrows are reversed. Pressing the left one causes the bot to turn to the right and vice-versa.
Is there a reason for this experiment in frustration?  ;)
In the world of AI, it's the thought that counts!

*

LOCKSUIT

  • Emerged from nothing
  • Trusty Member
  • *******************
  • Prometheus
  • *
  • 4659
  • First it wiggles, then it is rewarded.
    • Main Project Thread
Re: B-Bot
« Reply #10 on: January 24, 2018, 07:25:25 pm »
It ran fast for korrelan because of his Beowulf and/or the computed feedback from the end beta users. ::)
Emergent          https://openai.com/blog/

 


LLaMA2 Meta's chatbot released
by spydaz (AI News )
August 24, 2024, 02:58:36 pm
ollama and llama3
by spydaz (AI News )
August 24, 2024, 02:55:13 pm
AI controlled F-16, for real!
by frankinstien (AI News )
June 15, 2024, 05:40:28 am
Open AI GPT-4o - audio, vision, text combined reasoning
by MikeB (AI News )
May 14, 2024, 05:46:48 am
OpenAI Speech-to-Speech Reasoning Demo
by MikeB (AI News )
March 31, 2024, 01:00:53 pm
Say good-bye to GPUs...
by MikeB (AI News )
March 23, 2024, 09:23:52 am
Google Bard report
by ivan.moony (AI News )
February 14, 2024, 04:42:23 pm
Elon Musk's xAI Grok Chatbot
by MikeB (AI News )
December 11, 2023, 06:26:33 am

Users Online

337 Guests, 0 Users

Most Online Today: 464. Most Online Ever: 2369 (November 21, 2020, 04:08:13 pm)

Articles