Table of Contents
Fetching ...

CogRec: A Cognitive Recommender Agent Fusing Large Language Models and Soar for Explainable Recommendation

Jiaxin Hu, Tao Wang, Bingsan Yang, Hongrun Wang

TL;DR

A novel cognitive recommender agent called CogRec is proposed which synergizes the strengths of LLMs with the Soar cognitive architecture and allows the agent to continuously evolve its knowledge base and furnish highly interpretable rationales for its recommendations.

Abstract

Large Language Models (LLMs) have demonstrated a remarkable capacity in understanding user preferences for recommendation systems. However, they are constrained by several critical challenges, including their inherent "Black-Box" characteristics, susceptibility to knowledge hallucination, and limited online learning capacity. These factors compromise their trustworthiness and adaptability. Conversely, cognitive architectures such as Soar offer structured and interpretable reasoning processes, yet their knowledge acquisition is notoriously laborious. To address these complementary challenges, we propose a novel cognitive recommender agent called CogRec which synergizes the strengths of LLMs with the Soar cognitive architecture. CogRec leverages Soar as its core symbolic reasoning engine and leverages an LLM for knowledge initialization to populate its working memory with production rules. The agent operates on a Perception-Cognition-Action(PCA) cycle. Upon encountering an impasse, it dynamically queries the LLM to obtain a reasoned solution. This solution is subsequently transformed into a new symbolic production rule via Soar's chunking mechanism, thereby enabling robust online learning. This learning paradigm allows the agent to continuously evolve its knowledge base and furnish highly interpretable rationales for its recommendations. Extensive evaluations conducted on three public datasets demonstrate that CogRec demonstrates significant advantages in recommendation accuracy, explainability, and its efficacy in addressing the long-tail problem.

CogRec: A Cognitive Recommender Agent Fusing Large Language Models and Soar for Explainable Recommendation

TL;DR

A novel cognitive recommender agent called CogRec is proposed which synergizes the strengths of LLMs with the Soar cognitive architecture and allows the agent to continuously evolve its knowledge base and furnish highly interpretable rationales for its recommendations.

Abstract

Large Language Models (LLMs) have demonstrated a remarkable capacity in understanding user preferences for recommendation systems. However, they are constrained by several critical challenges, including their inherent "Black-Box" characteristics, susceptibility to knowledge hallucination, and limited online learning capacity. These factors compromise their trustworthiness and adaptability. Conversely, cognitive architectures such as Soar offer structured and interpretable reasoning processes, yet their knowledge acquisition is notoriously laborious. To address these complementary challenges, we propose a novel cognitive recommender agent called CogRec which synergizes the strengths of LLMs with the Soar cognitive architecture. CogRec leverages Soar as its core symbolic reasoning engine and leverages an LLM for knowledge initialization to populate its working memory with production rules. The agent operates on a Perception-Cognition-Action(PCA) cycle. Upon encountering an impasse, it dynamically queries the LLM to obtain a reasoned solution. This solution is subsequently transformed into a new symbolic production rule via Soar's chunking mechanism, thereby enabling robust online learning. This learning paradigm allows the agent to continuously evolve its knowledge base and furnish highly interpretable rationales for its recommendations. Extensive evaluations conducted on three public datasets demonstrate that CogRec demonstrates significant advantages in recommendation accuracy, explainability, and its efficacy in addressing the long-tail problem.
Paper Structure (29 sections, 6 equations, 6 figures, 2 tables)

This paper contains 29 sections, 6 equations, 6 figures, 2 tables.

Figures (6)

  • Figure 1: Overview of the CogRec Framework. The figure illustrates the Soar-centric cognitive cycle, with the LLM serving as an external knowledge module. Neuro-symbolic interaction and learning are facilitated by the Bridge Module. The information flow begins with user input, proceeds through LLM-based encoding into the Soar core for reasoning, and culminates in the output of recommendations and their corresponding explanations.
  • Figure 2: An example of a structured query automatically generated by CogRec's Symbol-to-Text Converter upon encountering a decision impasse.
  • Figure 3: The performance of CogRec and its variants.
  • Figure 4: Variation of LCF with the number of interaction steps.
  • Figure 5: Performance comparison on head and long-tail items (N@10 on ML-1M)
  • ...and 1 more figures