In this work, in order to improve the cognitive technology of AI, we propose a cognitive conditional molecular design model based on VAE to efficiently generate a molecule library with intended properties and screen molecules that can inhibit AChE activity from the library as lead compounds to accelerate the treatment of AD. The gene discussed is ACHE; the disease is Alzheimer disease.