Im2Text: Describing Images Using 1 Million Captioned Photographs