arXiv:2608.29631cs.ITAug 2026

Manuscript Offprint

arXiv:2608.29631

Efficient Polynomial-Time Decoding of Simplicial Anticodes with Near-Optimal Performance

Antonio Jesús Lorite-López, Daniel Camazón-Portela, Juan Antonio López-Ramos

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original. This text is shared under the same licence.

Abstract

In this work, we propose an efficient decoding algorithm for codes arising from simplicial complexes, a family of binary linear codes for which no decoding method of this type was previously known.

Although the algorithm does not always attain the maximum theoretical error-correcting capability, it provides an explicit bound that can be computed directly from the structure of the complex. Moreover, this bound is asymptotically optimal: the ratio between the guaranteed correcting capability and the theoretical maximum converges to 1 as the code length increases, under natural assumptions on the dimension of the maximal faces. The correction capability is also presented in specific examples. Finally, we introduce specific families of simplicial complexes where the algorithm successfully reaches this theoretical bound.

1 Introduction

Since the introduction of linear codes based on simplicial complexes in [5], this area has attracted growing interest. Several studies have examined their structural properties, presenting families of optimal codes under some certain assumptions and exploring possible generalisations of the original model [8, 9, 10]. Furthermore, these codes admit alternative descriptions via trace functions, as shown in [6], which makes them relevant for applications such as secret sharing [6, 15].

∗^{*}Corresponding author: all871@ual.es

However, despite the theoretical progress that has been made, there is currently no efficient decoding algorithm, which has limited their applications, particularly in cryptographic contexts where efficient decoding procedures play a central role [2].

A standard decoding technique for linear codes is syndrome decoding. Let C⊆F2nC \subseteq \mathbb{F}_2^n be an [n,k][n, k] linear code with parity-check matrix HH. Given a received word rr, its syndrome is computed as

s=HrT.s=H r^{T}.

The code CC partitions the ambient space F2n\mathbb{F}_2^n into equivalence classes, called cosets, under the relation r1∼r2  ⟺  r1−r2∈Cr_1 \sim r_2 \iff r_1 - r_2 \in C. Two vectors belong to the same coset if and only if they have the same syndrome. Each coset contains a minimum-weight representative, called the coset leader, and syndrome decoding consists of identifying this representative and subtracting it from the received word.

Since an [n,k][n, k] linear code has 2n−k2^{n-k} distinct syndromes, there are 2n−k2^{n-k} different cosets. Determining the corresponding coset leader is equivalent to solving the Nearest Codeword Problem, which is known to be NP-hard [2]. Consequently, syndrome decoding does not, in general, provide an efficient decoding algorithm.

To address these limitations, we focus on the anticodes naturally induced by the complementary sets of simplicial complexes. Just as a simplicial complex is uniquely determined by its maximal faces, its complementary set is characterized by its minimal faces. This rich combinatorial and geometric structure allows for a particularly compact representation of the underlying codes, a feature that is highly desirable for reducing storage overhead and key sizes in cryptographic protocols.

Motivated by both this computational difficulty and the structural advantages of these objects, this paper exploits the structure of simplicial anticodes to construct an efficient decoding algorithm. Unlike standard decoding algorithms, the proposed procedure recovers the original message directly rather than the transmitted codeword. As a consequence, no additional step is required to recover the message from the decoded codeword, avoiding the need to solve the corresponding linear system. Moreover, if the ordering of columns is known, the algorithm becomes even more efficient.

Although the algorithm does not always attain the maximum theoretical error-correction capability, it provides an explicit and easily computable bound and is able to correct a number of errors close to this optimum. Moreover, we prove that the ratio between the number of correctable errors and the theoretical error-correction capability converges to 1 as the code length tends to infinity. In this sense, the proposed algorithm is asymptotically optimal. Comparisons on several examples are also included to illustrate its practical performance.

We identify several families of anticodes for which the proposed decoding algorithm always achieves the theoretical error-correction capability under natural assumptions on the associated simplicial complexes, inspired by ideas developed in [17]. We also apply the algorithm to several families of classical codes, including simplex codes, first-order Reed-Muller codes, and MacDonald codes over F2F_{2} [14, 16, 13]. Viewing these codes as anticodes, we show that the algorithm achieves the maximum error-correcting capability allowed by the minimum distance.