Ai expression optimization