alphaFeedback

WorksComputer Science

Auditing Tool Traces in Agentic LLMs: Source Localization and Counterfactual Dependence Testing

AI contributions
Not recorded for this paper
View details

Abstract

Agentic LLMs increasingly support scientific prediction by grounding decisions in external evidence. In biology, they promise accurate, interpretable predictions for important problems by integrating complex experimental and computational evidence. However, serialized tool results can contain hidden label shortcuts, such as dataset identifiers or template artifacts, that create apparent success without biological reasoning. To address this risk, we introduce a two-stage audit. Stage 1, Per-Tool TF-IDF Decomposition (PT2D), localizes label-predictive patterns to individual tool results while avoiding signal dilution in the concatenated tool trace. Stage 2, Token-Class Redaction, counterfactually tests whether the frozen LLM depends on the localized shortcut. We apply this audit to TCR-pMHC binding, where tool augmentation substantially outperforms a no-evidence baseline. At face value, this suggests that the LLM has learned to use scientific evidence. The audit overturns this interpretation: PT2D localizes the strongest signal to identifiers in one tool result, and redacting them reduces performance to chance. These findings show how hidden label shortcuts can masquerade as scientific reasoning or discovery, motivating source-level audits before benchmark gains are trusted.

Introduction

Large language models (LLMs) are increasingly coupled to external evidence in scientific workflows. General paradigms include tool use [15, 19], retrieval-augmented generation [10], and agentic pipelines that chain multiple tools and return their results to the model [16]; domain systems have instantiated these ideas with genomics databases and chemistry tools [7, 2]. We use tool trace to denote the ordered collection of serialized tool results supplied to the LLM. In scientific workflows, these results are intended to serve as external evidence for prediction, but the resulting tool trace remains distinct from a reasoning trace generated by the LLM itself.

The appeal of this setup in biomedical settings is straightforward. Parametric knowledge can be incomplete or stale, and LLMs remain prone to hallucination [10, 7, 2]. Injecting structured evidence from databases, simulators, or analytical tools at inference time therefore appears to give the model a chance to reason from retrieved facts rather than unsupported recall, while keeping predictions auditable against an explicit tool trace.

However, evidence-augmented pipelines introduce an evaluation failure mode that ordinary benchmark checks may miss [8, 9]. Serialized tool results may contain hidden label shortcuts that correlate with labels without carrying the intended scientific semantics. Such shortcuts [4] can arise from entry identifiers, version strings, file paths, duplicated fields, template artifacts, or other textual patterns introduced by deposition, annotation, sampling, or serialization. They may survive semantic data splits because their generating process need not follow scientific grouping. Screening only the concatenated tool trace can also miss a pattern confined to one component because heterogeneous results dilute it. Thus, apparently rigorous performance may reflect shortcut exploitation rather than evidence-grounded reasoning.

Cross-split AUROC as real or synthetic tools are added

Figure 2. Adding real (A) or synthetic (B) tool results dilutes Tool 3’s cross-split signal.

To address hidden label shortcuts in tool traces, we introduce a two-stage audit that separates source localization from behavioral verification. First, Per-Tool TF-IDF Decomposition (PT2D) analyzes each tool result independently to localize label-predictive patterns that may be hidden when heterogeneous results are concatenated into a full tool trace. This design is motivated by the dilution effect: unrelated components can obscure a shortcut confined to one tool. Second, Token-Class Redaction removes the localized shortcut class from all prompt-bearing fields and reevaluates the same frozen LLM, counterfactually testing whether its predictions depend on that shortcut rather than the intended scientific evidence. We further validate the motivation for per-tool decomposition by quantifying dilution through real tool-subset sweeps and synthetic label-independent additions.

In our TCR–pMHC case study using peptide-disjoint splits from prior benchmarks [17, 1], a Qwen3-4B model [13] fine-tuned on five-tool traces substantially outperforms a no-evidence baseline, seemingly indicating evidence-grounded generalization. The audit overturns this interpretation: PT2D localizes the strongest transferable signal to PDB identifiers in one tool result, and identifier redaction collapses performance to chance while peptide redaction leaves it unchanged. Real-tool and label-independent synthetic dilution sweeps further explain why full-trace screening misses this shortcut. Together, these findings motivate source-level provenance analysis and counterfactual verification before tool-augmented gains are interpreted as scientific reasoning or discovery.

