Identifying drugs that reverse disease-associated transcriptomic features has been widely explored for drug repurposing, but its potential for de novo drug discovery remains underexplored. Here, we present gene expression profile predictor on chemical structures (GPS), a deep-learning-based drug discovery platform, guided by transcriptomic features, that screens large compound libraries and optimizes lead molecules. We first develop a model that captures transcriptomic perturbation signatures so