The invention discloses a face data identity recognition method based on a generative adversarial network, and relates to the technical field of biological feature recognition and artificial intelligence security, and the method comprises the steps: firstly constructing an image coding-generative network, respectively extracting an attribute feature code and an expression pose code of a face image through two coding networks; combining to obtain a first implicit vector, obtaining a second implicit vector through the mapping network, sending the second implicit vector into the generation network to obtain an output image, completing fusion of facial image attribute features and expression poses, and realizing identity recognition of human eye vision by using a face changing technology; and secondly, constructing an adversarial vector mapping network, inputting a second implicit vector into the adversarial vector mapping network to obtain an adversarial implicit vector, obtaining an adversarial sample image with a relatively large identification result difference of the face identification model and a relatively small human vision difference through a generative network, and realizing identity recognition of the face identification model through an adversarial sample technology.