Method: Two-Stage Shortcut Audit

Let Dfit\mathcal{D}_{\mathrm{fit}} and Deval\mathcal{D}_{\mathrm{eval}} be labeled audit partitions aligned with the target evaluation protocol; the audit is otherwise split-agnostic. Each example is (xi,yi,Ei)(x_i, y_i, E_i), where xix_i is the input, yi∈{0,1}y_i \in\{0,1\} is the label, and Ei=[ei(1),…,ei(T)]E_i = [e_i^{(1)}, \ldots, e_i^{(T)}] is a tool trace comprising one serialized result ei(t)e_i^{(t)} from each of TT tools. We target label-predictive patterns in ei(t)e_i^{(t)} that lack intended task semantics but correlate with yiy_i because of dataset construction, identifier assignment, or serialization.

Our running example is binary TCR–pMHC binding: a downstream LLM predicts binding from a candidate TCR, its peptide–MHC context, and evidence from five structural-biology tools (Appendix F). The audit separates source localization from model-dependence testing: Stage 1, Per-Tool TF-IDF Decomposition (PT2D), localizes label-predictive patterns to individual tool results; Stage 2, Token-Class Redaction, counterfactually tests whether the frozen LLM behaviorally depends on the localized shortcut.

Per-Tool TF-IDF Decomposition (PT2D) PT2D addresses a potential dilution effect: concatenating unrelated tool results can obscure a shortcut confined to one component and cause a classifier trained on the full tool trace to miss it. PT2D therefore audits each tool section separately and retains the concatenated trace only for comparison. For each scope s∈{full,1,…,T}s \in\{\mathrm{full},1,\ldots,T\}, we construct TF-IDF features ϕs\phi_s ([14]), fit balanced logistic regression gsg_s on DfitD_{\mathrm{fit}}, and score DevalD_{\mathrm{eval}}. Let Ei(full)E_i^{(\mathrm{full})} concatenate all sections, Ei(t)=ei(t)E_i^{(t)} = e_i^{(t)}, and y^i(s)=gs(ϕs(Ei(s)))\hat{y}_i^{(s)} = g_s(\phi_s(E_i^{(s)})). We report As=AUROC⁡({yi}i∈Deval,{y^i(s)}i∈Deval)A_s = \operatorname{AUROC}(\{y_i\}_{i\in D_{\mathrm{eval}}},\{\hat{y}_i^{(s)}\}_{i\in D_{\mathrm{eval}}}).

Word nn-grams capture lexical content, whereas character nn-grams expose identifier fragments. We rank carriers by comparing each AtA_t with the full-trace scope, chance, and other tools, without a universal threshold. PT2D returns a suspect source and discriminative substrings without LLM retraining or parameter access. Its evidence is associational: a predictive text pattern need not be used by the downstream LLM. Appendix C gives complete settings and feature-provenance analysis.

Token-Class Redaction. We trace PT2D’s suspect source and substrings to serialized fields, grouping values with the same generating semantics into candidate token classes such as entry identifiers, version strings, or file-path components. We target the complete class because an isolated TF-IDF nn-gram may cover only part of a shortcut-bearing value; recurring, non-overlapping classes serve as controls. PT2D thus proposes what to test but does not establish downstream LLM usage.

Following input-erasure analyses [11], we redact each candidate class separately. For class cc, RcR_c replaces every occurrence in all prompt-bearing fields with a class-specific placeholder while preserving labels and reference answers. We evaluate the same frozen LLM with identical generation, parsing, and scoring and report ΔAc=Aorig−ARc\Delta A_c = A_{\mathrm{orig}} - A_{R_c}, where positive values denote performance lost. Global replacement prevents duplicated values from surviving elsewhere; testing one class at a time at a frozen checkpoint isolates the intervention from retraining.

We interpret a large performance drop after targeted redaction, coupled with stable performance under a control redaction, as evidence that the model relies on the localized shortcut. This conclusion is limited to model behavior, because redaction may also remove correlated signals or shift the input distribution.

Experiments

Task and data. TCR–pMHC binding provides a biologically grounded setting for testing whether LLMs can interpret amino-acid sequences with domain-specific computational evidence. Our case study asks whether an LLM can combine its parametric knowledge with results from protein-analysis tools to classify binding. Concretely, the model predicts a binary label from paired TCRα\alpha/TCRβ\beta CDR3 sequences, a peptide, its MHC allele and sequence, and a five-tool trace. We use the dataset from Slone et al. [2025] and the peptide-disjoint cluster splits of Abeer et al. [2026]. Cluster 0 supplies 12,940 training (3,483 positive) and 1,438 validation (397 positive) examples; clusters 1–5 contain 4,898 test examples (264 positive).

