The application of data mining methods to profiling analysis to mine the relationship between the criminals in the log files to determine their characteristics and help solve the case is a new and interesting research field. However, in its actual application process, there are shortcomings such as low detection rate. Based on computer artificial intelligence technology, this paper combines machine learning and other algorithms to construct a crime scene investigation model based on criminal psychology profiling technology. By introducing the specific application of criminal psychology profiling technology in the investigation of three typical cases, we can better locate the status of criminal psychology profiling technology in the investigation and maximize the application value of criminal psychology profiling technology. In addition, this paper designs experiments to simulate the application of criminal psychology profiling technology. The research results show that the model constructed in this paper is effective, and its practical effects can be further studied.