Papers
Topics
Authors
Recent
Gemini 2.5 Flash
Gemini 2.5 Flash
38 tokens/sec
GPT-4o
59 tokens/sec
Gemini 2.5 Pro Pro
41 tokens/sec
o3 Pro
7 tokens/sec
GPT-4.1 Pro
50 tokens/sec
DeepSeek R1 via Azure Pro
28 tokens/sec
2000 character limit reached

CharacterGLM: Customizing Chinese Conversational AI Characters with Large Language Models (2311.16832v1)

Published 28 Nov 2023 in cs.CL and cs.AI
CharacterGLM: Customizing Chinese Conversational AI Characters with Large Language Models

Abstract: In this paper, we present CharacterGLM, a series of models built upon ChatGLM, with model sizes ranging from 6B to 66B parameters. Our CharacterGLM is designed for generating Character-based Dialogues (CharacterDial), which aims to equip a conversational AI system with character customization for satisfying people's inherent social desires and emotional needs. On top of CharacterGLM, we can customize various AI characters or social agents by configuring their attributes (identities, interests, viewpoints, experiences, achievements, social relationships, etc.) and behaviors (linguistic features, emotional expressions, interaction patterns, etc.). Our model outperforms most mainstream close-source large langauge models, including the GPT series, especially in terms of consistency, human-likeness, and engagement according to manual evaluations. We will release our 6B version of CharacterGLM and a subset of training data to facilitate further research development in the direction of character-based dialogue generation.

CharacterGLM: Customizing Chinese Conversational AI Characters with LLMs

The paper focuses on the introduction and evaluation of CharacterGLM, a set of models constructed on the foundation of ChatGLM. These models, varying from 6B to 66B parameters, are crafted to enable character-based dialogue tasks—referred to as CharacterDial—tailored to meet social and emotional needs by allowing extensive character customization.

Model Architecture and Objectives

CharacterGLM is designed specifically for creating diverse AI characters or social agents. This is done by customizing their attributes, such as identities and experiences, and behaviors including linguistic and emotional features. The objective is to endow these AI characters with capabilities in consistency, human-likeness, and engagement, surpassing many closed-source LLMs like the GPT series.

Data Collection and Model Training

The authors crowdsourced a comprehensive Chinese CharacterDial corpus from various domains, including celebrities, daily life, and virtual settings, to fine-tune the CharacterGLM models. While leveraging ChatGLM, they enhanced model training with self-refinement techniques inspired by LaMDA, aiming for continuous improvement in dialogue quality and adherence to character profiles.

Evaluation Framework

A detailed evaluation was conducted involving both pairwise and pointwise assessments, comparing CharacterGLM against competitive models, including GPT-3.5, GPT-4, and others. Evaluations were based primarily on dimensions critical to social dialogue: consistency, human-likeness, and engagement, with an emphasis on long-term interaction potential.

Key Findings and Implications

CharacterGLM-66B demonstrated a notable advantage in modeling character attributes and behaviors consistently across extended interactions, often surpassing GPT-3.5 and performing on par with GPT-4. This indicates a promising step toward filling gaps in character-based dialogue research, particularly in generating emotionally resonating content suitable for long-term interactions.

The release of the 6B model and a subset of high-quality dialogue data underscores the authors' intention to advance the research in character-based dialogue generation. This facilitates exploration in enriching AI characters with nuanced personalities, enabling them to act as social companions and furthering the practical applications of AI in conversational settings.

Future Research Directions

The paper outlines several avenues for future advancement, including:

  1. Long-term Memory and Growth: Developing models that can remember past interactions and exhibit traits akin to learning and growth over multiple sessions.
  2. Self-awareness: Ensuring AI characters maintain a distinct, aware sense of self, enhancing trust and interaction quality.
  3. Inter-character Social Dynamics: Exploring interactions among AI characters within a virtual society to enrich conversational capabilities.
  4. Intrinsic Cognitive Processes: Incorporating deeper cognitive processes to mirror human social interactions more closely, addressing both text generation and understanding.

Conclusion

CharacterGLM stands as a significant contribution towards character-based conversational AI, illustrating the potential of LLMs in customizing interactive experiences. The work serves as a foundation for expanding AI's social functionalities, aligning technological development with intricate human social and emotional dynamics.

User Edit Pencil Streamline Icon: https://streamlinehq.com
Authors (17)
  1. Jinfeng Zhou (15 papers)
  2. Zhuang Chen (13 papers)
  3. Dazhen Wan (6 papers)
  4. Bosi Wen (8 papers)
  5. Yi Song (34 papers)
  6. Jifan Yu (49 papers)
  7. Yongkang Huang (6 papers)
  8. Libiao Peng (6 papers)
  9. Jiaming Yang (9 papers)
  10. Xiyao Xiao (6 papers)
  11. Sahand Sabour (13 papers)
  12. Xiaohan Zhang (78 papers)
  13. Wenjing Hou (1 paper)
  14. Yijia Zhang (24 papers)
  15. Yuxiao Dong (119 papers)
  16. Jie Tang (302 papers)
  17. Minlie Huang (225 papers)
Citations (19)