In this study, we investigate the two factors that influence perspective taking in collaborative problem solving and understand the communication process during this activity. We conducted a psychological experiment by constructing a situation where two participants engage in a rule discovery task with different perspectives. While solving the task, each of the participants confronts miscommunication about the other's perspective and has to manage to overcome this situation. The main results indicated that having prior communication experience and dialog communication enhance the understanding of the partner's perspective. Results of protocol analysis indicated that when the participants had communication experience, (a) the degree of utterance biased on a single perspective became small, and (b) the degree of utterance based on a contradictory perspective became small. The participants who communicated by dialog became to do turn taking much frequently compared to the participants who communicated by chat.