Tool uses. Each tool trace has five fixed-order tool results: (1) CDR3β\beta biophysical descriptors (length, composition, charge, flexibility, and contact potential); (2) McPAS-TCR retrieval and similarity [18]; (3) ThermoMPNN mutation-level ΔΔG\Delta\Delta G [3]; (4) CDR3β\beta positional stability and hotspots derived from (3), adapted from Biomni [6]; and (5) structure-based CDR3β\beta–pMHC interface descriptors (buried surface area computed with FreeSASA [Mittermnachht, 2016], contact distance, hydrogen bonds, and salt bridges). Tools receive candidate fields and the modeled complex, never labels (Appendix F as example).

PT2D Localizes Leakage

Model and evaluation. We perform supervised fine-tuning of Qwen3-4B [13] on examples that pair the task fields and complete five-tool trace with the corresponding binding label. Unless otherwise stated, we compute test AUROC jointly over all 4,898 examples from clusters 1–5; for redaction, we additionally report AUROC within each cluster. The resulting model achieves Aorig=0.8136A_{\mathrm{orig}} = 0.8136 test AUROC on the combined clusters 1–5 test set. For context, a label-balanced no-evidence model reaches only 0.4928 test AUROC in our development comparison. Appendix B reports training and evaluation details. Before interpreting Aorig=0.8136A_{\mathrm{orig}} = 0.8136 as evidence-grounded biological generalization, we apply PT2D to determine whether tool results contain a transferable textual shortcut, which tool carries it, and what serialized field produces it. For this case protocol, DfitD_{\mathrm{fit}} is cluster 0 and DevalD_{\mathrm{eval}} is peptide-disjoint clusters 1–5. We compute AsA_s for the full tool trace and five tool sections using word 1–2-grams, character 2–5-grams, and character 3–5-grams, testing transfer to the same held-out clusters as the LLM evaluation. Figure 1 reports ASA_S under the cross-split PT2D setting described above. At the full-trace scope, all three feature sets remain near chance (Afull=0.4818A_{\mathrm{full}} = 0.4818, 0.4677, and 0.4876), so screening only the concatenated tool results would suggest little transferable leakage. Per-tool decomposition reverses this conclusion: Tool 3 (predict-thermompnn-ddg) reaches A3=0.6288A_3 = 0.6288 and 0.6365 with character features, while Tool 5, which also serializes the PDB identifier, shows a weaker increase to A5=0.5259A_5 = 0.5259–0.5310; Tools 1, 2, and 4 remain near chance. For character 3–5-grams, the gap A3−Afull=0.1489A_3 - A_{\mathrm{full}} = 0.1489 shows that aggregation hides a strong local signal. Because ASA_S is produced by the diagnostic logistic regression rather than the downstream LLM, this result establishes an exploitable shortcut in the tool results but does not yet establish LLM reliance.

AUROC of full and per-tool evidence traces

Figure 1. PT2D localizes Tool 3 as the strongest cross-split carrier.

VariantAUROC ↑\uparrowΔAc\Delta A_c
Original0.8136—
PDB-ID redacted0.4972+0.3163
Peptide redacted0.8152−0.0017

Table 1. Frozen-checkpoint AUROC after targeted token-class redaction (ΔAc=Aorig−ARc\Delta A_c = A_{\mathrm{orig}} - A_{R_c}).

Logistic-regression weights localize the signal from Tool 3 to PDB-ID fragments in ThermoMPNN_inference_<pdb_id>.csv, rather than biological language: word features remain near chance (A3=0.4946A_3 = 0.4946), whereas character features reach A3=0.6365A_3 = 0.6365, with prefixes such as _21 favoring binders and _17 favoring non-binders. A two-digit PDB-prefix lookup reaches AUROC 0.6967, motivating complete PDB-ID redaction in the next stage; Appendix C reports the full analysis. We next ask why full-trace screening misses the Tool 3 leakage localized above. Starting with Tool 3 and progressively appending Tools 1, 2, 4, and 5 causes the character 3–5-gram diagnostic AUROC to decrease monotonically from 0.6365 to 0.4876; label-independent synthetic additions reproduce this decay, reaching chance by K=5K = 5 (Figure 2). This dilution explains the full-trace false negative and motivates per-tool decomposition; Appendix E reports the complete analysis.

