Last year was a brutal one for refiners as surging compliance costs and shrinking margins cut deeply into earnings. However, industry conditions appear to be on the upswing in 2017, evidenced by the expectation-thrashing first-quarter reports from Valero Energy (NYSE: VLO), Phillips 66 (NYSE: PSX), and CVR Refining (NYSE: CVRR).