Expanding the Decision Space of Pretrained Models through Structured Re-Decoding

Tinglan Wang, Qun Su, Shihang Wang, Chi Wang, Lin Wang, Shaobo Chen, Haixu Liu, Hai Wei, Yin Ma, Yu Kang, Qi Gao, Xiaojun Yao, Tingjun Hou, Kai WenarXiv 2026 · arXiv

TL;DR

Structured Re-Decoding (SRD) is a training-free framework that allows pretrained models to satisfy new, complex structural constraints by recombining their local predictions. By framing inference as a joint optimization problem, SRD generates novel, verified biological and chemical structures—like specific molecules or protein sequences—that the original models could not produce through standard sampling.

What Problem Does This Paper Address?

Pretrained generative models for science (like those for molecules or proteins) are powerful but often rigid. Their "native decoders" typically produce complete objects one at a time. If a researcher needs an output that satisfies a new, specific constraint—say, a molecule with exactly four nitrogen atoms or a protein with a specific charge—the standard approach is to sample thousands of outputs and filter them.

This "screen-and-filter" approach is inefficient and limited. It can only deliver objects the model has already produced in its entirety. It misses the "recombinant" space: better versions that could be constructed by mixing and matching high-scoring parts from different samples or by following local model scores that didn't make it into the final top-tier samples. The challenge is coordinating these local choices so the final reconstructed object is globally coherent and physically valid.

Methods

The authors introduce Structured Re-Decoding (SRD), a framework that intervenes at inference time without needing any retraining.

  1. Candidate Construction: Instead of full outputs, SRD extracts "local candidates" (e.g., specific atoms, amino acid residues, or RNA base pairs). these can come from model scores, aligned samples, or even external libraries (like noncanonical amino acids).
  2. Joint Optimization: The selection of these candidates is framed as a Quadratic Unconstrained Binary Optimization (QUBO) problem. This allows the system to balance three things: the model's local preferences (unary costs), the compatibility between neighboring parts (pairwise costs), and global task constraints.
  3. Reconstruction & Verification: Once the optimal set of parts is selected, SRD reconstructs the full object and verifies it against physical and chemical rules (e.g., using RDKit for molecules or steric clash checks for proteins).
The SRD framework: (a) extracting candidates, (b) joint optimization via QUBO, and (c) reconstructing the verified new output.

The framework is highly flexible, allowing for "adapters" that can incorporate external chemical grammars to guide the model toward new topologies, such as cyclic peptides.

Datasets

The authors evaluated SRD across several high-impact scientific domains:

  • FLOWR: Used for molecular composition tasks across 225 protein-ligand pockets.
  • ProteinMPNN: Evaluated on six four-site protein domains to quantify support expansion.
  • RNA (KnotFold/UFold): 7,215 records used to test RNA secondary structure pairing accuracy.
  • DiffAb: 50 antibody-antigen complexes (3,600 cases) for side-chain coordination.
  • GB1 Landscape: A retrospective analysis using a large-scale protein fitness dataset.

Key Insights and Ideas

  • Recombination is a Force Multiplier: The most striking "aha moment" is how much hidden information exists in a small number of samples. In the ProteinMPNN experiments, recombining parts from just 64 samples recovered ~77% of the model's total probability mass, whereas the raw samples themselves covered less than 15%.
  • Training-Free Extensibility: SRD acts as a bridge between general-purpose models and niche tasks. By using external templates, a general molecular model can be "taught" to generate complex structures like cyclic peptides without seeing a single one during its original training.
  • Quantum-Ready Formulation: By using the QUBO mathematical structure, SRD is natively compatible with emerging hardware like Coherent Ising Machines (CIMs) and quantum annealers. Preliminary tests on a physical CIM showed it could successfully solve these biologically motivated optimization problems.
SRD applied to diverse tasks: molecular composition, protein design, RNA pairing, and peptide cyclization.

Key Results

SRD consistently outperformed standard "best-of-N" sampling across all tested domains:

  • Molecular Delivery: In the FLOWR model, SRD increased the success rate for delivering molecules with specific compositions from ~23% to over 72%.
  • RNA Prediction: SRD improved pairing accuracy (Macro F1) by resolving local inconsistencies that native decoders often miss.
  • Antibody Modeling: Pairwise re-decoding significantly reduced steric overlaps and clashes compared to independent site selection.
  • Support Expansion: Recombination expanded the number of distinct feasible states available to the model by orders of magnitude (e.g., from ~58 to over 8,000 in protein domains).
Quantitative gains of SRD over baselines in molecular delivery (a), protein support (b), RNA pairing (c), and antibody sterics (d).

Limitations and Future Work

While powerful, SRD has its hurdles:

  • Objective Fidelity: The QUBO objective is a mathematical surrogate. While it correlates with success, optimizing it perfectly doesn't always guarantee the best biological result (e.g., in RNA pairing where tied optima exist).
  • Computational Overhead: While SRD saves on the "generation" side, the joint optimization and verification steps add their own latency, which needs to be balanced for high-throughput applications.
  • Downstream Utility: The paper focuses on geometric and chemical validity. Future work is needed to confirm that these "re-decoded" structures maintain biological functions like binding affinity or stability in wet-lab settings.

Summary updated

Abstract

Native decoders limit how pretrained models combine local predictions under new structural constraints. We introduce Structured Re-Decoding (SRD), a training-free framework that constructs local candidates from model scores, samples, or external specifications, jointly optimizes their selection, and verifies reconstructed outputs. We show that candidate recombination expands feasible support and can improve attainable reward under a fixed KL divergence budget. Across molecular generation, protein design, RNA structure prediction, and antibody modeling, SRD enables improved structured inference, including verified molecules absent from the original sample pool. External chemical templates further extend SRD to noncanonical amino acids, peptide cyclization, and grammar-guided molecular construction. Preliminary experiments on a physical coherent Ising machine demonstrate the feasibility of hardware-based optimization, suggesting broader opportunities for quantum and quantum-inspired approaches to structured inference and combinatorial optimization across scientific domains.
BibTeX
@misc{wang2026expanding,
  author = {Tinglan Wang and Qun Su and Shihang Wang and Chi Wang and Lin Wang and Shaobo Chen and Haixu Liu and Hai Wei and Yin Ma and Yu Kang and Qi Gao and Xiaojun Yao and Tingjun Hou and Kai Wen},
  title = {{Expanding the Decision Space of Pretrained Models through Structured Re-Decoding}},
  year = {2026},
  eprint = {2611.15109},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.15109},
}
Figure