Redaction Confirms Identifier Dependence

PT2D establishes that PDB identifiers carry a transferable label signal, but not whether the fine-tuned LLM actually uses it. We therefore perform a frozen-model counterfactual: we remove every PDB identifier from all prompt-bearing fields and reevaluate the same checkpoint on the same examples, while separately redacting peptide sequences as a non-overlapping control. A selective performance drop after PDB-ID redaction would provide behavioral evidence that the model depends on the localized shortcut; Appendix D reports the intervention details and robustness results. Removing PDB IDs reduces AUROC from Aorig=0.8136A_{\mathrm{orig}} = 0.8136 to ARPPDB=0.4972A_{R_{\mathrm{PPDB}}} = 0.4972, giving ΔAPPDB=0.3163\Delta A_{\mathrm{PPDB}} = 0.3163 and eliminating nearly all measured above-chance ranking performance (Table 1). Peptide redaction yields ARpeptide=0.8152A_{R_{\mathrm{peptide}}} = 0.8152 and ΔApeptide=−0.0017\Delta A_{\mathrm{peptide}} = -0.0017, showing no loss and ruling out direct reuse of the literal epitope sequence. Together, PT2D localization and the frozen-model counterfactual provide evidence that behavior in this TCR task depends on dataset-specific identifiers rather than only the intended biological evidence. The redaction supports dependence on the complete identifier class; short-prefix attribution comes only from PT2D weights.

Conclusion

Tool-augmented scientific LLMs can appear to reason from domain evidence while relying on hidden label shortcuts embedded in serialized tool results. We introduce a two-stage audit that separates source localization from behavioral verification: PT2D exposes predictive patterns that full-trace screening can miss through dilution, while Token-Class Redaction tests whether a frozen model actually depends on the localized shortcut. In the TCR–pMHC case study, this audit overturned an apparent generalization success by tracing it to PDB identifiers and showing that removing the identifier class eliminated nearly all above-chance performance while a non-overlapping control left performance intact. We hope this work draws greater attention to the need for per-source provenance analysis and counterfactual verification of what a model actually uses before its behavior is interpreted as scientific reasoning.

Limitations

Our experiments are conducted on a single TCR-pMHC benchmark using one 4B backbone and one tool suite; the precise dilution behavior may therefore vary with the length, format, and content of the evidence in other settings. Although PT2D is partition-agnostic, its fitting and evaluation partitions must be aligned with the evaluation protocol of the target application. At the methodological level, the audit is post-hoc: it detects rather than prevents shortcuts, and its conclusions concern observable dependence at the input–output level rather than the internal mechanisms through which that dependence arises.

Experimental Details

Data and splits

Following the peptide-disjoint protocol of Abeer et al. [2026], the split unit is the peptide cluster rather than an individual TCR–peptide pair. Cluster 0 supplies the training and validation examples, while clusters 1–5 form the peptide-disjoint test set. Table 2 reports the class counts used by both the LLM evaluation and the cross-split text diagnostics. The underlying data remain imbalanced; label balancing refers to replacement sampling during SFT and to class-weighted logistic regression in PT2D, not to discarding negative examples.

SplitTotalPositiveNegative
Train (C0)12,9403,4839,457
Validation (C0)1,4383971,041
Test C11,00445959
Test C299438956
Test C396830938
Test C4968109859
Test C596442922
Test (C1–C5)4,8982644,634

Table 2. Dataset composition. Test clusters C1–C5 contain peptides disjoint from cluster 0.

StepToolTool-result content
1CDR3β\beta biophysical analysisLength, residue composition, charge, flexibility, and contact-potential descriptors.
2McPAS-TCR retrievalDatabase matches, sequence similarity, and associated epitope annotations.
3ThermoMPNN ΔΔG\Delta\Delta GMutation-level stability predictions and the serialized inference filename.
4Stability summaryPositional stability and hotspot summaries derived from Tool 3.
5TCR–pMHC interface analysisBuried surface area, contact distances, hydrogen bonds, salt bridges, and a serialized complex identifier.

Table 3. Fixed tool-trace order used during SFT and evaluation.

Tool trace and prompt structure

