Matrix Subcode Equivalence Problem
- The paper introduces the Matrix Subcode Equivalence Problem by examining whether a smaller rank-metric matrix code can be embedded as a subcode into a larger one using invertible matrices A and B.
- It demonstrates that the non-invertible full-rank mapping T eliminates established algebraic invariants, complicating the equivalence testing and degrading standard attack efficiencies.
- The work positions the problem between full equivalence and subspace search challenges, highlighting its NP-hardness by drawing parallels with the NP-complete Hamming Subcode Equivalence.
The Matrix Subcode Equivalence Problem concerns rank-metric matrix codes over a finite field and asks whether a given matrix code can be mapped, by a rank isometry, into another code as a subcode. In the formulation introduced for matrix spaces , with and for , one seeks invertible matrices and such that (Bardet et al., 21 Jul 2025). The problem extends the rank-metric equivalence agenda developed for full matrix-code equivalence, but the subcode condition changes the algebraic structure substantially: the hidden mixing on the code side is no longer invertible, several invariants used in full equivalence disappear, and both algebraic and combinatorial attacks degrade sharply (Bardet et al., 21 Jul 2025).
1. Formal definition and ambient equivalence structure
In the rank-metric setting, an matrix code is an -linear subspace 0 of dimension 1, with rank weight 2 and rank distance 3 (Bardet et al., 21 Jul 2025). The Matrix Subcode Equivalence Problem, denoted
4
takes as input a code 5 of dimension 6 and a code 7 of dimension 8 with 9, and asks whether there exist 0 and 1 such that
2
The underlying rank-isometry group is the classical one for the rank metric. A linear rank-preserving map on matrices has the form
3
with 4, 5, and when 6 one may also have transpose-based maps (Morrison, 2013). More generally, linear matrix-equivalence maps are generated by left multiplication, right multiplication, and, in the square case, transposition; semilinear extensions further incorporate 7 entrywise (Morrison, 2013). The paper introducing MSE focuses on the 8 case (Bardet et al., 21 Jul 2025).
A generator-matrix formulation makes the hidden structure explicit. If 9 and 0 generate 1 and 2, then
3
is equivalent to the existence of a matrix 4 with 5 such that
6
(Bardet et al., 21 Jul 2025). This is the defining feature of the subcode problem: the map 7 is full-rank but non-invertible. If 8 is a parity-check matrix of 9, with 0, then the same condition yields the dual formulation
1
The paper also studies the inhomogeneous Matrix Code Permuted Kernel Problem. Given 2, it asks whether there exist invertible 3 and 4 of rank 5 such that
6
(Bardet et al., 21 Jul 2025). In dual form, with 7 a parity-check matrix of 8 and 9,
0
For 1, this reduces to MSE (Bardet et al., 21 Jul 2025).
2. Relation to matrix code equivalence and earlier equivalence theory
MSE arose in a landscape already shaped by full matrix code equivalence. In the general Matrix Code Equivalence Problem, two 2-dimensional matrix spaces 3 are equivalent if there exist invertible 4 and 5 such that
6
(Couvreur et al., 1 Apr 2025). Recent signature schemes such as MEDS and ALTEQ relate their security to the hardness of this problem (Couvreur et al., 1 Apr 2025). The full-equivalence literature established both the ambient group structure and the distinction between matrix equivalence and rank-metric equivalence: matrix equivalence is strictly more general than rank-metric equivalence, and its linear isometry group is
7
when 8, with an additional 9-action by transposition when 0 (Morrison, 2013).
For given codes, several decision problems in full equivalence admit efficient structure theory. The Matrix Codes Right Equivalence Problem and Hidden Vector Matrix Code Equivalence are in 1 if 2, and in 3 in general; the core tools are conductor spaces, stabilizer algebras, Jacobson radicals, and Wedderburn–Artin decompositions (Couvreur et al., 2020). That framework applies directly when the subcodes are given explicitly, but not to the existential search inherent in MSE as introduced in the subcode literature. This suggests that MSE should be distinguished from “given-subcode equivalence” problems inherited from conductor-based algorithms (Couvreur et al., 2020).
The introduction of MSE parallels the Hamming-metric notion of subcode equivalence. In the matrix setting, the loss of invertibility on the code-side mixing matrix 4 is decisive. The subcode condition does not merely weaken full equivalence; it removes the invertible change-of-basis symmetry on the smaller code and therefore invalidates several transfer principles and invariants that are effective in the full-code case (Bardet et al., 21 Jul 2025).
3. Hardness, reductions, and counting heuristics
The work introducing MSE places it in direct relation with Hamming-metric subcode equivalence. It states that the Matrix Subcode Equivalence problem reduces to the Hamming Subcode Equivalence problem, which is known to be NP-Complete (Bardet et al., 21 Jul 2025). In the detailed reduction, Hamming codes are embedded into diagonal matrix codes through the rank isometry
5
for which 6 (Bardet et al., 21 Jul 2025). The corresponding proposition identifies Hamming SEP-equivalence with matrix-subcode inclusion after a rank isometry, and the synthesized conclusion is that MSE is at least as hard as Hamming SEP, hence NP-hard (Bardet et al., 21 Jul 2025).
The generator description also supports counting heuristics. Under a random-subspace heuristic, the average number of projective isometries mapping 7 into 8 is approximately
9
where
0
and the Gaussian binomial coefficient is
1
(Bardet et al., 21 Jul 2025). This estimate is used for parameter selection rather than as a proof of average-case complexity.
The same work argues that 2 is necessary to avoid large underdetermined systems and proliferation of trivial or invertible solutions. For 3 or 4, systems such as 5 have at most 6 independent linear equations in 7 unknowns, yielding many solutions likely including invertible 8. For 9, the induced systems tend to be overdetermined and uniqueness can be engineered (Bardet et al., 21 Jul 2025). This criterion is central in the cryptographic instantiation, where 0 is used systematically (Bardet et al., 21 Jul 2025).
A plausible implication is that MSE occupies an intermediate position between full code equivalence and generic subspace-search problems: it inherits the geometric structure of rank isometries, but its search space is shaped by a non-invertible hidden embedding. The literature repeatedly identifies this non-invertibility of 1 as the reason both algebraic and invariant-based attacks become weaker than in the full-equivalence setting (Bardet et al., 21 Jul 2025).
4. Algorithmic approaches and why the subcode case is harder
The existing attack surface for MSE is built by adapting full matrix-code equivalence techniques to the subcode case. The common conclusion is that these adaptations perform much worse than in the code equivalence case, mirroring the Hamming metric (Bardet et al., 21 Jul 2025).
The simplest reduction guesses a 2-dimensional subspace of 3 and then solves full MCE on that guess. Its complexity is
4
with 5; even for small 6, this is enormous (Bardet et al., 21 Jul 2025). The paper gives the example 7, which leads to 8 possibilities (Bardet et al., 21 Jul 2025).
The algebraic modelings center on the equation
9
or on its dual quadratic form
0
(Bardet et al., 21 Jul 2025). In the naive trilinear model, the unknowns are 1, with 2 variables and 3 affine trilinear equations (Bardet et al., 21 Jul 2025). Hybrid variants guess columns of 4 or rows of 5, producing linear subsystems, but their exponents are substantially worse than for MCE when 6 is small (Bardet et al., 21 Jul 2025). The dual quadratic model has only 7 equations in 8 unknowns, fewer than in full MCE, and is therefore weaker (Bardet et al., 21 Jul 2025).
A more elaborate trilinear formalism uses commutation matrices 9 and reshaped generators 00. It yields equivalent formulations such as
01
and bilinear constraints
02
(Bardet et al., 21 Jul 2025). The paper then adds new trilinear equations based on right inverses: 03 (Bardet et al., 21 Jul 2025). These improve constraints without introducing 04 as explicit variables. Yet experimental evidence remains unfavorable: Gröbner basis computations for 05 took about 06 s for 07, but more than 08 hours for 09, illustrating the gap between MCE and MSE (Bardet et al., 21 Jul 2025).
Leon-style combinatorial attacks were also adapted. They search for low-rank codewords in 10 and 11, construct collision lists, and solve linear systems derived from equal-rank pairs (Bardet et al., 21 Jul 2025). If
12
is the number of rank-13 matrices, then the expected number of rank-14 codewords in 15 is 16, and in 17 it is 18 (Bardet et al., 21 Jul 2025). To obtain collision probability 19, it suffices to sample
20
elements from 21 (Bardet et al., 21 Jul 2025). Because 22 is smaller, feasible 23 is larger than in MCE, so the attack becomes significantly more expensive (Bardet et al., 21 Jul 2025).
The reduction to Quadratic Sub Map Linear Equivalence provides another algorithmic lens. In QSMLE, one seeks 24 and 25 of rank 26 such that
27
for tuples of quadratic polynomials 28 (Bardet et al., 21 Jul 2025). MSE reduces to this problem by associating to code bases bilinear polynomials
29
and similarly for 30, with isometry
31
(Bardet et al., 21 Jul 2025). The inhomogeneous QSMLE solver dominates parameter selection; the lower bound quoted for cubic linearization is
32
with
33
and an explicit expression for 34 in terms of 35 (Bardet et al., 21 Jul 2025). The stated conclusion is that this attack is substantially worse than MCE due to the non-invertible 36 and the reduced number of equations (Bardet et al., 21 Jul 2025).
Several invariant-based attacks do not transfer at all. The corank walk on bilinear forms requires equal ranks across dimensions, notably 37, and cannot be adapted because 38 and 39 are bounded by 40 and 41, respectively (Bardet et al., 21 Jul 2025). Triangle-based invariants from 42-tensor isomorphism also fail: weak-key probabilities fall from about 43 in MCE to about 44 in MSE, since one needs 45 (Bardet et al., 21 Jul 2025).
| Approach | Core relation | Reported effect in MSE |
|---|---|---|
| Guess subcode, then solve MCE | 46 | Impractical |
| Algebraic modeling | 47 | Equation deficit |
| Dual quadratic modeling | 48 | Weaker than MCE |
| Leon-style collisions | Low-rank collisions in 49 | Higher feasible 50 |
| QSMLE reduction | 51 | Dominant for parameters |
| Corank walks / triangles | Tensor invariants | Do not transfer |
The broader full-equivalence literature helps explain this deterioration. In general MCE, the “Highway to Hull” algorithm reduces equivalence to conjugacy and exploits one-dimensional hulls as conjugacy invariants (Couvreur et al., 1 Apr 2025). That mechanism relies on exact equivalence of full spaces and on separable characteristic-polynomial collisions. A plausible implication is that no direct hull-based analogue is currently available for the existential subcode setting without substantial additional guessing, because the hidden object is not the whole code but an unknown embedded subspace.
5. Matrix Code Permuted Kernel Problem and signature constructions
The main cryptographic application of MSE is the Matrix Code Permuted Kernel Problem, especially in its inhomogeneous form (Bardet et al., 21 Jul 2025). Its public relation is the degree-52 polynomial constraint
53
where 54 has rank 55, 56 has rank 57, and 58 is stored in row-reduced echelon form (Bardet et al., 21 Jul 2025). The secret key is 59, while the public key is 60 (Bardet et al., 21 Jul 2025).
Key generation samples 61 uniformly with the required ranks and sets
62
resampling if 63 (Bardet et al., 21 Jul 2025). The public-key size is approximately
64
and in the NIST-I set MCPKP-Ib it is about 65 Bytes (Bardet et al., 21 Jul 2025).
The zero-knowledge layer is implemented with MPC-in-the-Head. In the TCitH variant, Shamir sharing of degree 66 is applied to the witness 67, and the parties compute
68
With challenges 69, they form
70
open 71, and accept iff 72 (Bardet et al., 21 Jul 2025). One repetition has false-positive probability 73; after 74 repetitions it becomes 75 (Bardet et al., 21 Jul 2025). The signature-size formula is
76
where 77 and 78 (Bardet et al., 21 Jul 2025).
The VOLE-in-the-Head variant merges 79 sharings via a morphism 80, reducing soundness to 81 (Bardet et al., 21 Jul 2025). Its signature-size formula is
82
with 83 chosen so that 84 (Bardet et al., 21 Jul 2025).
The representative parameter sets reported are:
| Set | 85 | Public key | Attack logs |
|---|---|---|---|
| MCPKP-Ia | 86 | 87 B | Leon 88, QSMLE 89 |
| MCPKP-Ib | 90 | 91 B | Leon 92, QSMLE 93 |
| MCPKP-III | 94 | 95 B | Leon 96, QSMLE 97 |
| MCPKP-V | 98 | 99 B | Leon 00, QSMLE 01 |
For NIST-I in the “Short” configuration, the reported signature sizes are about 02 B for VOLEitH and 03 B for TCitH on MCPKP-Ib (Bardet et al., 21 Jul 2025). The paper contrasts these figures with established schemes and reports that, at NIST-I, the MSE/MKPK-based construction gives a smaller combined size than SPHINCS+, while also producing much smaller public keys than MEDS, LESS, and ALTEQ (Bardet et al., 21 Jul 2025).
A notable design choice is the use of inhomogeneous MKPK rather than homogeneous MSE. The paper states that using homogeneous MSE with 04 would require transmitting 05 or verifying 06, inflating signatures by about 07 kB at level I (Bardet et al., 21 Jul 2025). This motivates the inhomogeneous formulation.
6. Structural viewpoints, special families, and related classification problems
Although MSE was introduced only recently, it fits into a broader theory of equivalence and classification for matrix codes. Earlier work on matrix equivalence provided invariants such as 08, minimum rank distance, rank distribution, and weight enumerators; these remain useful as pre-filters in equivalence testing, but in the subcode setting they no longer decide the problem because inclusion does not preserve full distributions (Morrison, 2013). For self-dual matrix codes, classification can be organized through double cosets of duality-preserving isometries, using
09
or its square-matrix extension with transpose (Morrison, 2015). This framework is exact for self-dual full codes, but it does not directly solve MSE, since the latter is not formulated as equivalence between equal-dimensional codes and generally lacks transitivity under the ambient group action (Morrison, 2015).
A different strand studies specialized families of low-dimensional MRD codes where subcode equivalence becomes tractable through family-specific invariants. For the 10-dimensional 11-linear MRD family 12, practical equivalence testing reduces to matching Frobenius support patterns, checking that 13, computing 14, and verifying the relevant 15-orbit relation between 16 and 17, possibly up to sign and inversion (Gupta et al., 2022). This yields a “practical, computable decision procedure” for that family (Gupta et al., 2022). The existence of such family-dependent criteria suggests that subcode equivalence may admit efficient solutions on highly structured instances even when the general problem is treated as a cryptographic hardness assumption.
Geometric approaches to Hamming code equivalence supply another perspective. In the projective-geometry formulation, code equivalence is tested by isomorphism of binary incidence matrices 18 or shortened variants 19, with automorphism group computations via canonical labeling (Bouyukliev et al., 2022). The same synthesis explicitly adapts the matrix form
20
to subcode equivalence, where 21 has full row rank, and interprets the problem as orbit-subset containment of projective multisets (Bouyukliev et al., 2022). This is a different metric setting, but it clarifies a general phenomenon also present in MSE: subcode equivalence replaces orbit equality by orbit containment, and that shift is algorithmically expensive.
The current literature therefore presents MSE as both a natural rank-metric analogue of Hamming subcode equivalence and a distinct cryptographic primitive. Its defining obstacle is the non-invertible hidden map 22, which weakens algebraic constraints, destroys several full-equivalence invariants, and forces parameter choices that differ markedly from those used for matrix code equivalence (Bardet et al., 21 Jul 2025). At the same time, the surrounding equivalence theory indicates that structured subclasses, stabilizer algebras, idealizers, and family-specific normal forms remain central tools for understanding when subcode equivalence is tractable and when it is intended to be hard.