"Learning" AI

(Not sure if right thread but couldn’t find AI)

I was watching an UE4 AI tutorial and it made me think of something that was in a modded minecraft pack. In this pack there was hardcore wither mod which made it so every time you killed the wither it would “learn something about you”. I don’t know the specifics as to how it learned but what I do know is that it had preset additions it would add to the wither to make it harder to fight. Now I was wondering if this is possible or if anyone has even tried what I am about to say; has anyone made an AI that would learn from previous encounters. Lets say you liked to run guns blazing but forgot to kill just one person. Now (if this was real life) the survivor would run to its headquarters to tell about how you were able to defeat everyone. This would then make the enemy increase their defense to protect from things like that again. Now instead of having preset additions or changes already implemented, the AI would actually be able to update a file (not sure how it would actually work) to change their strategy when going against you or even other AI. (Now that would make for an interest AI battle!) So it would make it hard for you to use the same technique or strategy over and over unless you were able to kill them all. Meme

Just a thought I had and if I spend enough time learning and doing tons of AI research then I probably will do it since this would be perfect for my game.

Watch this video.

Basically, what he is saying at 9:17 is that the AI learning was faked by unlocking certain behavior tree node when the player did certain actions.
In total, the alien AI has over 100 nodes, but only 30 are unlocked at the start.

Also, around 5:17 in the video, there is a Macro AI (think the Director in Left 4 Dead) which observes the player and feeds general info to the Micro AI (the pawns)

So in essence, there are two AIs working against you.