تگ: Gradient-Driven Optimization