With the ubiquitous use of mobile devices and the widespread sharing of personal photos and videos on social media, the use of anonymized images to avoid identity disclosure has become essential. Aiming at the problem of low-quality and uncontrollable anonymous faces generated by existing anonymization algorithms, we propose PICLAnony, a controllable anonymization algorithm for face attributes based on parametric imitation comparison learning. It transfers the four visual information corresponding to identity, expression, pose, and illumination of the source image to the generated anonymized face image through parametric imitation contrast learning. And it edits these attribute features that reflecting sensitive behavioral intentions in a context-controlled manner. In the parameter imitation learning stage, high-quality and pose-controllable anonymized faces are generated by imitating the semantic parameters of real images. In the parameter comparison learning stage, the semantic parameters of the edited anonymized image are compared and learned with those of the source image, which solves the problem of insufficient decoupling of expression and illumination attributes in the editing process. In addition, a background control module is designed to keep the background controllable during the editing process of anonymous face facial attributes. We show the subjective results of our algorithm on both CelebA\_HQ and FFHQ datasets, and the subjective and objective results demonstrate that PICLAnony outperforms the state-of-the-art methods in terms of image quality and editing of facial attributes of anonymized faces.