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
  • 1304 Views
*

korrelan

  • Trusty Member
  • **********
  • Millennium Man
  • *
  • 1036
  • Look into my eyes! WOAH!
    • Google +
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!

*

LOCKSUIT

  • Emerged from nothing
  • Trusty Member
  • *************
  • Transformer
  • *
  • 2035
  • First it wiggles, then it is rewarded.
    • Enter Lair
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

*

ranch vermin

  • Not much time left.
  • Terminator
  • *********
  • 906
  • 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
  • **********
  • Millennium Man
  • *
  • 1036
  • Look into my eyes! WOAH!
    • Google +
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!

*

Zero

  • Trusty Member
  • ********
  • Replicant
  • *
  • 705
    • Thinkbots are free
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 »
Thinkbots are free, as in 'free will'.

*

Zero

  • Trusty Member
  • ********
  • Replicant
  • *
  • 705
    • Thinkbots are free
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
Thinkbots are free, as in 'free will'.

*

ranch vermin

  • Not much time left.
  • Terminator
  • *********
  • 906
  • 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
  • **********
  • Millennium Man
  • *
  • 1096
    • Structured Type System
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.
Dream big. The bigger the dream is, the more beautiful place the world becomes.

*

korrelan

  • Trusty Member
  • **********
  • Millennium Man
  • *
  • 1036
  • Look into my eyes! WOAH!
    • Google +
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!

*

Art

  • At the end of the game, the King and Pawn go into the same box.
  • Global Moderator
  • *********************
  • Deep Thought
  • *
  • 5022
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
  • *************
  • Transformer
  • *
  • 2035
  • First it wiggles, then it is rewarded.
    • Enter Lair
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

 


All is lie or is it cake?
by LOCKSUIT (Future of AI)
September 21, 2018, 09:33:41 pm
Airbender
by Zero (General Project Discussion)
September 21, 2018, 11:01:16 am
Good language for metaprogramming?
by Zero (General Chat)
September 21, 2018, 11:00:26 am
AI interfacing with equipment mainteance work
by Art (General AI Discussion)
September 20, 2018, 02:19:51 pm
XKCD Comic : Curve-Fitting
by Tyler (XKCD Comic)
September 20, 2018, 12:00:26 pm
Floatbot - chatbot platform
by Zero (General Chatbots and Software)
September 20, 2018, 08:36:04 am
Finding work in a better way
by Schmemly (General Chat)
September 19, 2018, 05:13:03 pm
We can't prove or disprove some sentences
by ranch vermin (General Chat)
September 18, 2018, 10:52:56 pm

Users Online

35 Guests, 1 User
Users active in past 15 minutes:
LOCKSUIT
[Trusty Member]

Most Online Today: 43. Most Online Ever: 208 (August 27, 2008, 09:36:30 am)

Articles