1. Introduction
Maximum Rank-Distance (MRD) codes are optimal error-correcting codes for the rank metric, achieving the Singleton-like bound and offering maximum error resilience in rank-metric channels. Since the foundational works of Delsarte in 1978 [
1] and Gabidulin in 1985 [
2], they have been central to applications in network coding, cryptography, and distributed storage [
3].
Despite their theoretical appeal, MRD code construction remains challenging. Classical families, such as Gabidulin and their generals [
4], cover many, but not all, parameter regimes. Recent advances, including twisted Gabidulin [
5], generalized twisted Gabidulin [
6], scattered-subspace constructions [
7], and Maximum Flag-Rank Distance codes [
8], have revealed inequivalent MRD codes with distinct structural and weight properties. Yet, a comprehensive existence theory for arbitrary field sizes and dimensions is still lacking.
In parallel, computational approaches have emerged as a complementary route to algebraic methods. Classification efforts for small parameters [
9] and heuristic searches, most notably genetic algorithms for Hamming-metric codes [
10,
11], have shown that metaheuristics can effectively navigate discrete code spaces. Deep-learning-based code design [
12,
13] and learning-driven inverse problem solving [
14] further illustrate the potential of data-driven exploration when explicit constructions are elusive. However, to our knowledge, Particle Swarm Optimization (PSO) [
15,
16] has not been applied to MRD code construction.
PSO is a population-based metaheuristic known for efficiently exploring high-dimensional, nonlinear, and multimodal search spaces. By encoding generator matrices directly over finite fields and embedding rank-metric constraints into the objective, PSO can adaptively balance exploration (discovering new code structures) and exploitation (refining promising candidates). This makes it especially attractive for MRD regimes where algebraic constructions are unknown, convergence behavior must be analyzed, and global optima are difficult to guarantee.
In this work, we:
Formulate MRD code construction as a constrained combinatorial optim problem over .
Design a finite-field PSO variant with rank-aware velocity clamping, adaptive penalties, and structured seeding from Gabidulin codes.
Provide a theoretical analysis of the PSO-guided search process in the MRD code context, including its adaptability to high-dimensional and nonlinear search spaces.
Release an open-source Python implementation to support reproducibility and to facilitate further exploration of MRD code existence in uncharted parameter regimes.
This contribution bridges a gap between algebraic theory and heuristic search, positioning PSO as a flexible, extensible framework for MRD code discovery and potentially inspiring analogous applications in machine learning-aided code design.
2. Related Work
2.1. Evolution and Recent Advances in Rank Metric and MRD Code Constructions
The theory of rank-metric codes began with the foundational work of Delsarte [
1], who introduced the rank metric and exhibited MRD codes via bilinear forms, in parallel with the role that MDS codes play in the Hamming metric [
17]. Gabidulin then provided a general polynomial-evaluation construction [
2], later extended in scope and applications [
3,
4].
Beyond these classical families, inequivalent MRD codes arise from twisted and generalized twisted constructions [
5,
6], as well as skew polynomial frameworks [
18]. Geometric methods based on scattered linear sets yield additional MRD families [
7], and there are explicit constructions outside the
regime such as the
case for even
m [
19,
20]. Recent work on maximum flag-rank distance (MFRD) codes provides new linear spaces with larger generalized rank weights and new structural invariants [
8]. In a related direction, MRD convolutional codes have been investigated as a streaming or time-varying analogue of block MRD codes; the recent work by Napp et al. [
21] constructs novel classes of such convolutional codes for a broad set of parameters, extending MRD theory into the convolutional domain.
Concurrently, several construction paradigms continue to expand the frontier. A 2024 switching framework builds MRD codes via puncturing and product operations, enabling transitions among inequivalent families [
22]. In the sum-rank setting, which unifies Hamming and rank metrics, there are fresh explicit MSRD constructions and decoding-friendly variants [
23,
24,
25]. Very recent preprints report additional MRD and sum-rank constructions that leverage subspace designs and orthogonal space methods [
26].
The cumulative effect of these developments is a significant expansion of MRD code theory, from bilinear and polynomial constructions to geometric, algebraic-combinatorial, and now convolutional frameworks, with ongoing discoveries continuing to reshape the boundaries of known existence regions.
2.2. Heuristic, Learning-Based, and Automated Searches for MRD Codes
Computational search complements algebraic theory where existence questions remain open. Classification for small parameters combines structure with exhaustive or guided enumeration [
9]. In the broader coding landscape, metaheuristics such as genetic algorithms have been effective for discovering or approximating good codes in Hamming settings [
10,
11], suggesting portability to rank-metric search.
Learning-based design has emerged for linear codes, with neural constructions and optimization-oriented frameworks that learn generator structure [
12,
13]. Although most such results target Hamming or Euclidean metrics, they indicate a pathway for data-driven construction in rank-metric problems. Complementary perspectives from inverse-problem machine learning also demonstrate how learned models can replace explicit derivations when closed-form structures are unavailable [
14]. Beyond pure code design, AI-driven rank-metric evaluation has also been explored in other domains; for example, Chen et al. [
27] implemented an AI-based MRD evaluation and prediction model (albeit for clinical data), illustrating the broader applicability of machine-learning MRD frameworks across fields.
Within this landscape, Particle Swarm Optimization [
15,
16] remains underexplored for MRD construction. Its balance of exploration and exploitation in high-dimensional, nonlinear spaces motivates the PSO-guided framework we develop in this work.
Table 1 includes a comprehensive comparison.
3. Algebraic Background
This section reviews the concepts and notation that underlie maximum-rank-distance (MRD) codes and their construction. We also formalize the optim target that will be addressed by the PSO framework in later sections.
3.1. Rank Metric
Let
denote the finite field with
q elements, where
q is a prime power. The
rank metric measures the distance between two matrices, or equivalently between vectors on an extension field, by the rank of their difference:
A
rank-metric code is a subset of
used for error detection and correction when this metric is applied. Its minimum rank distance is
The code
is called
-linear if it is a
k-dimensional subspace of
with
. If
is
-linear it admits the
generator-matrix formEach is a codeword, viewed either as a vector over or, via a fixed -linear isomorphism , as an matrix over the base field.
3.2. Singleton Bound and Singleton-like Bound
Classical Hamming case. For a Hamming-metric block code of length
n, dimension
k, and minimum distance
d, the classical Singleton bound is [
17]:
Rank-metric analogue. For
with minimum rank distance
d and
-dimension
k, Delsarte and Gabidulin [
1,
2,
3] proved the Singleton-type bounds:
3.3. Maximum Rank-Distance (MRD) Codes
A code
is an MRD code when it achieves equality in (7):
Lemma 1. Let generate a -linear code . Then, is MRD if and only if Hence, an MRD code can be identified by the full-rank preservation of its generator matrix under premultiplication by any full-rank
matrix over the base field [
3].
3.4. Gabidulin Codes
Let
q be a prime power and
with
(since for Gabidulin codes the length
n must not exceed the extension degree
m, and the dimension
k must not exceed the length) [
3]. Choose
For a
q-
linearized polynomial
define the evaluation map:
The
Gabidulin code is then:
forming an
-linear
code with
Its generator matrix is the Moore (or
-Vandermonde) matrix:
Since satisfies Lemma 1, is MRD.
3.5. Optim Viewpoint for MRD Construction
In the context of this work, the construction problem can be expressed as:
The MRD condition is achieved when the inner minimum equals the bound in (7). This formal directly motivates the PSO-based search strategy described in the theoretical framework.
3.6. Remark on Computational Complexity
Evaluating (
16) exactly requires computing
rank operations on
matrices per candidate
G, each costing
with Gaussian elimination. This high cost underlines the need for efficient search heuristics.
4. Theoretical Framework
This section lays out the foundations for using PSO to construct MRD codes. We first summarize PSO, then formulate code construction as a constrained combinatorial optim problem, and finally discuss its theoretical suitability for this task.
4.1. Particle Swarm Optim
Particle swarm optim (PSO) is a population-based metaheuristic inspired by the collective motion of biological swarms [
15,
16]. A swarm of
S particles explores the search space; particle
i keeps track of its position
, velocity
, personal best
, and global best
found so far.
The standard updates are
where
are independent scalars (or component-wise vectors) drawn anew each iteration;
w is the inertia weight; and
are the cognitive and social acceleration coefficients.
4.2. Problem Formulation
Let
be the target parameters of an MRD vector code. We seek a generator matrix
such that the
-linear code
given by (
3) attains minimum rank distance
where
is the fixed
-linear isomorphism that converts each length-
n vector over the extension field into its
matrix representation [
3]. The rank in (
19) is taken over
on this unfolded matrix.
The construction task can thus be expressed as the optim problem (
16) in
Section 3, with the additional MRD constraint from (7).
4.3. Objective Function
By (
8), a linear rank-metric code is MRD precisely when its minimum rank distance equals the Singleton-like bound. We therefore define the fitness
and maximize
subject to
. If multiple candidates achieve the primary target, secondary criteria such as larger generalized rank weights [
6] or sparsity of
G can be incorporated.
4.4. Search Space and Constraints
The search domain consists of all full-rank matrices over . Constraint handling is implemented via (i) a penalty term reducing the score when , and (ii) a repair routine that replaces dependent rows with random full-rank ones if a velocity update introduces rank deficiency. These mechanisms help maintain feasibility while allowing occasional exploration into near-feasible regions.
4.5. Representation and Initial
Each PSO particle represents a candidate generator matrix
G in (
20). Positions are initialized either:
(a) uniformly at random over
, subject to full rank; or
(b) as low-rank perturbations of Gabidulin matrices [
10,
11,
16] to seed the swarm with known good structures while preserving diversity.
4.6. Theoretical Adaptability of PSO
PSO is well-suited for MRD construction for several reasons:
High-dimensional exploration: Generator matrices over can be large, making the search space exponential in . PSO’s population-based search can maintain coverage across many distant regions simultaneously.
Nonlinear, discrete landscape: The rank-distance function is highly non-smooth and discrete. Probabilistic velocity updates allow PSO to traverse such landscapes without relying on gradient information.
Convergence control: By adjusting w, , , and velocity clamping, the algorithm can trade exploration for exploitation, mitigating premature convergence to sub-optimal matrices.
Global optimality considerations: While PSO does not guarantee global optima, the combination of structured seeding, adaptive penalties, and rank-based diversity control reduces the risk of stagnation in poor local optima.
4.7. Parameter Roles and Selection
The main PSO parameters are:
S: swarm size, typically scaled with problem dimension .
: maximum iterations, influencing total search effort.
w: inertia weight, controlling momentum. Larger w promotes exploration, while smaller w promotes convergence.
: cognitive and social coefficients, balancing attraction to personal vs. global bests.
: velocity-rank clamp, limiting disruptive changes to generator matrices.
Stable parameter regions from PSO theory [
28,
29,
30] can be adapted to the finite-field setting by treating velocity updates as probabilistic component changes rather than real-valued vectors.
4.8. PSO Algorithm for MRD Code Construction
At every iteration, the swarm updates velocities and positions via (
17) and (18). After each move, the fitness (
20) is evaluated; personal and global bests are updated accordingly, steering the particles toward matrices satisfying the MRD property.
This completes the theoretical basis.
Section 5 translates these ideas into a concrete PSO-guided construction algorithm.
5. Proposed PSO-Guided Construction Method
This section details the PSO-guided method for constructing MRD codes, emphasizing the finite-field adaptations and constraint-handling strategies that differentiate it from a vanilla PSO. The method directly implements the optim model in (
16).
5.1. Initial
The swarm consists of N particles, each representing a generator matrix . Two complementary strategies ensure both diversity and structural quality:
(i) Purely random sampling. For approximately half of the particles, entries are drawn independently from until . A practical procedure is:
Fix a normal basis of .
Fill a array with uniformly random elements.
Map each m-tuple of -coefficients to a field element .
If full -rank is not achieved, repeat.
(ii) Perturbed Gabidulin seeds. The remaining particles are seeded as
where
is a Gabidulin generator [
3] and
with
and
. This preserves the known MRD structure while introducing controlled diversity.
Initial velocities are generated independently and uniformly, ensuring no bias toward initial positions.
5.2. Fitness Evaluation
Each particle’s primary fitness is
from (
20). Feasible particles satisfy
; ties are resolved lexicographically:
Maximize ,
Then maximize the second-smallest rank (proxy for the second generalized rank weight),
Then minimize the Hamming weight of G to favor sparsity.
This composite score is applied consistently to personal- and global-best updates.
5.3. Velocity and Position Update
Equations (
17) and (18) govern updates, adapted for
:
Addition is over , component-wise.
Random scalars , define per-entry probabilities of applying cognitive/social terms.
Velocity rank is clamped to to avoid destructive changes.
5.4. Constraint Handling
Two mechanisms ensure feasibility:
Penalty: subtract when , with increasing periodically to discourage persistent infeasibility.
Repair: if , iteratively replace dependent rows with random full-rank rows.
5.5. Termination Criteria
Stop if:
,
A particle attains and meets all secondary criteria,
No global-best improvement for iterations, .
5.6. Algorithm Summary
Step Interaction Recap. The algorithm begins by generating a diverse swarm of candidate generator matrices, with half sampled randomly under full-rank constraints and the remainder obtained by low-rank perturbations of known Gabidulin codes. This initial ensures a balance between structural guidance and exploratory diversity. Each particle is assigned a random finite-field velocity, initiating movement through the search space. At each iteration, velocities are updated using finite-field PSO rules, where inertia, cognitive, and social terms control the trade-off between exploration and exploitation. Velocity-rank clamping limits disruptive changes, while penalties dynamically reduce the fitness of infeasible solutions to steer the swarm toward MRD-compliant regions. After each position update, repair routines restore full rank when necessary, ensuring particles remain viable candidates. This interplay between guided initial, controlled velocity updates, adaptive penalties, and corrective repair maintains both feasibility and diversity, enabling the swarm to converge toward high-quality MRD generator matrices. The process terminates when a stopping condition is met, such as reaching the maximum iterations, satisfying all MRD criteria, or stalling in improvement, and the best-found generator matrix is returned as the output (Algorithm 1).
Algorithm 1 Finite-Field PSO for MRD Code Construction |
- 1:
Initialize N particles: half random, half perturbed Gabidulin seeds. - 2:
Assign random finite-field velocities. - 3:
for to do - 4:
for each particle j do - 5:
Evaluate ; apply tie-breakers if . - 6:
Update personal best if improved. - 7:
end for - 8:
Identify global best g. - 9:
for each particle j do - 10:
Update via ( 17) (finite-field form). - 11:
Rank-clamp if needed. - 12:
Update over . - 13:
Apply repair if . - 14:
end for - 15:
if termination criterion met then break. - 16:
end if - 17:
end for - 18:
return best-found .
|
5.7. Implementation and Reproducibility
A complete Python (Python 3.10) implementation, mirroring Algorithm 1, is provided at
https://github.com/behnamde/pso_mrd (accessed on 7 April 2025) [
31], using the
galois library [
32] for
arithmetic
(Dependencies: numpy (≥1.24), galois (≥0.4)). Key features include:
Exact reproduction of finite-field PSO updates, rank clamping, and probabilistic velocity application.
Configurable seeding, penalty scheduling, and repair.
Parameter exposure for systematic study.
Deterministic mode via random seed control for reproducibility.
This codebase enables researchers to replicate the results, experiment with parameter regimes, and extend the framework to related rank- or sum-rank-metric problems.
5.8. Computational Complexity
We summarize the cost of one PSO iteration over
N particles for the proposed finite-field scheme. Throughout, let
Denote by
the unit cost of a multiplication in
and by
the cost of computing the rank of an
matrix over
using Gaussian elimination:
5.8.1. Per-Particle Fitness Evaluation
For a candidate
, the fitness
in (
20) requires:
If evaluated exactly over all nonzero
, the number of candidates is
when
is taken over
. Hence, the worst-case exact per-particle fitness cost is:
In practice, a fixed probe budget
with early stopping is used, giving:
5.8.2. Per-Particle PSO Update
Velocity and position updates over
are linear in the number of entries:
Rank-clamping of
costs
unless low-rank factored forms are used, in which case:
with
the velocity-rank bound.
5.8.3. Repair and Feasibility Checks
Checking
matches (
22); replacing dependent rows costs the same order.
5.8.4. Total Per-Iteration Cost
For dense velocities and probe budget
, the dominant cost is fitness:
5.8.5. Memory Complexity
Positions and velocities in dense form require:
while low-rank velocity storage with bound
uses:
6. Discussion
The proposed PSO-guided construction method introduces a metaheuristic framework for identifying maximum-rank-distance (MRD) codes by leveraging the global search capabilities of particle swarm optim (PSO). Unlike purely algebraic methods, such as Gabidulin’s construction [
2,
3], which rely on explicit closed-form derivations, PSO offers a flexible, data-driven approach that remains applicable when no known theoretical construction exists or when the target parameters fall outside established families.
In addition to the qualitative advantages discussed throughout this work,
Table 1 in
Section 2 provides a structured comparison between our PSO-guided framework, classical algebraic constructions, alternative metaheuristics, and recent AI-based approaches. This comparison underscores PSO’s ability to operate in parameter regimes where algebraic existence results are unknown, while also maintaining flexibility to incorporate structural seeding and advanced constraint-handling. In contrast to algebraic techniques bound by proven construction theorems and learning-based frameworks dependent on extensive training data, our PSO formulation combines rank-metric awareness with adaptive exploration and exploitation, enabling efficient search over vast high-dimensional discrete spaces.
6.1. Advantages of the PSO Approach
Generality: Applicable to a wide range of
parameters, including those beyond classical Gabidulin families [
5,
6,
8] and more recent convolutional MRD frameworks [
21].
Scalability: Handles larger problem sizes by tuning swarm size
N, inertia weight
w, and evaluation frequency. Complexity analysis in
Section 5.8 shows that low-rank velocity factor can substantially mitigate the
rank-computation bottleneck.
Adaptability: Can seamlessly incorporate domain knowledge, such as Gabidulin-based seeding, without constraining the search to a narrow solution family.
Exploratory Capability: Maintains population diversity, balancing the discovery of new code structures with the refinement of promising candidates in the inherently non-convex MRD search landscape.
6.2. Limitations and Challenges
Combinatorial Explosion: The search space scales exponentially with , making convergence more challenging as problem size increases.
Fitness Evaluation Cost: Computing
in (
20) for all non-zero
is expensive, with complexity analysis in
Section 5.8 confirming that rank evaluation dominates runtime for most parameter sets.
No Global-Optimality Guarantee: As with other metaheuristics, PSO yields high-quality solutions but cannot guarantee global optimality; algebraic verification remains essential.
Initial Sensitivity: Poor diversity in the initial swarm can lead to premature convergence, underscoring the value of structured seeding.
7. Conclusions
We have formulated MRD-code construction as a constrained combinatorial optim problem over and proposed a PSO-based algorithm tailored to the finite-field rank-metric setting. The framework incorporates rank-aware velocity clamping, adaptive penalties, and structured seeding from Gabidulin codes, allowing it to search efficiently in high-dimensional, non-linear, discrete spaces.
The method offers a general, extensible approach that can explore MRD parameter regimes not covered by existing algebraic constructions, including convolutional and emerging AI-driven contexts. While its adaptability and exploratory capability make it a promising addition to the MRD-construction toolbox, the approach still faces scalability challenges due to the combinatorial size of the search space and the high cost of exact fitness evaluation. The complexity analysis in
Section 5.8 quantifies these bottlenecks and highlights potential optims, such as low-rank velocity updates and parallel evaluation.
Future research will focus on integrating deeper algebraic structure into the search, refining constraint-handling mechanisms, and exploring hybrid frameworks that combine PSO with other metaheuristics or machine-learning models. Such developments have the potential to further bridge the gap between theoretical code design and computational discovery, expanding the range of MRD codes available for applications in communication, cryptography, and storage systems.
Author Contributions
Methodology, B.D. and A.S.; Software, B.D.; Formal analysis, B.D. and A.S.; Writing—original draft, B.D.; Writing—review & editing, A.S. All authors have read and agreed to the published version of the manuscript.
Funding
This research received no external funding.
Data Availability Statement
Acknowledgments
The authors would like to thank João Pedro Mendonça from the Department of Mechanical Engineering at the University of Minho, for his valuable supervision, insightful guidance, and continuous support throughout this research.
Conflicts of Interest
The authors declare no conflicts of interest.
References
- Delsarte, P. Bilinear forms over a finite field, with applications to coding theory. J. Comb. Theory Ser. A 1978, 25, 226–241. [Google Scholar] [CrossRef]
- Gabidulin, E.M. Theory of codes with maximum rank distance. Probl. Inf. Transm. 1985, 21, 1–12. [Google Scholar]
- Gabidulin, E.M. Rank Codes; Sidorenko, V., Ennemoser, C., Eds.; Sidorenko, V., Translator; Technical University of Munich Press: Munich, Germany, 2021. [Google Scholar] [CrossRef]
- Kshevetskiy, A.; Gabidulin, E. The new construction of rank codes. In Proceedings of the International Symposium on Information Theory, 2005. ISIT 2005, Adelaide, SA, Australia, 4–9 September 2005; pp. 2105–2108. [Google Scholar] [CrossRef]
- Sheekey, J. A new family of linear maximum rank distance codes. Adv. Math. Commun. 2016, 10, 475–488. [Google Scholar] [CrossRef]
- Lunardon, G.; Trombetti, R.; Zhou, Y. Generalized twisted Gabidulin codes. J. Comb. Theory Ser. A 2018, 159, 79–106. [Google Scholar] [CrossRef]
- Csajbók, B.; Marino, G.; Polverino, O.; Zullo, F. Maximum scattered linear sets and MRD-codes. J. Algebr. Comb. 2017, 46, 193–213. [Google Scholar] [CrossRef]
- Alfarano, G.N.; Neri, A.; Zullo, F. Maximum flag-rank distance codes. J. Comb. Theory Ser. A 2024, 207, 105908. [Google Scholar] [CrossRef]
- Csajbók, B.; Marino, G.; Polverino, O.; Zhou, Y. MRD codes with maximum idealizers. Discret. Math. 2020, 343, 111985. [Google Scholar] [CrossRef]
- Cuéllar, M.; Gómez-Torrecillas, J.; Lobillo, F.; Navarro, G. Genetic algorithms with permutation-based representation for computing the distance of linear codes. Swarm Evol. Comput. 2021, 60, 100797. [Google Scholar] [CrossRef]
- Azouaoui, A.; Belkasmi, M. Efficient Dual Domain Decoding of Linear Block Codes Using Genetic Algorithms. J. Electr. Comput. Eng. 2012. [Google Scholar] [CrossRef]
- Choukroun, Y.; Wolf, L. Learning linear block error correction codes. In Proceedings of the 41st International Conference on Machine Learning, Vienna, Austria, 21–27 July 2024. [Google Scholar] [CrossRef]
- Huang, L.; Zhang, H.; Li, R.; Ge, Y.; Wang, J. AI Coding: Learning to Construct Error Correction Codes. IEEE Trans. Commun. 2020, 68, 26–39. [Google Scholar] [CrossRef]
- Gao, Y.; Liu, H.; Wang, X.; Zhang, K. On an artificial neural network for inverse scattering problems. J. Comput. Phys. 2022, 448, 110771. [Google Scholar] [CrossRef]
- Kennedy, J.; Eberhart, R. Particle swarm optimization. In Proceedings of the ICNN’95-International Conference on Neural Networks, Perth, WA, Australia, 27 November–1 December 1995; Volume 4, pp. 1942–1948. [Google Scholar] [CrossRef]
- van Zyl, J.P.; Engelbrecht, A.P. Set-Based Particle Swarm Optimisation: A Review. Mathematics 2023, 11, 2980. [Google Scholar] [CrossRef]
- Hamming, R.W. Error Detecting and Error Correcting Codes. Bell Syst. Tech. J. 1950, 29, 147–160. [Google Scholar] [CrossRef]
- Sheekey, J. 13. MRD codes: Constructions and connections. In Combinatorics and Finite Fields; Schmidt, K.U., Winterhof, A., Eds.; De Gruyter: Berlin, Germany, 2019; pp. 255–286. [Google Scholar] [CrossRef]
- Bartoli, D.; Giulietti, M.; Marino, G.; Polverino, O. Maximum Scattered Linear Sets and Complete Caps in Galois Spaces. Combinatorica 2018, 38, 255–278. [Google Scholar] [CrossRef]
- Bartoli, D.; Csajbók, B.; Montanucci, M. On a conjecture about maximum scattered subspaces of Fq6 × Fq6. Linear Algebra Appl. 2021, 631, 111–135. [Google Scholar] [CrossRef]
- Napp, D.; Pinto, R.; Santana, F.; Vela, C. On the construction of MRD convolutional codes. Linear Multilinear Algebra 2024, 72, 2653–2673. [Google Scholar] [CrossRef]
- Shi, M.; Krotov, D.S.; Özbudak, F. Constructing MRD codes by switching. J. Comb. Des. 2024, 32, 219–237. [Google Scholar] [CrossRef]
- Chen, H. New Explicit Good Linear Sum-Rank-Metric Codes. IEEE Trans. Inf. Theory 2023, 69, 6303–6313. [Google Scholar] [CrossRef]
- Martínez-Peñas, U. New constructions of MSRD codes. Comput. Appl. Math. 2024, 43, 195. [Google Scholar] [CrossRef]
- Borello, M.; Zullo, F. Geometric dual and sum-rank minimal codes. J. Comb. Des. 2024, 32, 238–273. [Google Scholar] [CrossRef]
- Liu, X.; Zhang, J.; Wang, G. Constructions and List Decoding of Sum-Rank Metric Codes Based on Orthogonal Spaces over Finite Fields. arXiv 2025, arXiv:2507.16377. [Google Scholar] [CrossRef]
- Chen, J.; Xiong, J.; Wang, Y.; Xin, Q.; Zhou, H. Implementation of an AI-based MRD Evaluation and Prediction Model for Multiple Myeloma. Front. Comput. Intell. Syst. 2024, 6, 127–131. [Google Scholar] [CrossRef]
- Clerc, M.; Kennedy, J. The particle swarm—Explosion, stability, and convergence in a multidimensional complex space. IEEE Trans. Evol. Comput. 2002, 6, 58–73. [Google Scholar] [CrossRef]
- Trelea, I.C. The particle swarm optimization algorithm: Convergence analysis and parameter selection. Inf. Process. Lett. 2003, 85, 317–325. [Google Scholar] [CrossRef]
- Shi, Y.; Eberhart, R.C. Parameter selection in particle swarm optimization. In Evolutionary Programming VII; Springer: Berlin/Heidelberg, Germany, 1998; pp. 591–600. [Google Scholar] [CrossRef]
- Dehghani, B. PSO-Guided Construction of MRD Codes in Rank Metric, 2025. GitHub Repository Containing Implementation and Documentation. Available online: https://github.com/behnamde/pso_mrd (accessed on 7 April 2025).
- Hostetter, M. Galois: A Performant NumPy Extension for Galois Fields, 2020. GitHub Repository Containing Implementation and Documentation. Available online: https://github.com/mhostetter/galois (accessed on 1 April 2025).
Table 1.
Comparison of MRD code construction approaches.
Table 1.
Comparison of MRD code construction approaches.
Approach Type | Key Examples | Strengths | Limitations | Applicability to Unexplored Regimes |
---|
Algebraic constructions | Gabidulin [2]; twisted Gabidulin [5]; generalized twisted Gabidulin [6]; and geometric/scattered subspace [7,19,20] | Exact MRD guarantee when applicable; solid theory | Limited to specific ; beyond known families can be intractable | Low: restricted by proven existence results |
Other metaheuristics | Genetic algorithms [10,11] | Flexible search in discrete spaces; can add constraints | May need heavy tuning; convergence speed varies | Medium: adaptable yet can struggle in high dimensional rank-metric spaces |
Learning-based/AI methods | Neural code design [12]; inverse problem ML [14] | Learns patterns from data; can generalize | Needs training data; no exact MRD guarantees in general | Medium: depends on data quality and diversity |
Proposed PSO-guided approach | This work | No need for closed-form structure; rank-aware constraints; adaptive exploration and exploitation; and seeding from known MRD codes | No formal global optimality proof; fitness evaluation cost | High: can target regimes without known algebraic constructions |
| Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).