In-line nonlinearity compensation utilizing data-driven phase modulators for long haul optical fiber communication