Higher octane fuel is, in short, just more resistant to knock. Having great knock resistance allows for more advanced timing, creating more power. That's the best I can explain without writing an entire chapter of text. Subaru's EMS will advance timing, if only a little, to accommodate higher octane fuel. Typically the difference is negligible at best, unless you get tuned for the higher octane.