We study the use of nonlinear amplifying loop mirrors to recover soliton pulses nonadiabatically deformed by losses. We approach this problem as a mapping problem of input pulse to output pulse, for segments of fiber followed by a combination of Linear and nonlinear amplification. For a wide range of amplifier spacings, Re find numerically that a single optimal input pulse of soliton shape exists for each amplifier spacing, which is well recovered at output. The recovered output pulses contain only similar to 3% continuous radiation. (C) 1995 Optical Society of America