arXiv:2611.09013cs.LGNov 2026

Manuscript Offprint

arXiv:2611.09013

KnowEvo: Knowledge Evolution for Protein Optimization

Zijie Xing, Xingyue Liu, Runze Wang, Luoming Hu, Yanming Shen

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Large language models (LLMs) have shown promise in scientific discovery, yet systematically accumulating and refining reusable scientific knowledge remains challenging. Existing approaches primarily improve LLM-based problem solving through parameter optimization or feedback-driven refinement of prompts, programs, and solution trajectories, leaving acquired expertise either embedded in model weights or scattered across iterative problem-solving processes. As a result, knowledge is difficult to systematically inspect, evaluate, and refine. We propose KnowEvo, a framework that treats externalized knowledge itself as the optimization target. Our key insight is that scientific knowledge is inherently modular: multiple interacting mechanisms jointly determine the design outcomes. This makes knowledge evolution fundamentally challenging, as improvements cannot be attributed to individual components in isolation. To address this, KnowEvo represents knowledge as executable expertise blocks and organizes their refinements into strategy mutation trees, enabling structured exploration over a combinatorial knowledge space. The framework combines a Thompson-style forward allocation strategy that adaptively distributes evaluation budgets across strategy variants with a backward revision process, in which a code agent operates in an isolated sandbox to translate rollout evidence into localized program updates. This design enables persistent accumulation, evaluation, and refinement of mechanistic expertise across iterative experimentation. We evaluate KnowEvo on protein optimization tasks including stability and solubility. Results show that knowledge evolution consistently improves over initial strategy blocks and outperforms monolithic program evolution and prior LLM-guided evolution baselines across metrics such as pass@k, MRR, MAP, and NDCG@5. Code is available at https://github.com/recynie/KnowEvo.

1 Introduction

Scientific discovery is inherently iterative. In domains such as protein engineering, progress depends not only on generating candidate solutions, but also on accumulating, revising, and reusing knowledge across repeated rounds of experimentation. Human experts rarely solve such tasks through isolated reasoning alone; instead, they progressively refine mechanistic heuristics from experimental feedback and reuse them in future design decisions.

Large language models (LLMs) possess strong reasoning capabilities and have recently shown promise in scientific domains including chemistry, biology, and materials discovery [1]. However, current LLM systems remain fundamentally limited in their ability to accumulate scientific expertise over time. Although they can generate candidate hypotheses or mutation proposals, they typically lack a persistent and structured mechanism for refining reusable knowledge across iterative experiments.

  • Equal contribution. † Corresponding author.

A major line of work adapts LLMs through reinforcement learning [2, 3], encoding acquired knowledge in opaque model weights that are difficult to inspect or selectively revise. Without updating parameters, Self-Refine and Reflexion use feedback to refine outputs or guide subsequent trials [4, 5], while AlphaEvolve [6] and GEPA [7] evolve programs and prompts. These methods improve behavior through feedback, but leave open how to organize scientific experience into structured, reusable knowledge components that can be individually evaluated and revised across experiments.

In this work, we argue that LLMs fall short in scientific reasoning not due to insufficient capacity, but because knowledge is not treated as a learnable object. This observation motivates a shift in perspective: Instead of optimizing model parameters or solution trajectories, we propose to directly optimize externalized, persistent knowledge that conditions the model's behavior. Under this view, learning is no longer about modifying the model itself, but about constructing and refining an explicit representation of domain knowledge.

However, optimizing knowledge directly introduces several fundamental challenges. First, knowledge does not naturally form a continuous optimization space: it is discrete, compositional, and structurally heterogeneous. Second, credit assignment becomes entangled because multiple knowledge components jointly influence each generated solution while feedback is often global. Third, evaluation signals are not directly usable for knowledge refinement, as scientific feedback is often sparse and scalar, providing limited guidance for structured updates.

To address these challenges, we propose KnowEvo, a knowledge evolution framework for protein optimization. KnowEvo is built on three key principles: (1) Transforming unstructured context into a structured and modular knowledge space; (2) Enabling credit assignment at the level of knowledge components; and (3) Converting evaluation signals into structured feedback for knowledge refinement. Together, these mechanisms make it possible to perform effective optimization in a discrete knowledge space. The main contributions of this paper are:

  • We reformulate scientific discovery as optimization over externalized, persistent knowledge rather than over model parameters, decoupling domain adaptation from expensive finetuning.

  • We represent knowledge as executable expertise blocks organized into mutation trees, and propose a knowledge evolution mechanism that combines adaptive evaluation budget allocation with agentic evidence-driven revision.

  • We demonstrate that KnowEvo outperforms root expert heuristics, monolithic program evolution, and prior LLM-guided evolution methods.

References (28)