arXiv:2610.13106cs.LGOct 2026

Manuscript Offprint

arXiv:2610.13106

Scaling RNA Foundation Models through Iterative Refinement

Pengan Chen, Liang Hong, Xinyuan Liu, Han Huang, Ziqian Lin, Jiayang Chen, Yimin Fan, Jiyue Jiang, Yu Li

ABSTRACT

Biological function in RNA is encoded across scales, from local sequence motifs to long-range structural dependencies. Conventional RNA foundation models couple parameter capacity and inference depth within a fixed architecture, prescribing a fixed computation graph for each inference. Here we present Eco-RNA, an 80M-parameter RNA foundation model that makes inference depth adjustable through learned iterative refinement. Its shared, input-conditioned Transformer core refines sequence representations through repeated application. The iteration count is selected after training and controls effective depth at fixed model parameters. We train across recurrent depths with masked reconstruction, state regularization, and a one-sided loss that anchors deeper reconstruction to a shallow reference. On the 70-assay RNAGym fitness benchmark, increasing refinement from one to four iterations raises aggregate absolute Spearman correlation from 0.242 to 0.286, with the gain retained through eight iterations. At four iterations, Eco-RNA surpasses the current SOTA Evo 2 40B on all three aggregate fitness metrics despite 500× fewer parameters. Its iteration configurations advance the compute-performance Pareto frontier among the evaluated models. It also outperforms the evaluated baselines in non-coding RNA family classification, RNA secondary-structure prediction, and chemical probing profile prediction. These results establish internal inference computation as an effective scaling dimension for RNA foundation models.

1 INTRODUCTION

RNA function depends on information distributed across a sequence, from local recognition motifs to interactions between distant nucleotides. Foundation models learn transferable representations of this information from unannotated sequences and support the prediction of RNA structure and function (Chen et al., 2022; Penić et al., 2025; Zou et al., 2024). Progress has accompanied increases in model capacity, pretraining data, and context length (Penić et al., 2025; Zou et al., 2024; Brixi et al., 2026). Conventional backbones, however, apply a fixed stack of transformations at inference. Each trained checkpoint therefore offers limited flexibility to trade additional computation for better predictions.

Internal test-time scaling makes execution depth an additional resource for prediction. In language modeling, inference computation can improve predictions through extended generation or candidate selection (Brown et al., 2024; Snell et al., 2025). Recurrent-depth architectures realize internal scaling by repeatedly applying a shared transformation to a latent representation (Dehghani et al., 2019; Geiping et al., 2025; Alabdulmohsin & Zhai, 2025). For a nucleotide encoder, this provides a direct way to allocate additional computation while preserving the sequence input and prediction interface. The central learning challenge is to make the shared update predictive across computational budgets: it must retain access to sequence information, control the scale of the recurrent state, and produce useful representations at different depths.

∗^{*}Equal contribution.

†^{\dagger}Corresponding author.

Figure

Figure 1: Inference compute versus RNA fitness prediction. Estimated FLOPs for one forward pass at 512 nucleotides (log scale) and type-balanced aggregate absolute Spearman correlation on RNAGym. Colors identify model families; marker size increases nonlinearly with parameter count. The line connects K=1,…,8K=1,\ldots,8 of one Eco-RNA checkpoint, and the hollow marker denotes the fixed-depth control. FLOP accounting is given in Appendix A.4.

Here, we introduce Eco-RNA, an 80M-parameter RNA foundation model trained for iterative refinement (Figure 2). Building on recurrent-depth architectures (Geiping et al., 2025; Prairie et al., 2026), Eco-RNA reuses an input-conditioned Transformer core with an iteration count chosen at inference. Persistent input injection supplies sequence information at each iteration, while bounded state retention and normalization regulate the recurrent update. Pretraining combines masked reconstruction at sampled terminal depths with a scale-normalized terminal-state penalty inspired by Viakhirev et al. (2026). Our one-sided reconstruction anchor adds supervision when an endpoint has higher reconstruction loss than a shallower reference on the same trajectory. This formulation trains iterative computation within a self-supervised sequence backbone; RNAformer and RhoFold+ apply recurrence within task-specific structure predictors (Franke et al., 2023; Shen et al., 2024).

Eco-RNA advances the Pareto frontier of estimated forward FLOPs and RNA fitness prediction performance among the evaluated models (Figure 1). Under the original 70-assay RNAGym protocol (Arora et al., 2025), its one- to four-iteration configurations provide four Pareto-optimal operating points from one checkpoint. Increasing depth from one to four iterations raises aggregate absolute Spearman correlation from 0.242 to 0.286, an 18% relative improvement at approximately twice the forward FLOPs. The gain is retained through eight iterations. At four iterations, Eco-RNA exceeds Evo 2 40B on all three aggregate fitness metrics with approximately 500×500\times fewer parameters (Brixi et al., 2026).

The depth benefit also appears in held-out reconstruction across pretraining checkpoints and persists after supervised task adaptation. Task-specific models initialized from Eco-RNA achieve the highest family-classification accuracy, secondary-structure F1, and probe-mean chemical-reactivity AUC among the compared models. Within each task, the adapted checkpoint and prediction head remain fixed throughout the depth sweep. The resulting curves exhibit different saturation depths, showing that a shared computational interface supports distinct prediction tasks while allowing their inference budgets to be chosen separately.

Our contributions are:

• Internal test-time scaling for RNA foundation models. Eco-RNA learns an input-conditioned shared update that supports adjustable inference depth within an 80M-parameter sequence backbone.

• Cross-depth training with one-sided reconstruction anchoring. The anchor selectively reinforces deeper predictions relative to a reference loss, complementing supervision at sampled depths and terminal-state regularization.

Recurrent-depth framework

Independent depth: new weights

Recurrent Transformer architecture and forward pass

Figure

Recurrent depth:

one shared CORE, reused K times

Shared recurrent CORE

same weights

K changes compute, not parameters

Pretraining

Backpropagation window

No backpropagation

Gradient backprop.

span masking

loop 1

loop i

loop K-1

loop K

MLM head

CE loss

Shallow reference

Relative displacement loss

One-sided anchor

Figure 2: Eco-RNA. Left: a conventional stack assigns distinct parameters to successive layers, whereas Eco-RNA applies one shared core for K iterations, decoupling executed depth from parameter count. Right, top: a prelude encodes the input once; the recurrent core updates a randomly initialized state for K iterations; and the coda with a tied language-model head reads out the terminal state. Right, middle: each update combines retained state with the projected prelude representation, applies the shared Transformer core, and normalizes the next state. Bottom: pretraining applies masked reconstruction at each sequence's sampled terminal depth, relative displacement regularization to the final two states, and a one-sided reconstruction anchor that compares eligible deep endpoints with a detached reference.

• An improved compute–performance frontier. Eco-RNA advances the RNAGym frontier through adjustable recurrence. Fixed-weight evaluations also establish depth-dependent gains in pretraining reconstruction and supervised RNA prediction.

Appendix B reviews related work on recurrent computation and biological foundation models.