Compact Optimization Learning for AC Optimal Power Flow