Reading: A new paradigm for AI: How ‘thinking as optimization’ leads to better general-purpose models