Cross-media analysis and reasoning: advances and directions