Alert button
Picture for Jinming Xu

Jinming Xu

Alert button

Robust Fully-Asynchronous Methods for Distributed Training over General Architecture

Jul 21, 2023
Zehan Zhu, Ye Tian, Yan Huang, Jinming Xu, Shibo He

Figure 1 for Robust Fully-Asynchronous Methods for Distributed Training over General Architecture
Figure 2 for Robust Fully-Asynchronous Methods for Distributed Training over General Architecture
Figure 3 for Robust Fully-Asynchronous Methods for Distributed Training over General Architecture
Figure 4 for Robust Fully-Asynchronous Methods for Distributed Training over General Architecture

Perfect synchronization in distributed machine learning problems is inefficient and even impossible due to the existence of latency, package losses and stragglers. We propose a Robust Fully-Asynchronous Stochastic Gradient Tracking method (R-FAST), where each device performs local computation and communication at its own pace without any form of synchronization. Different from existing asynchronous distributed algorithms, R-FAST can eliminate the impact of data heterogeneity across devices and allow for packet losses by employing a robust gradient tracking strategy that relies on properly designed auxiliary variables for tracking and buffering the overall gradient vector. More importantly, the proposed method utilizes two spanning-tree graphs for communication so long as both share at least one common root, enabling flexible designs in communication architectures. We show that R-FAST converges in expectation to a neighborhood of the optimum with a geometric rate for smooth and strongly convex objectives; and to a stationary point with a sublinear rate for general non-convex settings. Extensive experiments demonstrate that R-FAST runs 1.5-2 times faster than synchronous benchmark algorithms, such as Ring-AllReduce and D-PSGD, while still achieving comparable accuracy, and outperforms existing asynchronous SOTA algorithms, such as AD-PSGD and OSGP, especially in the presence of stragglers.

Viaarxiv icon

On the Computation-Communication Trade-Off with A Flexible Gradient Tracking Approach

Jun 12, 2023
Yan Huang, Jinming Xu

Figure 1 for On the Computation-Communication Trade-Off with A Flexible Gradient Tracking Approach
Figure 2 for On the Computation-Communication Trade-Off with A Flexible Gradient Tracking Approach

We propose a flexible gradient tracking approach with adjustable computation and communication steps for solving distributed stochastic optimization problem over networks. The proposed method allows each node to perform multiple local gradient updates and multiple inter-node communications in each round, aiming to strike a balance between computation and communication costs according to the properties of objective functions and network topology in non-i.i.d. settings. Leveraging a properly designed Lyapunov function, we derive both the computation and communication complexities for achieving arbitrary accuracy on smooth and strongly convex objective functions. Our analysis demonstrates sharp dependence of the convergence performance on graph topology and properties of objective functions, highlighting the trade-off between computation and communication. Numerical experiments are conducted to validate our theoretical findings.

* This manuscript was submitted to the 62nd IEEE Conference on Decision and Control in March 2023 
Viaarxiv icon

Mixed-Integer Optimal Control via Reinforcement Learning: A Case Study on Hybrid Vehicle Energy Management

May 02, 2023
Jinming Xu, Yuan Lin

Figure 1 for Mixed-Integer Optimal Control via Reinforcement Learning: A Case Study on Hybrid Vehicle Energy Management
Figure 2 for Mixed-Integer Optimal Control via Reinforcement Learning: A Case Study on Hybrid Vehicle Energy Management
Figure 3 for Mixed-Integer Optimal Control via Reinforcement Learning: A Case Study on Hybrid Vehicle Energy Management
Figure 4 for Mixed-Integer Optimal Control via Reinforcement Learning: A Case Study on Hybrid Vehicle Energy Management

Many optimal control problems require the simultaneous output of continuous and discrete control variables. Such problems are usually formulated as mixed-integer optimal control (MIOC) problems, which are challenging to solve due to the complexity of the solution space. Numerical methods such as branch-and-bound are computationally expensive and unsuitable for real-time control. This paper proposes a novel continuous-discrete reinforcement learning (CDRL) algorithm, twin delayed deep deterministic actor-Q (TD3AQ), for MIOC problems. TD3AQ combines the advantages of both actor-critic and Q-learning methods, and can handle the continuous and discrete action spaces simultaneously. The proposed algorithm is evaluated on a hybrid electric vehicle (HEV) energy management problem, where real-time control of the continuous variable engine torque and discrete variable gear ratio is essential to maximize fuel economy while satisfying driving constraints. Simulation results on different drive cycles show that TD3AQ can achieve near-optimal solutions compared to dynamic programming (DP) and outperforms the state-of-the-art discrete RL algorithm Rainbow, which is adopted for MIOC by discretizing continuous actions into a finite set of discrete values.

* 12 pages, 12 figures 
Viaarxiv icon

Aggressive Trajectory Generation for A Swarm of Autonomous Racing Drones

Mar 01, 2023
Yuyang Shen, Jinming Xu, Jin Zhou, Danzhe Xu, Fangguo Zhao, Jiming Chen, Shuo Li

Figure 1 for Aggressive Trajectory Generation for A Swarm of Autonomous Racing Drones
Figure 2 for Aggressive Trajectory Generation for A Swarm of Autonomous Racing Drones
Figure 3 for Aggressive Trajectory Generation for A Swarm of Autonomous Racing Drones
Figure 4 for Aggressive Trajectory Generation for A Swarm of Autonomous Racing Drones

