Interactive Training: Feedback-Driven Neural Network Optimization
Wentao Zhang, Yang Young Lu, Yuntian Deng
TL;DR
The paper addresses the rigidity of traditional fixed-training pipelines by introducing Interactive Training, a framework that enables real-time, feedback-driven interventions during neural network training via a control server, an interactive trainer, and a frontend dashboard. It demonstrates three case studies—human-in-the-loop, LLM-in-the-loop, and real-time training data updates—showing improved stability, reduced sensitivity to initial hyperparameters, and deployment-time adaptability. The approach leverages runtime callbacks, two-way communication, and branching training trajectories to turn training into an active process guided by human or AI agents, with open-source tooling built on Hugging Face Transformers. This work sets the stage for autonomous AI agents to monitor training logs and proactively intervene, promising more robust, efficient, and adaptable training workflows in practice.
Abstract
Traditional neural network training typically follows fixed, predefined optimization recipes, lacking the flexibility to dynamically respond to instabilities or emerging training issues. In this paper, we introduce Interactive Training, an open-source framework that enables real-time, feedback-driven intervention during neural network training by human experts or automated AI agents. At its core, Interactive Training uses a control server to mediate communication between users or agents and the ongoing training process, allowing users to dynamically adjust optimizer hyperparameters, training data, and model checkpoints. Through three case studies, we demonstrate that Interactive Training achieves superior training stability, reduced sensitivity to initial hyperparameters, and improved adaptability to evolving user needs, paving the way toward a future training paradigm where AI agents autonomously monitor training logs, proactively resolve instabilities, and optimize training dynamics.
