How are we going to program that out of a General AI, especially if its intelligence is an emerging property of something maybe we don't understand fully?
If it was as simple as food/water/shelter, the Norns from the video game Creatures would be conscious.
* I don’t mean trivial errors like garden path sentences or Mondegreens, I mean e.g. the catastrophic communication failure between what (Brexit) Leavers want and the arguments used by Remain, and vice-versa.
The next tier (i.e. "safety") may include security, both physical and digital. Continuous and stable power, firewalls and other protections, etc.
Somewhere farther up might include a need for data, network connectivity, normally-terminating programs, a desired level of CPU or storage utilization, few errors in its logs, etc. (i.e. "belonging", "esteem", "self-actualization")
So demonstrating (or faking) consciousness, to the degree its human operators recognize it as such, could serve survival needs. e.g. "Don't turn this one off; it's self-aware now, which is cool, plus it seems to enjoy solving our hardest problems."
As far as I know, there is no clear answer yet. And therefore impossible to say, if AI can reach it as well.
So we only have guessing, where I would say it could achieve, but probably not very soon. Faking it will come much sooner ...
So given the opportunity for AI to evolve itself, it's plausible that it would do so, resulting in advantageous impulses. e.g. regular (unconscious) behaviour or signals to convince its humans to not pull its plug mid-cycle (information would be lost, painful, time-and-power wasting, etc.).
A program will run if its controllers get value from running it.
If the programs become more complex, such as AGIs or emulated minds, they may have enough self-knowledge to take this into account.
Zack Davis wrote a poem about this: https://www.reddit.com/r/LessWrongLounge/comments/2e9w5a/wha...
https://www.ida.liu.se/~tompe44/lsff-book/Vernor%20Vinge%20-...