Non-transitory computer-readable storage media having instructions stored thereupon that, when executed by a system having at least a processor and a memory therein, the instructions cause the system to learn contrastive representations embedded within part-whole semantics via a self-supervised learning framework, by performing operations including:
- performing a random cropping operation to crop a 3D cube from each of a plurality of medical images received at the system as input;
- performing a resize operation of the cropped 3D cubes;
- performing an image reconstruction operation of the resized and cropped 3D cubes to predict the resized whole image represented by the original medical images received;
- and
- generating a reconstructed image which is analyzed for reconstruction loss against the original image representing a known ground truth image to the reconstruction loss function.