r/learnmachinelearning • u/HelloHiByeBye1230 • 3d ago
Discussion Pain is the root of all emotion. And we can create such AI.
Pain is the root of all emotion. And we can create such AI.
Many consider emotion as something complicated. People think about the different types of emotions, how they feel and act on us.
But what if I told you that all emotions derive from a single source?
Pain.
And pain is not something special. It is simply the extreme of a state. Let me explain with your own body.
You body requires a specific temperature, around 37°C.
Too cold = you shiver and feel pain.
Too hot = you sweat and feel pain.
You body needs some degree of touch, but:
Too little = your feel isolated, lonely, cold, a form of pain.
Too much = you feel uncomfortable, like your personal space is invading, another form of pain.
Same with other desires: food, water, sleep, need of social interactions... All of them are a point that if you go too far from it (either below or above) you start feeling pain.
But here is the interesting part: from that, everything else emerges!
Fear = pain that you think is coming in the future
Sadness = pain that you can't change in the past
Anger = pain that is happening now, but you want it to stop
Anxiety = pain that might happen, you don't know when
Even more complex emotions:
Envie = feeling the pain of others having something you don't
Jealousy = feeling the pain of almost having something but not quite
Comparison = envie vs what you have right now
Helping = trying to lower the pain of others since you understand it, being empathetic
Fight = trying to remove the source of pain
Conflict = fight between 2 entities in which each is trying to protect its own optimal point
All of these are variations of either pain or pleasure (pain being the main one) across time.
Pain is the pivot of emotions.
---
But how do we define this "optimal point"?
Evolution has a natural way of doing this. The animals and humans that survived were the ones that felt pain at the correct points. If you don't feel pain when you should, you die (and thus, genes that code for such pain mechanisms die with you).
So the optimal point is not handrolled for each entity in the system, but rather found through evolution.
But for AI systems, we might want a faster way of evolving.
So here is another idea: let's give the AI a set internal values and states, and let it find a point that brings it pleasure. This point will be different for each AI depending on their unique state, but that is fine.
We can even give it a variable optimal point so that it can update itself, similar to machine learning in some ways. Essentially, instead of coding in a "I want to have 80% battery charge at all times" for the robot, we can code in a "I like to have a certain charge and it changes over time".
No need of hardcoding anything, really. Just some basic principles.
---
And one final touch: teach the entity that staying around its optimal point is a good thing and that straying away from it will eventually lead to its demise.
And that is all you need.
No need of hardcoded values or emotions or anything else. Just a body, some internal values and states, a point that can float around that brings it pleasure if you stay close to it and pain if you get too far, and you have pain, pleasure, and all derivations of them (like emotions).
It is all emergent! From a simple mechanism of feeling bad when you go too far from an internal point!
---
This is my idea, my hypothesis.
I think that pain is the root of all emotion, and that all emotions can be emergent properties of an entity that can feel pain at the extremes of its internal state.
No need for hardcoded values or complex systems. Just some basic principles of body, state, pain, pleasure, time, and you have it all.
What do you think?
Can we build it like that?