Fig. 1: Model architectures.

Depicts architectures for components proposed by this work: a Siamese neural network and b SiamCDR. For both, boxes with bold borders and a grey face denote trained components. The input pair in a is either a pair of drugs or pair or cell lines depending on if drug or cell line encoder is being trained. Dashed lines and box borders in b indicate optional components by variation. See respective sections in Methods for complete details.