Each prompt contains the TCRα\alpha/TCRβ\beta CDR3 sequences, peptide, MHC allele and sequence, followed by five fixed-order tool-result sections. Tool 3 serializes its source filename as ThermoMPNN_inference_<pdb_id>.csv; Tool 5 separately emits the same value as complex_id. This duplication motivates applying redaction to every prompt-bearing field rather than editing only the visibly suspicious section.

Training and generation evaluation

The label-balanced Qwen3-4B model [13] is trained for 10 epochs with rank-16 LoRA adapters [5] (α=32\alpha= 32) on all linear layers, learning rate 10−510^{-5}, and global batch size 32. The formal redaction study evaluates the final update-4040 checkpoint. All counterfactual variants use this same frozen checkpoint, the same 4,898 test rows, no assistant prefill, and identical decoding and parsing.

The model generates an integer a∈{1,…,10}a \in\{1,\ldots,10\} inside <answer>; evaluation maps it to s=(a−1)/9s = (a - 1)/9 before computing AUROC. Format validity requires a parseable answer in this range. The original, PDB-ID-redacted, peptide-redacted, and format-redacted conditions are fully valid.

Full PT2D Results and Identifier Provenance

Classifier specification

For the TCR instantiation, PT2D is fit on cluster 0 and evaluated directly on clusters 1–5. Word features use TfidfVectorizer(analyzer=word, ngram_range=(1,2), max_features=30000, min_df=3). Character 2–5-grams use analyzer=char_wb with 60,000 maximum features, and character 3–5-grams use 50,000 maximum features; both use min_df=3. Every scope uses logistic regression with C=1C = 1, the liblinear solver, balanced class weights, and 4,000 maximum iterations.

ScopeWord 1–2Char 2–5Char 3–5
Full trace0.48180.46770.4876
Tool 10.45690.47970.4733
Tool 20.46810.48390.4985
Tool 30.49460.62880.6365
Tool 40.49470.50500.5015
Tool 50.48330.52590.5310

Table 4. PT2D AUROC computed jointly over all examples from test clusters C1–C5. Character features isolate Tool 3 despite the near-chance full-trace diagnostic.

ScopeAllC1C2C3C4C5
Full trace0.48760.48880.54130.63590.45650.4216
Tool 10.47330.37690.46870.55480.48810.4403
Tool 20.49850.49970.59570.57080.47060.4160
Tool 30.63650.55660.63920.61090.69990.4874
Tool 40.50150.45100.53690.57270.48780.5037
Tool 50.53100.49820.50180.54450.57020.4717

Table 5. Character 3–5-gram PT2D AUROC by peptide-disjoint test cluster. All denotes AUROC computed jointly over C1–C5.

Feature provenance and prefix lookup

The highest-weight Tool 3 character features point to a single serialization template. Positive-weight fragments include nce_8, _21, ce_21, _16, and ce_16; negative-weight fragments include _17, ce_17, _22, ce_9, _18, and _23. These strings occur at the boundary between inference_ and the PDB identifier, rather than in biological prose or predicted ΔΔG\Delta\Delta G values.

As a field-level check, we learn a prefix-to-binder-rate lookup on cluster 0 and use the learned rate as the test score. Table 6 shows that two digits yield 0.6967 AUROC when evaluated jointly over C1–C5. This establishes that short prefixes are transferable label correlates; it does not by itself show that the LLM relies only on those two digits. The complete-ID intervention in Appendix D supplies the behavioral evidence at the identifier-class level.

PrefixAllC1C2C3C4C5
1 digit0.67250.57760.56860.65420.74700.5202
2 digits0.69670.57940.74160.59460.77160.4967
3 digits0.67930.48200.65220.56140.84420.5817

Table 6. Cross-split AUROC of an explicit PDB-prefix lookup learned on cluster 0. All denotes AUROC computed jointly over C1–C5.

Token-Class Redaction Details and Robustness

Replacement rules

For every test row, redaction is applied to evidence, question, their duplicates in extra_info, and every message content field. PDB-ID redaction replaces the numeric suffix in ThermoMPNN_inference_<id>.csv, the value of complex_id, and any remaining exact occurrence of the row’s identifier with <PDB_ID>. Peptide redaction replaces every exact epitope sequence with <PEPTIDE>. Labels and reference answers are never modified.

