Skip to main content
QUICK REVIEW

[Paper Review] Cognitive Personalized Search Integrating Large Language Models with an Efficient Memory Mechanism

Yujia Zhou, Qiannan Zhu|arXiv (Cornell University)|Feb 16, 2024
Topic ModelingComputer Science3 citations
TL;DR

This paper proposes Cognitive Personalized Search (CoPS), a novel framework that integrates large language models (LLMs) with a human-inspired cognitive memory mechanism—comprising sensory, working, and long-term memory—to enhance user modeling and personalized search ranking. CoPS achieves state-of-the-art zero-shot performance by efficiently retrieving relevant user history and modeling intent without fine-tuning, outperforming existing methods in both accuracy and inference efficiency.

ABSTRACT

Traditional search engines usually provide identical search results for all users, overlooking individual preferences. To counter this limitation, personalized search has been developed to re-rank results based on user preferences derived from query logs. Deep learning-based personalized search methods have shown promise, but they rely heavily on abundant training data, making them susceptible to data sparsity challenges. This paper proposes a Cognitive Personalized Search (CoPS) model, which integrates Large Language Models (LLMs) with a cognitive memory mechanism inspired by human cognition. CoPS employs LLMs to enhance user modeling and user search experience. The cognitive memory mechanism comprises sensory memory for quick sensory responses, working memory for sophisticated cognitive responses, and long-term memory for storing historical interactions. CoPS handles new queries using a three-step approach: identifying re-finding behaviors, constructing user profiles with relevant historical information, and ranking documents based on personalized query intent. Experiments show that CoPS outperforms baseline models in zero-shot scenarios.

Motivation & Objective

  • To address data sparsity in personalized search by leveraging LLMs' zero-shot capabilities.
  • To overcome the computational burden of processing long, noisy user interaction histories in LLM-based personalization.
  • To design an efficient, scalable memory architecture inspired by human cognition for dynamic user profile construction.
  • To improve personalized search ranking by integrating real-time query intent modeling with long-term and short-term user preferences.
  • To achieve high inference efficiency and low latency in personalized search without requiring fine-tuning on user data.

Proposed method

  • CoPS employs a three-tiered cognitive memory mechanism: sensory memory for instant re-finding detection, working memory for integrating current queries with recent interactions, and long-term memory for storing enduring user preferences.
  • The sensory memory unit quickly identifies re-finding queries; if no match is found, the query is routed to the working memory for deeper processing.
  • The working memory retrieves relevant historical interactions from long-term memory and constructs a dynamic user profile using embedding-based retrieval.
  • The LLM performs query re-writing and intent modeling by combining the corrected query, user profile, and contextual signals, generating a refined search intent.
  • External memory units are dynamically updated after each user session, enabling scalability and long-horizon personalization.
  • The model operates in a zero-shot setting, avoiding fine-tuning by relying on prompt engineering and LLM reasoning over retrieved memory content.

Experimental results

Research questions

  • RQ1Can a cognitive memory mechanism inspired by human brain architecture improve the efficiency and accuracy of LLM-based personalized search?
  • RQ2How can LLMs be effectively leveraged in zero-shot personalized search without fine-tuning on user data?
  • RQ3To what extent can external memory units mitigate the challenges of long, noisy user histories in LLM-based personalization?
  • RQ4Does the integration of sensory, working, and long-term memory components lead to better ranking performance than standard retrieval or memory-augmented approaches?
  • RQ5Can the proposed model achieve inference efficiency comparable to fine-tuned models while maintaining high ranking accuracy in zero-shot scenarios?

Key findings

  • CoPS achieves state-of-the-art performance in zero-shot personalized search, outperforming both fine-tuned and baseline zero-shot models on standard benchmarks.
  • The model demonstrates high inference efficiency, with local deployment of the 6B LLM achieving low-latency responses comparable to fine-tuned models.
  • The sensory memory unit successfully identifies re-finding queries in real time, reducing processing overhead for common retrieval tasks.
  • The integration of long-term memory with LLM-based user modeling significantly improves intent alignment, as shown in the case study where a misspelled query was correctly resolved to 'Maybelline New York makeup'.
  • The HTPS model, which uses a transformer-based architecture, achieves better performance and efficiency than RNN-based models like HRNN and RPMN.
  • CoPS maintains high ranking accuracy without any fine-tuning, proving the effectiveness of LLMs in zero-shot personalization when combined with structured memory retrieval.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.