Autonomous drone racing is becoming an excellent platform to challenge quadrotors' autonomy techniques including planning, navigation and control technologies. However, most research on this topic mainly focuses on single drone scenarios. In this paper, we describe a novel time-optimal trajectory generation method for generating time-optimal trajectories for a swarm of quadrotors to fly through pre-defined waypoints with their maximum maneuverability without collision. We verify the method in the Gazebo simulations where a swarm of 5 quadrotors can fly through a complex 6-waypoint racing track in a 35m * 35m space with a top speed of 14m/s. Flight tests are performed on two quadrotors passing through 3 waypoints in a 4m * 2m flight arena to demonstrate the feasibility of the proposed method in the real world. Both simulations and real-world flight tests show that the proposed method can generate the optimal aggressive trajectories for a swarm of autonomous racing drones. The method can also be easily transferred to other types of robot swarms.

Viaarxiv icon

Tackling Data Heterogeneity: A New Unified Framework for Decentralized SGD with Sample-induced Topology

Jul 08, 2022
Yan Huang, Ying Sun, Zehan Zhu, Changzhi Yan, Jinming Xu

Figure 1 for Tackling Data Heterogeneity: A New Unified Framework for Decentralized SGD with Sample-induced Topology
Figure 2 for Tackling Data Heterogeneity: A New Unified Framework for Decentralized SGD with Sample-induced Topology
Figure 3 for Tackling Data Heterogeneity: A New Unified Framework for Decentralized SGD with Sample-induced Topology
Figure 4 for Tackling Data Heterogeneity: A New Unified Framework for Decentralized SGD with Sample-induced Topology

We develop a general framework unifying several gradient-based stochastic optimization methods for empirical risk minimization problems both in centralized and distributed scenarios. The framework hinges on the introduction of an augmented graph consisting of nodes modeling the samples and edges modeling both the inter-device communication and intra-device stochastic gradient computation. By designing properly the topology of the augmented graph, we are able to recover as special cases the renowned Local-SGD and DSGD algorithms, and provide a unified perspective for variance-reduction (VR) and gradient-tracking (GT) methods such as SAGA, Local-SVRG and GT-SAGA. We also provide a unified convergence analysis for smooth and (strongly) convex objectives relying on a proper structured Lyapunov function, and the obtained rate can recover the best known results for many existing algorithms. The rate results further reveal that VR and GT methods can effectively eliminate data heterogeneity within and across devices, respectively, enabling the exact convergence of the algorithm to the optimal solution. Numerical experiments confirm the findings in this paper.

* This work will appear in ICML 2022 
Viaarxiv icon

Lithography Hotspot Detection via Heterogeneous Federated Learning with Local Adaptation

Jul 30, 2021
Xuezhong Lin, Jingyu Pan, Jinming Xu, Yiran Chen, Cheng Zhuo

Figure 1 for Lithography Hotspot Detection via Heterogeneous Federated Learning with Local Adaptation
Figure 2 for Lithography Hotspot Detection via Heterogeneous Federated Learning with Local Adaptation
Figure 3 for Lithography Hotspot Detection via Heterogeneous Federated Learning with Local Adaptation
Figure 4 for Lithography Hotspot Detection via Heterogeneous Federated Learning with Local Adaptation

As technology scaling is approaching the physical limit, lithography hotspot detection has become an essential task in design for manufacturability. While the deployment of pattern matching or machine learning in hotspot detection can help save significant simulation time, such methods typically demand for non-trivial quality data to build the model, which most design houses are short of. Moreover, the design houses are also unwilling to directly share such data with the other houses to build a unified model, which can be ineffective for the design house with unique design patterns due to data insufficiency. On the other hand, with data homogeneity in each design house, the locally trained models can be easily over-fitted, losing generalization ability and robustness. In this paper, we propose a heterogeneous federated learning framework for lithography hotspot detection that can address the aforementioned issues. On one hand, the framework can build a more robust centralized global sub-model through heterogeneous knowledge sharing while keeping local data private. On the other hand, the global sub-model can be combined with a local sub-model to better adapt to local data heterogeneity. The experimental results show that the proposed framework can overcome the challenge of non-independent and identically distributed (non-IID) data and heterogeneous communication to achieve very high performance in comparison to other state-of-the-art methods while guaranteeing a good convergence rate in various scenarios.

* 8 pages, 9 figures 
Viaarxiv icon

Accelerated Primal-Dual Algorithms for Distributed Smooth Convex Optimization over Networks

Oct 23, 2019
Jinming Xu, Ye Tian, Ying Sun, Gesualdo Scutari

Figure 1 for Accelerated Primal-Dual Algorithms for Distributed Smooth Convex Optimization over Networks

This paper proposes a novel family of primal-dual-based distributed algorithms for smooth, convex, multi-agent optimization over networks that uses only gradient information and gossip communications. The algorithms can also employ acceleration on the computation and communications. We provide a unified analysis of their convergence rate, measured in terms of the Bregman distance associated to the saddle point reformation of the distributed optimization problem. When acceleration is employed, the rate is shown to be optimal, in the sense that it matches (under the proposed metric) existing complexity lower bounds of distributed algorithms applicable to such a class of problem and using only gradient information and gossip communications. Preliminary numerical results on distributed least-square regression problems show that the proposed algorithm compares favorably on existing distributed schemes.

Viaarxiv icon