Text this: Data-Driven Compositional Optimization in Misspecified Regimes.