mtl training subsampling impl-d