Here's what I've found from my reading. Engine calibrators calculate spark timing to avoid detonation at worst case scenario, which is low humidity. If humidity is higher than this, the spark can be advanced, which will result in more torque and better fuel economy.