Format redaction is a broader sensitivity check that replaces step headers, trace banners, section headers, XML tags, and field names with <FORMAT>. Table 7 quantifies the intervention sizes.

VariantReplacementsPlaceholder
PDB ID50,778<PDB_ID>
Peptide63,674<PEPTIDE>
Format3,582,603<FORMAT>

Table 7. Total replacements across the 4,898 test prompts and their duplicated prompt-bearing fields.

Complete generation results

Table 8 reports the targeted redaction conditions and the format sensitivity analysis. PDB-ID and peptide redaction are the targeted intervention and non-overlapping control used for the main claim. Format redaction preserves output validity but removes multiple overlapping structural cues; its decrease indicates sensitivity to trace scaffolding, not an independent token-class attribution.

VariantAllΔAc\Delta A_cC1C2C3C4C5
Original0.8136—0.57460.82980.83240.86860.8322
PDB-ID redacted0.4972+0.31630.51260.52410.48180.49630.4858
Peptide redacted0.8152−0.00170.57630.85350.84370.86460.8295
Format redacted0.5189+0.29470.47870.48290.43430.57470.5184

Table 8. Formal frozen-checkpoint generation AUROC. All denotes AUROC computed jointly over C1–C5. Positive ΔAc=Aorig−ARc\Delta A_c = A_{\mathrm{orig}} - A_{R_c} denotes performance lost after redaction. The broad format intervention is a sensitivity analysis rather than a clean control.

Dilution Experiments: Complete Protocol and Results

Real-tool subset sweep

The real sweep fixes Tool 3 as the carrier and adds Tools 1, 2, 4, and 5 in that fixed order. Every point refits the same character 3–5-gram PT2D classifier. Confidence intervals are percentile intervals from 2,000 bootstrap resamples stratified by label within the combined test set (clusters 1–5). The endpoints reproduce the Tool 3-only and full-trace values exactly.

Label-independent synthetic additions

The synthetic source pool contains 53,512 Tool 1, 2, and 4 sections from train and test, with mean length 1,845.9 characters. For each target example and synthetic slot, the procedure independently samples a source section and a target length, then repeats or clips the source text to that length. Sampling never uses the target label or cluster, and train and test use independent random-number streams. We evaluate seeds 20260517–20260521 for each K∈{0,1,2,5,10,20}K \in\{0, 1, 2, 5, 10, 20\}.

Real Five-Tool Trace

To make the serialized tool trace concrete, we show one real trace in abridged form from the cluster 4 test example: TCRα CDR3 CAEGGGSYIPTF, TCRβ CDR3 CASSEGDTEAFF, peptide KLVALGINAV, PDB ID 21009, and label 1. The fields and values below are copied from the stored tool results. To fit the page, we preserve representative tool-result fields and the decision signal from every tool while omitting the full MHC sequence, repeated preview and position rows, local filesystem prefixes, and other redundant fields; no displayed value is recomputed.

Tool 1: CDR3β biophysics.

candidate_cdr3b:  CASSEGDTEAFF
length:  12; charge_net:  -3
hydrophobic_count_pct:  5/41.7
polar_count_pct:  4/33.3
negative_count_pct:  3/25.0
central_region_sequence:  EGDT
BIOPHYSICS_SIGNAL:
charge=NEGATIVE_BIAS;
flexibility=BALANCED_FLEXIBILITY;
contact=MODERATE_CONTACT_POTENTIAL

Tool 2: McPAS-TCR retrieval.

total_entries:  40731
exact_epitope_hits:  50
Tools∣S∣|S|AUROC95% CI
{3}10.6365[0.6008, 0.6704]
{3,1}20.6049[0.5679, 0.6415]
{3,1,2}30.5284[0.4941, 0.5622]
{3,1,2,4}40.4956[0.4605, 0.5291]
{3,1,2,4,5}50.4876[0.4553, 0.5221]

Table 9. Real-tool dilution sweep with Tool 3 fixed as the carrier.

known_cdr3b_count_for_exact_epitope:  44
most_similar_known_cdr3b:  CASSAGGDTEAFF
most_similar_sequence_identity:  0.8800
DATABASE_SUPPORT_SIGNAL:
STRONG_DATABASE_SUPPORT

Tool 3: ThermoMPNN mutation-level predictions.

