Optimization of user experience in an interactive environment is disclosed. User experience input is generated by a user during a session of interaction. A user perception on an interaction is determined based on analyzing the user experience input by use of a cognitive model of user perception. For a negative user perception, one or more difficulty of respective items in the interaction is adjusted to match a skill level of the user.