Hybrid optimization technique for matrix chain multiplication using Strassen's algorithm

Background: Matrix Chain Multiplication (MCM) is a fundamental problem in computational mathematics and computer science, often encountered in scientific computing, graphics, and machine learning. Traditional MCM optimization techniques use Dynamic Programming (DP) with Memoization to determine the optimal parenthesization for minimizing the number of scalar multiplications. However, standard matrix multiplication still operates in O(n3) time complexity, leading to inefficiencies for large matrices. Methods: In this paper, we propose a hybrid optimization technique that integrates Strassen’s algorithm into MCM to further accelerate matrix multiplication. Our approach consists of two key phases: (i) matrix chain order optimization, using a top-down memoized DP approach, we compute the best multiplication sequence, and (ii) hybrid multiplication strategy, we selectively apply Strassen’s algorithm for large matrices (n ≥ 128), reducing the complexity from O(n3) to O(n2.81), while using standard multiplication for smaller matrices to avoid recursive overhead. We evaluate the performance of our hybrid method through computational experiments comparing execution time, memory usage, and numerical accuracy against traditional MCM and Strassen’s standalone multiplication. Results: Our results demonstrate that the proposed hybrid method achieves significant speedup (4x–8x improvement) and reduces memory consumption, making it well-suited for large-scale applications. This research opens pathways for further optimizations in parallel computing and GPU-accelerated matrix operations.[AB1] [BT2] Conclusion: This study presents a hybrid approach to Matrix Chain Multiplication by integrating Strassen’s algorithm, reducing execution time and memory usage. By selectively applying Strassen’s method for large matrices, the proposed technique improves efficiency while preserving accuracy. Future work can focus on parallel computing and GPU acceleration for further optimization.

Institutions

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2025-03-14
DOI
https://doi.org/10.5281/zenodo.15024550
Primary Topic
Genomics and Phylogenetic Studies
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Hybrid optimization technique for matrix chain multiplication using Strassen's algorithm

Zenodo (CERN European Organization for Nuclear Research)
Genomics and Phylogenetic Studies
article

Hybrid optimization technique for matrix chain multiplication using Strassen's algorithm

article en

Abstract

Background: Matrix Chain Multiplication (MCM) is a fundamental problem in computational mathematics and computer science, often encountered in scientific computing, graphics, and machine learning. Traditional MCM optimization techniques use Dynamic Programming (DP) with Memoization to determine the optimal parenthesization for minimizing the number of scalar multiplications. However, standard matrix multiplication still operates in O(n3) time complexity, leading to inefficiencies for large matrices. Methods: In this paper, we propose a hybrid optimization technique that integrates Strassen’s algorithm into MCM to further accelerate matrix multiplication. Our approach consists of two key phases: (i) matrix chain order optimization, using a top-down memoized DP approach, we compute the best multiplication sequence, and (ii) hybrid multiplication strategy, we selectively apply Strassen’s algorithm for large matrices (n ≥ 128), reducing the complexity from O(n3) to O(n2.81), while using standard multiplication for smaller matrices to avoid recursive overhead. We evaluate the performance of our hybrid method through computational experiments comparing execution time, memory usage, and numerical accuracy against traditional MCM and Strassen’s standalone multiplication. Results: Our results demonstrate that the proposed hybrid method achieves significant speedup (4x–8x improvement) and reduces memory consumption, making it well-suited for large-scale applications. This research opens pathways for further optimizations in parallel computing and GPU-accelerated matrix operations.[AB1] [BT2] Conclusion: This study presents a hybrid approach to Matrix Chain Multiplication by integrating Strassen’s algorithm, reducing execution time and memory usage. By selectively applying Strassen’s method for large matrices, the proposed technique improves efficiency while preserving accuracy. Future work can focus on parallel computing and GPU acceleration for further optimization.

Zenodo (CERN European Organization for Nuclear Research)
Amrita Vishwa Vidyapeetham (IN)
Openalex Percentile: Top 58%
Genomics and Phylogenetic Studies
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.