From LLM to Conversational Agent: A Memory Enhanced Architecture with Fine-Tuning of Large Language Models

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Liu, Na, Chen, Liangyu, Tian, Xiaoyu, Zou, Wei, Chen, Kaijiang, Cui, Ming
Format: Preprint
Publié: 2024
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866909087045779456
author Liu, Na
Chen, Liangyu
Tian, Xiaoyu
Zou, Wei
Chen, Kaijiang
Cui, Ming
author_facet Liu, Na
Chen, Liangyu
Tian, Xiaoyu
Zou, Wei
Chen, Kaijiang
Cui, Ming
contents This paper introduces RAISE (Reasoning and Acting through Scratchpad and Examples), an advanced architecture enhancing the integration of Large Language Models (LLMs) like GPT-4 into conversational agents. RAISE, an enhancement of the ReAct framework, incorporates a dual-component memory system, mirroring human short-term and long-term memory, to maintain context and continuity in conversations. It entails a comprehensive agent construction scenario, including phases like Conversation Selection, Scene Extraction, CoT Completion, and Scene Augmentation, leading to the LLMs Training phase. This approach appears to enhance agent controllability and adaptability in complex, multi-turn dialogues. Our preliminary evaluations in a real estate sales context suggest that RAISE has some advantages over traditional agents, indicating its potential for broader applications. This work contributes to the AI field by providing a robust framework for developing more context-aware and versatile conversational agents.
format Preprint
id arxiv_https___arxiv_org_abs_2401_02777
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle From LLM to Conversational Agent: A Memory Enhanced Architecture with Fine-Tuning of Large Language Models
Liu, Na
Chen, Liangyu
Tian, Xiaoyu
Zou, Wei
Chen, Kaijiang
Cui, Ming
Computation and Language
Artificial Intelligence
This paper introduces RAISE (Reasoning and Acting through Scratchpad and Examples), an advanced architecture enhancing the integration of Large Language Models (LLMs) like GPT-4 into conversational agents. RAISE, an enhancement of the ReAct framework, incorporates a dual-component memory system, mirroring human short-term and long-term memory, to maintain context and continuity in conversations. It entails a comprehensive agent construction scenario, including phases like Conversation Selection, Scene Extraction, CoT Completion, and Scene Augmentation, leading to the LLMs Training phase. This approach appears to enhance agent controllability and adaptability in complex, multi-turn dialogues. Our preliminary evaluations in a real estate sales context suggest that RAISE has some advantages over traditional agents, indicating its potential for broader applications. This work contributes to the AI field by providing a robust framework for developing more context-aware and versatile conversational agents.
title From LLM to Conversational Agent: A Memory Enhanced Architecture with Fine-Tuning of Large Language Models
topic Computation and Language
Artificial Intelligence
url https://arxiv.org/abs/2401.02777