Apollonion: Profile-centric Dialog Agent

Shangyu Chen, Zibo Zhao, Yuanyuan Zhao, Xiang LiarXiv 2024 · DOI

Abstract

Personalization remains a significant challenge for Large Language Model (LLM) dialog agents, which often provide generic responses due to a lack of persistent user identity. This paper introduces Apollonion, a framework designed to build and maintain structured user profiles from real-world interaction data. Apollonion utilizes a "Reflect" module to capture mid-conversation user traits and a hybrid retrieval system that combines vector similarity with LLM-based reasoning. Our experiments on the Meituan User Records dataset show that Apollonion significantly improves personalization, with LLM-based retrieval outperforming traditional embedding-based methods in both accuracy and token efficiency.

Introduction

Despite the rapid advancement of Large Language Models (LLMs) in reasoning and natural language understanding, current dialog agents often lack a sense of persistent user identity. While techniques like Retrieval-Augmented Generation (RAG) allow agents to reference current conversation history, they rarely account for a user's long-term habits, interests, or past experiences. This "one-size-fits-all" approach results in interactions that feel impersonal. For instance, a standard agent might suggest the same lunch options to a fitness enthusiast and a fast-food lover. To address this, we propose Apollonion, a framework named after the Temple of Apollo and its maxim "Know yourself," aimed at creating truly personalized AI agents.

The Apollonion Framework

The Apollonion framework is composed of four modular components designed to integrate long-term user data into the conversational flow.

The Apollonion framework architecture, detailing the interaction between Reflection, Retrieval, and Response modules.
  1. Profile Initialization: The system constructs a structured text profile from historical user data, such as purchases, clicks, and comments. These profiles are organized into six distinct categories: Daily Necessities, Entertainment/Travel, Health, Movies, Diet, and Medical/Beauty.
  2. Reflect: This dynamic module analyzes the user’s current query to infer immediate traits or needs. For example, if a user mentions a sore throat, the Reflect module updates the profile to prioritize non-spicy food and health-related suggestions for the duration of the context.
  3. Retrieve: Apollonion employs a hybrid retrieval strategy. Historical conversations are accessed via standard Embedding-based Retrieval (vector similarity). However, the structured user profile is accessed via LLM-based Retrieval, where an LLM identifies and extracts the most relevant profile segments for the current query.
  4. Response: The final module synthesizes the user query, retrieved profile data, and real-time reflections to generate a personalized response.

Experimental Setup and Dataset

We evaluated Apollonion using the Meituan User Records dataset, sourced from a major Chinese "super-app" encompassing food delivery, ticketing, and travel services.

Structured user profile categories derived from historical user interactions.

The dataset spans five months of user activity. The first three months were used for profile initialization (training), while the final two months served as the testing ground for the agent's predictive capabilities. To ensure user privacy, all data was desensitized, with proper nouns and specific locations replaced by unified representations.

Key Insights and Results

A primary contribution of this work is the "Pers" metric, an automated method for quantifying personalization. By measuring the embedding similarity between an agent's response and the user's initial profile, we can evaluate "user flavor" without the need for human annotators.

Our results indicate that GPT-4 serves as the current gold standard for this task, achieving 75.13% accuracy in identifying users based on their profiles and future behavior, compared to 61.66% for smaller models like Baichuan-13B. Furthermore, we found that LLM-based retrieval is significantly more efficient than full-profile processing. It achieved a Top-1 personalization accuracy of 29.1% using only 164 tokens, whereas using the full profile (1205 tokens) yielded only 21.8% accuracy. This suggests that LLMs are more effective at abstracting relevant information than simple vector searches or exhaustive context windows.

Limitations and Future Work

While Apollonion shows promise, several challenges remain. Smaller models occasionally suffer from "model collapse," reverting to generic, neutral responses and ignoring the user profile. Additionally, LLM-based retrieval, while accurate, is computationally expensive compared to vector-based RAG. Future research will focus on optimizing these processes for real-time applications and developing more seamless, life-long learning mechanisms for user profiles.

Summary updated

BibTeX
@misc{chen2024apollonion,
  author = {Shangyu Chen and Zibo Zhao and Yuanyuan Zhao and Xiang Li},
  title = {{Apollonion: Profile-centric Dialog Agent}},
  year = {2024},
  eprint = {2404.08692},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2404.08692},
}
Figure