Advanced Structured Prediction