RecurrentGPT: Interactive Generation of (Arbitrarily) Long Text
Not on the map. Why?
Cited by 28 in LLM agents and tool use, but placed by its own abstract, which didn’t fit.
Abstract (arXiv)
The fixed-size context of Transformer makes GPT models incapable of generating arbitrarily long text. In this paper, we introduce RecurrentGPT, a language-based simulacrum of the recurrence mechanism in RNNs. RecurrentGPT is built upon a large language model (LLM) such as ChatGPT and uses natural language to simulate the Long Short-Term Memory mechanism in an LSTM. At each timestep, RecurrentGPT generates a paragraph of text and updates its language-based long-short term memory stored on the hard drive and the prompt, respectively. This recurrence mechanism enables RecurrentGPT to generate texts of arbitrary length without forgetting. Since human users can easily observe and edit the natural language memories, RecurrentGPT is interpretable and enables interactive generation of long text. RecurrentGPT is an initial step towards next-generation computer-assisted writing systems beyond local editing suggestions. In addition to producing AI-generated content (AIGC), we also demonstrate the possibility of using RecurrentGPT as an interactive fiction that directly interacts with consumers. We call this usage of generative models by ``AI As Contents'' (AIAC), which we believe is the next form of conventional AIGC. We further demonstrate the possibility of using RecurrentGPT to create personalized interactive fiction that directly interacts with readers instead of interacting with writers. More broadly, RecurrentGPT demonstrates the utility of borrowing ideas from popular model designs in cognitive science and deep learning for prompting LLMs. Our code is available at https://github.com/aiwaves-cn/RecurrentGPT and an online demo is available at https://www.aiwaves.org/recurrentgpt.
Key facts. Cited by 84 papers in the map (data through 7 Oct 2026). Builds on 24 of its 37 references that are in the map. First posted on arXiv 22 May 2023.
Builds on
24 of 37 references.
References · 24
- 2017Attention Is All You Needcited by 59,932
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2022Training language models to follow instructions with human feedbackcited by 15,712
- 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,049
- 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,464
- 2020Longformer: The Long-Document Transformercited by 3,362
- 2020Big Bird: Transformers for Longer Sequencescited by 1,673
- 2020Reformer: The Efficient Transformercited by 1,658
- 2019Generating Long Sequences with Sparse Transformerscited by 1,523
- 2018Hierarchical Neural Story Generationcited by 1,182
- 2021Train Short, Test Long: Attention with Linear Biases Enables Input Length Extrapolationcited by 1,085
- 2019Compressive Transformers for Long-Range Sequence Modellingcited by 699
12 more
- 2022CoAuthor: Designing a Human-AI Collaborative Writing Dataset for Exploring Language Model Capabilitiescited by 245
- 2018Plan-And-Write: Towards Better Automatic Storytellingcited by 232
- 2022Recurrent Memory Transformercited by 197
- 2022Re3: Generating Longer Stories With Recursive Reprompting and Revisioncited by 193
- 2019Strategies for Structuring Story Generationcited by 124
- 2019Plan, Write, and Revise: an Interactive System for Open-Domain Story Generationcited by 43
- 2021Wordcraft: a Human-AI Collaborative Editor for Story Writingcited by 41
- 2019R-Transformer: Recurrent Neural Network Enhanced Transformercited by 39
- 2023Choice Over Control: How Users Write with Large Language Models using Diegetic and Non-Diegetic Promptingcited by 36
- 2022Zero-shot Sonnet Generation with Discourse-level Planning and Aesthetics Featurescited by 24
- 2020Summarize, Outline, and Elaborate: Long-Text Generation via Hierarchical Supervision from Extractive Summariescited by 19
- 2022Go Back in Time: Generating Flashbacks in Stories with Event Temporal Promptscited by 15
Built on by
Citing papers per year: 2023: 13; 2024: 31; 2025: 21; 2026: 19.
84 papers.
Sort:
By area:
- 2023LongBench: A Bilingual, Multitask Benchmark for Long Context Understandingcited by 1,378
- 2024TravelPlanner: A Benchmark for Real-World Planning with Language Agentscited by 385
- 2025Memory in the Age of AI Agentscited by 285
- 2024Leak, Cheat, Repeat: Data Contamination and Evaluation Malpractices in Closed-Source LLMscited by 224
- 2024Chain of Agents: Large Language Models Collaborating on Long-Context Taskscited by 201
- 2023Walking Down the Memory Maze: Beyond Context Limit through Interactive Readingcited by 129
- 2023LM-Infinite: Zero-Shot Extreme Length Generalization for Large Language Modelscited by 120
- 2023Agents: An Open-source Framework for Autonomous Language Agentscited by 116
- 2024AutoSurvey: Large Language Models Can Automatically Write Surveyscited by 116
- 2024Symbolic Learning Enables Self-Evolving Agentscited by 104
- 2024LV-Eval: A Balanced Long-Context Benchmark with 5 Length Levels Up to 256Kcited by 80
- 2023Advancing Transformer Architecture in Long-Context Large Language Models: A Comprehensive Surveycited by 71
38 more
- 2025A Survey on (M)LLM-Based GUI Agentscited by 61
- 2025Scaling Test-time Compute for LLM Agentscited by 59
- 2024Agents' Room: Narrative Generation through Multi-step Collaborationcited by 57
- 2023BAMBOO: A Comprehensive Benchmark for Evaluating Long Text Modeling Capacities of Large Language Modelscited by 53
- 2024Raidar: geneRative AI Detection viA Rewritingcited by 51
- 2025M+: Extending MemoryLLM with Scalable Long-Term Memorycited by 51
- 2024Autonomous LLM-driven research from data to human-verifiable research paperscited by 50
- 2025TaskCraft: Automated Generation of Agentic Taskscited by 46
- 2023Extending Context Window of Large Language Models via Semantic Compressioncited by 45
- 2024HelloBench: Evaluating Long Text Generation Capabilities of Large Language Modelscited by 42
- 2024LongAgent: Scaling Language Models to 128k Context through Multi-Agent Collaborationcited by 38
- 2024MemLLM: Finetuning LLMs to Use An Explicit Read-Write Memorycited by 35
- 2025OS Agents: A Survey on MLLM-based Agents for General Computing Devices Usecited by 35
- 2025Learning to Reason for Long-Form Story Generationcited by 34
- 2024The What, Why, and How of Context Length Extension Techniques in Large Language Models -- A Detailed Surveycited by 32
- 2024Debate-to-Write: A Persona-Driven Multi-Agent Framework for Diverse Argument Generationcited by 29
- 2024PsychoGAT: A Novel Psychological Measurement Paradigm through Interactive Fiction Games with LLM Agentscited by 28
- 2025OAgents: An Empirical Study of Building Effective Agentscited by 28
- 2025Flash-Searcher: Fast and Effective Web Agents via DAG-Based Parallel Executioncited by 27
- 2024DataNarrative: Automated Data-Driven Storytelling with Visualizations and Textscited by 25
- 2024Language Models can Self-Lengthen to Generate Long Textscited by 24
- 2023Improving Pacing in Long-Form Story Planningcited by 21
- 2024Self-Updatable Large Language Models by Integrating Context into Model Parameterscited by 21
- 2024Collective Critics for Creative Story Generationcited by 21
- 2024Accelerating Retrieval-Augmented Language Model Serving with Speculationcited by 20
- 2024IDEA: Enhancing the Rule Learning Ability of Large Language Model Agent through Induction, Deduction, and Abductioncited by 20
- 2023Learning Long Sequences in Spiking Neural Networkscited by 19
- 2023Empowering Working Memory for Large Language Model Agentscited by 18
- 2025OmniThink: Expanding Knowledge Boundaries in Machine Writing through Thinkingcited by 18
- 2024Navigating the Path of Writing: Outline-guided Text Generation with Large Language Modelscited by 15
- 2025DocLens : A Tool-Augmented Multi-Agent Framework for Long Visual Document Understandingcited by 15
- 2024Towards LifeSpan Cognitive Systemscited by 13
- 2026Memex(RL): Scaling Long-Horizon LLM Agents via Indexed Experience Memorycited by 11
- 2024SPikE-SSM: A Sparse, Precise, and Efficient Spiking State Space Model for Long Sequences Learningcited by 9
- 2024A Multi-Agent Approach to Fault Localization via Graph-Based Retrieval and Reflexioncited by 8
- 2023End-to-end Story Plot Generatorcited by 7
- 2025MiniLongBench: The Low-cost Long Context Understanding Benchmark for Large Language Modelscited by 7
- 2025JoyAgent-JDGenie: Technical Report on the GAIAcited by 7
50 most cited of 84 All 84 (JSON)
- 2026VideoLoop: Looped Working Memory Against Semantic Thrashing in Long-Form Video Agents29 Sep 2026
- 2026Scaling Long-Form Story Generation via Narrative State Tracking28 Sep 2026
- 2026AgentBrew: Offline Tool-Use Agent Learning from Raw Real-World Trajectories5 Sep 2026
- 2026CLIN: an Objective Framework for Evaluating Creativity in Short Persian Literary Text31 Aug 2026
- 2026A Multi-Framework Comparison of Outline Stages in Long-Form Generation with LLMs13 Aug 2026
- 2026From Memory to Skills: Evidence-Grounded Co-Evolution Governance for Long-Horizon LLM Agents18 Jul 2026
- 2026Multi-Head Recurrent Memory Agents1 Jul 2026
- 2026NarrativeWorldBench: A Frontier-Saturated Benchmark and a Latent World Model for Long-Horizon Co-Creative Audio Drama16 Jun 2026
- 2026Scaling Self-Evolving Agents via Parametric Memory3 Jun 2026
- 2026Episodic-Semantic Memory Architecture for Long-Horizon Scientific Agents17 May 2026
- 2026PAAC: Privacy-Aware Agentic Device-Cloud Collaboration9 May 2026
- 2026NARRA-Gym for Evaluating Interactive Narrative Agents8 May 2026
38 more
- 2026CSR: Infinite-Horizon Real-Time Policies with Massive Cached State Representations8 May 2026
- 2026DATAREEL: Automated Data-Driven Video Story Generation with Animations28 Apr 2026
- 2026LLMs Should Incorporate Explicit Mechanisms for Human Empathy12 Apr 2026
- 2026Lost in Stories: Consistency Bugs in Long Story Generation by LLMs6 Mar 2026
- 2026Memex(RL): Scaling Long-Horizon LLM Agents via Indexed Experience Memory4 Mar 2026
- 2026DTBench: A Synthetic Benchmark for Document-to-Table Extraction14 Feb 2026
- 2026Dynamic Long Context Reasoning over Compressed Memory via End-to-End Reinforcement Learning9 Feb 2026
- 2025Memory in the Age of AI Agents15 Dec 2025
- 2025DocLens : A Tool-Augmented Multi-Agent Framework for Long Visual Document Understanding14 Nov 2025
- 2025JoyAgent-JDGenie: Technical Report on the GAIA1 Oct 2025
- 2025Flash-Searcher: Fast and Effective Web Agents via DAG-Based Parallel Execution29 Sep 2025
- 2025EvolvR: Self-Evolving Pairwise Reasoning for Story Evaluation to Enhance Generation8 Aug 2025
- 2025OS Agents: A Survey on MLLM-based Agents for General Computing Devices Use6 Aug 2025
- 2025Long Story Generation via Knowledge Graph and Literary Theory5 Aug 2025
- 2025Memory-Augmented Architecture for Long-Term Context Handling in Large Language Models23 Jun 2025
- 2025OAgents: An Empirical Study of Building Effective Agents17 Jun 2025
- 2025Scaling Test-time Compute for LLM Agents15 Jun 2025
- 2025TaskCraft: Automated Generation of Agentic Tasks11 Jun 2025
- 2025In Dialogue with Intelligence: Rethinking Large Language Models as Collective Knowledge28 May 2025
- 2025MiniLongBench: The Low-cost Long Context Understanding Benchmark for Large Language Models26 May 2025
- 2025TraveLLaMA: A Multimodal Travel Assistant with Large-Scale Dataset and Structured Reasoning23 Apr 2025
- 2025Learning to Reason for Long-Form Story Generation28 Mar 2025
- 2025A Survey on (M)LLM-Based GUI Agents27 Mar 2025
- 2025MIND: Towards Immersive Psychological Healing with Multi-agent Inner Dialogue27 Feb 2025
- 2025Reducing Hallucinations in Language Model-based SPARQL Query Generation Using Post-Generation Memory Retrieval19 Feb 2025
- 2025M+: Extending MemoryLLM with Scalable Long-Term Memory1 Feb 2025
- 2025OmniThink: Expanding Knowledge Boundaries in Machine Writing through Thinking16 Jan 2025
- 2025Progressive Document-level Text Simplification via Large Language Models7 Jan 2025
- 2024Order Matters! An Empirical Study on Large Language Models' Input Order Bias in Software Fault Localization25 Dec 2024
- 2024Language Models can Self-Lengthen to Generate Long Texts31 Oct 2024
- 2024SPikE-SSM: A Sparse, Precise, and Efficient Spiking State Space Model for Long Sequences Learning7 Oct 2024
- 2024Agents' Room: Narrative Generation through Multi-step Collaboration3 Oct 2024
- 2024Collective Critics for Creative Story Generation3 Oct 2024
- 2024Self-Updatable Large Language Models by Integrating Context into Model Parameters1 Oct 2024
- 2024HelloBench: Evaluating Long Text Generation Capabilities of Large Language Models24 Sep 2024
- 2024A Multi-Agent Approach to Fault Localization via Graph-Based Retrieval and Reflexion20 Sep 2024
- 2024Contextual Compression in Retrieval-Augmented Generation for Large Language Models: A Survey20 Sep 2024
- 2024Towards LifeSpan Cognitive Systems20 Sep 2024
50 newest of 84 All 84 (JSON)
- 2024TravelPlanner: A Benchmark for Real-World Planning with Language Agentscited by 385
- 2025Memory in the Age of AI Agentscited by 285
- 2024Chain of Agents: Large Language Models Collaborating on Long-Context Taskscited by 201
- 2023Agents: An Open-source Framework for Autonomous Language Agentscited by 116
- 2024Symbolic Learning Enables Self-Evolving Agentscited by 104
- 2025A Survey on (M)LLM-Based GUI Agentscited by 61
- 2024Agents' Room: Narrative Generation through Multi-step Collaborationcited by 57
- 2025TaskCraft: Automated Generation of Agentic Taskscited by 46
- 2024LongAgent: Scaling Language Models to 128k Context through Multi-Agent Collaborationcited by 38
- 2025OS Agents: A Survey on MLLM-based Agents for General Computing Devices Usecited by 35
- 2024Debate-to-Write: A Persona-Driven Multi-Agent Framework for Diverse Argument Generationcited by 29
- 2025OAgents: An Empirical Study of Building Effective Agentscited by 28
12 most cited of 26 All 26 (JSON)
- 2026AgentBrew: Offline Tool-Use Agent Learning from Raw Real-World Trajectories5 Sep 2026
- 2026From Memory to Skills: Evidence-Grounded Co-Evolution Governance for Long-Horizon LLM Agents18 Jul 2026
- 2026Multi-Head Recurrent Memory Agents1 Jul 2026
- 2026Scaling Self-Evolving Agents via Parametric Memory3 Jun 2026
- 2026Episodic-Semantic Memory Architecture for Long-Horizon Scientific Agents17 May 2026
- 2026PAAC: Privacy-Aware Agentic Device-Cloud Collaboration9 May 2026
- 2026NARRA-Gym for Evaluating Interactive Narrative Agents8 May 2026
- 2026Memex(RL): Scaling Long-Horizon LLM Agents via Indexed Experience Memory4 Mar 2026
- 2025Memory in the Age of AI Agents15 Dec 2025
- 2025Flash-Searcher: Fast and Effective Web Agents via DAG-Based Parallel Execution29 Sep 2025
- 2025OS Agents: A Survey on MLLM-based Agents for General Computing Devices Use6 Aug 2025
- 2025OAgents: An Empirical Study of Building Effective Agents17 Jun 2025
12 newest of 26 All 26 (JSON)
- 2025Scaling Test-time Compute for LLM Agentscited by 59
- 2025Learning to Reason for Long-Form Story Generationcited by 34
- 2025OmniThink: Expanding Knowledge Boundaries in Machine Writing through Thinkingcited by 18
- 2024HGOT: Hierarchical Graph of Thoughts for Retrieval-Augmented In-Context Learning in Factuality Evaluationcited by 6
- 2026Dynamic Long Context Reasoning over Compressed Memory via End-to-End Reinforcement Learningcited by 5
- 2025EvolvR: Self-Evolving Pairwise Reasoning for Story Evaluation to Enhance Generationcited by 2
- 2025TraveLLaMA: A Multimodal Travel Assistant with Large-Scale Dataset and Structured Reasoningcited by 0
- 2025In Dialogue with Intelligence: Rethinking Large Language Models as Collective Knowledgecited by 0
- 2026VideoLoop: Looped Working Memory Against Semantic Thrashing in Long-Form Video Agentscited by 0
- 2026VideoLoop: Looped Working Memory Against Semantic Thrashing in Long-Form Video Agents29 Sep 2026
- 2026Dynamic Long Context Reasoning over Compressed Memory via End-to-End Reinforcement Learning9 Feb 2026
- 2025EvolvR: Self-Evolving Pairwise Reasoning for Story Evaluation to Enhance Generation8 Aug 2025
- 2025Scaling Test-time Compute for LLM Agents15 Jun 2025
- 2025In Dialogue with Intelligence: Rethinking Large Language Models as Collective Knowledge28 May 2025
- 2025TraveLLaMA: A Multimodal Travel Assistant with Large-Scale Dataset and Structured Reasoning23 Apr 2025
- 2025Learning to Reason for Long-Form Story Generation28 Mar 2025
- 2025OmniThink: Expanding Knowledge Boundaries in Machine Writing through Thinking16 Jan 2025
- 2024HGOT: Hierarchical Graph of Thoughts for Retrieval-Augmented In-Context Learning in Factuality Evaluation14 Feb 2024
- 2023LongBench: A Bilingual, Multitask Benchmark for Long Context Understandingcited by 1,378
- 2024Leak, Cheat, Repeat: Data Contamination and Evaluation Malpractices in Closed-Source LLMscited by 224
- 2023Walking Down the Memory Maze: Beyond Context Limit through Interactive Readingcited by 129
- 2023LM-Infinite: Zero-Shot Extreme Length Generalization for Large Language Modelscited by 120
- 2024AutoSurvey: Large Language Models Can Automatically Write Surveyscited by 116
- 2024LV-Eval: A Balanced Long-Context Benchmark with 5 Length Levels Up to 256Kcited by 80
- 2023Advancing Transformer Architecture in Long-Context Large Language Models: A Comprehensive Surveycited by 71
- 2023BAMBOO: A Comprehensive Benchmark for Evaluating Long Text Modeling Capacities of Large Language Modelscited by 53
- 2024Raidar: geneRative AI Detection viA Rewritingcited by 51
- 2025M+: Extending MemoryLLM with Scalable Long-Term Memorycited by 51
- 2024Autonomous LLM-driven research from data to human-verifiable research paperscited by 50
- 2023Extending Context Window of Large Language Models via Semantic Compressioncited by 45
12 most cited of 45 All 45 (JSON)
- 2026Scaling Long-Form Story Generation via Narrative State Tracking28 Sep 2026
- 2026CLIN: an Objective Framework for Evaluating Creativity in Short Persian Literary Text31 Aug 2026
- 2026A Multi-Framework Comparison of Outline Stages in Long-Form Generation with LLMs13 Aug 2026
- 2026CSR: Infinite-Horizon Real-Time Policies with Massive Cached State Representations8 May 2026
- 2026DATAREEL: Automated Data-Driven Video Story Generation with Animations28 Apr 2026
- 2026LLMs Should Incorporate Explicit Mechanisms for Human Empathy12 Apr 2026
- 2026Lost in Stories: Consistency Bugs in Long Story Generation by LLMs6 Mar 2026
- 2026DTBench: A Synthetic Benchmark for Document-to-Table Extraction14 Feb 2026
- 2025JoyAgent-JDGenie: Technical Report on the GAIA1 Oct 2025
- 2025Long Story Generation via Knowledge Graph and Literary Theory5 Aug 2025
- 2025Memory-Augmented Architecture for Long-Term Context Handling in Large Language Models23 Jun 2025
- 2025MiniLongBench: The Low-cost Long Context Understanding Benchmark for Large Language Models26 May 2025
12 newest of 45 All 45 (JSON)