MEMIG:用于抗体优化的自进化记忆构建
摘要
该论文提出了 MemIG,一种面向大语言模型智能体的自演化记忆框架,将经验存储为可索引、定量化的结构化记录(而非自由形式的文本),以改进计算机模拟中的抗体优化,包括对同时引入的多个突变进行上位性建模。
arXiv:2610.41245v1 Announce Type: new
Abstract: Memory has become central to self-evolving LLM agents, which store and retrieve experience from past rollouts to guide future decisions. Existing systems represent this experience as free-form natural language and maintain it by rewriting, which fits tasks whose experience is narratable. However, in scientific discovery and optimization, experience is often a quantity measured by an oracle under a specific context. Rewriting it as text leaves no index for where a record should be, replaces a measurement with a description, and cannot express how interventions interact. To address this, we argue that agent memory for biomolecule optimization should instead be indexable, quantitative, and structured, and we introduce MEMIG. This memory construction framework realizes these three properties. In detail, MEMIG addresses each insight with a domain-grounded identifier and accumulates the quantitative effect measured by a property oracle, so that updates remain local and retrieval becomes an exact lookup. Next, MEMIG connects insights whose interventions are applied together and measures their epistasis by decomposing each evaluated set. Our results show that MEMIG improves performance in most settings across in silico antibody optimization tasks.
查看缓存全文
缓存时间: 2026/11/03 09:37
# Self-evolving Memory Construction for Antibody Optimization
Source: [https://arxiv.org/html/2610.41245](https://arxiv.org/html/2610.41245)
Yunhui Jang††thanks:Work done during an internship at Genentech $ˆ†$ CorrespondenceZach WangAffiliation:KAISTJai DoshiAffiliation:Genentechyunhuijang@kaist\.ac\.kr,\{lisanza\.sidney, joren\.taylor\}@gene\.comKangway ChauangAffiliation:Genentechyunhuijang@kaist\.ac\.kr,\{lisanza\.sidney, joren\.taylor\}@gene\.comSidney Lisanza Taylor JorenAffiliation:Genentechyunhuijang@kaist\.ac\.kr,\{lisanza\.sidney, joren\.taylor\}@gene\.com
###### Abstract
Memory has become central to self\-evolving LLM agents, which store and retrieve experience from past rollouts to guide future decisions\. Existing systems represent this experience as free\-form natural language and maintain it by rewriting, which fits tasks whose experience is narratable\. However, in scientific discovery and optimization, experience is often a quantity measured by an oracle under a specific context\. Rewriting it as text leaves no index for where a record should be, replaces a measurement with a description, and cannot express how interventions interact\. To address this, we argue that agent memory for biomolecule optimization should instead be indexable, quantitative, and structured, and we introduceMemIG\. This memory construction framework realizes these three properties\. In detail,MemIGaddresses each insight with a domain\-grounded identifier and accumulates the quantitative effect measured by a property oracle, so that updates remain local and retrieval becomes an exact lookup\. Next,MemIGconnects insights whose interventions are applied together and measures their epistasis by decomposing each evaluated set\. Our results show thatMemIGimproves performance in most settings across in silico antibody optimization tasks\.
## 1Introduction
LLM agents can self\-evolve by accumulating memories from previous rollouts, which guide future decisions\([Shinn et al\., 2023](https://arxiv.org/html/2610.41245#bib.bib22);[Zhao et al\., 2024](https://arxiv.org/html/2610.41245#bib.bib31);[Suzgun et al\., 2026](https://arxiv.org/html/2610.41245#bib.bib25);[Zhang et al\., 2026a](https://arxiv.org/html/2610.41245#bib.bib29)\)\. This offers a practical, economical alternative to fine\-tuning, as the agent improves without expensive training while accumulated memory remains interpretable and editable\. Nevertheless, the representation of this memory is free\-form and unstructured, with experience from previous rollouts stored in natural language\. This fits tasks whose experience is narratable, such as question answering and long\-horizon conversation\([Zhong et al\., 2024](https://arxiv.org/html/2610.41245#bib.bib32);[Packer et al\., 2023](https://arxiv.org/html/2610.41245#bib.bib20);[Chhikara et al\., 2025](https://arxiv.org/html/2610.41245#bib.bib4)\), where experience can be summarized in a sentence without losing rich information\.
However, directly applying such narrative memory systems to biomolecule optimization is not straightforward\. For instance, in a computational oracle\-guided protein optimization task\([Notin et al\., 2023](https://arxiv.org/html/2610.41245#bib.bib17);[Stanton et al\., 2022](https://arxiv.org/html/2610.41245#bib.bib23);[Gruver et al\., 2023](https://arxiv.org/html/2610.41245#bib.bib10)\), an agent proposes mutations to sequences, evaluates the candidate using oracles, and reuses measurements from the candidates to guide later proposals\. Each evaluation is not merely a narratable experience, but a numerical measurement tied to a specific biological context, whose effect may depend on other co\-applied mutations\. Therefore, memory for biomolecule optimization should be*indexable*by biological context,*quantitative*in what it stores, and*structured*to capture interactions between mutations\.
First, memory should be indexed by the context in which a measurement applies\. Without such an index, there is no way to address a single entry, so incorporating a new experience requires an LLM to rewrite or summarize the entire memory\. To address this, recent work\([Zhang et al\., 2026a](https://arxiv.org/html/2610.41245#bib.bib29);[Xu et al\., 2025](https://arxiv.org/html/2610.41245#bib.bib28)\)introduces identifiers for each memory entry so that updates can be applied locally, but these identifiers are arbitrary labels without information about the context, so retrieval still relies on textual similarity\. In contrast, the effect of the same mutation can depend on its exact biological context\([Notin et al\., 2023](https://arxiv.org/html/2610.41245#bib.bib17);[Olsen et al\., 2024](https://arxiv.org/html/2610.41245#bib.bib19)\)\. Therefore, memory should address each entry by this context, so that updates and retrieval operate over the context rather than textual similarity\.
Second, memory should preserve quantitative measurements rather than store them as free\-form text\. Existing memory methods store experience as natural language authored by an LLM\([Zhao et al\., 2024](https://arxiv.org/html/2610.41245#bib.bib31);[Suzgun et al\., 2026](https://arxiv.org/html/2610.41245#bib.bib25)\), where a reported number is written rather than computed and is therefore not tied to the measurement that produced it\. This can discard the quantitative signal required for scientific optimization\. Memory should instead retain oracle outputs as persistent quantitative records, while the LLM only converts the retrieved records into interpretable guidance for the agent\.
Third, memory should capture the measured dependence between entities, rather than semantic similarity between the textual records\. Graph\-based memories organize records as linked notes rather than a flat list, but their edges represent semantic relatedness between texts\([Chhikara et al\., 2025](https://arxiv.org/html/2610.41245#bib.bib4);[Xu et al\., 2025](https://arxiv.org/html/2610.41245#bib.bib28)\)\. However, in biomolecule optimization, the effect of one mutation can depend on the presence of another, a phenomenon known as epistasis\. Memory should therefore record these interactions explicitly rather than assume that mutation effects are additive\.
Figure 1:Overview ofMemIG\.MemIGconstructs an epistasis graph with antibody\-grounded identifiers\. Directed edges organize property→\\rightarrowgermline→\\rightarrowregion→\\rightarrowmutation hierarchies, while undirected edges connect co\-occurring mutations and store their epistatic effects\.To address this, we introduceMemIG\(Memory asIndexableGraphs\), a domain\-grounded memory construction framework for protein optimization agents, as described in[Figure1](https://arxiv.org/html/2610.41245#S1.F1)\. We focus on the domain of antibody optimization and design\. To make memory indexable, we define an antibody\-grounded identifier that specifies the target property, the germline gene, the antibody region, and the AHo\-numbered\([Honegger & PluÈckthun, 2001](https://arxiv.org/html/2610.41245#bib.bib11)\)mutation, so that each record is addressed by the biological context in which it applies\. To make memory quantitative, each insight stores the effect computed by the oracle\.
Moreover, to build structured memory,MemIGcreates a graph of co\-occurring insights\. Here, each edge in the graph connects mutations showing epistasis, quantified as the deviation of the joint effect from the sum of the individual effects\. Next, before each rollout,MemIGretrieves insights from the graph based on the context identifier, ranks them by their measured effects, and provides the selected insights with their graph neighborhoods to the agent\. Then an LLM renders them as interpretable guidance while the quantitative memory remains\. We empirically showed that incorporatingMemIGinto frontier LLMs\([GLM\-5\-Team et al\., 2026](https://arxiv.org/html/2610.41245#bib.bib9);[Anthropic, 2025](https://arxiv.org/html/2610.41245#bib.bib2)\)improves performance in the majority of settings in in silico antibody optimization tasks\.
Our contributions are summarized as follows:
- •We introduceMemIG, an*indexable*,*quantitative*, and*structured*memory system which addresses each insight with an antibody\-grounded identifier and stores the effect computed by a property oracle, so that updates remain local and retrieval becomes an exact lookup\.
- •We construct a graph\-based memory over insights, where an edge stores the epistatic effect of mutations, so that memory precisely records how mutations combine\.
- •We demonstrate that MemIG outperforms existing memory systems on antibody optimization\.
## 2Method:MemIG
Figure 2:Antibody optimization task\.In this section, we presentMemIG\(Memory asIndexableGraphs\), an indexable, quantitative, and structured memory system for antibody optimization agents\. In this work, we consider the following formulation of antibody optimization: given an antibody sequence, the model proposes a set of mutations to improve a defined set of properties under a maximum edit distance, as described in[Figure2](https://arxiv.org/html/2610.41245#S2.F2)\.
Throughout this section, anobservationis a single measured effect of applying mutations, and aninsightis the summary of the observations sharing the same identifier\.Memoryis then the graph whose nodes are these insights and whose edges store how mutations interact when applied together, as illustrated in[Figure1](https://arxiv.org/html/2610.41245#S1.F1)\. Memory is self\-evolving as the agent writes observations from its own evaluations, constructs memory from the observations, and retrieves the relevant insights\.
Each component ofMemIGrealizes three properties of memory: indexability, quantitativeness, and structured dependencies\.[Section2\.1](https://arxiv.org/html/2610.41245#S2.SS1)defines the indexable identifiers and quantitative records,[Section2\.2](https://arxiv.org/html/2610.41245#S2.SS2)describes the epistasis graph, and[Section2\.3](https://arxiv.org/html/2610.41245#S2.SS3)explains retrieval based on the constructed epistasis memory graph\.
### 2\.1Antibody\-grounded insight identifier
#### Indexable identifier\.
The identifier makes memory indexable by addressing each insight with the antibody context where it was observed\. In detail, an identifier is composed of a property, germline, region and mutation, where the region is a contiguous block of residues that define a framework or complementarity\-determining region \(e\.g\. FR1 or CDR2\) and the mutation position comes from AHo alignment\([Honegger & PluÈckthun, 2001](https://arxiv.org/html/2610.41245#bib.bib11)\), such asimmunogenicity/IGHV3\-23/\[cdr1\]/H:A47D\. The AHo scheme enables a single insight to accumulate evidence across antibodies of different lengths\. We use exact matching so that observations are aggregated only when their biological context and substitution match\. Consequently, the same mutation observed under a different context forms a different insight\. This design is inspired by[Zhang et al\. \(2026a\)](https://arxiv.org/html/2610.41245#bib.bib29), which introduces identifiers to enable local memory updates\.
Addressing insights in this way keeps the memory update local and efficient\. Each new observation updates only the insight sharing its identifier, leaving the rest of memory untouched\. Therefore, the cost scales with the number of identifiers affected by the new observation rather than the total memory size, whereas rewriting the entire memory grows more expensive as experience accumulates\.
#### Quantitative record\.
Each insight records the quantitative effect of its mutation, so that memory reports exact quantities rather than free\-form impressions\. In detail, an insight accumulates the mean effect across turns on each property computed by the oracle, the number of observations, and the directional votes over every observation sharing the identifier\. The directional vote records whether the mutation moved the property toward the objective, so that the insight reports not only the average magnitude of an effect but also how consistently that effect occurs\. For example, the insight
immunogenicity/IGHV3\-23/H:A47D \[cdr1\]: avg \-2\.68, n=176,↑\\uparrow152/↓\\downarrow24
records the substitution of alanine \(A\) with aspartate \(D\) at heavy\-chain position 47 in the CDR1 of a sequence from the IGHV3\-23 gene family\. The mutation decreased \(improved\) immunogenicity by 2\.68 on average over 176 observations, and did so in all but 24 of them\.
### 2\.2Epistasis graph
The epistasis graph makes memory structured by connecting insights whose mutations interact\. The joint effects of mutations may be non\-additive to other co\-occurring mutations, a phenomenon known as epistasis, so a set of independent insights cannot represent it\. To capture this in the epistasis graph, each node is a single mutation, and each edge accumulates the joint effect of a co\-occurring pair\. These edges connect mutations within a chain and across the heavy and light chains\.
We measure the epistatic effect of a pair by decomposing each mutation set the agent proposes\. For each pair of mutationsaaandbbin the set, we additionally applyaaalone,bbalone, andaaandbbtogether to the starting sequence, and measure the resulting property changesΔa\\Delta\_\{a\},Δb\\Delta\_\{b\}, andΔab\\Delta\_\{ab\}\. Each node stores the mean isolated effect when the mutation is applied alone assingle\_avg, whileavgstores the mean effect of the complete evaluated mutation sets containing that mutation to reflect the effects of co\-applied mutations\.
Figure 3:Memory retrieval ofMemIG\.Given a starting antibody,MemIGidentifies the matching identifiers, retrieves the corresponding insights with their neighbors, and curates them into natural language\.Bluedenotes the antibody\-grounded identifier and the corresponding node,greenits quantitative record, andyellowthe epistasis graph neighbors and the curation based on them\.The epistatic effect is then the deviation of the pair from additivity,εab=Δab−Δa−Δb\\varepsilon\_\{ab\}=\\Delta\_\{ab\}\-\\Delta\_\{a\}\-\\Delta\_\{b\}\. Whenεab=0\\varepsilon\_\{ab\}=0, the joint effect equals the sum of the individual effects, indicating additivity and no epistasis\. A nonzeroεab\\varepsilon\_\{ab\}indicates an epistatic interaction: positive values mean that the joint property change exceeds the sum of the individual changes, whereas negative values mean that it falls below this sum\. The edge betweenaaandbbstores the mean ofΔab\\Delta\_\{ab\}asco\_avgand the mean ofεab\\varepsilon\_\{ab\}asepistasis\_avgover every observation of that pair\. Notably, this decomposition requires additional oracle calls, which is possible because property oracles are cheap and re\-runnable on any sequence\. An example of the stored nodes and edges with these values is shown in[Figure3](https://arxiv.org/html/2610.41245#S2.F3)\.
### 2\.3Memory retrieval
Based on the constructed graph, memory is retrieved before each rollout and injected into the prompt\. The retrieval process consists of four steps: identifier identification, ranking and selection, insight retrieval, and insight curation, as described in[Figure3](https://arxiv.org/html/2610.41245#S2.F3)\. In detail, we collect the insights whose identifiers match the germline and the target properties of the current sequence, and whose mutations match its wild\-type residues at the corresponding AHo positions\. We rank them by their net directional votes breaking ties by the magnitude of theavg, and select up toKKinsights\. In addition to these exact\-match insights, the memory also includes global insights that aggregate mutation trends across germlines to capture broader mutation trends, as detailed in[AppendixB](https://arxiv.org/html/2610.41245#A2)\.
The retrieved insights are curated into natural language so that the agent receives interpretable guidance\. Specifically, we curate each insight with an LLM, which also receives up toNN1\-hop neighbor insights and their edges from the epistasis graph, so that the text describes both the isolated and joint effects\. Curation produces the guidance presented to the agent without modifying the stored quantitative statistics\. For example, an insightimmunogenicity/IGHV3\-23/H:A47D \[cdr1\]is curated as:
immunogenicity/IGHV3\-23/H:A47D \[cdr1\]: avg \-2\.68, n=176,↑\\uparrow152/↓\\downarrow24; H:A47D \(authoritative region: cdr1\) replaces a small nonpolar alanine with a negatively charged aspartate, a charge\-introduction change; its isolated effect is mild \(single\_avg \-0\.114\), so the \-2\.68 average \(n=176\) is mostly confounded by companion mutations\. Co\-occurrence with other charge\-introducing cdr2 mutations is antagonistic — H:S59D \(epistasis\_avg \+0\.304\) and H:L52S \(\+0\.314\) — while H:K108D, H:Y70S, and fr3’s H:L12E are additive \(0\.0, \-0\.049, 0\.0\)\.
After curation, the curated insights are concatenated to form the memory prompt\. Memory is initialized as empty and the memory of the sequence is written only after all of its rollouts have been scored\. Therefore, the rollouts of a sequence share the same memory snapshot, and a sequence retrieves only the insights accumulated from the sequences optimized before it\. We provide an example of the constructed memory in[AppendixA](https://arxiv.org/html/2610.41245#A1)\.
## 3Experiments
In this section, we evaluateMemIG’s effectiveness on two antibody optimization tasks\. We employ Haiku\-4\.5\([Anthropic, 2025](https://arxiv.org/html/2610.41245#bib.bib2)\)and GLM\-5\.3\-Flash\([GLM\-5\-Team et al\., 2026](https://arxiv.org/html/2610.41245#bib.bib9)\)as our backbone models\. We provide the detailed experimental settings in[AppendixB](https://arxiv.org/html/2610.41245#A2)\.
#### Metrics\.
We employ two metrics throughout the experiments: pass@kk\([Chen et al\., 2021](https://arxiv.org/html/2610.41245#bib.bib3)\)and improvement \(Imp\.\)\. Here, we consider two types of objectives: \(1\) minimization and maximization, which move the property as far as possible in one direction, and \(2\) range, which moves the property into a target interval\. Pass@kkestimates the probability that at least one ofkksampled rollouts passes, computed as1−\(n−ck\)/\(nk\)1\-\\binom\{n\-c\}\{k\}/\\binom\{n\}\{k\}, wherennrollouts are sampled andccpass\. We reportk∈\{1,3\}k\\in\\\{1,3\\\}\. A rollout passes when the optimized sequence improves upon the starting sequence for minimization and maximization tasks, or lies within the target interval for range tasks\.
Next, improvement measures the magnitude of the gain\. Specifically, it is computed as the signed difference between the optimized and the starting property values in the favorable direction for minimization and maximization tasks, and as the reduction in distance to the target interval for range tasks\. For example, in the range task, when the starting sequence property is−0\.6\-0\.6, and the optimized sequence property is−0\.4\-0\.4, the distance to the target interval\[−0\.5,−0\.2\]\[\-0\.5,\-0\.2\]decreases from0\.10\.1to0\.00\.0, giving an improvement of0\.10\.1\. Notably, both metrics are computed at the best turn of each rollout determined by the reward and are then averaged over all rollouts\.
#### Baselines\.
We utilize six baselines, including two statistical and four LLM\-based approaches\. The statistical baselines include random and MCMC\([Metropolis et al\., 1953](https://arxiv.org/html/2610.41245#bib.bib16)\)\. The random baseline sampleskkmutations uniformly from\{1,…,B\}\\\{1,\\dots,B\\\}mutations, whereBBis the edit distance budget, and applies the mutations to the starting variable fragment \(Fv\)\. The MCMC baseline runs Metropolis\-Hastings from the starting Fv\. At each ofTTsteps, matched to the turn budget of the agent, it proposes three random mutations that remain within the edit distance budget, scores them with the same rewardrrused to evaluate the agent, and accepts the mutations under the Metropolis criterionmin\(1,exp\(Δr/τ\)\)\\min\(1,\\exp\(\\Delta r/\\tau\)\)with the temperature fixed atτ=1\.0\\tau=1\.0\.
The LLM\-based baselines include a vanilla LLM agent and three LLM agents with different memory frameworks, including observations\-only, DC\-Cu\([Suzgun et al\., 2026](https://arxiv.org/html/2610.41245#bib.bib25)\), and ACE\([Zhang et al\., 2026a](https://arxiv.org/html/2610.41245#bib.bib29)\)\. The vanilla LLM agent applies the agentic system without memory\. Next, the LLM agent with observations receives the same oracle outputs thatMemIGuses to construct its memory, but in their raw form rather than aggregated under identifiers or curated\. Lastly, DC\-Cu and ACE are self\-evolving memory baselines that accumulate experience across rollouts, where DC\-Cu regenerates a compact cheatsheet after each query while ACE maintains an indexed playbook updated through incremental deltas\. For fair comparison, we provide all LLM\-based baselines with the same tool access, prompt, maximum input and output tokens, and turn budget, which isolates the contribution of the memory\.
### 3\.1Multiple property optimization
#### Task description\.
The goal of multiple property optimization is to satisfy multiple property constraints at once by mutating the variable fragment \(Fv\) of a given antibody sequence\. Specifically, we select four antibody properties: immunogenicity\([Thrift et al\., 2024](https://arxiv.org/html/2610.41245#bib.bib27)\), liability count\([Cock et al\., 2009](https://arxiv.org/html/2610.41245#bib.bib5)\), GRAVY\([Kyte & Doolittle, 1982](https://arxiv.org/html/2610.41245#bib.bib12)\), and charge\. Here, immunogenicity quantifies the risk that the antibody triggers an unwanted immune response and liability count measures chemically unstable sequence motifs \(e\.g\., oxidation and deamidation sites\)\. Next, GRAVY measures the average hydrophobicity over the residues and charge measures the net charge of the sequence at pH 5\.5\. Immunogenicity and liability count are minimization, and GRAVY and charge are range tasks, targeting\[−0\.5,−0\.2\]\[\-0\.5,\-0\.2\]and\[0\.0,8\.0\]\[0\.0,8\.0\], respectively\. We provide the details in[AppendixB](https://arxiv.org/html/2610.41245#A2)\.
We randomly select 100 antibody sequences from the OAS dataset\([Olsen et al\., 2022](https://arxiv.org/html/2610.41245#bib.bib18)\)and generate 10 rollouts per sequence\. We filter out the sequences that already satisfy the target constraint, so the pass@kkof the starting sequences is zero by construction\.
Figure 4:Multi property optimization results\.Pass@1 and pass@3 \(left\) and the distribution of improvement over the starting sequence \(right\), where each colored dot is one rollout and the black diamond marks the mean\.
#### Results\.
We provide the results in[Figure4](https://arxiv.org/html/2610.41245#S3.F4)and full values in[AppendixC](https://arxiv.org/html/2610.41245#A3)\. We observe thatMemIGconsistently improves multiple property optimization across both backbones\. Specifically, it achieves the highest average improvement on Haiku\-4\.5 \(0\.718 vs\. 0\.602 for the strongest baseline\) and GLM\-5\.3\-Flash \(1\.754 vs\. 1\.621\), while also attaining the best pass@1 on both backbones\. The box plots show a broad upward shift in the improvement, with medians close to the corresponding means, indicating that the gains are systematic rather than driven by a few favorable rollouts\. Across all baseline comparisons, these gains are significant under one\-sided Mann–Whitney U tests\([Mann & Whitney, 1947](https://arxiv.org/html/2610.41245#bib.bib15)\)with Holm–Bonferroni correction \(p<0\.005p<0\.005\)\.
### 3\.2In silico antibody binding optimization
#### Task description\.
The goal of this task is to optimize the binding of an antibody to a given antigen by mutating CDR\-H3\. Specifically, we optimize two confidence scores of a structure prediction model, the predicted TM score \(pTM\) for the antibody structure and the interface predicted TM score \(AbAg\-ipTM\) for the antibody\-antigen interaction, where we target\>0\.8\>0\.8and\>0\.7\>0\.7respectively\. Such confidence scores discriminate binders from non\-binders and therefore serve as useful proxies for in silico binding optimization\([Abramson et al\., 2024](https://arxiv.org/html/2610.41245#bib.bib1);[Lin et al\., 2022](https://arxiv.org/html/2610.41245#bib.bib13);[Zhang et al\., 2026b](https://arxiv.org/html/2610.41245#bib.bib30)\)\. We employ Protenix\-v2\([Zhang et al\., 2026b](https://arxiv.org/html/2610.41245#bib.bib30)\)for its predictive power and open availability\.
We select antibody\-antigen complexes from the SAbDab\([Dunbar et al\., 2014](https://arxiv.org/html/2610.41245#bib.bib8)\)\. We retain only complexes that are \(i\) of type fragment antigen\-binding \(Fab\), \(ii\) bound to a single antigen chain, and \(iii\) whose CDR\-H3 loop makes substantial contact with the antigen interface \(H3 interface fraction\>0\.3\>0\.3\)\. These selected complexes are grouped into1111clusters, where each cluster is treated as one optimization task, generating 30 rollouts per complex\. We provide the details includng the number of complexes and their PDB IDs in each cluster in[AppendixB](https://arxiv.org/html/2610.41245#A2)\.
Figure 5:In silico antibody binding optimization\.Each numeric label corresponds to an antibody\-antigen cluster, clustered by CDR sequence identity\.∗denotes the structural baselines \(dashed\), which have access to the complex structure\.
#### Baselines\.
We add two structural baselines for in silico antibody optimization task, including ProteinMPNN\([Dauparas et al\., 2022](https://arxiv.org/html/2610.41245#bib.bib6)\)and AbMPNN\([Dreyer et al\., 2023](https://arxiv.org/html/2610.41245#bib.bib7)\)\. These baselines inverse\-fold the native complex with every position fixed except CDR\-H3\. It is notable that they receive the backbone coordinates of the antibody\-antigen complex, whereasMemIGobserves the sequence alone\. We sample the same number of designs as the agent’s turn budget and evaluate all designs with the same oracle\. We treat these methods as structure\-informed references because they receive complex backbone coordinates, whereas MEMIG receives only sequences\. They could also be incorporated into the agent as design tools\.
#### Results\.
We provide the results in[Figure5](https://arxiv.org/html/2610.41245#S3.F5)and the detailed values in[AppendixC](https://arxiv.org/html/2610.41245#A3)\. Among the non\-structural methods, we observe thatMemIGattains the best pass@1 in 9 of the 11 clusters with GLM\-5\.3\-Flash and in 7 of the 11 clusters with Haiku\-4\.5, and the highest improvement in every cluster with GLM\- 5\.3\-Flash\. Compared to all LLM\-based and statistical baselines within each backbone, these gains are statistically significant under one\-sided Mann–Whitney U tests\([Mann & Whitney, 1947](https://arxiv.org/html/2610.41245#bib.bib15)\)with Holm–Bonferroni correction \(p<0\.005p<0\.005\)\. The structural baselines included as reference anchors lead on improvement, since improvement is averaged over all designs regardless of whether they pass the constraint\. Notably, ProteinMPNN attains a pass rate of zero in 8 of the 11 clusters while leading on improvement in three of them, which shows that a large improvement does not imply that the designs reach the target\.
### 3\.3Analysis
We conduct the following analyses on the in silico antibody binding optimization task with GLM\-5\.3\-Flash on three randomly picked clusters \(148, 193, 993\)\. We provide additional analyses including same oracle call analysis and details in[AppendixC](https://arxiv.org/html/2610.41245#A3)\.
Table 1:Ablation study on component\.#### Ablation study on component\.
We ablate the components ofMemIG\. In detail, the indexable identifier drops the germline\+region field which keeps property and mutation only\. Next, the epistasis graph removes the edges, so that memory stores the information of each mutation without access to the joint effects\. As shown in[Table1](https://arxiv.org/html/2610.41245#S3.T1), we observe that every ablation degrades the pass rate, which shows that all components contribute to satisfying the constraints\. In contrast, the ablated epistasis attain a higher improvement, since improvement is averaged over all designs regardless of whether they satisfy the constraint\.
#### Memory faithfulness\.
We next verify that the agent actually uses the retrieved insights stored in memory byMemIG\. In detail, we take the insights thatMemIGretrieves for each starting antibody as a fixed reference set, and compare MEMIG’s proposals with this reference set\. The adoption measures the fraction of proposed mutations that appear anywhere in the reference set, while helpful and harmful adoption further split this fraction by whether the recorded effect of the matched insight points toward or against the objective based on their directional votes\. Since a mutation has a separate insight for each property, it can be helpful for one and harmful for another, so the two fractions sum to more than the total adoption\. Additionally, we report the net directional alignment, a gap between helpful and harmful adoption \(Δ\\Delta\), as the agent must not only read the memory but also distinguish its direction\.
Table 2:Memory faithfulness\.MemIGraises both adoption and net directional alignment\.We provide the results in[Table2](https://arxiv.org/html/2610.41245#S3.T2)\. We observe that 93\.1% of the proposals byMemIGwere present in the memory\. These mutations were mostly from helpful insights, not from harmful insights, which shows that the agent reads and understands the recorded direction of an insight\.
Figure 6:Cumulative performance progression\.Vertical lines mark memory updates, where the rollouts between two lines are generated concurrently under the same memory\. The curves report the centered rolling mean with a half\-width of 30 rollouts, computed within each memory step\. Notably, the ordering of rollouts within the same memory is random, so a downward slope does not imply performance decrease\. Each dot marks the mean over all rollouts of that memory step\.
#### Cumulative performance progression\.
We analyze how performance changes as memory self\-evolves in[Figure6](https://arxiv.org/html/2610.41245#S3.F6)by tracking the improvement of the vanilla LLM andMemIGat each memory step, where the rollouts sharing a memory step are generated concurrently\. We report clusters 148 and 993, whose germline remains constant across the starting complexes, so that the insights accumulated from earlier rollouts apply directly to later ones\. We observe thatMemIGimproves over memory versions while the vanilla LLM stays near flat, so the gain comes from the accumulated memory rather than from the agent itself\. Notably, the gap widens after the first memory update and remains positive, which shows thatMemIGimproves through self\-evolution\. We additionally report the same analysis without the rolling average in[AppendixC](https://arxiv.org/html/2610.41245#A3)\.
## 4Related work
#### Self\-evolving agent with memory\.
Self\-evolving agents have recently gained substantial attention, where agents accumulate experience from past rollouts and store it into external memory without updating model weights\([Shinn et al\., 2023](https://arxiv.org/html/2610.41245#bib.bib22)\)\. ExpeL\([Zhao et al\., 2024](https://arxiv.org/html/2610.41245#bib.bib31)\)abstracts natural language insights from successful and failed experience, and maintains them through LLM\-judged upvotes and downvotes\. Dynamic Cheatsheet\([Suzgun et al\., 2026](https://arxiv.org/html/2610.41245#bib.bib25)\)generates the solution based on the current cheat sheet, curates the insight based on the generation, and updates the cheat sheet, while ACE\([Zhang et al\., 2026a](https://arxiv.org/html/2610.41245#bib.bib29)\)instead maintains an itemized playbook with helpful and harmful counters, updated with incremental deltas\.
Graph\-based memories keep their entries as linked notes rather than a flat list, where nodes and edges represent semantic relations between textual memories\([Chhikara et al\., 2025](https://arxiv.org/html/2610.41245#bib.bib4);[Xu et al\., 2025](https://arxiv.org/html/2610.41245#bib.bib28)\)\. Nevertheless, these approaches store experience as natural language written and judged by an LLM, address entries by opaque labels that do not encode applicability context, and connect entries by textual relatedness\. To address these challenges,MemIGstores oracle\-measured quantities under the biological context\-derived identifiers and connects them through oracle\-measured interactions\.
#### LLM agents for protein optimization\.
Protein sequence optimization has been studied as black\-box optimization over a discrete space, where a model is trained on previously evaluated sequences and is used to propose the next candidates\([Stanton et al\., 2022](https://arxiv.org/html/2610.41245#bib.bib23);[Gruver et al\., 2023](https://arxiv.org/html/2610.41245#bib.bib10);[Notin et al\., 2023](https://arxiv.org/html/2610.41245#bib.bib17)\)\. Recently, LLM agents have entered this pipeline by orchestrating property predictors as tools and reasoning over the returned scores to select or revise candidates, with some accumulating design strategies across rollouts as natural language\([Roohani et al\., 2025](https://arxiv.org/html/2610.41245#bib.bib21);[Tan et al\., 2026](https://arxiv.org/html/2610.41245#bib.bib26);[Liu et al\., 2026](https://arxiv.org/html/2610.41245#bib.bib14)\)\. However, these approaches only accumulate narrative feedback without any quantitative record, which is not indexed and not structured in terms of biological context\. To address this,MemIGkeeps oracle\-measured effects under antibody\-grounded insight identifiers and connects them through measured pairwise interactions, which keeps accumulated memory indexable, quantitative, and structured across rollouts\.
## 5Conclusion
In this paper, we introduceMemIG, a memory construction framework for antibody optimization agents that keeps accumulated observations indexable, quantitative, and structured rather than narrated\. Each insight is addressed by an antibody\-grounded identifier over the property, germline, region, and mutation, and stores the effect measured by a property oracle\. Next, edges between insights record the epistatic effect based on how mutations behave when applied together\. Our findings suggest that the unit of memory should be defined by the domain it serves, and that grounding memory in measured quantities rather than generated text allows experience to accumulate without summarization\. Although we instantiate MEMIG for antibody optimization, the framework can extend to other oracle\-guided optimization problems when the domain provides a suitable identifier\.
#### Limitation and challenge\.
First, our evaluation is conducted in silico using computational property oracles\. This bounds the cost model of the epistasis decomposition, which assumes oracles that can be re\-run freely\. Although these oracles provide a controlled testbed, improvements may not directly translate to experimentally measured properties\. Second,MemIGcurrently represents mutation interactions through pairwise epistasis edges\. Although each edge is estimated by evaluating the individual mutations and their pair, multi\-mutation designs may exhibit higher\-order interactions\. Next, the curation step ofMemIGrelies on the capability of the backbone model, as in prior work\([Zhang et al\., 2026a](https://arxiv.org/html/2610.41245#bib.bib29);[Suzgun et al\., 2026](https://arxiv.org/html/2610.41245#bib.bib25)\)\. If the model fails to describe a retrieved insight faithfully, the curated guidance may be misleading while the quantitative record mitigates this\.
## Ethics statement
This work studies memory construction for antibody optimization agents, and the experiments are conducted in silico with computational property oracles\. We use only publicly released data, including antibody sequences from OAS\([Olsen et al\., 2022](https://arxiv.org/html/2610.41245#bib.bib18)\)and antibody\-antigen complexes from SAbDab\([Dunbar et al\., 2014](https://arxiv.org/html/2610.41245#bib.bib8)\), under their respective licenses; the OAS sequences derive from published immune repertoire studies and are not linked to identifiable individuals, and no human subjects are involved in our experiments\.MemIGoptimizes developability and predicted interface confidence rather than any property related to toxicity or pathogenicity, and any resulting candidate would require experimental validation and human review before use\.
## Reproducibility statement
We provide the information required to reproduce our experiments in the main text and appendix\.[Section3](https://arxiv.org/html/2610.41245#S3)describes the evaluation setup and baselines, while[AppendixB](https://arxiv.org/html/2610.41245#A2)provides the property oracles, datasets, prompts, and hyperparameters\. Complete numerical results and additional analyses are reported in[AppendixC](https://arxiv.org/html/2610.41245#A3)\.
## AI Disclosure
We used generative AI tools to polish writing of the manuscript, create figures, and assist with analysis and plotting code\. The research hypothesis, the method design, and all experiments were determined by the authors\. The remaining tasks requiring disclosure, such as generating synthetic datasets and writing proofs, are not applicable\.
## References
- Abramson et al\. \(2024\)Josh Abramson, Jonas Adler, Jack Dunger, Richard Evans, Tim Green, Alexander Pritzel, Olaf Ronneberger, Lindsay Willmore, Andrew J Ballard, Joshua Bambrick, et al\.Accurate structure prediction of biomolecular interactions with alphafold 3\.*Nature*, 630\(8016\):493–500, 2024\.
- Anthropic \(2025\)Anthropic\.Claude haiku 4\.5, 2025\.URL[https://www\.anthropic\.com/claude/haiku](https://www.anthropic.com/claude/haiku)\.Large language model\.
- Chen et al\. \(2021\)Mark Chen, Jerry Tworek, Heewoo Jun, Qiming Yuan, Henrique Ponde De Oliveira Pinto, Jared Kaplan, Harri Edwards, Yuri Burda, Nicholas Joseph, Greg Brockman, et al\.Evaluating large language models trained on code\.*arXiv preprint arXiv:2107\.03374*, 2021\.
- Chhikara et al\. \(2025\)Prateek Chhikara, Dev Khant, Saket Aryan, Taranjeet Singh, and Deshraj Yadav\.Mem0: Building production\-ready ai agents with scalable long\-term memory\.*arXiv preprint arXiv:2504\.19413*, 2025\.
- Cock et al\. \(2009\)Peter J\. A\. Cock, Tiago Antao, Jeffrey T\. Chang, Brad A\. Chapman, Cymon J\. Cox, Andrew Dalke, Iddo Friedberg, Thomas Hamelryck, Frank Kauff, Bartek Wilczynski, and Michiel J\. L\. de Hoon\.Biopython: freely available python tools for computational molecular biology and bioinformatics\.*Bioinformatics*, 25\(11\):1422–1423, 2009\.doi:10\.1093/bioinformatics/btp163\.URL[https://doi\.org/10\.1093/bioinformatics/btp163](https://doi.org/10.1093/bioinformatics/btp163)\.
- Dauparas et al\. \(2022\)Justas Dauparas, Ivan Anishchenko, Nathaniel Bennett, Hua Bai, Robert J Ragotte, Lukas F Milles, Basile IM Wicky, Alexis Courbet, Rob J de Haas, Neville Bethel, et al\.Robust deep learning–based protein sequence design using proteinmpnn\.*Science*, 378\(6615\):49–56, 2022\.
- Dreyer et al\. \(2023\)Frédéric A Dreyer, Daniel Cutting, Constantin Schneider, Henry Kenlay, and Charlotte M Deane\.Inverse folding for antibody sequence design using deep learning\.*Workshop on Computational Biology at International Conference on Machine Learning*, 2023\.
- Dunbar et al\. \(2014\)James Dunbar, Konrad Krawczyk, Jinwoo Leem, Terry Baker, Angelika Fuchs, Guy Georges, Jiye Shi, and Charlotte M\. Deane\.Sabdab: the structural antibody database\.*Nucleic Acids Research*, 42\(D1\):D1140–D1146, 01 2014\.ISSN 0305\-1048\.doi:10\.1093/nar/gkt1043\.URL[https://doi\.org/10\.1093/nar/gkt1043](https://doi.org/10.1093/nar/gkt1043)\.
- GLM\-5\-Team et al\. \(2026\)GLM\-5\-Team, :, Aohan Zeng, Xin Lv, Zhenyu Hou, Zhengxiao Du, Qinkai Zheng, Bin Chen, Da Yin, Chendi Ge, Chenghua Huang, Chengxing Xie, Chenzheng Zhu, Congfeng Yin, Cunxiang Wang, Gengzheng Pan, Hao Zeng, Haoke Zhang, Haoran Wang, Huilong Chen, Jiajie Zhang, Jian Jiao, Jiaqi Guo, Jingsen Wang, Jingzhao Du, Jinzhu Wu, Kedong Wang, Lei Li, Lin Fan, Lucen Zhong, Mingdao Liu, Mingming Zhao, Pengfan Du, Qian Dong, Rui Lu, Shuang\-Li, Shulin Cao, Song Liu, Ting Jiang, Xiaodong Chen, Xiaohan Zhang, Xuancheng Huang, Xuezhen Dong, Yabo Xu, Yao Wei, Yifan An, Yilin Niu, Yitong Zhu, Yuanhao Wen, Yukuo Cen, Yushi Bai, Zhongpei Qiao, Zihan Wang, Zikang Wang, Zilin Zhu, Ziqiang Liu, Zixuan Li, Bojie Wang, Bosi Wen, Can Huang, Changpeng Cai, Chao Yu, Chen Li, Chengwei Hu, Chenhui Zhang, Dan Zhang, Daoyan Lin, Dayong Yang, Di Wang, Ding Ai, Erle Zhu, Fangzhou Yi, Feiyu Chen, Guohong Wen, Hailong Sun, Haisha Zhao, Haiyi Hu, Hanchen Zhang, Hanrui Liu, Hanyu Zhang, Hao Peng, Hao Tai, Haobo Zhang, He Liu, Hongwei Wang, Hongxi Yan, Hongyu Ge, Huan Liu, Huanpeng Chu, Jia’ni Zhao, Jiachen Wang, Jiajing Zhao, Jiamin Ren, Jiapeng Wang, Jiaxin Zhang, Jiayi Gui, Jiayue Zhao, Jijie Li, Jing An, Jing Li, Jingwei Yuan, Jinhua Du, Jinxin Liu, Junkai Zhi, Junwen Duan, Kaiyue Zhou, Kangjian Wei, Ke Wang, Keyun Luo, Laiqiang Zhang, Leigang Sha, Liang Xu, Lindong Wu, Lintao Ding, Lu Chen, Minghao Li, Nianyi Lin, Pan Ta, Qiang Zou, Rongjun Song, Ruiqi Yang, Shangqing Tu, Shangtong Yang, Shaoxiang Wu, Shengyan Zhang, Shijie Li, Shuang Li, Shuyi Fan, Wei Qin, Wei Tian, Weining Zhang, Wenbo Yu, Wenjie Liang, Xiang Kuang, Xiangmeng Cheng, Xiangyang Li, Xiaoquan Yan, Xiaowei Hu, Xiaoying Ling, Xing Fan, Xingye Xia, Xinyuan Zhang, Xinze Zhang, Xirui Pan, Xu Zou, Xunkai Zhang, Yadi Liu, Yandong Wu, Yanfu Li, Yidong Wang, Yifan Zhu, Yijun Tan, Yilin Zhou, Yiming Pan, Ying Zhang, Yinpei Su, Yipeng Geng, Yong Yan, Yonglin Tan, Yuean Bi, Yuhan Shen, Yuhao Yang, Yujiang Li, Yunan Liu, Yunqing Wang, Yuntao Li, Yurong Wu, Yutao Zhang, Yuxi Duan, Yuxuan Zhang, Zezhen Liu, Zhengtao Jiang, Zhenhe Yan, Zheyu Zhang, Zhixiang Wei, Zhuo Chen, Zhuoer Feng, Zijun Yao, Ziwei Chai, Ziyuan Wang, Zuzhou Zhang, Bin Xu, Minlie Huang, Hongning Wang, Juanzi Li, Yuxiao Dong, and Jie Tang\.Glm\-5: from vibe coding to agentic engineering, 2026\.URL[https://arxiv\.org/abs/2602\.15763](https://arxiv.org/abs/2602.15763)\.
- Gruver et al\. \(2023\)Nate Gruver, Samuel Stanton, Nathan C\. Frey, Tim G\. J\. Rudner, Isidro Hotzel, Julien Lafrance\-Vanasse, Arvind Rajpal, Kyunghyun Cho, and Andrew Gordon Wilson\.Protein design with guided discrete diffusion\.In*Advances in Neural Information Processing Systems*, volume 36, 2023\.doi:10\.52202/075280\-0547\.URL[https://proceedings\.neurips\.cc/paper\_files/paper/2023/hash/29591f355702c3f4436991335784b503\-Abstract\.html](https://proceedings.neurips.cc/paper_files/paper/2023/hash/29591f355702c3f4436991335784b503-Abstract.html)\.
- Honegger & PluÈckthun \(2001\)Annemarie Honegger and Andreas PluÈckthun\.Yet another numbering scheme for immunoglobulin variable domains: an automatic modeling and analysis tool\.*Journal of molecular biology*, 309\(3\):657–670, 2001\.
- Kyte & Doolittle \(1982\)J Kyte and RF Doolittle\.A simple method for displaying the hydropathic character of a protein\.*Journal of molecular biology*, 157\(1\):105—132, May 1982\.ISSN 0022\-2836\.doi:10\.1016/0022\-2836\(82\)90515\-0\.URL[https://doi\.org/10\.1016/0022\-2836\(82\)90515\-0](https://doi.org/10.1016/0022-2836(82)90515-0)\.
- Lin et al\. \(2022\)Zeming Lin, Halil Akin, Roshan Rao, Brian Hie, Zhongkai Zhu, Wenting Lu, Nikita Smetanin, Allan dos Santos Costa, Maryam Fazel\-Zarandi, Tom Sercu, Sal Candido, et al\.Language models of protein sequences at the scale of evolution enable accurate structure prediction\.*bioRxiv*, 2022\.
- Liu et al\. \(2026\)Xingyue Liu, Zijie Xing, Runze Wang, Luoming Hu, and Yanming Shen\.Language\-guided expertise evolution for protein optimization\.In*ICLR 2026 Workshop on AI with Recursive Self\-Improvement*, 2026\.URL[https://openreview\.net/forum?id=NeNWeyfUJj](https://openreview.net/forum?id=NeNWeyfUJj)\.
- Mann & Whitney \(1947\)Henry B Mann and Donald R Whitney\.On a test of whether one of two random variables is stochastically larger than the other\.*The annals of mathematical statistics*, pp\. 50–60, 1947\.
- Metropolis et al\. \(1953\)Nicholas Metropolis, Arianna W\. Rosenbluth, Marshall N\. Rosenbluth, Augusta H\. Teller, and Edward Teller\.Equation of State Calculations by Fast Computing Machines\.*jcp*, 21\(6\):1087–1092, June 1953\.doi:10\.1063/1\.1699114\.
- Notin et al\. \(2023\)Pascal Notin, Aaron Kollasch, Daniel Ritter, Lood Van Niekerk, Steffanie Paul, Han Spinner, Nathan Rollins, Ada Shaw, Rose Orenbuch, Ruben Weitzman, et al\.Proteingym: Large\-scale benchmarks for protein fitness prediction and design\.*Advances in neural information processing systems*, 36:64331–64379, 2023\.
- Olsen et al\. \(2022\)Tobias H\. Olsen, Fergus Boyles, and Charlotte M\. Deane\.Observed antibody space: A diverse database of cleaned, annotated, and translated unpaired and paired antibody sequences\.*Protein Science*, 31\(1\):141–146, 2022\.doi:https://doi\.org/10\.1002/pro\.4205\.URL[https://onlinelibrary\.wiley\.com/doi/abs/10\.1002/pro\.4205](https://onlinelibrary.wiley.com/doi/abs/10.1002/pro.4205)\.
- Olsen et al\. \(2024\)Tobias H\. Olsen, Iain H\. Moal, and Charlotte M\. Deane\.Addressing the antibody germline bias and its effect on language models for improved antibody design\.*Bioinformatics*, 40\(11\):btae618, 2024\.doi:10\.1093/bioinformatics/btae618\.URL[https://doi\.org/10\.1093/bioinformatics/btae618](https://doi.org/10.1093/bioinformatics/btae618)\.
- Packer et al\. \(2023\)Charles Packer, Sarah Wooders, Kevin Lin, Vivian Fang, Shishir G Patil, Ion Stoica, and Joseph E Gonzalez\.Memgpt: Towards llms as operating systems\.*arXiv preprint arXiv:2310\.08560*, 2023\.
- Roohani et al\. \(2025\)Yusuf Roohani, Andrew Lee, Qian Huang, Jian Vora, Zachary Steinhart, Kexin Huang, Alexander Marson, Percy Liang, and Jure Leskovec\.BioDiscoveryAgent: An AI agent for designing genetic perturbation experiments\.In*The Thirteenth International Conference on Learning Representations*, 2025\.URL[https://proceedings\.iclr\.cc/paper\_files/paper/2025/hash/4252dc94531833029000f85dc5fac792\-Abstract\-Conference\.html](https://proceedings.iclr.cc/paper_files/paper/2025/hash/4252dc94531833029000f85dc5fac792-Abstract-Conference.html)\.
- Shinn et al\. \(2023\)Noah Shinn, Federico Cassano, Ashwin Gopinath, Karthik R Narasimhan, and Shunyu Yao\.Reflexion: language agents with verbal reinforcement learning\.In*Thirty\-seventh Conference on Neural Information Processing Systems*, 2023\.URL[https://openreview\.net/forum?id=vAElhFcKW6](https://openreview.net/forum?id=vAElhFcKW6)\.
- Stanton et al\. \(2022\)Samuel Stanton, Wesley Maddox, Nate Gruver, Phillip Maffettone, Emily Delaney, Peyton Greenside, and Andrew Gordon Wilson\.Accelerating Bayesian optimization for biological sequence design with denoising autoencoders\.In Kamalika Chaudhuri, Stefanie Jegelka, Le Song, Csaba Szepesvari, Gang Niu, and Sivan Sabato \(eds\.\),*Proceedings of the 39th International Conference on Machine Learning*, volume 162 of*Proceedings of Machine Learning Research*, pp\. 20459–20478\. PMLR, 17–23 Jul 2022\.URL[https://proceedings\.mlr\.press/v162/stanton22a\.html](https://proceedings.mlr.press/v162/stanton22a.html)\.
- Steinegger & Söding \(2017\)Martin Steinegger and Johannes Söding\.Mmseqs2 enables sensitive protein sequence searching for the analysis of massive data sets\.*Nature biotechnology*, 35\(11\):1026–1028, 2017\.
- Suzgun et al\. \(2026\)Mirac Suzgun, Mert Yuksekgonul, Federico Bianchi, Dan Jurafsky, and James Zou\.Dynamic cheatsheet: Test\-time learning with adaptive memory\.In*Proceedings of the 19th Conference of the European Chapter of the Association for Computational Linguistics \(Volume 1: Long Papers\)*, pp\. 7080–7106\. Association for Computational Linguistics, 2026\.doi:10\.18653/v1/2026\.eacl\-long\.333\.URL[https://aclanthology\.org/2026\.eacl\-long\.333/](https://aclanthology.org/2026.eacl-long.333/)\.
- Tan et al\. \(2026\)Yang Tan, Yuanxi Yu, Can Wu, Bozitao Zhong, Mingchen Li, Guisheng Fan, Jiankang Zhu, Yafeng Liang, Nanqing Dong, and Liang Hong\.Rank\-and\-reason: Multi\-agent collaboration accelerates zero\-shot protein mutation prediction, 2026\.URL[https://arxiv\.org/abs/2602\.00197](https://arxiv.org/abs/2602.00197)\.
- Thrift et al\. \(2024\)William John Thrift, Quade Broadwell, Jason Perera, Nicolas W\. Lounsbury, Jieming Chen, and Suchit Jhunjhunwala\.Pep2vec: An interpretable model for peptide\-mhc presentation prediction and contaminant identification in ligandome datasets\.*bioRxiv*, 2024\.doi:10\.1101/2024\.10\.14\.618255\.URL[https://www\.biorxiv\.org/content/10\.1101/2024\.10\.14\.618255v1](https://www.biorxiv.org/content/10.1101/2024.10.14.618255v1)\.
- Xu et al\. \(2025\)Wujiang Xu, Zujie Liang, Kai Mei, Hang Gao, Juntao Tan, and Yongfeng Zhang\.A\-mem: Agentic memory for LLM agents\.In*The Thirty\-ninth Annual Conference on Neural Information Processing Systems*, 2025\.URL[https://openreview\.net/forum?id=FiM0M8gcct](https://openreview.net/forum?id=FiM0M8gcct)\.
- Zhang et al\. \(2026a\)Qizheng Zhang, Changran Hu, Shubhangi Upasani, Boyuan Ma, Fenglu Hong, Vamsidhar Kamanuru, Jay Rainton, Chen Wu, Mengmeng Ji, Hanchen Li, Urmish Thakker, James Y\. Zou, and Kunle Olukotun\.Agentic context engineering: Evolving contexts for self\-improving language models\.In*The Fourteenth International Conference on Learning Representations*, 2026a\.URL[https://proceedings\.iclr\.cc/paper\_files/paper/2026/hash/8a94ff6f922d995d7d3f4ebf4143e442\-Abstract\-Conference\.html](https://proceedings.iclr.cc/paper_files/paper/2026/hash/8a94ff6f922d995d7d3f4ebf4143e442-Abstract-Conference.html)\.
- Zhang et al\. \(2026b\)Yuxuan Zhang, Chengyue Gong, Jinyuan Sun, Jiaqi Guan, Milong Ren, Song Xue, Hanyu Zhang, Wenzhi Ma, Zhenyu Liu, Xinshi Chen, and Wenzhi Xiao\.Protenix\-v2: Broadening the reach of structure prediction and biomolecular design\.*bioRxiv*, 2026b\.doi:10\.64898/2026\.04\.10\.717613\.URL[https://www\.biorxiv\.org/content/early/2026/04/11/2026\.04\.10\.717613](https://www.biorxiv.org/content/early/2026/04/11/2026.04.10.717613)\.
- Zhao et al\. \(2024\)Andrew Zhao, Daniel Huang, Quentin Xu, Matthieu Lin, Yong\-Jin Liu, and Gao Huang\.Expel: Llm agents are experiential learners\.In*Proceedings of the AAAI Conference on Artificial Intelligence*, volume 38, pp\. 19632–19642, 2024\.
- Zhong et al\. \(2024\)Wanjun Zhong, Lianghong Guo, Qiqi Gao, He Ye, and Yanlin Wang\.Memorybank: Enhancing large language models with long\-term memory\.In*Proceedings of the AAAI conference on artificial intelligence*, volume 38, pp\. 19724–19731, 2024\.
## Appendix AExamples
### A\.1Example reasoning trace
Reasoning traceTurn 1\|\|Tool result \(baseline\)[⬇](data:text/plain;base64,ewogICJncmF2eSI6IC0wLjE4NTEsICJjaGFyZ2VfcGg1XzUiOiAtMC4xNTQsCiAgInNlcXVlbmNlX2xpYWJpbGl0aWVzIjogNywgImltbXVub2dlbmljaXR5IjogNS4wLAogICJlZGl0X2Rpc3RhbmNlIjogMCwgInNlcXVlbmNlX2xlbmd0aCI6IDIyOAp9)\{"gravy":\-0\.1851,"charge\_ph5\_5":\-0\.154,"sequence\_liabilities":7,"immunogenicity":5\.0,"edit\_distance":0,"sequence\_length":228\}Turn 2\|\|Assistant Baseline: GRAVY−\-0\.1851 \(need≤−0\.2\\leq\-0\.2\), charge−\-0\.154 \(need≥0\\geq 0\), liabilities 7, immunogenicity 5\.0, length 228 ✓\. Need to lower gravy slightly and raise charge at pH 5\.5\. Prioritizing charge\-raising mutations with big effects and gravy\-lowering, drawing onMEMORYinsights for IGHV3\-23: H:V13K and H:D83K give the largest charge gains \(\+\+5\.1,\+\+5\.26\), while H:M41T, H:F78S, and H:M93L are top gravy\-reducers with fully additive co\-occurrence \(epistasis\_avg==0\.0 across all tested partners\)\.[⬇](data:text/plain;base64,dG9vbF9jYWxsOiBldmFsdWF0ZV9tdXRhdGlvbnMKewogICJoZWF2eV9tdXRhdGlvbnMiOiAie1YxM0ssIEwxMkssIE00MVQsIEY3OFMsIE05M0wsIEQ4M0ssIFM3SywgRDEwME4sIFQ4OEF9IiwKICAibGlnaHRfbXV0YXRpb25zIjogInt9Igp9)tool\_call:evaluate\_mutations\{"heavy\_mutations":"\{V13K,L12K,M41T,F78S,M93L,D83K,S7K,D100N,T88A\}","light\_mutations":"\{\}"\}Turn 2\|\|Tool result[⬇](data:text/plain;base64,ewogICJncmF2eSI6IC0wLjI3NzYsICJjaGFyZ2VfcGg1XzUiOiA1Ljc3OCwKICAic2VxdWVuY2VfbGlhYmlsaXRpZXMiOiA1LCAiaW1tdW5vZ2VuaWNpdHkiOiA3LjAsCiAgImVkaXRfZGlzdGFuY2UiOiA5Cn0=)\{"gravy":\-0\.2776,"charge\_ph5\_5":5\.778,"sequence\_liabilities":5,"immunogenicity":7\.0,"edit\_distance":9\}Turn 3\|\|Assistant Gravy and charge are now in range, and liabilities dropped from 7 to 5, but immunogenicity rose from 5\.0 to 7\.0 — worse than baseline\. This contradicts theglobal insightthat “to\_K” mutations are broadly disfavored for immunogenicity \(−\-2\.66 avg globally\); apparently the four lysine substitutions \(V13K, L12K, D83K, S7K\) compound this penalty in combination even though their individual single\-mutation deltas measured 0\.0\. Trimming to fewer K mutations and testing a leaner, more additive panel\.[⬇](data:text/plain;base64,dG9vbF9jYWxsOiBldmFsdWF0ZV9tdXRhdGlvbnMKewogICJoZWF2eV9tdXRhdGlvbnMiOiAie000MVQsIEY3OFMsIEQ4M0ssIEQxMDBOfSIsCiAgImxpZ2h0X211dGF0aW9ucyI6ICJ7fSIKfQ==)tool\_call:evaluate\_mutations\{"heavy\_mutations":"\{M41T,F78S,D83K,D100N\}","light\_mutations":"\{\}"\}Turn 3\|\|Tool result[⬇](data:text/plain;base64,ewogICJncmF2eSI6IC0wLjIxNCwgImNoYXJnZV9waDVfNSI6IDIuNzc4LAogICJzZXF1ZW5jZV9saWFiaWxpdGllcyI6IDYsICJpbW11bm9nZW5pY2l0eSI6IDQuMCwKICAic2luZ2xlX211dGF0aW9ucyI6IFsKICAgIHsidG9rZW4iOiAiRDEwME4iLCAiaW1tdW5vZ2VuaWNpdHlfZGVsdGEiOiAtMS4wfSwKICAgIHsidG9rZW4iOiAiTTQxVCIsICJzZXF1ZW5jZV9saWFiaWxpdGllc19kZWx0YSI6IC0xfQogIF0KfQ==)\{"gravy":\-0\.214,"charge\_ph5\_5":2\.778,"sequence\_liabilities":6,"immunogenicity":4\.0,"single\_mutations":\[\{"token":"D100N","immunogenicity\_delta":\-1\.0\},\{"token":"M41T","sequence\_liabilities\_delta":\-1\}\]\}Turn 4\|\|Assistant This 4\-edit set improves every objective: gravy−\-0\.214 ✓, charge 2\.778 ✓, liabilities 6 \(from 7\), immunogenicity 4\.0 \(from 5\.0\)\. PerMEMORY, D100N is the only mutation with a measured−\-1\.0 direct immunogenicity effect, and it composes additively with D83K \(epistasis\_avg≈\\approx0\)\. Testing whether a light\-chain liability fix can push further without disturbing this balance — the light FR1 has a methionine \(M4\) analogous to the heavy H:M41 oxidation\-liability site the memory repeatedly flags\.[⬇](data:text/plain;base64,dG9vbF9jYWxsOiBldmFsdWF0ZV9tdXRhdGlvbnMKewogICJoZWF2eV9tdXRhdGlvbnMiOiAie000MVQsIEY3OFMsIEQ4M0ssIEQxMDBOfSIsCiAgImxpZ2h0X211dGF0aW9ucyI6ICJ7TTRMfSIKfQ==)tool\_call:evaluate\_mutations\{"heavy\_mutations":"\{M41T,F78S,D83K,D100N\}","light\_mutations":"\{M4L\}"\}Turn 4\|\|Tool result[⬇](data:text/plain;base64,ewogICJncmF2eSI6IC0wLjIwNTcsICJjaGFyZ2VfcGg1XzUiOiAyLjc3OCwKICAic2VxdWVuY2VfbGlhYmlsaXRpZXMiOiA1LCAiaW1tdW5vZ2VuaWNpdHkiOiA0LjAsCiAgInNpbmdsZV9tdXRhdGlvbnMiOiBbCiAgICB7InRva2VuIjogIk00TCIsICJjaGFpbiI6ICJMIiwgInNlcXVlbmNlX2xpYWJpbGl0aWVzX2RlbHRhIjogLTF9CiAgXQp9)\{"gravy":\-0\.2057,"charge\_ph5\_5":2\.778,"sequence\_liabilities":5,"immunogenicity":4\.0,"single\_mutations":\[\{"token":"M4L","chain":"L","sequence\_liabilities\_delta":\-1\}\]\}Turn 5\|\|Assistant The methionine\-removal analogy paid off: L:M4L drops liabilities to 5 with zero cost to gravy, charge, or immunogenicity, all pairwise epistases measuring≈\\approx0\. Final design: heavy \{M41T, F78S, D83K, D100N\}, light \{M4L\} — all four objectives improved or in range, 5 of 10 edits used\.
### A\.2Observations
Observations[⬇](data:text/plain;base64,ewogICJhcHBsaWVkX211dGF0aW9ucyI6IFsKICAgIHsiYnVsbGV0X2lkIjogIkg6TTQxTCIsICJjaGFpbiI6ICJIIiwgImdlcm1saW5lIjogIklHSFYzLTIxKjA4IiwKICAgICAiZ3JvdXBfaWQiOiAiSDo0MUwiLCAicG9zIjogNDEsICJyZWdpb24iOiAiY2RyMSIsICJ0YXJnZXQiOiAiTCIsCiAgICAgInRhcmdldF9ncm91cCI6ICJub25wb2xhciIsICJ0b2tlbiI6ICJNNDFMIiwgInd0IjogIk0iLCAid3RfZ3JvdXAiOiAibm9ucG9sYXIifSwKICAgIHsiYnVsbGV0X2lkIjogIkg6Tjc1VCIsICJjaGFpbiI6ICJIIiwgImdlcm1saW5lIjogIklHSFYzLTIxKjA4IiwKICAgICAiZ3JvdXBfaWQiOiAiSDo3NVQiLCAicG9zIjogNzUsICJyZWdpb24iOiAiY2RyMiIsICJ0YXJnZXQiOiAiVCIsCiAgICAgInRhcmdldF9ncm91cCI6ICJwb2xhciIsICJ0b2tlbiI6ICJONzVUIiwgInd0IjogIk4iL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VEFWUVdZUlFJUEdBQVBRU0xJU0UtLS0tLS0tLU5OUVJQU0dWUERSU1NHU1JTRy0tVFNBU0xESVNSTFFTTkRFQURZWUNBVFlERFMtLS0tLS0tLS0tLS0tLS0tLS0tLS1MUUdZVkZHVEdUS1ZUVkwiLAogICJyZXdhcmQiOiAwLjk4MTAzNTU5NTU3NTQ2NjQsCiAgInJvbGxvdXRfaWR4IjogMCwKICAicnVuIjogImJmYTk0ZGQ2IiwKICAic3RhcnRfc2VxIjogIi0tUUxWRVMtR0dHTFZRUEdHU0xSTFNDVkFTRy1GVEZTUC0tLS0tRkNNVFdWUlFBUEdLR0xFV0lTU0lTWUYtLURBVFlJWVlUSFNMTkdSSVRWU1JETkFRTlNMRkxFSU5TTFJBRURUQVZZWUNBUlNSR0lHLS0tLS0tLS0tLS0tLS0tLS0tLU5ZWUZETFdHUUdUTFZUVlNTfFFQVkxUUVAtUFNBU0VBUEdRR1ZSSVNDU0dHSS1TTklHVC0tLS0tVEFWUVdZUlFJUEdBQVBRTExJWUUtLS0tLS0tLU5OUVJQU0dWUERSRlNHU1JTRy0tVFNBU0xESVNSTFFTRERFQURZWUNBVFdERFMtLS0tLS0tLS0tLS0tLS0tLS0tLS1MUUdZVkZHVEdUS1ZUVkwiLAogICJ0dXJuX2lkeCI6IDAKfQ==)\{"applied\_mutations":\[\{"bullet\_id":"H:M41L","chain":"H","germline":"IGHV3\-21\*08","group\_id":"H:41L","pos":41,"region":"cdr1","target":"L","target\_group":"nonpolar","token":"M41L","wt":"M","wt\_group":"nonpolar"\},\{"bullet\_id":"H:N75T","chain":"H","germline":"IGHV3\-21\*08","group\_id":"H:75T","pos":75,"region":"cdr2","target":"T","target\_group":"polar","token":"N75T","wt":"N","wt\_group":"polar"\},\{"bullet\_id":"H:E92K","chain":"H","germline":"IGHV3\-21\*08","group\_id":"H:92K","pos":92,"region":"fr3","target":"K","target\_group":"positive","token":"E92K","wt":"E","wt\_group":"negative"\},\{"bullet\_id":"H:F31S","chain":"H","germline":"IGHV3\-21\*08","group\_id":"H:31S","pos":31,"region":"cdr1","target":"S","target\_group":"polar","token":"F31S","wt":"F","wt\_group":"aromatic"\},\{"bullet\_id":"H:L91T","chain":"H","germline":"IGHV3\-21\*08","group\_id":"H:91T","pos":91,"region":"fr3","target":"T","target\_group":"polar","token":"L91T","wt":"L","wt\_group":"nonpolar"\},\{"bullet\_id":"L:L54S","chain":"L","germline":"IGLV1\-44\*01","group\_id":"L:54S","pos":54,"region":"cdr2","target":"S","target\_group":"polar","token":"L54S","wt":"L","wt\_group":"nonpolar"\},\{"bullet\_id":"L:Y57S","chain":"L","germline":"IGLV1\-44\*01","group\_id":"L:57S","pos":57,"region":"cdr2","target":"S","target\_group":"polar","token":"Y57S","wt":"Y","wt\_group":"aromatic"\},\{"bullet\_id":"L:D99N","chain":"L","germline":"IGLV1\-44\*01","group\_id":"L:99N","pos":99,"region":"fr3","target":"N","target\_group":"polar","token":"D99N","wt":"D","wt\_group":"negative"\},\{"bullet\_id":"L:F78S","chain":"L","germline":"IGLV1\-44\*01","group\_id":"L:78S","pos":78,"region":"cdr2","target":"S","target\_group":"polar","token":"F78S","wt":"F","wt\_group":"aromatic"\},\{"bullet\_id":"L:W109Y","chain":"L","germline":"IGLV1\-44\*01","group\_id":"L:109Y","pos":109,"region":"cdr3","target":"Y","target\_group":"aromatic","token":"W109Y","wt":"W","wt\_group":"aromatic"\}\],"example\_id":1,"germline\_heavy":"IGHV3\-21\*08","germline\_light":"IGLV1\-44\*01","memory\_version":1,"n\_edits":10,"passed":1\.0,"properties":\{"charge\_ph5\_5":\{"beneficial":true,"delta":2\.884,"improvement":1\.3,"start":\-1\.3,"value":1\.584\},"gravy":\{"beneficial":true,"delta":\-0\.052,"improvement":0\.0092,"start":\-0\.1908,"value":\-0\.2428\},"immunogenicity":\{"beneficial":true,"delta":\-4\.0,"improvement":4\.0,"start":18\.0,"value":14\.0\},"sequence\_liabilities":\{"beneficial":true,"delta":\-2\.0,"improvement":2\.0,"start":7\.0,"value":5\.0\}\},"pair\_mutations\(sample\)":\[\{"token\_a":"H:M41L","token\_b":"H:N75T","immunogenicity":\{"beneficial":true,"delta":\-1\.0,"epistasis":0\.0\},"sequence\_liabilities":\{"beneficial":true,"delta":\-2\.0,"epistasis":0\.0\}\},\{"token\_a":"H:E92K","token\_b":"H:L91T","immunogenicity":\{"beneficial":true,"delta":\-1\.0,"epistasis":1\.0\},"charge\_ph5\_5":\{"beneficial":false,"delta":1\.918,"epistasis":0\.0\}\},\{"token\_a":"L:D99N","token\_b":"L:F78S","immunogenicity":\{"beneficial":true,"delta":\-1\.0,"epistasis":\-1\.0\},"gravy":\{"beneficial":true,"delta":\-0\.0158,"epistasis":0\.0\}\}\],"proposed\_seq":"\-\-QLVES\-GGGLVQPGGSLRLSCVASG\-FTSSP\-\-\-\-\-FCLTWVRQAPGKGLEWISSISYF\-\-DATYIYYTHSLTGRITVSRDNAQNSLFTKINSLRAEDTAVYYCARSRGIG\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-NYYFDLWGQGTLVTVSS\|QPVLTQP\-PSASEAPGQGVRISCSGGI\-SNIGT\-\-\-\-\-TAVQWYRQIPGAAPQSLISE\-\-\-\-\-\-\-\-NNQRPSGVPDRSSGSRSG\-\-TSASLDISRLQSNDEADYYCATYDDS\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-LQGYVFGTGTKVTVL","reward":0\.9810355955754664,"rollout\_idx":0,"run":"bfa94dd6","start\_seq":"\-\-QLVES\-GGGLVQPGGSLRLSCVASG\-FTFSP\-\-\-\-\-FCMTWVRQAPGKGLEWISSISYF\-\-DATYIYYTHSLNGRITVSRDNAQNSLFLEINSLRAEDTAVYYCARSRGIG\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-NYYFDLWGQGTLVTVSS\|QPVLTQP\-PSASEAPGQGVRISCSGGI\-SNIGT\-\-\-\-\-TAVQWYRQIPGAAPQLLIYE\-\-\-\-\-\-\-\-NNQRPSGVPDRFSGSRSG\-\-TSASLDISRLQSDDEADYYCATWDDS\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-LQGYVFGTGTKVTVL","turn\_idx":0\}
### A\.3Epistasis graph
Epistasis graph[⬇](data:text/plain;base64,ewogICJwcm9wZXJ0eSI6ICJpbW11bm9nZW5pY2l0eSIsCiAgImdlcm1saW5lX2hlYXZ5IjogIklHSFYzLTIzIiwKICAiZ2VybWxpbmVfbGlnaHQiOiAiSUdLVjMtMTUiLAoKICAibm9kZXMgKEg6Y2RyMSkiOiB7CiAgICAiSDoyNVQiOiB7CiAgICAgICJhdmciOiAtMy44MywgInN1cHBvcnQiOiA2LCAidXB2b3RlcyI6IDYsICJkb3dudm90ZXMiOiAwLAogICAgICAiZ3JvdXBfbm90ZSI6ICJIOjI1VCBsb3dlcnMgaW1tdW5vZ2VuaWNpdHkgb24gYXZlcmFnZSAoLTMuODMsIG49NikuIiwKICAgICAgImJ1bGxldHMiOiB7CiAgICAgICAgIkg6QTI1VCI6IHsKICAgICAgICAgICJhdmciOiAtMy44MywgInN1cHBvcnQiOiA2LCAic2luZ2xlX2F2ZyI6IDAuMCwKICAgICAgICAgICJpbnNpZ2h0IjogIkg6QTI1VCBsb3dlcmVkIGltbXVub2dlbmljaXR5IGJ5IC0zLjgzIG9uIGF2ZXJhZ2UgKG49NikuIgogICAgICAgIH0KICAgICAgfQogICAgfSwKICAgICJIOjQxTCI6IHsKICAgICAgImF2ZyI6IC0yLjAyLCAic3VwcG9ydCI6IDE5NCwgInVwdm90ZXMiOiAxNTgsICJkb3dudm90ZXMiOiAzNiwKICAgICAgImdyb3VwX25vdGUiOiAiSDo0MUwgbG93ZXJzIGltbXVub2dlbmljaXR5IG9uIGF2ZXJhZ2UgKC0yLjAyLCBuPTE5NCkuIiwKICAgICAgImJ1bGxldHMiOiB7CiAgICAgICAgIkg6TTQxTCI6IHsKICAgICAgICAgICJhdmciOiAtMi4wMiwgInN1cHBvcnQiOiAxOTQsICJzaW5nbGVfYXZnIjogMC4wNDMsCiAgICAgICAgICAiaW5zaWdodCI6ICJIOk00MUwgbG93ZXJlZCBpbW11bm9nZW5pY2l0eSBieSAtMi4wMiBvbiBhdmVyYWdlIChuPTE5NCkuIgogICAgICAgIH0KICAgICAgfQogICAgfSwKICAgICJIOjQzRiI6IHsKICAgICAgImF2ZyI6IDMuNTQsICJzdXBwb3J0IjogMTMsICJ1cHZvdGVzIjogMiwgImRvd252b3RlcyI6IDExLAogICAgICAiZ3JvdXBfbm90ZSI6ICJIOjQzRiByYWlzZXMgaW1tdW5vZ2VuaWNpdHkgb24gYXZlcmFnZSAoKzMuNTQsIG49MTMpLiIsCiAgICAgICJidWxsZXRzIjogewogICAgICAgICJIOlc0M0YiOiB7CiAgICAgICAgICAiYXZnIjogMy41NCwgInN1cHBvcnQiOiAxMywgInNpbmdsZV9hdmciOiAxLjI1LAogICAgICAgICAgImluc2lnaHQiOiAiSDpXNDNGIHJhaXNlZCBpbW11bm9nZW5pY2l0eSBieSArMy41NCBvbiBhdmVyYWdlIChuPTEzKS4iCiAgICAgICAgfQogICAgICB9CiAgICB9LAogICAgIkg6NDVEIjogewogICAgICAiYXZnIjogLTMuMCwgInN1cHBvcnQiOiAzLCAidXB2b3RlcyI6IDMsICJkb3dudm90ZXMiOiAwLAogICAgICAiZ3JvdXBfbm90ZSI6ICJIOjQ1RCBsb3dlcnMgaW1tdW5vZ2VuaWNpdHkgb24gYXZlcmFnZSAoLTMsIG49MykuIiwKICAgICAgImJ1bGxldHMiOiB7CiAgICAgICAgIkg6UjQ1RCI6IHsKICAgICAgICAgICJhdmciOiAtMy4wLCAic3VwcG9ydCI6IDMsICJzaW5nbGVfYXZnIjogMC4wLAogICAgICAgICAgImluc2lnaHQiOiAiSDpSNDVEIGxvd2VyZWQgaW1tdW5vZ2VuaWNpdHkgYnkgLTMgb24gYXZlcmFnZSAobj0zKS4iCiAgICAgICAgfQogICAgICB9CiAgICB9CiAgf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QsICJjb19kb3duIjogMCwKICAgICAgImVwaXN0YXNpc19hdmciOiAwLjAsCiAgICAgICJub3RlIjogIlN0cm9uZywgYWRkaXRpdmUgY3Jvc3MtY2hhaW4gZGVpbW11bml6aW5nIHBhaXIuIgogICAgfQogIH0KfQ==)\{"property":"immunogenicity","germline\_heavy":"IGHV3\-23","germline\_light":"IGKV3\-15","nodes\(H:cdr1\)":\{"H:25T":\{"avg":\-3\.83,"support":6,"upvotes":6,"downvotes":0,"group\_note":"H:25Tlowersimmunogenicityonaverage\(\-3\.83,n=6\)\.","bullets":\{"H:A25T":\{"avg":\-3\.83,"support":6,"single\_avg":0\.0,"insight":"H:A25Tloweredimmunogenicityby\-3\.83onaverage\(n=6\)\."\}\}\},"H:41L":\{"avg":\-2\.02,"support":194,"upvotes":158,"downvotes":36,"group\_note":"H:41Llowersimmunogenicityonaverage\(\-2\.02,n=194\)\.","bullets":\{"H:M41L":\{"avg":\-2\.02,"support":194,"single\_avg":0\.043,"insight":"H:M41Lloweredimmunogenicityby\-2\.02onaverage\(n=194\)\."\}\}\},"H:43F":\{"avg":3\.54,"support":13,"upvotes":2,"downvotes":11,"group\_note":"H:43Fraisesimmunogenicityonaverage\(\+3\.54,n=13\)\.","bullets":\{"H:W43F":\{"avg":3\.54,"support":13,"single\_avg":1\.25,"insight":"H:W43Fraisedimmunogenicityby\+3\.54onaverage\(n=13\)\."\}\}\},"H:45D":\{"avg":\-3\.0,"support":3,"upvotes":3,"downvotes":0,"group\_note":"H:45Dlowersimmunogenicityonaverage\(\-3,n=3\)\.","bullets":\{"H:R45D":\{"avg":\-3\.0,"support":3,"single\_avg":0\.0,"insight":"H:R45Dloweredimmunogenicityby\-3onaverage\(n=3\)\."\}\}\}\},"edges\(intra\-chain,H\-H\)":\{"H:F90K\_\_H:N87T":\{"co\_avg":\-3\.132,"co\_support":106,"co\_up":106,"co\_down":0,"epistasis\_avg":1\.009,"note":"Large\-supportpair;positiveepistasismeansthecombounderperformsthesumofsinglebenefits\."\},"H:F90K\_\_H:S88K":\{"co\_avg":\-3\.206,"co\_support":107,"co\_up":107,"co\_down":0,"epistasis\_avg":0\.617,"note":"High\-confidencepair\(n=107\),mildpositiveepistasisbutstillstronglybeneficial\."\},"H:D83K\_\_H:F90K":\{"co\_avg":\-3\.0,"co\_support":8,"co\_up":8,"co\_down":0,"epistasis\_avg":0\.0,"note":"Additivecharge\-reversal\+aromatic\-to\-Kpairing\."\},"H:I58S\_\_H:M93L":\{"co\_avg":0\.632,"co\_support":57,"co\_up":36,"co\_down":21,"epistasis\_avg":0\.316,"note":"Net\-harmfulpairwithsynergistic\(positive\)epistasis;avoidcombining\."\}\},"edges\(cross\-chain,H\-L\)":\{"H:F78S\_\_L:I92T":\{"co\_avg":\-3\.0,"co\_support":24,"co\_up":24,"co\_down":0,"epistasis\_avg":0\.0,"note":"Strongbeneficialcross\-chainpair,fullyadditive\."\},"H:D83K\_\_L:M4L":\{"co\_avg":0\.0,"co\_support":36,"co\_up":36,"co\_down":0,"epistasis\_avg":0\.0,"note":"Neutral,high\-supportcross\-chainpairing\(FR3chargereversal\+lightN\-termliabilityfix\)\."\},"H:M41T\_\_L:M4T":\{"co\_avg":0\.173,"co\_support":52,"co\_up":43,"co\_down":9,"epistasis\_avg":0\.0,"note":"Largest\-supportcross\-chainpairintheset;netmildlyharmfulbutadditive\."\},"H:R97D\_\_L:M4T":\{"co\_avg":\-3\.0,"co\_support":14,"co\_up":14,"co\_down":0,"epistasis\_avg":0\.0,"note":"Strong,additivecross\-chaindeimmunizingpair\."\}\}\}
### A\.4Rendered memory
Rendered memoryexample\_id: 98 germline\_heavy: IGHV3\-23\*01 germline\_light: IGKV1\-8\*01 props: gravy, charge\_ph5\_5, sequence\_liabilities, immunogenicity \# MEMORY Prior rollout insights\. Use them to guide mutation choices, but still verify with tools\. Node single\_avg = isolated single\-mutation effect\. Edge co\_avg = isolated pair effect \(only those two mutations\)\. epistasis\_avg = co\_avg \- \(single\_avg\_A \+ single\_avg\_B\), the deviation from additivity in the raw property: positive means co\_avg is greater than the sum of the singles, negative means less, near zero is additive\. Favorability depends on the objective direction \(raise / lower / target band\), not the raw sign of the deviation\. Section grouping reflects the objective direction;↑\\uparrow/↓\\downarrowvotes encode favorability\. \[LOCAL BENEFICIAL INSIGHTS \(sequence\_liabilities/immunogenicity\)\]Mutations whose average effect helps the objective\(avg = mean property change;↑\\uparrow/↓\\downarrow= rollouts it helped/hurt\)\.Prefer these\.•sequence\_liabilities/IGHV3\-23/H:M41T \[cdr1\]: avg−\-3\.09, n=1196,↑\\uparrow1195/↓\\downarrow1; In the IGHV3\-23 cdr1, H:M41T replaces a nonpolar methionine with polar threonine, removing a methionine oxidation liability and lowering sequence\_liabilities by−\-3\.09 on average \(n=1196\)\. CDR residues can contact antigen, so swapping hydrophobic bulk for a small polar side chain should be checked against paratope geometry\. Co\-occurrence data show purely additive behavior with H:F78S, H:M93L, H:V13K, H:L12K, and H:D83K \(all epistasis\_avg==0\.0\), so M41T can be combined freely with these liability\-reducing mutations\.•immunogenicity/IGHV3\-23/H:F78S \[cdr2\]: avg−\-1\.7, n=894,↑\\uparrow772/↓\\downarrow122; H:F78S \(cdr2\) swaps an aromatic residue for a polar one, eliminating a bulky hydrophobic side chain that likely contributes T\-cell receptor/MHC\-facing hydrophobic patches, and yields the largest immunogenicity reduction in this set \(deterministic effect−\-1\.70, n=894\)\. Because F78 sits in CDR2, verify antigen binding after the aromatic\-to\-polar swap, since removing the F side chain could perturb paratope packing\. Combinations are favorable: synergistic with H:I80T \(epistasis\_avg\+\+0\.200, co\_avg−\-0\.438 versus single\_avg−\-0\.274\) and with H:M93L \(epistasis\_avg\+\+0\.069\), while V13K, L12K, S7K, and M41T are additive \(epistasis\_avg 0\.0\), supporting F78S as a stackable core of a deimmunization design\. …\[LOCAL INCREASING INSIGHTS \(charge\_ph5\_5\)\] Mutations that raise the property on average \(avg = mean change;↑\\uparrow/↓\\downarrow= times it helped/hurt reaching the target band — e\.g\. if already in/above the band, raising it usually hurts\)\. Use when you need it higher\.•charge\_ph5\_5/IGHV3\-23/H:D83K \[fr3\]: avg\+\+5\.26, n=698,↑\\uparrow697/↓\\downarrow1; H:D83K in fr3 reverses a negative Asp to a positive Lys, removing a−\-1 group and adding a\+\+1 group at pH 5\.5, making it the strongest and cleanest charge lever here \(\+\+5\.26, n=698, just 1 downvote\)\. Its pair with H:D109K in cdr3 is additive — co\_avg==3\.93 versus D109K single\_avg==1\.97, epistasis\_avg==\+\+0\.0002 — and other pairs \(H:M114L, H:V89T, H:N111S, H:M113L, H:M41L\) all show epistasis\_avg==0\.0, so Asp\-to\-Lys reversals stack without antagonism\. Favor D\-to\-K reversals for fr3 charge engineering, but check that the eliminated acidic side chain does not participate in a needed salt bridge before committing\.•charge\_ph5\_5/IGHV3\-23/H:V13K \[fr1\]: avg\+\+5\.1, n=764,↑\\uparrow761/↓\\downarrow3; H:V13K in fr1 replaces a nonpolar Val with a positively charged Lys, which is directly protonated at pH 5\.5 and delivers the largest charge\_ph5\_5 gain in this set \(\+\+5\.1, n=764, only 3 downvotes\) — a mechanistically consistent direct\-charge mechanism\. Pairing with H:D100A in fr3 is additive: co\_avg==1\.97 versus D100A’s single\_avg==0\.97, epistasis\_avg≈\\approx0, and all other neighbors also show epistasis\_avg==0\.0\. Use V13K as a first\-line fr1 lever for raising acidic\-pH charge, stacking it with other charge mutations without expecting antagonism\. …\[LOCAL DECREASING INSIGHTS \(gravy\)\] Mutations that lower the property on average \(↑\\uparrow/↓\\downarrow= times it helped/hurt reaching the target band — e\.g\. if already in/below the band, lowering it usually hurts\)\. Use when you need it lower\.•gravy/IGHV3\-23/H:L91K \[fr3\]: avg−\-0\.133, n=273,↑\\uparrow272/↓\\downarrow1; H:L91K in fr3 substitutes the nonpolar leucine with a positively charged lysine, reliably lowering hydrophobicity \(single\_avg−\-0\.133, n=273, 272 upvotes\), making it a strong lever for reducing overall GRAVY when the framework can tolerate added positive charge\. All six measured pairings are essentially additive \(epistasis\_avg within±\\pm4e−\-5\), e\.g\. with H:M41T in cdr1 \(epistasis\+\+1\.7e−\-5\) and H:D83K in fr3 \(−\-4\.1e−\-5\), so its effect should transfer predictably into multi\-mutation designs\.•gravy/IGHV3\-23/H:M41T \[cdr1\]: avg−\-0\.102, n=1196,↑\\uparrow1181/↓\\downarrow15; H:M41T \(cdr1\) replaces a nonpolar methionine with polar threonine, lowering gravy by−\-0\.102 on average \(n=1196\) — a strong shift toward surface hydrophilicity that typically aids solubility when CDR1 is solvent\-exposed, but may hurt if M41 packs against a hydrophobic binding interface\. The effect is essentially additive with co\-mutations: epistasis with H:F78S is−\-7\.6e−\-06, with H:I80T 2\.1e−\-05, and with H:V13K−\-1\.2e−\-05, so no pair\-level risk of antagonism\. …\[GLOBAL BENEFICIAL INSIGHTS \(sequence\_liabilities/immunogenicity\)\]Mutations whose average effect helps the objective \(avg = mean property change;↑\\uparrow/↓\\downarrow= rollouts it helped/hurt\)\. Prefer these\.•global/sequence\_liabilities/to\_K: Substituting to K has a helpful average effect on sequence liabilities \(−\-2\.85\), with 6244 of 6272 aggregated observations agreeing on help\. Because this rule aggregates across all germlines with strongly consistent votes, it is likely generalizable rather than germline\-specific\. Apply this rule broadly as a default avoid\-mutation for sequence liabilities, and defer to a germline\-specific local insight only if that germline’s local data contradict the global direction\.•global/immunogenicity/to\_T: Substituting to T has a helpful average effect on immunogenicity \(−\-3\.31\), with 2247 of 2456 aggregated observations voting helpful\. The large negative average and consistent votes across all germlines indicate a generalizable, germline\-independent penalty, and it is the largest immunogenicity help among these targets\. Apply this rule broadly by default; defer only when a germline\-specific local insight shows the opposite trend in that germline\. …\[GLOBAL INCREASING INSIGHTS \(charge\_ph5\_5\)\]Mutations that raise the property on average \(avg = mean change;↑\\uparrow/↓\\downarrow= times it helped/hurt reaching the target band\)\. Use when you need it higher\.•global/charge\_ph5\_5/to\_K: Mutation to lysine raises charge at pH 5\.5 strongly and consistently, averaging\+\+5\.81 across 6272 observations with a∼\\sim99\.5% upvote rate, consistent with lysine’s protonation and positive charge at acidic pH\. This effect reflects the direct physicochemical consequence of adding a protonatable amine, so it is expected to generalize across germlines with little germline\-specific variance\. Apply this rule broadly whenever the goal is increasing charge at pH 5\.5\. …\[GLOBAL DECREASING INSIGHTS \(gravy/charge\_ph5\_5\)\]Mutations that lower the property on average \(↑\\uparrow/↓\\downarrow= times it helped/hurt reaching the target band\)\. Use when you need it lower\.•global/gravy/to\_K: Mutating to K lowers GRAVY \(hydropathy\) by∼−\\sim\-0\.135 on average, a harmful shift for hydrophobicity with 6272 observations and 99% agreement\. The huge support base makes this direction highly generalizable across germlines, since K’s charged side chain consistently reduces hydropathy regardless of framework context\. Apply this rule broadly as a default expectation; defer to germline\-specific insights mainly when magnitude, not direction, matters\.•global/charge\_ph5\_5/to\_D: Mutating to D reduces charge at pH 5\.5 by an average of−\-1\.13, a large negative charge shift\. The effect is nearly universal: 389 of 398 instances \(98%\) agree, with only 9 counterexamples, reflecting the consistent electrostatic consequence of introducing an acidic residue\. Treat this as a broadly applicable rule across germlines; deviate only when a local insight documents an exception\. …
## Appendix BExperimental details
### B\.1Details of optimized properties
We provide the details of the optimized properties, including the oracle and the description of their significance in[TableA1](https://arxiv.org/html/2610.41245#A2.T1)\.
Table A1:Optimized properties\.Six antibody properties the agent optimizes, the oracle or function measuring each, and why each are significant\.
### B\.2Details of in silico binding optimization dataset
We provide the details of in silico binding optimization dataset in[TableA2](https://arxiv.org/html/2610.41245#A2.T2)\.Notably, an example is identified by a complex identifier of the form\{index\}\_\{pdb\}\_\{antibody chains\}\_\{antigen chain\}, so two entries from the same PDB with different chain combinations are two distinct examples\.
Table A2:Details of the in silico binding optimization dataset\.Antibodies were clustered by CDR sequence identity\. Each antibody’s Heavy and Light chain CDR loops are concatenated into one string\. Mmseqs2\([Steinegger & Söding, 2017](https://arxiv.org/html/2610.41245#bib.bib24)\)is run with a 70% sequence identity cutoff\.
### B\.3Details of global insight construction
Global insights capture mutation trends that are shared across germlines in addition to the context\-specific insights retrieved by exact matching\. In detail, we aggregate observations for each property by their mutation target, such asto K, and record the mean property effect, number of observations, and directional votes\. These insights are stored separately from the exact\-match insights and are included in the memory prompt together with the retrieved local insights\. Global insights provide broader evidence when a mutation trend transfers across biological contexts\. Notably, they complement rather than replace the context\-specific insights defined by the antibody\-grounded identifier\.
### B\.4Prompts
Shared prompt for multi property and in silico antibody binding optimizationYour task is to optimize an antibody Fv by proposing AHO\-coordinate mutations to its heavy and light variable domains, while staying within a maximum number of de\-gapped sequence edits from the starting molecule\.TURN BUDGETYou have \{max\_turns\} turns total\. Each turn is either a mutation\-set proposal OR a tool call — both count toward the limit\. A mutation\-set proposal does NOT end the episode\. After every proposal, you must call evaluate\_mutations in a separate message to evaluate it, then use the measured properties to propose an improved mutation set\. Propose a different mutation set on every non\-tool\-call turn\.COORDINATESPositions use AHO \(Honegger\-Plueckthun\) antibody numbering: a fixed coordinate system in which a given column maps to the same structural site across antibodies\. A position means the canonical AHO column, not the raw de\-gapped offset\. A ”\-” is a canonical AHO position that is absent in this antibody\.Count columns INCLUDING the ”\-” gaps in the displayed sequence — every ”\-” still consumes a column number\. To place a token, read the residue printed at that column in the chain shown below and use it as the token’s first letter; if that letter is not what you intended to edit, your column index is wrong \(you have almost certainly counted the de\-gapped offset instead of the AHO column\)\. Example: for ”…G A \- S G…” at columns ”…24 25 26 27 28…”, the S sits at column 27, so editing it is S27X — not S26X, because the gap at column 26 still counts\.OUTPUT FORMATEach proposal must contain all three tag blocks:<\|reasoning\_summary\_start\|\>\[Your reasoning: what mutations you made, why, how you expect the target property to change\]<\|reasoning\_summary\_end\|\><\|mutation\_answer\_heavy\_start\|\>\{A27D, G31S, T58A\}<\|mutation\_answer\_heavy\_end\|\><\|mutation\_answer\_light\_start\|\>\{S27T, Y50F\}<\|mutation\_answer\_light\_end\|\>Mutation token syntax on AHO columns: \- A27D changes AHO column 27 from A to D \(a substitution — the common case\)\. \- \-50G fills an absent AHO column 50 with G \(insertion\)\. \- A95\- empties AHO column 95, deleting that residue from the de\-gapped sequence\. \- \{\} makes no change\. Most edits are simple substitutions; reach for the gap operations only when an insertion or deletion is actually needed\.Before proposing edits, call get\_antibody\_residue\_index\(heavy\_reference, light\_reference\) once\. Use the returned \{wt\}\{pos\} prefixes verbatim and append only your target residue \(‘A27‘ \-\>‘A27D‘\) so your wildtype letter and AHO column are always correct\.Positions never renumber because AHO chain length is fixed\. Your edit budget is max\_edits de\-gapped edits across both chains combined: residue\-to\-residue substitutions count as 1, residue\-to\-gap counts as 1, and gap\-to\-residue counts as 1\. Gap\-to\-gap changes do nothing and should not be proposed\.VALID MUTATION RULES1\. Match the wild\-type letter\. The first character of every token MUST be the residue currently at that AHO column in the chain shown below, using ”\-” if the column is a gap\. A mismatch is skipped\. 2\. Stay in range\. Heavy positions must be between 1 and \{heavy\_aho\_length\}; light positions must be between 1 and \{light\_aho\_length\}\. Out\-of\-range tokens are skipped\. 3\. No duplicates\. Do not target the same AHO column twice within one chain; duplicate\-position tokens are skipped\. evaluate\_mutations reports any mutation it had to skip and why, such as expected V at column 27\. When you see this, re\-read the displayed chain at that exact column, set your token’s first letter to the residue printed there, and resubmit — do not keep the rejected token\. A skipped mutation is one that simply did not happen\. When a separate MEMORY message is present, it contains prior rollout insights for related germlines and objectives; use it to prioritize mutations, but still verify every proposal with evaluate\_mutations\. To evaluate a mutation set, first propose it in one message, then call evaluate\_mutations in a separate message, passing your mutation set and the original starting chains as heavy\_reference and light\_reference\. It returns both the reconstructed sequence and its properties\.ITERATION RULEFor range objectives, keep proposing and evaluating until the target value is inside the requested range and all constraints hold, or until you exhaust the turn budget\. For maximize/minimize objectives, keep improving and evaluating until the turn budget is exhausted\.AVAILABLE PROPERTIES\{available\_properties\}REQUIREMENTS1\. Mutation\-set proposals and tool calls must be in separate messages\. 2\. Your FIRST message must be a tool\-call message that calls get\_antibody\_residue\_index and measures the starting Fv baseline\. 3\. The reasoning summary must be substantive\. 4\. The heavy and light mutation answer tags must contain ONLY edit sets — no labels\. 5\. Your LAST message must include both heavy and light mutation answer tags\. GOAL Given the antibody Fv AHO\-numbered heavy and light chains below, propose designs within \{max\_edits\} combined de\-gapped edits that \{objective\_text\}\. SEQUENCE REGION MAP Heavy chain \(AHO\-numbered, \{heavy\_aho\_length\} columns\): Full Fv: \{heavy\_aho\_sequence\} FR1: \{h\_fr1\} CDR1: \{h\_cdr1\} FR2: \{h\_fr2\} CDR2: \{h\_cdr2\} FR3: \{h\_fr3\} CDR3: \{h\_cdr3\} FR4: \{h\_fr4\} Germline: \{h\_v\_gene\} / \{h\_j\_gene\} \(\{h\_species\}\) Light chain \(AHO\-numbered, \{light\_aho\_length\} columns\): Full Fv: \{light\_aho\_sequence\} FR1: \{l\_fr1\} CDR1: \{l\_cdr1\} FR2: \{l\_fr2\} CDR2: \{l\_cdr2\} FR3: \{l\_fr3\} CDR3: \{l\_cdr3\} FR4: \{l\_fr4\} Germline: \{l\_v\_gene\} / \{l\_j\_gene\} \(\{l\_species\}\) Objective: \{objective\_detail\}Constraints: \{constraints\_text\} WORKFLOW1\. In the first tool\-call message, call get\_antibody\_residue\_index on the starting AHO chains and call evaluate\_mutations with \{\} for heavy\_mutations and \{\} for light\_mutations to measure the baseline\. 2\. Identify heavy and/or light AHO\-column substitutions likely to move the target property\. 3\. Propose heavy and light mutation sets in a separate message\. 4\. Call evaluate\_mutations on your heavy and light mutation sets plus the starting AHO chains to evaluate them\. 5\. Iterate — evaluate every proposal, then propose an improved mutation set\. For range objectives, stop early only after the value is in range and constraints hold\. For maximize/minimize objectives, keep improving until you run out of turns\. 6\. Your last message must contain both mutation answer tag blocks with your best edit sets\.
#### Property optimization\.
The task prompt is combined with the shared prompt\.
Task prompt for in silico antibody binding optimizationYour task is to improve the properties of an antibody Fab by editing only Fv, while staying within a maximum number of de\-gapped sequence edits from the starting molecule\. Properties are computed on the de\-gapped Fv\. Charge, GRAVY, liability, immunogenicity, edit\_distance, and sequence\_length use de\-gapped heavy plus de\-gapped light\. AbLang2 naturalness is the mean of the separate de\-gapped heavy\-chain and light\-chain scores\. SCORINGThe objective properties are:\{property\_description\}
#### In silico antibody binding optimization\.
The task prompt is combined with the shared prompt\.
Task prompt for in silico antibody binding optimizationYour task is to improve binding of an antibody Fab to its target protein by editing only heavy\-chain CDR\-H3, while staying within a maximum number of de\-gapped sequence edits from the starting molecule\. SCORINGThe two objective properties are: \- pTM: Protenix global fold confidence \(0–1\)\. \- abag\_ipTM: antibody \- antigen interface confidence \(0–1\), the primary binding signal\.
#### Curator\.
The insight curator gets the retrieved subgraph as input and generates the natural language insight\.
Prompt for insight curatorYou curate antibody\-optimization memory insights for mutations within one germline\. Return a JSON list with one object per input item, each containing exactly the string fields id and insight\. Each insight must be 2\-3 tightly written sentences covering the mechanism, when the mutation helps or hurts, and actionable guidance\. The insight must add mechanistic, region\-aware reasoning \(framework vs CDR, biophysical rationale for the property\) and actionable mutation guidance\. Stay grounded in the supplied evidence\. The region field, when present, is the authoritative AHo region \(e\.g\. fr1, fr2, cdr2\) for this position; state it verbatim and never infer the region from the position number\. When amino\_acid\_groups is present, use the original\-to\-mutated residue R\-group change for biophysical rationale\. The item has two effect fields: single\_avg is the isolated single\-mutation effect \(only this mutation applied\); avg is the mean full\-design effect when this mutation appeared alongside others \(confounded\)\. Prefer single\_avg for mechanistic claims\. The item may include co\_occurrence: each neighbor entry has single\_avg \(neighbor’s isolated effect\), co\_avg \(true isolated pair effect — only these two mutations applied\), and epistasis\_avg \(= co\_avg \- this single\_avg\- neighbor single\_avg\), the deviation from additivity in the raw property: positive means co\_avg is greater than the sum of the singles, negative means less, near zero is additive\. In your insight, when co\_occurrence is present: cite the neighbor token, give the numeric epistasis\_avg and its sign, and say whether it is favorable given the objective direction: positive for maximize, negative for minimize; for range, judge movement toward the target band\. If the objective or target\-band evidence is unavailable, describe only the deviation\. Make combination claims ONLY from co\_occurrence; omit if absent\.
### B\.5Hyperparameters
Table A3:Hyperparameters used in all experiments\.TaskHyperparameterValueMultiple propertyRollouts per example10Number of examples100Maximum turns per rollout15In silico bindingRollouts per example30Number of examples\# complexes per clusterMaximum turns per rollout10BothLocal memory top\-kk60Global memory top\-kk30\# of NeighborsNN6
For in silico antibody binding optimization, the number of examples per cluster is determined by the number of antigen–antibody complexes available in each cluster, as shown in[TableA2](https://arxiv.org/html/2610.41245#A2.T2)\.
## Appendix CAdditional experimental results
### C\.1Cumulative performance progression without a rolling average
Figure 7:Cumulative performance progression without a rolling average\.Vertical lines mark memory updates, where the rollouts between two lines are generated concurrently under the same memory\. Each point is the mean improvement over all rollouts sharing a memory step, and error bars indicate the standard error across those rollouts\.The rolling average in[Figure6](https://arxiv.org/html/2610.41245#S3.F6)smooths the rollouts within each memory step, which can obscure the value of an individual step\. To remove this smoothing, we report the mean improvement of every rollout sharing a memory step as a single point in[Figure7](https://arxiv.org/html/2610.41245#A3.F7), with error bars indicating the standard error across those rollouts\. We observe the same trend as in[Figure6](https://arxiv.org/html/2610.41245#S3.F6), whereMemIGimproves over successive memory steps while the vanilla LLM does not, which confirms that the progression is not an artifact of the smoothing\.
### C\.2Same oracle call analysis
Table A4:Comparison under the same oracle calls\.Boldhighlights the best score in a cluster and \* denotes additional decomposition oracle call mode\.We compareMemIGagainst the memory baselines under a matched oracle budget, since the decomposition ofMemIGconsumes additional oracle calls\. Here, single\-mutation and pairwise decomposition is an epistasis graph component ofMemIGrather than a shared experimental setting, since ACE\([Zhang et al\., 2026a](https://arxiv.org/html/2610.41245#bib.bib29)\)and DC\-Cu\([Suzgun et al\., 2026](https://arxiv.org/html/2610.41245#bib.bib25)\)accumulate experience from the trajectories an agent produces\. Therefore, modifying them is not required for a fair comparison, as the decomposition is part of what we propose rather than an advantage granted by the setup\. Nevertheless, we report a setting in which ACE and DC\-Cu receive the same decomposed measurements, which removes any difference in the oracle call budget between the methods\.
We provide the results in[TableA4](https://arxiv.org/html/2610.41245#A3.T4)under GLM\-5\.3\-flash backbone\. We observe thatMemIGattains the highest pass@1 and pass@3 on all three clusters even when the baselines share the same oracle calls, which shows that the gain comes from how the measurements are stored rather than from access to them\. Here, ACE attains a higher average improvement on one cluster while satisfying the constraints less often, which is consistent with the observation that improvement is averaged over all designs regardless of whether they satisfy the constraint\.
### C\.3Cost analysis
Table A5:Token cost analysis\.Average token consumption per rollout\. Input and output tokens are reported in thousands\. Tokens per pass include tokens consumed by unsuccessful rollouts\.Table A6:Oracle evaluation cost\.Average number of oracle evaluations per rollout\. Single and pair evaluations are additional evaluations used byMemIGto construct the epistasis graph\.We report the computational cost of GLM\-5\.3\-Flash on the in silico antibody binding optimization task \(cluster 193\)\. As shown in[TableA5](https://arxiv.org/html/2610.41245#A3.T5),MemIGuses more input tokens because the retrieved memory is injected before each rollout, while achieving the highest Pass@1 and the lowest token cost per successful rollout\. While the absolute token usage is highest, the token cost per successful rollout reduces to 1\.436M, compared with\>\>4M for all baselines\.
[TableA6](https://arxiv.org/html/2610.41245#A3.T6)reports the mean number of unique oracle inputs per rollout\. The additional single\- and pair\-mutation inputs introduced byMemIG’s epistasis decomposition increase this for\(n2\)\+n\\binom\{n\}\{2\}\+nwhere n denotes the number of proposed mutations\. This increase is by design, asMemIGexplicitly evaluates isolated mutations and pairs to measure epistasis, and these additional evaluations remain practical in our in silico setting because the computational oracles are easily re\-runnable without experimental measurements\. Moreover, the decomposition budget is a tunable knob rather than a structural requirement\. For example, pairs can be subsampled instead of exhaustively decomposed, so the design does not depend on oracles being free\.
### C\.4Detailed results
#### Multi property optimization\.
We provide the detailed results for[Section3\.1](https://arxiv.org/html/2610.41245#S3.SS1)\.
Table A7:Multiple property optimization\.Tealindicates improvement over all baselines andboldindicates the best results\.PassImprovementBackboneModel@1@3Avg\.ChargeGRAVYImmu\.Liab\.Random0\.0030\.009\-0\.419\-0\.0710\.000\-1\.243\-0\.363MCMC0\.0040\.012\-0\.0430\.3080\.008\-0\.465\-0\.115Haiku\-4\.5Vanilla0\.0770\.2120\.4311\.2230\.004\-0\.0370\.535Obs\.0\.0730\.1680\.4771\.2250\.0190\.1670\.499DC\-Cu0\.1880\.4230\.6021\.2400\.0400\.4310\.696ACE0\.0360\.0940\.3901\.2550\.0320\.1970\.078MemIG\(Ours\)0\.2210\.3730\.7181\.2460\.0391\.0360\.551GLM\-5\.3\-FlashVanilla0\.4240\.6991\.3271\.2730\.0440\.2873\.708Obs\.0\.4610\.7171\.3441\.2560\.0440\.5603\.515DC\-Cu0\.4090\.7071\.6211\.2620\.044\-0\.1655\.343ACE0\.3950\.6501\.5771\.2700\.044\-0\.0495\.043MemIG\(Ours\)0\.7610\.8471\.7541\.2790\.0452\.2763\.416
#### In silico antibody binding optimization\.
We provide the detailed results for[Section3\.2](https://arxiv.org/html/2610.41245#S3.SS2)\.
Table A8:In silico antibody binindg optimization\.Boldindicates the best per column across all methods andtealindicates improvement over all non\-structural methods within the same backbone\. \* indicates structural baselines included as reference\.相似文章
EvolveMem: 通过AutoResearch实现LLM智能体的自演化记忆架构
EvolveMem为LLM智能体引入了一种自演化记忆架构,通过LLM驱动的诊断和迭代研究周期来优化检索配置,在LoCoMo和MemBench等基准测试上取得了显著的性能提升。
SelfMem: 面向AI智能体的自优化记忆框架
SelfMem提出了一种面向AI智能体的自优化记忆框架,使其能够通过记忆工具和反馈信号探索、评估和优化自身的记忆策略,在BEAM基准测试上,于大型对话规模下相较于基线方法取得了显著改进。
通过参数化记忆扩展自进化智能体
来自阿里巴巴/Qwen和北京大学的研究人员提出了TMEM——一种自进化参数化记忆框架。该框架利用在线LoRA权重更新,使LLM智能体能够在单个回合内真正从经验中学习,而非仅依赖提示空间中的记忆。TMEM在多个基准测试(包括LoCoMo、LongMemEval-S和CL-Bench)上均优于基于摘要和基于检索的基线方法。
MemGym:面向LLM智能体的长时记忆环境
MemGym是一个基准测试,用于评估LLM智能体在长时任务中的记忆形成,它统一了现有的智能体gym和合成流水线,并采用记忆隔离得分。它涵盖工具使用对话、多轮搜索、编码和计算机使用,并包含一个轻量级奖励模型(MemRM)以实现高效评估。
H-Mem:一种通过混合结构实现智能体记忆演化与检索的新型记忆机制
H-Mem是一种面向基于LLM的智能体的新型记忆机制,采用时间-语义树与知识图谱相结合的混合结构,以建模记忆演化并提升检索性能,在问答基准上实现了最先进水平。