The associative memory is a mechanism wherein input patterns each formed from a plurality of symbols are stored as storage patterns and a pattern similar to a certain one of the storage patterns is recalled, and a variation of an internal state can be associatively stored from an external stimulus.