Fractional Gradient Descent with Matrix Stepsizes for Non-Convex Optimization
November 18, 2025 Β· View on GitHub
Overview
This repository contains the official implementation of the algorithms proposed in the paper:
Fractional Gradient Descent with Matrix Stepsizes for Non-Convex Optimisation
π Read the full paper on TechRxivThis paper is accepted at IEEE Transactions of Neural Networks and Learning Systems (IEEE TNNLS, IF: 8.9, COre: A*)
Authors: Alokendu MazumderΒΉ, Keshav VyasΒ², and Punit RathoreΒΉ
ΒΉRobert Bosch Center for Cyber Physical Systems, Indian Institute of Science, Bengaluru Β²Independent Researcher
Preprint posted on TechRxiv, 2025
π Introduction
This work introduces two algorithms:
- Compressed fractional gradient descent (CFGD) in single node setting.
- Distributed Compressed fractional gradient descent (DCFGD) in a distributed/federated node setting.
Both are novel extensions of Caputo derivative based fractional gradient descent (FGD), designed for non-convex and matrix-smooth optimisation problems. CFGD/DCFGD incorporates matrix-valued stepsizes and compression mechanisms, allowing efficient large-scale distributed training.
The algorithms extend standard and fractional gradient descent to the distributed and federated learning domains, showing improved convergence and communication efficiency.
π Repository Structure
βββ cfgd_vs_cgd.py # Implementation of CFGD and DC(FGD) algorithms
βββ plot.py # Visualization utilities for convergence and comparison
βββ figures/ # Folder containing all result figures (9 plots assumed)
β βββ fig1.png
β βββ fig2.png
β βββ fig3.png
β βββ fig4.png
β βββ fig5.png
β βββ fig6.png
β βββ fig7.png
β βββ fig8.png
β βββ fig9.png
βββ README.md # Project documentation (this file)
βοΈ Algorithms
The repository implements the following key algorithms:
- CFGD-1: Compressed Fractional Gradient Descent with matrix stepsize D applied before compression/sketching.
- CFGD-2: Variant where sketching/compression precedes the matrix stepsize operation.
- DCFGD-1 and DCFGD-2: Distributed versions of CFGD-1 and CFGD-2 for federated environments.
These are designed to handle both single-node and multi-client distributed setups efficiently.
π§ Key Ideas
- Introduces matrix-valued stepsizes to leverage structure in non-convex matrix-smooth objectives.
- Employs fractional-order gradients (Caputo derivative) to accelerate convergence.
- Incorporates communication-efficient sketching/compression to reduce distributed overhead.
- Demonstrates theoretical O(1/βT) convergence for matrix-smooth non-convex functions.
- Provides practical improvements in both iteration and communication complexity compared to standard DCGD, det-CGD (ICLR 2024), DAG-GT (IEEE TAC 2024), DMFW (IEEE/CAA Automatica SINICA 2024), det-MARINA (NeuRIPS 2023).
π§© Implementation Highlights
- cfgd_vs_cgd.py: Core implementation of CFGD-1, CFGD-2, DCFGD-1, and DCFGD-2.
- plot.py: Includes plotting utilities to reproduce convergence plots.
- experiments.py: Recreates results for logistic regression tasks in both single-node and distributed settings.
- utils.py: Provides general helper functions and reproducibility tools.
π§ͺ Experiments
The experiments are divided into two categories:
1. Single Node Experiments
- Tests convergence of CFGD-1 and CFGD-2 on logistic regression tasks.
- Compares against vanilla GD, FGD, and DCGD.
- Demonstrates faster convergence when using matrix-valued stepsizes.
2. Distributed Experiments
- Evaluates DCFGD-1 and DCFGD-2 in federated setups.
- Compares performance with standard DCGD, det-CGD (ICLR 2024), DAG-GT (IEEE TAC 2024), DMFW (IEEE/CAA Automatica SINICA 2024), det-MARINA (NeuRIPS 2023).
- Shows superior communication and iteration efficiency.
π Results
![]() | ![]() | ![]() |
|---|---|---|
![]() | ![]() | ![]() |
![]() | ![]() | ![]() |
Figure 1β9: Comparison of standard DCGD, DCFGD, det-CGD (ICLR 2024) with optimal diagonal stepsizes under rand-1 sketch, CFGD-1 (Ours) and CFGD-2 (Ours) with optimal diagonal stepsizes under rand-1 sketch, det-MARINA (NeurIPS 2023), DAG-GT (IEEE TAC 2024), and DMFW (IEEE/CAA Automatica SINICA 2024).
π Citation
If you use this repository or build upon this work, please cite:
@article{mazumder2025fractional,
title={Fractional Gradient Descent with Matrix Stepsizes for Non-Convex Optimisation},
author={Mazumder, Alokendu and Vyas, Keshav and Rathore, Punit},
journal={Authorea Preprints},
year={2025},
publisher={Authorea}
}
π Acknowledgements
This research is supported by the Prime Minister's Research Fellowship, Kotak AI-ML PhD Fellowship, and SERB-SRG Grant.
π¬ Contact
For questions or collaborations, please contact:
- Alokendu Mazumder β alokendum@iisc.ac.in
- Punit Rathore β prathore@iisc.ac.in
This code accompanies the paper "Fractional Gradient Descent with Matrix Stepsizes for Non-Convex Optimisation" accepted at IEEE Transactions of Neural Networks and Learning Systems (IEEE TNNLS, IF: 8.9, COre: A).*








