arXiv:2610.10236cs.ITOct 2026

Manuscript Offprint

arXiv:2610.10236

q-ary GRAND

Reza Dianat, Majid Nasiri Khormuji, Hiroyuki Seki

Reza Dianat, Majid Nasiri Khormuji, Senior Member, IEEE, and Hiroyuki Seki

Abstract—We develop q-ary Guessing Random Additive Noise Decoding (GRAND) for linear codes over a q-ary alphabet. The decoder works on a sorted symbol-likelihood array and uses three local child generation rules to generate symbol-deviation patterns. We then prove that these rules induce a monotone rooted spanning tree of the full row-index space, so best-first traversal gives maximum-likelihood (ML) decoding under unlimited search. Reed–Solomon simulations verify ML agreement and show the finite-budget performance–complexity tradeoff.

Index Terms—q-ary GRAND, ML decoding, symbol-level decoding, non-binary codes, higher-order modulation.

I. INTRODUCTION

Guessing Random Additive Noise Decoding (GRAND) decodes by ordering noise patterns rather than codewords. It queries candidate noise patterns from most to least likely and accepts the first pattern whose removal from the received word produces a valid codeword [1]. With exact ordering, this stopping rule gives the maximum-likelihood (ML) decision. Soft-input GRAND (SGRAND) extends the same principle to soft-output channels, including binary-input additive white Gaussian noise (AWGN), and remains ML under unlimited search [2]. SGRAND's exact enumeration, however, is recursive and uses dynamic data structures, which complicates parallel hardware implementation. Ordered Reliability Bits GRAND (ORBGRAND) was introduced to make the search more implementation-friendly by replacing exact reliability ordering with structured ordered-reliability approximations [3]. This gives a highly effective binary-input GRAND architecture, but its ordering is approximate and its natural formulation is tied to binary ordered-reliability patterns.

For non-binary codes and higher-order modulations, the decoder receives ordered symbol likelihoods at each coordinate, so a purely bit-reliability view does not fully expose the available structure. Prior GRAND-based work has considered channels with non-binary inputs [4], and several approximate GRAND-based algorithms for non-binary modulations have also been proposed [5]–[10]. However, the symbol-level construction in [4] can generate a number of child patterns that grows with the block length, while approximate variants trade exact likelihood ordering for reduced complexity. Thus, to the best of our knowledge, existing symbol-level GRAND constructions do not simultaneously provide bounded local branching and a proof of global likelihood-ordered coverage of the full q-ary pattern space.

We therefore develop q-ary GRAND as a symbol-level construction for length-n linear codes over a q-ary finite field alphabet Fq\mathbb{F}_q. The decoder first forms a sorted q×nq \times n likelihood array. Within each coordinate, vertical sorting ranks the q candidate symbols by likelihood; across coordinates, horizontal sorting orders the first-deviation costs. Candidate patterns are then represented by row-index vectors in {0,…,q−1}n\{0, \ldots, q - 1\}^n, where each entry specifies which ranked symbol is selected in the corresponding ordered coordinate. From any non-root pattern, q-ary GRAND generates at most three children. The first starts a new deviation, the second deepens the current deviation, and the third shifts a depth-one deviation to the next ordered coordinate. This contrasts with [4], where the child-generation burden grows with block length; here, each parent generates at most three children, independent of block length, modulation alphabet size, and code alphabet size.

Our main contribution is to show that this bounded local generation is not merely a heuristic reduction of the search space. We prove that the three child rules induce a rooted spanning tree over the full row-index space and that every generated edge is likelihood non-increasing. Consequently, best-first traversal visits candidate patterns in global non-increasing likelihood order, and unlimited-search q-ary GRAND returns the ML codeword. We then discuss algorithmic cost and implementation considerations, and evaluate the decoder on non-binary Reed-Solomon and binary extended Bose-Chaudhuri-Hocquenghem (eBCH) benchmarks against Wolf's syndrome-trellis ML decoder [11], Berlekamp-Massey (BM) decoding [12], symbol-level ORBGRAND [6], ordered statistics decoding (OSD) [13], and Chase decoding [14].

The remainder of this letter is organized as follows. Section II presents the q-ary GRAND search construction and decoding algorithm. Section III proves ML optimality, Section IV discusses complexity, Section V reports representative numerical results, and Section VI concludes the letter.