n.1. a defense mechanism in which conflicting impulses are kept apart or threatening ideas and feelings are separated from the rest of the psyche. See compartmentalization. 2. in research, a method used to differentiate processes, components, or variables. For instance, it might involve discovering a variable that influences short-term memory but not long-term memory. See double dissociation.