Papers
Topics
Authors
Recent
Search
2000 character limit reached

Matrix Subcode Equivalence Problem

Updated 6 July 2026
  • 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 C,DFm×nC,D \subseteq F^{m\times n}, with dim(C)=k\dim(C)=k and dim(D)=k\dim(D)=k' for k<kk'<k, one seeks invertible matrices AGLm(q)A \in \mathrm{GL}_m(q) and BGLn(q)B \in \mathrm{GL}_n(q) such that DACBD \subseteq A C B (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 [m×n,k][m\times n,k] matrix code CC is an FF-linear subspace dim(C)=k\dim(C)=k0 of dimension dim(C)=k\dim(C)=k1, with rank weight dim(C)=k\dim(C)=k2 and rank distance dim(C)=k\dim(C)=k3 (Bardet et al., 21 Jul 2025). The Matrix Subcode Equivalence Problem, denoted

dim(C)=k\dim(C)=k4

takes as input a code dim(C)=k\dim(C)=k5 of dimension dim(C)=k\dim(C)=k6 and a code dim(C)=k\dim(C)=k7 of dimension dim(C)=k\dim(C)=k8 with dim(C)=k\dim(C)=k9, and asks whether there exist dim(D)=k\dim(D)=k'0 and dim(D)=k\dim(D)=k'1 such that

dim(D)=k\dim(D)=k'2

(Bardet et al., 21 Jul 2025).

The underlying rank-isometry group is the classical one for the rank metric. A linear rank-preserving map on matrices has the form

dim(D)=k\dim(D)=k'3

with dim(D)=k\dim(D)=k'4, dim(D)=k\dim(D)=k'5, and when dim(D)=k\dim(D)=k'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 dim(D)=k\dim(D)=k'7 entrywise (Morrison, 2013). The paper introducing MSE focuses on the dim(D)=k\dim(D)=k'8 case (Bardet et al., 21 Jul 2025).

A generator-matrix formulation makes the hidden structure explicit. If dim(D)=k\dim(D)=k'9 and k<kk'<k0 generate k<kk'<k1 and k<kk'<k2, then

k<kk'<k3

is equivalent to the existence of a matrix k<kk'<k4 with k<kk'<k5 such that

k<kk'<k6

(Bardet et al., 21 Jul 2025). This is the defining feature of the subcode problem: the map k<kk'<k7 is full-rank but non-invertible. If k<kk'<k8 is a parity-check matrix of k<kk'<k9, with AGLm(q)A \in \mathrm{GL}_m(q)0, then the same condition yields the dual formulation

AGLm(q)A \in \mathrm{GL}_m(q)1

(Bardet et al., 21 Jul 2025).

The paper also studies the inhomogeneous Matrix Code Permuted Kernel Problem. Given AGLm(q)A \in \mathrm{GL}_m(q)2, it asks whether there exist invertible AGLm(q)A \in \mathrm{GL}_m(q)3 and AGLm(q)A \in \mathrm{GL}_m(q)4 of rank AGLm(q)A \in \mathrm{GL}_m(q)5 such that

AGLm(q)A \in \mathrm{GL}_m(q)6

(Bardet et al., 21 Jul 2025). In dual form, with AGLm(q)A \in \mathrm{GL}_m(q)7 a parity-check matrix of AGLm(q)A \in \mathrm{GL}_m(q)8 and AGLm(q)A \in \mathrm{GL}_m(q)9,

BGLn(q)B \in \mathrm{GL}_n(q)0

For BGLn(q)B \in \mathrm{GL}_n(q)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 BGLn(q)B \in \mathrm{GL}_n(q)2-dimensional matrix spaces BGLn(q)B \in \mathrm{GL}_n(q)3 are equivalent if there exist invertible BGLn(q)B \in \mathrm{GL}_n(q)4 and BGLn(q)B \in \mathrm{GL}_n(q)5 such that

BGLn(q)B \in \mathrm{GL}_n(q)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

BGLn(q)B \in \mathrm{GL}_n(q)7

when BGLn(q)B \in \mathrm{GL}_n(q)8, with an additional BGLn(q)B \in \mathrm{GL}_n(q)9-action by transposition when DACBD \subseteq A C B0 (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 DACBD \subseteq A C B1 if DACBD \subseteq A C B2, and in DACBD \subseteq A C B3 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 DACBD \subseteq A C B4 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

DACBD \subseteq A C B5

for which DACBD \subseteq A C B6 (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 DACBD \subseteq A C B7 into DACBD \subseteq A C B8 is approximately

DACBD \subseteq A C B9

where

[m×n,k][m\times n,k]0

and the Gaussian binomial coefficient is

[m×n,k][m\times n,k]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 [m×n,k][m\times n,k]2 is necessary to avoid large underdetermined systems and proliferation of trivial or invertible solutions. For [m×n,k][m\times n,k]3 or [m×n,k][m\times n,k]4, systems such as [m×n,k][m\times n,k]5 have at most [m×n,k][m\times n,k]6 independent linear equations in [m×n,k][m\times n,k]7 unknowns, yielding many solutions likely including invertible [m×n,k][m\times n,k]8. For [m×n,k][m\times n,k]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 CC0 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 CC1 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 CC2-dimensional subspace of CC3 and then solves full MCE on that guess. Its complexity is

CC4

with CC5; even for small CC6, this is enormous (Bardet et al., 21 Jul 2025). The paper gives the example CC7, which leads to CC8 possibilities (Bardet et al., 21 Jul 2025).

The algebraic modelings center on the equation

CC9

or on its dual quadratic form

FF0

(Bardet et al., 21 Jul 2025). In the naive trilinear model, the unknowns are FF1, with FF2 variables and FF3 affine trilinear equations (Bardet et al., 21 Jul 2025). Hybrid variants guess columns of FF4 or rows of FF5, producing linear subsystems, but their exponents are substantially worse than for MCE when FF6 is small (Bardet et al., 21 Jul 2025). The dual quadratic model has only FF7 equations in FF8 unknowns, fewer than in full MCE, and is therefore weaker (Bardet et al., 21 Jul 2025).

A more elaborate trilinear formalism uses commutation matrices FF9 and reshaped generators dim(C)=k\dim(C)=k00. It yields equivalent formulations such as

dim(C)=k\dim(C)=k01

and bilinear constraints

dim(C)=k\dim(C)=k02

(Bardet et al., 21 Jul 2025). The paper then adds new trilinear equations based on right inverses: dim(C)=k\dim(C)=k03 (Bardet et al., 21 Jul 2025). These improve constraints without introducing dim(C)=k\dim(C)=k04 as explicit variables. Yet experimental evidence remains unfavorable: Gröbner basis computations for dim(C)=k\dim(C)=k05 took about dim(C)=k\dim(C)=k06 s for dim(C)=k\dim(C)=k07, but more than dim(C)=k\dim(C)=k08 hours for dim(C)=k\dim(C)=k09, 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 dim(C)=k\dim(C)=k10 and dim(C)=k\dim(C)=k11, construct collision lists, and solve linear systems derived from equal-rank pairs (Bardet et al., 21 Jul 2025). If

dim(C)=k\dim(C)=k12

is the number of rank-dim(C)=k\dim(C)=k13 matrices, then the expected number of rank-dim(C)=k\dim(C)=k14 codewords in dim(C)=k\dim(C)=k15 is dim(C)=k\dim(C)=k16, and in dim(C)=k\dim(C)=k17 it is dim(C)=k\dim(C)=k18 (Bardet et al., 21 Jul 2025). To obtain collision probability dim(C)=k\dim(C)=k19, it suffices to sample

dim(C)=k\dim(C)=k20

elements from dim(C)=k\dim(C)=k21 (Bardet et al., 21 Jul 2025). Because dim(C)=k\dim(C)=k22 is smaller, feasible dim(C)=k\dim(C)=k23 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 dim(C)=k\dim(C)=k24 and dim(C)=k\dim(C)=k25 of rank dim(C)=k\dim(C)=k26 such that

dim(C)=k\dim(C)=k27

for tuples of quadratic polynomials dim(C)=k\dim(C)=k28 (Bardet et al., 21 Jul 2025). MSE reduces to this problem by associating to code bases bilinear polynomials

dim(C)=k\dim(C)=k29

and similarly for dim(C)=k\dim(C)=k30, with isometry

dim(C)=k\dim(C)=k31

(Bardet et al., 21 Jul 2025). The inhomogeneous QSMLE solver dominates parameter selection; the lower bound quoted for cubic linearization is

dim(C)=k\dim(C)=k32

with

dim(C)=k\dim(C)=k33

and an explicit expression for dim(C)=k\dim(C)=k34 in terms of dim(C)=k\dim(C)=k35 (Bardet et al., 21 Jul 2025). The stated conclusion is that this attack is substantially worse than MCE due to the non-invertible dim(C)=k\dim(C)=k36 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 dim(C)=k\dim(C)=k37, and cannot be adapted because dim(C)=k\dim(C)=k38 and dim(C)=k\dim(C)=k39 are bounded by dim(C)=k\dim(C)=k40 and dim(C)=k\dim(C)=k41, respectively (Bardet et al., 21 Jul 2025). Triangle-based invariants from dim(C)=k\dim(C)=k42-tensor isomorphism also fail: weak-key probabilities fall from about dim(C)=k\dim(C)=k43 in MCE to about dim(C)=k\dim(C)=k44 in MSE, since one needs dim(C)=k\dim(C)=k45 (Bardet et al., 21 Jul 2025).

Approach Core relation Reported effect in MSE
Guess subcode, then solve MCE dim(C)=k\dim(C)=k46 Impractical
Algebraic modeling dim(C)=k\dim(C)=k47 Equation deficit
Dual quadratic modeling dim(C)=k\dim(C)=k48 Weaker than MCE
Leon-style collisions Low-rank collisions in dim(C)=k\dim(C)=k49 Higher feasible dim(C)=k\dim(C)=k50
QSMLE reduction dim(C)=k\dim(C)=k51 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-dim(C)=k\dim(C)=k52 polynomial constraint

dim(C)=k\dim(C)=k53

where dim(C)=k\dim(C)=k54 has rank dim(C)=k\dim(C)=k55, dim(C)=k\dim(C)=k56 has rank dim(C)=k\dim(C)=k57, and dim(C)=k\dim(C)=k58 is stored in row-reduced echelon form (Bardet et al., 21 Jul 2025). The secret key is dim(C)=k\dim(C)=k59, while the public key is dim(C)=k\dim(C)=k60 (Bardet et al., 21 Jul 2025).

Key generation samples dim(C)=k\dim(C)=k61 uniformly with the required ranks and sets

dim(C)=k\dim(C)=k62

resampling if dim(C)=k\dim(C)=k63 (Bardet et al., 21 Jul 2025). The public-key size is approximately

dim(C)=k\dim(C)=k64

and in the NIST-I set MCPKP-Ib it is about dim(C)=k\dim(C)=k65 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 dim(C)=k\dim(C)=k66 is applied to the witness dim(C)=k\dim(C)=k67, and the parties compute

dim(C)=k\dim(C)=k68

With challenges dim(C)=k\dim(C)=k69, they form

dim(C)=k\dim(C)=k70

open dim(C)=k\dim(C)=k71, and accept iff dim(C)=k\dim(C)=k72 (Bardet et al., 21 Jul 2025). One repetition has false-positive probability dim(C)=k\dim(C)=k73; after dim(C)=k\dim(C)=k74 repetitions it becomes dim(C)=k\dim(C)=k75 (Bardet et al., 21 Jul 2025). The signature-size formula is

dim(C)=k\dim(C)=k76

where dim(C)=k\dim(C)=k77 and dim(C)=k\dim(C)=k78 (Bardet et al., 21 Jul 2025).

The VOLE-in-the-Head variant merges dim(C)=k\dim(C)=k79 sharings via a morphism dim(C)=k\dim(C)=k80, reducing soundness to dim(C)=k\dim(C)=k81 (Bardet et al., 21 Jul 2025). Its signature-size formula is

dim(C)=k\dim(C)=k82

with dim(C)=k\dim(C)=k83 chosen so that dim(C)=k\dim(C)=k84 (Bardet et al., 21 Jul 2025).

The representative parameter sets reported are:

Set dim(C)=k\dim(C)=k85 Public key Attack logs
MCPKP-Ia dim(C)=k\dim(C)=k86 dim(C)=k\dim(C)=k87 B Leon dim(C)=k\dim(C)=k88, QSMLE dim(C)=k\dim(C)=k89
MCPKP-Ib dim(C)=k\dim(C)=k90 dim(C)=k\dim(C)=k91 B Leon dim(C)=k\dim(C)=k92, QSMLE dim(C)=k\dim(C)=k93
MCPKP-III dim(C)=k\dim(C)=k94 dim(C)=k\dim(C)=k95 B Leon dim(C)=k\dim(C)=k96, QSMLE dim(C)=k\dim(C)=k97
MCPKP-V dim(C)=k\dim(C)=k98 dim(C)=k\dim(C)=k99 B Leon dim(D)=k\dim(D)=k'00, QSMLE dim(D)=k\dim(D)=k'01

For NIST-I in the “Short” configuration, the reported signature sizes are about dim(D)=k\dim(D)=k'02 B for VOLEitH and dim(D)=k\dim(D)=k'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 dim(D)=k\dim(D)=k'04 would require transmitting dim(D)=k\dim(D)=k'05 or verifying dim(D)=k\dim(D)=k'06, inflating signatures by about dim(D)=k\dim(D)=k'07 kB at level I (Bardet et al., 21 Jul 2025). This motivates the inhomogeneous formulation.

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 dim(D)=k\dim(D)=k'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

dim(D)=k\dim(D)=k'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 dim(D)=k\dim(D)=k'10-dimensional dim(D)=k\dim(D)=k'11-linear MRD family dim(D)=k\dim(D)=k'12, practical equivalence testing reduces to matching Frobenius support patterns, checking that dim(D)=k\dim(D)=k'13, computing dim(D)=k\dim(D)=k'14, and verifying the relevant dim(D)=k\dim(D)=k'15-orbit relation between dim(D)=k\dim(D)=k'16 and dim(D)=k\dim(D)=k'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 dim(D)=k\dim(D)=k'18 or shortened variants dim(D)=k\dim(D)=k'19, with automorphism group computations via canonical labeling (Bouyukliev et al., 2022). The same synthesis explicitly adapts the matrix form

dim(D)=k\dim(D)=k'20

to subcode equivalence, where dim(D)=k\dim(D)=k'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 dim(D)=k\dim(D)=k'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.

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Matrix Subcode Equivalence Problem.