KnitNet Uses Smart Inference-Time Search to Perfect RNA Molecule Design
Original paper: KnitNet: Learning to Search at Inference Time for Exact RNA Inverse Design
"Designing RNA is like knitting an intricate sweater without a blueprint, where tightening a loose thread in one sleeve can accidentally pucker the collar. KnitNet acts like an expert tailor observing how the fabric misbehaves after every attempt, learning which specific threads interact across distant parts of the garment. By mapping these hidden connections on the fly, it adjusts its knitting strategy to achieve a flawless, custom-fit shape in far fewer tries."
Custom-designed RNA molecules are the backbone of modern vaccines, targeted gene therapies, and novel bio-materials. By guaranteeing exact structural folding with 70% less compute time, KnitNet dramatically accelerates the discovery of stable, functional RNA therapeutics.
- KnitNet learns from folding errors during inference to fix RNA sequences.
- Achieves 100% exact solves on complex pseudoknotted RNA structures.
- Solves RNA design tasks 70% faster than traditional search methods.
📑 Original arXiv Technical Abstract
RNA inverse design seeks nucleotide sequences that fold into specified target structures. Existing methods rely on learned generators that can miss exact structural matches, especially beyond their training distributions, or on costly search over a vast, multimodal sequence space. Search is further complicated by globally coupled nucleotide interactions, as correcting one pairing error can create new errors beyond a fixed repair scope. To address this, we introduce KnitNet, an inference-time scaling framework that learns from verifier feedback to refine sequences for exact fold-back matching. Starting from candidates generated for a target secondary structure, KnitNet uses mismatched folds to infer nucleotide dependencies and adapt its joint repair strategy, while an online surrogate learns to predict which edits are promising. This makes search progressively more informed and compute-efficient. Crucially, KnitNet generalizes across RNA structural regimes by changing only the optimization signal to match the verifier required by each setting. Across five secondary-structure benchmarks, KnitNet increases exact solve rates by an average of 21 percentage points over continued sampling with 70% less time-to-solve. On OpenKnot57 specifically, KnitNet is the first method to achieve exact computational matches for all complex, pseudoknotted structures. Beyond 2D, KnitNet improves 3D structural self-consistency over per-target RL by 7.8% while being 39.3% faster, demonstrating generalization and effective inference-time scaling across RNA design regimes.
✍️ Are you an author of this paper? Add code/demo links or a note
Help readers explore your work — share your official GitHub repo, Hugging Face weights, affiliation, or a clarification note for our editorial review queue.