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

๐Ÿ“… 2026-01-19
๐Ÿ“ˆ Citations: 0
โœจ Influential: 0
๐Ÿ“„ PDF
๐Ÿค– AI Summary
This work addresses the limitations of conventional prompting methods in effectively leveraging cultural and historical knowledge embedded within large language models (LLMs) for name-based nationality prediction. To overcome this, the authors propose LAMA, a novel framework that reconceptualizes LLMs as associative memory systems. LAMA employs two collaborative agentsโ€”a Person Agent and a Media Agentโ€”to associate input names with relevant public figures, enabling indirect reasoning through a voting mechanism, conditional completion, and a Top-K nationality aggregation strategy. This approach departs from direct prompting paradigms and achieves 81.7% accuracy on a 99-country nationality prediction task, significantly outperforming existing prompting techniques and neural network models. Notably, LAMA demonstrates enhanced robustness for low-frequency nationalities, where data scarcity typically hinders performance.

Technology Category

Application Category

๐Ÿ“ Abstract
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.
Problem

Research questions and friction points this paper is trying to address.

nationality prediction
large language models
associative memory
name-based inference
world knowledge
Innovation

Methods, ideas, or system contributions that make the work stand out.

associative memory
large language models
multi-agent system
nationality prediction
indirect reasoning
๐Ÿ”Ž Similar Papers
No similar papers found.