Learning to rank salient objects using transformers and graph reasoning