Human-inspired Perspectives: A Survey on AI Long-term Memory