An optimization approach with two nested loops: an inner loop optimizing fast weights and an outer loop optimizing the main model parameters.