Figure 1. An overview of the proposed framework. Based on a trunk CNN model trained for face recognition, we propose the pairwise differential siamese network (PDSN) structure to learn the correspondence between occluded facial blocks and corrupted feature elements. Then a mask dictionary is established accordingly, which is used to composite the feature discarding mask (FDM) for a test face with ran- dom partial occlusions. Finally, we multiply the FDM with original face features to eliminate corrupted feature elements from recognition