The application discloses a virtual character personality dynamic evolution method and device based on emotional entropy deposition, and belongs to the technical field of
artificial intelligence. The method drives a multi-dimensional internal parameter matrix to iteratively update by calculating a
user input emotional driving force index, and simulates the natural growth law of personality from high
plasticity to stability by using a
plasticity decay function. Then, the updated matrix is converted into a bias
signal and embedded in the attention calculation of a
Transformer model in an additive term manner to form a personality embedded attention layer, so that personality modulation is realized at the bottom of language generation. The application solves the problems of static personality or easy splitting of existing virtual characters, enables the virtual characters to maintain personality stability while realizing natural and coherent dynamic growth in long-term interaction, and significantly improves the realism of emotional companionship and
user satisfaction.