Papers › Deciphering RNA Secondary Structure Prediction: A Probabilistic K-Rook Matching Perspective

Deciphering RNA Secondary Structure Prediction: A Probabilistic K-Rook Matching Perspective

2 Dec 2022arXiv:2212.14041archive 2025-07-28

Cheng Tan, Zhangyang Gao, Hanqun Cao, Xingran Chen, Ge Wang, Lirong Wu, Jun Xia, Jiangbin Zheng, Stan Z. Li

The secondary structure of ribonucleic acid (RNA) is more stable and accessible in the cell than its tertiary structure, making it essential for functional prediction. Although deep learning has shown promising results in this field, current methods suffer from poor generalization and high complexity. In this work, we reformulate the RNA secondary structure prediction as a K-Rook problem, thereby simplifying the prediction process into probabilistic matching within a finite solution space. Building on this innovative perspective, we introduce RFold, a simple yet effective method that learns to predict the most matching K-Rook solution from the given sequence. RFold employs a bi-dimensional optimization strategy that decomposes the probabilistic matching problem into row-wise and column-wise components to reduce the matching complexity, simplifying the solving process while guaranteeing the validity of the output. Extensive experiments demonstrate that RFold achieves competitive performance and about eight times faster inference efficiency than the state-of-the-art approaches. The code and Colab demo are available in (http://github.com/A4Bio/RFold).

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2212.14041")

Code

Syntology Ran 11 of 16 code samples harvested from 1 repository linked to this paper; 5 have no recorded run. Of those that ran: 1 ran · honoured contract; 1 ran · violated contract; 2 ran · our draft was wrong; 2 ran · fixture could not drive it; 5 ran with no contract checked.

By repository: official repository: 16 samples from 1 repository, 11 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

a4bio/rfold officialmentioned in paperpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

16 samples harvested; 11 ran; 1 honoured the contract we drafted; 5 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · honoured contract
1ran · violated contract
2ran · our draft was wrong
2ran · fixture could not drive it
5ran
5unverified

Licence: 16 of the 16 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from a4bio/rfold. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

Attn a4bio/rfold/rfold.py official repository ran · metamorphic tier: invariant no licence file found · pointer only · bc824e2712a77b8d · report
Encoder a4bio/rfold/rfold.py official repository ran · metamorphic tier: deterministic no licence file found · pointer only · 0d6146adbe3206db · report
OffsetScale a4bio/rfold/rfold.py official repository ran · metamorphic tier: deterministic no licence file found · pointer only · 7b4da453e72285da · report
Seq2Map a4bio/rfold/rfold.py official repository ran no licence file found · pointer only · fcbdfa01af751180 · report
constraint_matrix A4Bio/RFold/colab_utils.py official repository ran · fixture could not drive it fingerprinted no licence file found · pointer only · a8a4b0c4e2ef17bd · report
constraint_matrix a4bio/rfold/rfold.py official repository ran · fixture could not drive it fingerprinted no licence file found · pointer only · 6a624c6fa3c672fc · report
conv_block a4bio/rfold/rfold.py official repository ran no licence file found · pointer only · c8db3b7816ada110 · report
cuda a4bio/rfold/rfold.py official repository ran · honoured contract no licence file found · pointer only · 9b299e0707723f56 · report
evaluate_result a4bio/rfold/rfold.py official repository ran · violated contract fingerprinted no licence file found · pointer only · 4d122e4bd4ea1cd8 · report
row_col_argmax A4Bio/RFold/rfold.py official repository ran · our draft was wrong fingerprinted no licence file found · pointer only · 172830c85c7ba81a · report
row_col_softmax A4Bio/RFold/rfold.py official repository ran · our draft was wrong fingerprinted no licence file found · pointer only · 86c9fd8a8f60416b · report
Decoder a4bio/rfold/rfold.py official repository unverified no licence file found · pointer only · d751f74cab53faf4 · report
RFold a4bio/rfold/rfold.py official repository unverified no licence file found · pointer only · ce8e74a24e0f0310 · report
RFold_Model a4bio/rfold/rfold.py official repository unverified no licence file found · pointer only · ca851900b4c92cfa · report
base_matrix A4Bio/RFold/colab_utils.py official repository unverified no licence file found · pointer only · d7ea5f3a8a5fc962 · report
sequence2onehot A4Bio/RFold/colab_utils.py official repository unverified no licence file found · pointer only · e99bcac3fb72f44a · report

Tasks

Prediction

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Softmax

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections