It's a discount for the employer but also good for the future employee. As an employer I'd be willing to spend more time on training knowing that I'm getting a discount from market rates, and the employee wins because at the end of the two years, their base pay is higher to calculate raises against or to take to their next employer.