Approximate parameter gradient of mini-batches.