arXiv:2610.23820cs.LGOct 2026

Manuscript Offprint

arXiv:2610.23820

CocoRNA: Collective RNA Design with Cooperative Multi-agent Reinforcement Learning

Tianmeng Hu, Biao Luo, Ke Li

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

Designing RNA sequences that reliably fold into specific secondary structures is essential for understanding their biological functions but remains a challenging computational problem. We propose CocORNA, a cooperative multi-agent reinforcement learning framework for RNA inverse design. CocORNA simplifies the design task by decomposing it into smaller subproblems, each solved collaboratively by multiple agents. This approach reduces the complexity of the problem and improves the exploration of design policies. During training, a centralized critic uses global structural information to guide the agents, enabling them to jointly optimize their design strategies. As a result, CocORNA learns high-quality RNA design policies that generalize effectively to unseen structures without additional training. Experiments on the Rfam dataset demonstrate that CocORNA substantially outperforms state-of-the-art methods in both success rate and design speed. Further experiments on other biological sequence design tasks highlight the effectiveness and broad potential of CocORNA for complex design tasks.

1 Introduction

RNA is a polymeric molecule composed of nucleotides. Each nucleotide contains one of four bases: adenine (A), guanine (G), cytosine (C), or uracil (U). These bases carry genetic information. Nucleotides fold into complex secondary structures following Watson-Crick and Wobble base-pairing rules. Common structural elements include stems, loops, bulges, and junctions. For RNA, secondary structures are often more critical for function than they are in proteins [43]. These structures participate directly in catalysis, ligand recognition, and molecular scaffolding across diverse RNA classes [71, 11]. Examples include ribosomal RNAs [56], messenger RNAs [58], and small nuclear RNAs [19]. Secondary structures also regulate translation initiation and influence RNA polymerase II activity, thus controlling gene translation and splicing [24]. However, the precise roles of RNA secondary structures in many biological processes remain unclear [24]. To fully understand RNA functions, researchers need reliable methods to investigate and manipulate these structures [71]. Computational inverse design can address this need, guiding experiments and reducing costs associated with testing structural hypotheses [14, 52].

Computational RNA secondary structure design is essentially an inverse problem. The goal is to find RNA sequences that fold into a specific secondary structure with minimum free energy. This problem was first introduced in the early 1990s [28]. It is mathematically ill-posed in the Hadamard sense because multiple distinct sequences can fold into the same structure, as illustrated in Figure 1. Solving this inverse design problem is critical for advancing functional RNA research [68, 65]. Key applications include synthetic RNA biology [15] and RNA nanostructure design [26].

∗^{*}Accepted as a conference paper at ICML 2026

‡^{\ddagger}Corresponding author

COLAlab Report | June 1, 2026

1/29

A

Figure

(a)

(b)

(c)

(d)

B

Figure 1: A. Examples of RNA sequences and structures visualized using Forna [39]. (a) is an unfolded RNA sequence. Structures (b) and (c) show two different folded forms of this sequence. Structure (c) is specifically generated by RNAfold [45], which uses a minimum free energy algorithm. Structure (d) is folded from a different sequence, yet it shares the same secondary structure as (c). B. Structure density surface for RNA sequences of length 150. The plot illustrates the distribution of Hamming distances between RNA sequences and their corresponding secondary structure distances.

A major challenge in computational RNA design is the exponential growth of the sequence space. For an RNA sequence of length ℓ\ell, there are 4ℓ4^{\ell} possible sequences. However, only a small fraction of these sequences will fold into the desired structure. For example, a 74-nucleotide tRNA with 40 paired and 34 unpaired positions results in a search space of approximately 103610^{36} sequences. This enormous search space makes brute-force approaches computationally infeasible.

Stochastic optimization is a widely used approach for computational RNA design. These methods typically rely on RNA folding prediction tools, such as ViennaRNA's RNAfold [45], mfold/UNAFold [48], and RNAstructure [2]. These tools predict RNA structures by minimizing free energy according to established thermodynamic parameters [49, 50]. The design process begins with an initial seed sequence. Techniques such as adaptive random walks [28] or stochastic local search iteratively mutate and evaluate candidate sequences until a suitable solution emerges. Well-known algorithms in this domain are RNA-SSD [4] and INFO-RNA [12]. Other effective strategies draw from evolutionary algorithms [69, 18, 17], constraint programming [21, 22], ant colony optimization [40], and ensemble optimization [78].

Neural combinatorial optimization (NCO) has recently emerged as a powerful approach for combinatorial problems. Examples include the traveling salesman problem [10], maximum cut [8], and bin packing [37]. NCO combines the representational strength of deep neural networks with the search efficiency of reinforcement learning (RL). In computational RNA design, Eastman et al. [16] first introduced a pre-trained RL policy. Their policy learned RNA folding rules to guide the search process. Experiments on the Eterna100 benchmark [3] demonstrated encouraging performance compared to stochastic optimization methods. Later, Runge et al. [59] proposed LEARNA, an RL-based approach that directly generates RNA sequences, enhancing success rates and computational efficiency.

Despite these advances, RL-based RNA inverse design still faces three major challenges:

Combinatorial explosion and sample inefficiency: The RNA design space grows exponentially with sequence length, requiring enormous sample sizes. As a result, RL models struggle to accurately estimate value functions from limited data.

Sparse rewards and local optima: Very few sequences exactly match the target structure, creating sparse rewards. Additionally, the RNA design landscape contains numerous local optima (see Figure 1). This combination makes policy improvement challenging.

Delayed rewards and misleading auxiliaries: Strict success feedback in RNA inverse design is only available when a correct sequence is found. Random exploration rarely finds these sequences, causing most attempts to yield no useful feedback. Long task horizons further complicate intermediate evaluations. Some methods [5, 59] use auxiliary rewards to guide exploration. However, these signals can overshadow the primary objective in long tasks, causing policies to overfit short-term gains and become trapped in local optima.

2/29

These challenges significantly limit the effectiveness of current RL methods [16, 59]. As demonstrated by our experiments in Section 4, existing approaches typically require substantially longer computation time, yet achieve only modest success rates. Furthermore, once algorithms become trapped in local optima, additional search efforts yield diminishing returns.

Conceptually, navigating the RNA sequence space resembles exploring a complex maze. Multiple explorers, each starting from different points and sharing their discoveries, can map this maze more efficiently than a single explorer. Inspired by this analogy, we propose using multi-agent reinforcement learning (MARL) to tackle computational RNA design.

We formulate computational RNA design as a collective task, where multiple agents cooperate to generate RNA sequences. To our knowledge, this is the first study to frame biological sequence design explicitly as a multi-agent decision-making problem and the first to apply MARL in this domain.

We develop CocoRNA, a MARL framework designed for this collective RNA design task. CocoRNA instantiates cooperative MARL for RNA inverse design through a Dec-POMDP formulation over joint sequence-structure states, RNA-aware decomposition schemes, and a search-augmented exploration mechanism to enhance learning efficiency.

We rigorously evaluate CocoRNA on the Rfam dataset, along with extensive ablation studies. Under identical time constraints, CocoRNA achieves a 97.75% success rate, significantly surpassing the best baseline by 27.25 percentage points (38.7% relative improvement). Even when the strongest baseline receives 20 times more computational time, CocoRNA still maintains an 8.21 percentage point lead (9.2% relative advantage). Importantly, CocoRNA achieves an average solution time of only 3.24 seconds, which is over 70 times faster than the best-performing baseline.

References (72)