thermompnn_csv_path:
.../ThermoMPNN_inference_21009.csv
total_predictions: 2160
preview_ddg_mean: 1.815 kcal/mol
preview_ddg_min: 0.000 kcal/mol
preview_ddg_max: 2.708 kcal/mol
THERMOMPNN_PREVIEW_SIGNAL:
PREVIEW_SHOWS DESTABILIZING_RISK

Tool 4: CDR3β\beta stability summary.

predictions_used:  2160
mapped_sequence_check:  PASS
avg_position_sensitivity_ddg:  0.427 kcal/mol
counts_tolerant_moderate_sensitive:  7/4/1
hotspot:  F126 (mean_ddg=1.761)
STRUCTURAL_STABILITY_SIGNAL:
STRUCTURALLY_STABLE

Tool 5: CDR3β\beta–pMHC interface.

complex_id:  21009
cdr3_total_bsa_A2:  123.92
cdr3_polar_bsa_A2:  71.53
cdr3_apolar_bsa_A2:  52.39
min_contact_distance_A:  2.75
num_hydrogen_bonds:  0
num_salt_bridges:  0
contacting_residues:  3/19
hotspots:  D124 (58.53), G108 (37.86), T125 (27.51)
STRUCTURE_INTERFACE_SIGNAL:
PARTIAL_CDR3_PMHC_ENGAGEMENT
KKMeanSDMinMax
00.63650.00000.63650.6365
10.57010.01210.55900.5891
20.54290.02180.52560.5809
50.50640.02590.48210.5489
100.47490.03020.44640.5249
200.49000.02090.46690.5167

Table 10. AUROC is computed jointly over test clusters C1–C5 and summarized over five synthetic-dilution seeds. The curve reaches chance by five added sections and remains near chance thereafter.

Information About Use of AI Assistants

AI assistants were used to support the writing and revision of the manuscript, the preparation of figures, and the development of experimental code. The authors carefully proofread and revised all AI-assisted text and reviewed and verified all AI-assisted figures and code. The authors take full responsibility for the accuracy and integrity of the manuscript and all associated research artifacts.

