MaxProduct Inference