Author Topic: Bot Recognition  (Read 4004 times)

Offline Numsgil

  • Administrator
  • Bot God
  • *****
  • Posts: 7742
    • View Profile
Bot Recognition
« on: May 24, 2005, 02:16:51 AM »
Actually, Endy, that was/is the best competitive strategy.

They did an AI expo a while ago with the prisoner's dilema.  The computer program that wins (apparently even against programs specifically designed to hurt it) stays loyal to friends and destroys betrayers.

If you can find a way to reliable and consistantly identify robots beyond just what species they are, you can easily implement such a system.  The only problem of course is there isn't a way to identify another robot reliably (the other robot can play chameleon.)

What we probably need to create is something that is unique to a bot that the bot can't change mid life.  Perhaps a set of memory locations that are set by the bot at birth but can't be changed, representing unique look/smell/pheremone signal/etc.

Offline PurpleYouko

  • Bot God
  • *****
  • Posts: 2556
    • View Profile
Bot Recognition
« Reply #1 on: May 26, 2005, 09:41:35 AM »
Quote
If you can find a way to reliable and consistantly identify robots beyond just what species they are, you can easily implement such a system. The only problem of course is there isn't a way to identify another robot reliably (the other robot can play chameleon.)

Robots aleady have such an attribute but they just can't see it.

COLOR

The trouble is that DBs are color-blind for the reason that the color attribute is way too long to fit into a robot's integer memory locations.
Changing all memlocs to longs (where have we heard that before?) would enable direct reading of a robot's color with the eyes. Using this along with the "%=" operator will allow robots to identify conspecs and near conspecs during mutations.

Unless robots are also able to change their color (possibly temporarily and at a certain expense) then this will be a foolproof conspec detection system. I see great uses for this in sexual reproduction and mate finding. Possibly with color cycling displays or such like.  :D
There are 10 kinds of people in the world
Those who understand binary.
and those who don't

:D PY :D

Offline Numsgil

  • Administrator
  • Bot God
  • *****
  • Posts: 7742
    • View Profile
Bot Recognition
« Reply #2 on: May 26, 2005, 11:00:09 AM »
Well, color is composed of 3 attributes, the red, green, and blue components.  Each is itself an integer.

Just let the color readback read to .mygreen, .myred, .myblue, .refblue, .refgreen, and .refred

Could be alot of fun.  I also like the idea of color changing, but I'm not sure how we'd implement it.

Offline PurpleYouko

  • Bot God
  • *****
  • Posts: 2556
    • View Profile
Bot Recognition
« Reply #3 on: May 26, 2005, 12:52:22 PM »
Implementing it should be very easy. Use something like

255 .chameleonblue store

to add 255 to blue

Obviously using a shorter sysvar if possible

Then you just have either a timer to return it back to normal or just keep it that way as long as the gene keeps operating.
Maybe even have another zyzvar such as .colortimer into which a value can be stored.
There are 10 kinds of people in the world
Those who understand binary.
and those who don't

:D PY :D

Offline Numsgil

  • Administrator
  • Bot God
  • *****
  • Posts: 7742
    • View Profile
Bot Recognition
« Reply #4 on: May 26, 2005, 01:15:26 PM »
Color changing ability should probably cost something to maintain.  Perhaps like 1 nrg a cycle per color compnent or something along those lines.

Offline Numsgil

  • Administrator
  • Bot God
  • *****
  • Posts: 7742
    • View Profile
Bot Recognition
« Reply #5 on: May 26, 2005, 11:48:11 PM »
In addition to color, each bot should be born with a random number that it can't change.  This number is independant of lineage (so it can't be used for conspec recognition).

This represents a bot's fingerprint, and allows bots to remember which bots have been hostile to it (you'd have to look at who is attacking you, check out their number, and store it, recalling it again for reference, so it's not trivial).

Perhaps .me and .you (nice and simple names).

Offline shvarz

  • Bot God
  • *****
  • Posts: 1341
    • View Profile
Bot Recognition
« Reply #6 on: May 27, 2005, 01:35:07 AM »
There is already bot ID.  You just need to make it available to bots.
"Never underestimate the power of stupid things in big numbers" - Serious Sam

Offline Numsgil

  • Administrator
  • Bot God
  • *****
  • Posts: 7742
    • View Profile
Bot Recognition
« Reply #7 on: May 27, 2005, 02:15:04 AM »
Yes but that bot ID could be used for other puroses (assuming if you have a low ID then you're one of the first bots in the world).  I'd prefer an ID that is totally random.

Offline Carlo

  • Bot Destroyer
  • ***
  • Posts: 122
    • View Profile
Bot Recognition
« Reply #8 on: May 27, 2005, 02:50:14 AM »
As for colors, I'm not so sure it is a good idea making color readables. There is a conceputal separation, in DB, between what is real in the simulation and what is seen by users. The video output should just be a representation of what's going on, and there should be no mixes between the two levels, the simulation level and the representation level.
Color means nothing, it's there just to help users to see who's mutant and who's not. I'd also like to have other representation modes: for example  

- a species mode, showing all members of an original species with the same color;
- a diversity mode, in which color is someway calculated from genetic diversity (same meaning as now but more "accurate");
- a gene activity pattern mode: the color of a bot changes at each cycle, according to the genes active in the last cycle: this would allow to have an insight of the work of dna just by the color changes in bots. Mutants would have different change patterns;
- an energy mode: the color depend upon the amount of energy of the robot
- and so on...

The problem of identification of bots is easily solved by the unique id, which may be an option.
« Last Edit: May 27, 2005, 02:50:38 AM by Carlo »

Offline Greven

  • Bot Destroyer
  • ***
  • Posts: 345
    • View Profile
Bot Recognition
« Reply #9 on: May 30, 2005, 11:15:21 AM »
What Carlo is suggesting is a very very nice idea! I certainly back it up!
« Last Edit: May 30, 2005, 11:15:38 AM by Greven »
10010011000001110111110100111011001101100100000110110111000011101011110010110000
011000011000001100010110010111101001110100110010111100101000001000001111001011101
001101001110011011010011100011110100111000011101100100000100110011010011100110110
010110000011100111101001110110111101011101100110000111101001101001110111111011101
01100100000111010011010001100001110111010000010001001000010100001