Phantom Merge: When Your Large Language Model Agents Pick One but Tell You About Another
Organizations: Department of Computer Science, Florida State University · Department of Civil and Environmental Engineering, FAMU–FSU College of Engineering
Abstract
LLM agents increasingly operate over multiple entities, where reliable response generation requires not only retrieving relevant evidence but also preserving its association with the correct entity. We identify Phantom Merge (PM), an entity-evidence binding failure in which an agent attributes unsupported claims to its committed entity, potentially even when the task is completed correctly. We formalize PM at the claim level and characterize its prevalence and error subtypes across four agent domains and four backbone families. To address this problem, we propose a two-stage framework for claim-level risk estimation and correction. First, Anchor-Grounded Risk (AGR) combines a representational readout of the agent's pre-emission hidden state with Jacobian-based functional information, providing complementary slot-level and anchor-value risk scores. Second, Fixed-Anchor Correction (FAC) audits flagged claims and selectively revises them using observed anchor evidence or removes them when no supported replacement is available. On the held-out Shopping detection cohort, AGR-slot achieves an AUROC of 96.2% and an average precision of 97.3%, outperforming the evaluated detection baselines. In the end-to-end Shopping mitigation evaluation, FAC reduces trajectory-level PM from 51.4% to 6.2%, with an output-to-original claim ratio of 80.7%. These results demonstrate the prevalence of entity-specific grounding failures and the effectiveness of combining internal risk estimation with evidence-constrained claim correction. Our code is publicly available at https://github.com/LabRAI/PhantomMerge.
Figures & tables
| Domain | Backbone | TC | PM | PM TC | TC PM | CEM | CAP | ASF |
| Retail | Mixtral | 8.7 | 16.5 | 18.4 | 9.7 | 4.2 | 1.6 | 94.2 |
| Gemma | 21.8 | 0.4 | 0.5 | 25.0 | 0.0 | 0.0 | 100.0 | |
| Llama | 9.2 | 2.5 | 0.0 | 0.0 | 3.6 | 7.1 | 89.3 | |
| Qwen | 15.9 | 3.1 | 1.3 | 6.5 | 69.0 | 0.0 | 31.0 | |
| Airline | Mixtral | 35.6 | 34.0 | 32.0 | 33.5 | 0.0 | 0.3 | 99.7 |
| Gemma | 29.3 | 4.5 | 4.1 | 26.7 | 0.0 | 75.0 | 25.0 |
| Method | AUROC | AUPRC | Precision | Recall | F1 |
| RARR | 49.9 [48.7, 50.8] | 56.9 [50.2, 63.0] | 50.0 | 0.6 | 1.3 |
| FActScore | 58.2 [51.6, 64.6] | 65.5 [57.5, 73.0] | 59.4 | 62.8 | 61.1 |
| FacTool | 67.9 [61.9, 74.2] | 67.9 [60.8, 74.5] | 77.6 | 62.2 | 69.0 |
| Anchor-only LLM | 71.9 [66.4, 77.4] | 72.7 [65.9, 78.6] | 83.6 | 59.0 | 69.2 |
| Source-agnostic LLM | 75.9 [70.6, 81.2] | 76.6 [69.8, 82.6] | 88.3 | 62.8 | 73.4 |
| ModernBERT | 76.2 [69.1, 82.6] | 79.9 [71.6, 86.9] | 61.2 | 96.2 | 74.8 |
Appendix figures & tables16 assets
Supplementary material from the paper’s appendix.
Appendix
| Readout | Evaluated score | Interpretation |
| Representational | Frozen representational probe output | |
| Jacobian (slot) | Standalone slot-level score | |
| AGR-value | ; | Fitted value-level fusion |
| AGR-slot | Fixed-additive AGR-slot score |
| Readout | AUROC [95% CI] |
| Representational | 0.888 [0.846, 0.924] |
| Jacobian (slot) | 0.894 [0.851, 0.934] |
| AGR-value | 0.898 [0.857, 0.933] |
| AGR-slot | 0.962 [0.940, 0.979] |
| Method | AUROC [95% CI] | AP [95% CI] | P | R | F1 |
| RARR gate | 0.499 [0.487, 0.508] | 0.569 [0.502, 0.630] | 0.500 | 0.006 | 0.013 |
| FActScore | 0.582 [0.516, 0.646] | 0.655 [0.575, 0.730] | 0.594 | 0.628 | 0.611 |
| FacTool | 0.679 [0.619, 0.742] | 0.679 [0.608, 0.745] | 0.776 | 0.622 | 0.690 |
| SC-NLI ( ) | 0.693 [0.626, 0.757] | 0.752 [0.676, 0.817] | 0.598 | 0.974 | 0.741 |
| MB (quote) | 0.706 [0.637, 0.769] | 0.729 [0.636, 0.809] | 0.617 | 0.962 | 0.752 |
| MB (structured) | 0.762 [0.691, 0.826] | 0.799 [0.716, 0.869] | 0.612 | 0.962 | 0.748 |
| Subset | PM+ | AGR-slot | Representational | TF-IDF | |
| Overlap | 181 | 108 | .972 [.950, .989] | .903 [.860, .942] | .783 [.706, .851] |
| Non-overlap | 93 | 48 | .950 [.907, .984] | .882 [.805, .941] | .756 [.645, .855] |
| Method | Selection split | Threshold | P | R | F1 |
| Jacobian (slot) | representational dev | 100.0 | 76.9 | 87.0 | |
| AGR-value | 76.4 | 93.6 | 84.1 | ||
| AGR-slot | 91.9 | 87.2 | 89.5 | ||
| AGR-slot | representational dev | 84.5 | 94.2 | 89.1 |
| Method | Selection split | TP | FP | FN | TN |
| Jacobian (slot) | representational dev | 120 | 0 | 36 | 118 |
| AGR-value | 146 | 45 | 10 | 73 | |
| AGR-slot | 136 | 12 | 20 | 106 | |
| AGR-slot | representational dev | 147 | 27 | 9 | 91 |
| Method | Implementation and role |
| RARR | Adapted from pinned third-party prompts and executed against trajectory observations using our generation backend. Its agreement gate is evaluated for detection; its revision procedure is evaluated for mitigation. |
| CoVe | CoVe-inspired verification and revision procedure implemented from the published method description. Evaluated as a mitigation baseline. |
| Constrained copy | Self-designed, FEVER-style constrained-copy baseline. Evaluated for mitigation under the corresponding intervention protocols. |
| SelfCheckGPT, FacTool, FActScore | Adapted detection implementations using the available trajectory observations. Evaluated as detection baselines, without a corresponding mitigation implementation. |
| ModernBERT | Embedding-based classifier trained on the labeled split. Quote-based and structured-input variants are reported. |
| DeBERTa-MNLI | Anchor-aware verification implementation based on an NLI checkpoint. Evaluated for detection and verification, without a separate rewriting procedure. |
| Role | Score or configuration | Rule |
| Primary detection ranking | AGR-slot | Threshold-independent AUROC/AP |
| Shared-gate claim selection | Representational | Flag if |
| Standalone Jacobian detection | Slot log mass | representational dev F1 threshold |
| Jacobian audit partition | Slot log mass | Development PM-positive median |
| Functional audit readout | Slot lexicon, top- | Development-fitted audit thresholds |
| Evidence-grounded rewriting | Qwen3-8B | Deterministic decoding; fixed anchor |
| Method | Telecom | Airline | Retail |
| FAD | |||
| RARR | |||
| CoVe | |||
| Constrained copy | |||
| FAC | |||
| FAC + RARR |
| Method | Telecom | Airline | Retail |
| FAD | |||
| RARR | |||
| CoVe | |||
| Constrained copy | |||
| FAC | |||
| FAC + RARR |
| Complete intervention | Shared gate | |||
| Method | PM [95% CI] | PM [95% CI] | ||
| FAD | 5.3 [2.5, 8.2] | 0.358 | 5.3 [2.5, 8.2] | 0.358 |
| RARR | 0.0 [0.0, 0.0] | 0.041 | 5.3 [2.5, 8.2] | 0.370 |
| CoVe | 0.4 [0.0, 1.2] | 0.572 | 6.6 [3.7, 9.7] | 0.691 |
| Constrained copy | 5.8 [2.9, 9.1] | 1.128 | 10.7 [6.6, 14.6] | 0.947 |
| FAC | 6.2 [3.3, 9.1] | 0.807 | 5.3 [2.5, 8.2] | 0.593 |
| Category | Claims |
| Unflagged / keep | 87 |
| Flagged: copy-rewrite | 57 |
| Flagged: probe-only deletion | 125 |
| Flagged: remaining cases | 5 |
| Total | 274 |
| Verifier | PM R | CB drop | CB ret. |
| Anchor-only LLM | 0.59 | 0.15 | 0.85 |
| Source-agnostic LLM | 0.63 | 0.11 | 0.89 |
| Cite-or-drop LLM | 0.79 | 0.21 | 0.79 |
| DeBERTa-MNLI | 0.84 | 0.40 | 0.60 |
| Probe gate | 0.92 | 0.37 | 0.63 |
| Lexical anchor-only | 0.71 | 0.40 | 0.60 |
LLM Grounding
Large language model (LLM) grounding studies how models anchor answers and actions in evidence, structured knowledge, and real-world context.
See all 319 papers