# KnitNet: Learning to Search at Inference Time for Exact RNA Inverse Design

> KnitNet adds fold-guided joint repair to a frozen, structure-conditioned RNA generator. On OpenKnot57, it averaged 56.3/57 exact solves over three seeds, versus 55.0/57 for in-house RNSS-guided DesiRNA using the same KnitNet starts under a 30-minute post-initialization search.

- arXiv: https://arxiv.org/abs/2611.33812
- Authors: Antonia Panescu, Xin Wang, Haoran Xu, Qingyu Chen, Carlos Oliver, Rex Ying
- Published: 2026-11-27
- Topic: Reasoning
- Visual carousel: https://instaxiv.com/p/2611.33812
- Explanation by InstaXiv, a secondary educational summary. Cite the original paper for exact results. InstaXiv is not affiliated with or endorsed by arXiv or Cornell University.

## Can failed RNA folds reveal which bases to repair together?

**56.3/57** OpenKnot mean exact vs DesiRNA-RNSS 55.0/57

## Success means exact fold-back

**Target structure:** A target is a set of nucleotide pairs; crossings allow pseudoknots.

**Exact success:** A candidate succeeds only when its complete verifier-predicted pair set equals the target.

This tests structural fold-back, not native-sequence recovery.

## KnitNet freezes its generator, then learns from folds

![Figure 2](https://cdn.instaxiv.com/figures/2611.33812/figure2.webp)

A frozen graph-conditioned diffusion generator, pretrained on over 20 million RNAcentral sequences with predicted structures, supplies 96 candidates; verifier feedback steers joint repairs. (Figure 2)

## Each failed fold rebuilds the repair problem

1. **Read the fold errors**: Missing target pairs and unwanted predicted pairs mark errors.
2. **Build the error graph**: Link target-pair and unpaired-position units at error endpoints, starting with the component around a recurrent conflict.
3. **Rank before folding**: A local ExtraTrees surrogate predicts prioritized and total error counts, ranks joint edits before costly folds, and refits as scope changes; uniform exploration continues.
4. **Adapt to residuals**: Residual errors update priorities; scope may grow after stalls, cleared priorities with residual errors, or exhausted proposals.

## Matched compute favors repair over sampling

![Figure 3](https://cdn.instaxiv.com/figures/2611.33812/figure3.webp)

Solid curves are KnitNet; dashed are continued sampling. Both use the same 96 candidates. At equal post-initialization time, KnitNet has higher exact coverage in every matched setting across five benchmarks (three-seed means). (Figure 3)

## A matched pseudoknot search still favors KnitNet

| Method | Exact solves (/57) | Solve AUC |
| --- | --- | --- |
| DesiRNA-RNSS, KnitNet init. | 55.0 ± 2.00 | 0.9306 ± 0.0148 |
| **KnitNet + search** | **56.3 ± 1.15** | **0.9677 ± 0.0191** |

_OpenKnot57; 30m post-init/target. In-house DesiRNA-RNSS uses KnitNet starts and RibonanzaNet-SS guidance; mean ± sample SD, 3 seeds (pseudoknot table)._

## Freezing the repair problem costs exact solves

**Fixed repair problem:** The ablation freezes both editable scope and error priorities within each repair episode.

**Full KnitNet:** Full KnitNet adapts priorities and scope from folds; these component tests use 96 starts and a 64-tree surrogate.

At 15,000 logical oracle evaluations, Eterna100-v2: full search 85/100 exact solves vs 72/100 with a fixed repair problem.

## What exact computational folds cannot establish

- **Verifier defines truth**: A 2D exact match is equality under a selected computational folding oracle, not experimental confirmation.
- **Long RNAs**: In held-out 401-511 nt targets, 2/56 solved in one hour; oracle throughput fell from about 37 to 2 evaluations per second across length bins.
- **No wet-lab validation**: These 2D results are computational fold-back matches; experimental structural and functional validation remains future work.

Best used when: Use when a trusted folding verifier can score complete folds and exact secondary-structure agreement is the goal.

## Key takeaways

- Across matched tests, KnitNet's verifier-guided repair found exact folds more effectively than spending the same time on more samples.
- For computational 2D design, pair a frozen structure-conditioned generator with target-specific repair when exact fold-back is the objective.
- The next test is whether computationally exact folds translate to experimentally verified structures and useful RNA function.

## Links

- arXiv: https://arxiv.org/abs/2611.33812
- PDF: https://arxiv.org/pdf/2611.33812

## Citation

```bibtex
@article{panescu2026knitnet,
  title   = {KnitNet: Learning to Search at Inference Time for Exact RNA Inverse Design},
  author  = {Panescu, Antonia and Wang, Xin and Xu, Haoran and Chen, Qingyu and Oliver, Carlos and Ying, Rex},
  journal = {arXiv preprint arXiv:2611.33812},
  year    = {2026},
  url     = {https://arxiv.org/abs/2611.33812}
}
```
