Text this: Mean Field Theories and Dual Variation