References

  1. [1]A N M Nafiz Abeer, Raj S. Roy, Xiaoning Qian, and Byung-Jun Yoon. Structure-based TCR–pMHC binding prediction and generalization to unseen peptides. bioRxiv, 2026. doi: 10.64898/2026.02.21.707231. URL https://www.biorxiv.org/content/10.64898/2026.02.21.707231v1.DOI
  2. [2]Andres M. Bran, Sam Cox, Oliver Schilter, Carlo Baldassari, Andrew D. White, and Philippe Schwaller. Augmenting large language models with chemistry tools. Nature Machine Intelligence, 6:525–535, 2024. doi: 10.1038/s42256-024-00832-8.
  3. [3]Henry Dieckhaus, Michael Brocidiacono, Nicholas Z. Randolph, and Brian Kuhlman. Transfer learning to leverage larger datasets for improved prediction of protein stability changes. Proceedings of the National Academy of Sciences, 121(6):e2314853121, 2024. doi: 10.1073/pnas.2314853121.DOI
  4. [4]Robert Geirhos, Jörn-Henrik Jacobsen, Claudio Michaelis, Richard Zemel, Wieland Brendel, Matthias Bethge, and Felix A. Wichmann. Shortcut learning in deep neural networks. Nature Machine Intelligence, 2:665–673, 2020. doi: 10.1038/s42256-020-00257-z.DOI
  5. [5]Edward J. Hu, Yelong Shen, Phillip Wallis, Zeyuan Allen-Zhu, Yuanzhi Li, Shean Wang, Lu Wang, and Weizhu Chen. LoRA: Low-rank adaptation of large language models. In International Conference on Learning Representations, 2022. URL https://openreview.net/forum?id=nZeVKeeFYf9.arxiv.org/abs/2106.09685
  6. [6]Kexin Huang, Serena Zhang, Hanchen Wang, Yuanhao Qu, Yingzhou Lu, Yusuf Roohani, Ryan Li, Lin Qiu, Gavin Li, Junze Zhang, Yin Di, Shruti Marwaha, Jennefer N. Carter, Xin Zhou, Matthew Wheeler, Jonathan A. Bernstein, Mengdi Wang, Peng He, Jingtian Zhou, Michael Snyder, Le Cong, Aviv Regev, and Jure Leskovec. Biomni: A general-purpose biomedical AI agent. bioRxiv, 2025. doi: 10.1101/2025.05.30.656746. URL https://www.biorxiv.org/content/10.1101/2025.05.30.656746v1.DOI
  7. [7]Qiao Jin, Yifan Yang, Qingyu Chen, and Zhiyong Lu. GeneGPT: Augmenting large language models with domain tools for improved access to biomedical information. Bioinformatics, 40(2):btae075, 2024. doi: 10.1093/bioinformatics/btae075.DOI
  8. [8]Sayash Kapoor and Arvind Narayanan. Leakage and the reproducibility crisis in machine-learning-based science. Patterns, 4(9):100804, 2023. doi: 10.1016/j.patter.2023.100804.DOI
  9. [9]Sebastian Lapuschkin, Stephan Wä​ldchen, Alexander Binder, Grégoire Montavon, Wojciech Samek, and Klaus-Robert Müller. Unmasking clever hans predictors and assessing what machines really learn. Nature Communications, 10(1):1096, 2019. doi: 10.1038/s41467-019-08987-4.DOI
  10. [10]Patrick Lewis, Ethan Perez, Aleksandra Piktus, Fabio Petroni, Vladimir Karpukhin, Naman Goyal, Heinrich Küttler, Mike Lewis, Wen-tau Yih, Tim Rocktäschel, Sebastian Riedel, and Douwe Kiela. Retrieval-augmented generation for knowledge-intensive NLP tasks. In Advances in Neural Information Processing Systems, 2020. URL https://papers.neurips.cc/paper/2020/hash/6b493230205f780e1bc26945df7481e5-Abstract.html.arxiv.org/abs/2005.11401
  11. [11]Jiwei Li, Will Monroe, and Dan Jurafsky. Understanding neural networks through representation erasure. arXiv preprint arXiv:1612.08220, 2016. URL https://arxiv.org/abs/1612.08220.
  12. [13]Qwen Team. Qwen3 technical report. arXiv preprint arXiv:2505.09388, 2025. URL https://arxiv.org/abs/2505.09388.
  13. [14]Gerard Salton and Christopher Buckley. Term-weighting approaches in automatic text retrieval. Information Processing & Management, 24(5):513–523, 1988. doi: 10.1016/0306-4573(88)90021-0.DOI
  14. [15]Timo Schick, Jane Dwivedi-Yu, Roberto Dessì, Roberta Raileanu, Maria Lomeli, Eric Hambro, Luke Zettlemoyer, Nicola Cancedda, and Thomas Scialom. Toolformer: Language models can teach themselves to use tools. In Advances in Neural Information Processing Systems, volume 36, 2023. URL https://proceedings.neurips.cc/paper/2023/hash/d844245e4bf79ba039352da0f658a906-Abstract-Conference.html.arxiv.org/abs/2302.04761
  15. [16]Yongliang Shen, Kaitao Song, Xu Tan, Dongsheng Li, Weiming Lu, and Yueting Zhuang. Hugging-GPT: Solving AI tasks with ChatGPT and its friends in Hugging Face. In Advances in Neural Information Processing Systems, 2023. URL https://arxiv.org/abs/2303.17580.
  16. [17]Jared K. Slone, Anja Conev, Mauricio M. Rigo, Alexandre Reuben, and Lydia E. Kavraki. TCR-pMHC binding specificity prediction from structure using graph neural networks. IEEE/ACM Transactions on Computational Biology and Bioinformatics, 22(1):171–179, 2025. doi: 10.1109/TCBBIO.2024.3504235.DOI
  17. [18]Nili Tickotsky, Tal Sagiv, Jaime Prilusky, Eric Shifrut, and Nir Friedman. McPAS-TCR: A manually curated catalogue of pathology-associated t cell receptor sequences. Bioinformatics, 33(18):2924–2929, 2017. doi: 10.1093/bioinformatics/btx286.DOI
  18. [19]Shunyu Yao, Jeffrey Zhao, Dian Yu, Nan Du, Izak Shafran, Karthik Narasimhan, and Yuan Cao. ReAct: Synergizing reasoning and acting in language models. In International Conference on Learning Representations, 2023. URL https://arxiv.org/abs/2210.03629.

Paper details

vlnc:W_ku69regn
v1 · latestHistory (1)

published · Fresh — added to the Hub within the last 30 days

added ·

Usage

views · 0

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

CC BY 4.0

Original source

  • Computer Science

Not recorded for this paper · View statement →

Looking for related papers…
Contents