Traffic conflict can be identified by the presence of evasive actions or the amount of temporal (spatial) proximity measures like time-to-collision (TTC). However, it is not enough to use only one kind of measures in some scenarios and it is hard to set a threshold for those measures. This paper proposed a method to identify traffic conflict by learning the representation of TTC and driver maneuver profiles with deep unsupervised learning and clustering the representations into traffic conflict and non-conflict clusters. We first trained a transformer encoder to encode sequences of surrogate safety measures into some latent space with unsupervised pre-training. Second, we identified informative clusters in the latent space by calculating the statistic summaries and visualizing trajectory pairs of each cluster. Some clusters are interpreted as traffic conflict clusters because they have small TTC, large deceleration rate and intertwining trajectories and they can be further interpreted as rear-end or angle conflicts. Moreover, the identified traffic conflicts contain critical conditions from the two vehicles in an interaction and one vehicle perceives them as abnormal and takes evasive action to avoid crashes.