TED: Accelerate Model Training by Internal Generalization