arXiv:2601.12771cs.CL2026-01

用大模型联想名人来猜名字所属国家,准确率超80%。

Who Does This Name Remind You of ? Nationality Prediction via Large Language Model Associative Memory

  • 通过回忆同名名人国籍间接推断姓名归属国
  • 在99个国家预测任务中达81.7%准确率,优于传统方法
  • 适合处理低频国籍,双代理架构提升推理稳定性

大型语言模型(LLM)具备丰富的世界知识,但如何有效激发这些知识仍缺乏研究。国籍与地区预测不仅需语言特征,还需文化历史背景,正是LLM知识的强项。然而,传统提示方法依赖直接推理,难以应用抽象规则。本文提出LLM关联记忆代理(LAMA),将模型知识作为联想记忆使用。不直接推断国籍,而是召回同名著名人物,聚合其国籍进行间接推理。采用由人物代理和媒体代理组成的双代理架构,分别专注不同知识领域并行召回,通过投票生成Top-1预测,条件补全生成Top-K预测。在99个国家的国籍预测任务中,LAMA达到0.817的准确率,显著优于传统提示方法与神经网络模型。实验表明,LLM在回忆具体实例上比抽象推理更可靠;基于回忆的方法对低频国籍具有鲁棒性,不受数据分布影响;双代理架构协同互补,产生协同效应。结果证明,通过检索与聚合知识而非直接提示推理的新多代理系统有效可行。

原文摘要 · Abstract (English)

Large language models (LLMs) possess extensive world knowledge, yet methods for effectively eliciting this knowledge remain underexplored. Nationality and region prediction tasks require understanding of not only linguistic features but also cultural and historical background, making LLM world knowledge particularly valuable. However, conventional LLM prompting methods rely on direct reasoning approaches, which have limitations in applying abstract linguistic rules. We propose LLM Associative Memory Agents (LAMA), a novel framework that leverages LLM world knowledge as associative memory. Rather than directly inferring nationality from names, LAMA recalls famous individuals with the same name and aggregates their nationalities through indirect reasoning. A dual-agent architecture comprising a Person Agent and a Media Agent, specialized in different knowledge domains, recalls famous individuals in parallel, generating Top-1 predictions through voting and Top-K predictions through conditional completion. On a 99-country nationality prediction task, LAMA achieved 0.817 accuracy, substantially outperforming conventional LLM prompting methods and neural models. Our experiments reveal that LLMs exhibit higher reliability in recalling concrete examples than in abstract reasoning, that recall-based approaches are robust to low-frequency nationalities independent of data frequency distributions, and that the dual-agent architecture functions complementarily to produce synergistic effects. These results demonstrate the effectiveness of a new multi-agent system that retrieves and aggregates LLM knowledge rather than prompting reasoning.

国籍预测大模型联想记忆多代理

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。