这个名字让你想起谁?通过大语言模型关联记忆进行国籍预测
Who Does This Name Remind You of ? Nationality Prediction via Large Language Model Associative Memory
AI总结:
LAMA通过利用大语言模型的关联记忆能力,有效提升国籍预测任务的准确性,其双代理架构在处理不同知识领域时表现出互补优势。
摘要:
大语言模型(LLMs)拥有广泛的世界知识,但有效提取这种知识的方法仍处于探索阶段。国籍和区域预测任务需要理解语言特征、文化背景和历史背景,使LLM的世界知识特别有价值。然而,传统LLM提示方法依赖直接推理方法,在应用抽象语言规则时存在局限。我们提出了LLM关联记忆代理(LAMA),一种新的框架,利用LLM世界知识作为关联记忆。而不是直接从名字推断国籍,LAMA会回忆具有相同名字的名人,并通过间接推理汇总他们的国籍。由专门处理不同知识领域的个人代理和媒体代理组成的双代理架构,可以并行回忆名人,通过投票生成Top-1预测,通过条件完成生成Top-K预测。在99个国家的国籍预测任务中,LAMA实现了0.817的准确率,显著优于传统LLM提示方法和神经网络模型。我们的实验表明,LLM在回忆具体实例方面比在抽象推理方面更可靠,基于回忆的方法在低频国籍上具有鲁棒性,无论数据频率分布如何,双代理架构都能互补产生协同效应。这些结果证明了新的多代理系统在检索和汇总LLM知识而不是提示推理方面的有效性。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。