nkwang-goodfire's picture
Update README.md
10541d9 verified
|
Raw History Blame Contribute Delete
7.35 kB
metadata
license: cc-by-4.0
pretty_name: BioReason-Pro 2 Hypothesis Atlas
task_categories:
  - text-generation
tags:
  - biology
  - protein
  - protein-function
  - gene-ontology
  - reasoning
  - synthetic
size_categories:
  - 10M<n<100M
configs:
  - config_name: default
    data_files:
      - split: train
        path: data/*.parquet

BioReason-Pro 2 Hypothesis Atlas

33,533,750 protein-function reasoning traces generated by the two released BioReason-Pro 2 models over 300,345 proteins. Every protein has, from each model, one greedy and 24 sampled generations for its prompt without InterPro features, and the same again with InterPro features whenever that changes the prompt. The 40,672 human proteins have 48 samples per prompt, and 10,518 proteins have more from earlier case studies.

Code: github.com/NVIDIA-BioNeMo/BioReason-Pro-2

statistic value
proteins 300,345
generations 33,533,750
BioReason-Pro-2-9B-SFT 16,837,959
BioReason-Pro-2-9B-RL 16,695,791
size 61.1 GB

Models

model description
BioReason-Pro-2-9B-SFT Qwen3.5-9B fine-tuned on 272,688 reasoning traces
BioReason-Pro-2-9B-RL the SFT model after GRPO with an LLM-judge reward

What a generation is

The model reads one protein through:

  • its ESM3 protein embedding (esm3_sm_open_v1, layer 37), conditioned on the AlphaFold structure when one is used;
  • the GO graph embeddings;
  • the prompt text: the organism, GO-GPT predictions, the protein's interaction partners and, when shown, its InterPro features.

It writes its reasoning inside <think>...</think>, then an answer with a summary, InterPro entries, confident and speculated GO terms, and hypothesized interaction partners.

Proteins

From wanglab/bioreason-pro-v2 (revision 7532dcc8): every protein of the BioReason-Pro 2 training, validation and test sets, and further proteins of that dataset whose sequence none of those carries. A protein without a sequence or without GO-GPT predictions is left out. split gives each protein's place in the models' training:

split proteins trained on
sft_train 267,234 by the SFT model, and so by the RL model, which starts from it
rl_train 2,905 by the RL model only: SFT validation proteins with tier-1 GO labels
validation 2,549 by neither: the rest of SFT validation, which has no tier-1 GO labels
test 6,112 by neither: the benchmark test set
extra 21,545 by neither: further proteins of the dataset

Generations for proteins a model was trained on partly reflect what it was trained on.

Generation settings

setting value
greedy temperature 0
samples temperature 1.0, top_p 0.95
length up to 8,000 new tokens in a 16,384-token window; an output that reached 8,000 was generated again with up to 16,000
protein first 2,000 residues
stop <|im_end|>, not included in the output
GO-GPT epoch-75 predictions, as the models were trained with
interaction partners shown whenever the protein has them
engine vLLM 0.27.1, bfloat16, NVIDIA H100

Columns

column type content
id string {protein_id}_{generation_id}, unique
protein_id string UniProt accession
generation_id int the generation's number within its protein
split string the protein's place in the models' training (above)
prompt_id string md5 of prompt; generations from the same input share it
sequence string protein sequence
organism string organism, as in the prompt
model string BioReason-Pro-2-9B-SFT or BioReason-Pro-2-9B-RL
is_interpro_shown bool the prompt includes the InterPro features
is_partners_shown bool the prompt includes interaction partners
is_structure_used bool the protein embedding was conditioned on the structure
prompt string the prompt text the model was given
generation string the full output: reasoning, then answer
decoding string greedy or sampled
n_tokens int output tokens
hit_token_cap bool the output reached 16,000 tokens and may lack an answer

prompt is the text alone. The repository's predict.py and eval.py place it in the model's chat template after the protein and GO graph placeholders, <|protein_pad|> and <|go_graph_pad|>, whose embeddings the model fills in.

from datasets import load_dataset

ds = load_dataset("Goodfire/BioReason-Pro-2-Hypothesis-Atlas", split="train", streaming=True)
greedy_rl = ds.filter(lambda r: r["model"] == "BioReason-Pro-2-9B-RL" and r["decoding"] == "greedy")

Limitations

These are model outputs, not curated annotations: a generation can state wrong functions, residues, partners or GO terms. 1,065 generations reached the 16,000-token limit and may lack an answer (hit_token_cap): 889 greedy SFT generations (0.14% of them), 169 sampled SFT, 7 RL. Generations for proteins the models were trained on are not an independent prediction.

License

The dataset is released under CC BY 4.0. Prompts carry information from UniProt (CC BY 4.0), STRING (CC BY 4.0), InterPro (CC0), the Gene Ontology (CC BY 4.0) and AlphaFold DB (CC BY 4.0).

Citation

@article{nainani2026biologicalreasoning,
  author = {Nainani, Jatin and Fallahpour, Adibvafa and Srinivasan, Savitha and Choi, Benedict and Seyed-Ahmadi, Arman and Pearce, Michael and Bigelow, Eric and Idehpour, Parsa and Wilber, Jared and St. John, Peter and St. John, John and Wang, Bo and Jain, Archa and Rvachov, Timur and Goodarzi, Hani and Wang, Nicholas},
  title = {Building stronger biological reasoning models},
  journal = {Goodfire Research},
  year = {2026},
  url = {https://www.goodfire.com/research/building-stronger-biological-reasoning-models}
}

@article{Fallahpour2026.03.19.712954,
  author = {Fallahpour, Adibvafa and Seyed-Ahmadi, Arman and Idehpour, Parsa and Ibrahim, Omar and Gupta, Purav and Naimer, Jack and Zhu, Kevin and Shah, Arnav and Ma, Shihao and Adduri, Abhinav and G{\"u}loglu, Talu and Liu, Nuo and Cui, Haotian and Jain, Arihant and de Castro, Max and Fallahpour, Amirfaham and Cembellin-Prieto, Antonio and Stiles, John S. and Nem{\v c}ko, Filip and Nevue, Alexander A. and Moon, Hyungseok C. and Sosnick, Lucas and Markham, Olivia and Duan, Haonan and Lee, Michelle Y. Y. and Salvador, Andrea F. M. and Maddison, Chris J. and Thaiss, Christoph A. and Ricci-Tam, Chiara and Plosky, Brian S. and Burke, Dave P. and Hsu, Patrick D. and Goodarzi, Hani and Wang, Bo},
  title = {BioReason-Pro: Advancing Protein Function Prediction with Multimodal Biological Reasoning},
  elocation-id = {2026.03.19.712954},
  year = {2026},
  doi = {10.64898/2026.03.19.712954},
  publisher = {Cold Spring Harbor Laboratory},
  URL = {https://www.biorxiv.org/content/early/2026/03/20/2026.03.19.712954},
  eprint = {https://www.biorxiv.org/content/early/2026/03/20/2026.03.19.712954.full.pdf},
  journal = {bioRxiv}
}