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 TechRxiv

This 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:


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).*