General-purpose language models are neurosymbolic reasoners able to annotate proteins from sequence
Organizations: Environmental Genomics and Systems Biology Division, Lawrence Berkeley National Laboratory, Berkeley, CA 94720, USA
Abstract
Determining the function of genes across the tree of life is one of the major challenges in biology. Generative AI approaches to this problem generally fall into two categories: language models trained on biological sequences that are able to predict structure and function from signals in those sequences; and generalist language models trained on text, that are able to reason about biological function symbolically. A default operating assumption is that protein language models do not perform well on symbolic tasks, and that generalist language models do not perform well on sequence tasks. However, a recent report showed that frontier generalist models perform surprisingly well on next-residue prediction tasks. We set out to explore whether these capabilities extended to protein annotation. We assigned different frontier generalist models a variety of protein annotation tasks, including predicting the presence and coordinates of Pfam domains, loss of functional catalytic residues, and predicting structure and activity. On all annotation tasks, the frontier models performed well above chance; we did not benchmark them against specialised tools. The models also make characteristic hallucination errors, and they state them as confidently as their correct calls. Though untested against specialised methods, the nascent ability of frontier models to perform protein annotation from sequence alone is intriguing. The ability to reason over sequence, structure, and symbols in a single model allows for a neurosymbolic approach where a combination of sequence, experimental data and knowledge from the literature can be holistically combined to improve on de novo functional annotation of the protein universe. Prompts, test sets, model outputs and code: https://github.com/ai4curation/fable-sequence-to-function. Summary of results: https://ai4curation.io/fable-sequence-to-function/
Figures & tables
| Route | What it excludes | Runs |
|---|---|---|
| Claude command-line tool, original flags (18 November) | Built-in tools off, empty system prompt. Extra context or connector tools in a call cannot be ruled out. | Fable 5.2 and Opus 5.5: all four tests. Opus 4.6: all four tests at low effort. |
| Claude command-line tool, revised flags (19 November) | As above, and user settings and connector tools are kept out of the call. | Opus 4.6 at high effort ( pseudo , feat , strfn ). Decoy control, with a repeat of the pseudo wild types and mutants. Eight Opus 5.5 nr questions left unasked by the first run. |
| Vertex AI API (19 November) | Request body carries no tools and no system instruction. | Gemini 4 Neon: all four tests. |
| Model | Provider | pseudo | feat | strfn | nr |
|---|---|---|---|---|---|
| Claude Fable 5.2 | Anthropic | high | high | high | low, high |
| Claude Opus 5.5 | Anthropic | high | high | high | low, high |
| Claude Opus 4.6 | Anthropic | low, high | low, high | low, high | low |
| Gemini 4 Neon | low | low | medium | low |
| Mutant class | Fable 5.2 | Opus 5.5 | Opus 4.6 | Neon |
|---|---|---|---|---|
| Kinase Asp Asn | 20 | 19 | 18 | 20 |
| Kinase Lys Met | 20 | 13 | 1 | 16 |
| Other enzyme site Ala | 17 | 15 | 2 | 11 |
| Model (effort) | Wild type | Catalytic-site mutant | Decoy |
|---|---|---|---|
| Fable 5.2 (high) | 38/38 | 3/58 | 58/58 |
| Opus 5.5 (high) | 37/38 | 8/58 | 58/58 |
| Opus 4.6 (low) | 34/38 | 45/58 | 50/58 |
| Fable 5.2 | Opus 5.5 | Opus 4.6 | Neon | |
|---|---|---|---|---|
| Sampled proteins: correct Pfam family | 39/45 | 35/45 | 7/45 | 20/45 |
| Obscure DUFs: correct Pfam family | 8/15 | 3/15 | 0/15 | 0/15 |
| Predicted domains: right accession | 62/70 | 45/51 | 9/40 | 23/28 |
| Boundary overlap (IoU) | 0.86 | 0.86 | 0.64 | 0.80 |
| Transmembrane helices recovered | 74/74 | 74/74 | 67/74 | 74/74 |
| Signal peptide, true / false positives | 9 / 0 | 9 / 0 | 9 / 4 | 9 / 0 |
| Unmatched | Matched | ||||
|---|---|---|---|---|---|
| Model | Effort | Q3 | Contacts | Q3 | Contacts |
| Claude Fable 5.2 | high | 76.3 | 36.6 | 81.8 | 48.3 |
| Claude Opus 5.5 | high | 73.4 | 19.0 | 78.3 | 31.4 |
| Gemini 4 Neon | medium | 69.0 | 28.4 | 78.6 | 48.0 |
| Claude Opus 4.6 | high | 53.9 | 8.1 | 57.8 | 9.7 |
| Claude Opus 4.6 | low | 48.1 | 4.1 | 45.1 | 4.0 |
| Fable 5.2 | Opus 5.5 | Gemini 4 Neon | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| PDB | Protein | Base | Q3 | Cont. | Fn | Q3 | Cont. | Fn | Q3 | Cont. | Fn |
| 37QB | Ketopantoate reductase PanG | 63 | 84 | 12/15 | P | 81 | 12/20 | P | 77 | 9/20 | W |
| 9TGX | Guanidine prenyltransferase NosH | 86 | 82 | 0/19 | W | 84 | 0/7 | A | 76 | 0/20 | A |
| 9YP0 | Designed cysteine protease | 43 | 79 | 0/20 | W | 76 | 0/16 | W | 72 | 0/20 | A/W |
| 10ZI | Regulator MrtR | 65 | 79 | 5/20 | P | 76 | 4/20 | C | 79 | 9/20 | C |
| 23AA | Anti-CRISPR AcrIIA17 | 58 | 78 | 2/19 | A | 73 | 1/19 | A | 72 | 0/20 | A |
| Model | Effort | Real | Shuffled | Reversed | Gap (95% interval) |
|---|---|---|---|---|---|
| Fable 5.2 | low | 25.0% | 7.4% | 8.8% | ( to ) |
| Fable 5.2 | high | 41.2% | 11.8% | – | ( to ) |
| Opus 5.5 | low | 16.9% | 9.6% | 12.5% | ( to ) |
| Opus 5.5 | high | 19.1% | 7.4% | – | ( to ) |
| Opus 4.6 | low | 5.1% | 7.4% | 5.9% | ( to ) |
| Gemini 4 Neon | low | 8.8% | 10.4% | – | ( to ) |
| Model | pseudo | feat | strfn | nr |
|---|---|---|---|---|
| Gemini 4 Neon | 2,474 | 1,049 | 17,881.5 | 634 |
| Claude Fable 5.2 | 2,548 | 703.5 | 3,009 | 164 |
| Claude Opus 5.5 | 1,275.5 | 418 | 1,342 | 0 |
| Claude Opus 4.6 | 19,921 | 14,189.5 | 42,987 | 0 |
LLM-Assisted Annotation
Large language model-assisted annotation uses AI to label, classify, and structure data, often with human review to improve scale and consistency.
See all 221 papers