mlsanityData to 7 Oct 2026

RecurrentGPT: Interactive Generation of (Arbitrarily) Long Text

arXiv 2305.13304 ↗First posted 22 May 2023cs.CL cs.LGcited by 84

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

  1. 2017Attention Is All You Needcited by 59,932
  2. 2020Language Models are Few-Shot Learnerscited by 32,199
  3. 2022Training language models to follow instructions with human feedbackcited by 15,712
  4. 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,049
  5. 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,464
  6. 2020Longformer: The Long-Document Transformercited by 3,362
  7. 2020Big Bird: Transformers for Longer Sequencescited by 1,673
  8. 2020Reformer: The Efficient Transformercited by 1,658
  9. 2019Generating Long Sequences with Sparse Transformerscited by 1,523
  10. 2018Hierarchical Neural Story Generationcited by 1,182
  11. 2021Train Short, Test Long: Attention with Linear Biases Enables Input Length Extrapolationcited by 1,085
  12. 2019Compressive Transformers for Long-Range Sequence Modellingcited by 699
12 more
  1. 2022CoAuthor: Designing a Human-AI Collaborative Writing Dataset for Exploring Language Model Capabilitiescited by 245
  2. 2018Plan-And-Write: Towards Better Automatic Storytellingcited by 232
  3. 2022Recurrent Memory Transformercited by 197
  4. 2022Re3: Generating Longer Stories With Recursive Reprompting and Revisioncited by 193
  5. 2019Strategies for Structuring Story Generationcited by 124
  6. 2019Plan, Write, and Revise: an Interactive System for Open-Domain Story Generationcited by 43
  7. 2021Wordcraft: a Human-AI Collaborative Editor for Story Writingcited by 41
  8. 2019R-Transformer: Recurrent Neural Network Enhanced Transformercited by 39
  9. 2023Choice Over Control: How Users Write with Large Language Models using Diegetic and Non-Diegetic Promptingcited by 36
  10. 2022Zero-shot Sonnet Generation with Discourse-level Planning and Aesthetics Featurescited by 24
  11. 2020Summarize, Outline, and Elaborate: Long-Text Generation via Hierarchical Supervision from Extractive Summariescited by 19
  12. 2022Go Back in Time: Generating Flashbacks in Stories with Event Temporal Promptscited by 15

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2023: 13; 2024: 31; 2025: 21; 2026: 19.

84 papers.

Sort:

By area:

  1. 2023LongBench: A Bilingual, Multitask Benchmark for Long Context Understandingcited by 1,378
  2. 2024TravelPlanner: A Benchmark for Real-World Planning with Language Agentscited by 385
  3. 2025Memory in the Age of AI Agentscited by 285
  4. 2024Leak, Cheat, Repeat: Data Contamination and Evaluation Malpractices in Closed-Source LLMscited by 224
  5. 2024Chain of Agents: Large Language Models Collaborating on Long-Context Taskscited by 201
  6. 2023Walking Down the Memory Maze: Beyond Context Limit through Interactive Readingcited by 129
  7. 2023LM-Infinite: Zero-Shot Extreme Length Generalization for Large Language Modelscited by 120
  8. 2023Agents: An Open-source Framework for Autonomous Language Agentscited by 116
  9. 2024AutoSurvey: Large Language Models Can Automatically Write Surveyscited by 116
  10. 2024Symbolic Learning Enables Self-Evolving Agentscited by 104
  11. 2024LV-Eval: A Balanced Long-Context Benchmark with 5 Length Levels Up to 256Kcited by 80
  12. 2023Advancing Transformer Architecture in Long-Context Large Language Models: A Comprehensive Surveycited by 71
38 more
  1. 2025A Survey on (M)LLM-Based GUI Agentscited by 61
  2. 2025Scaling Test-time Compute for LLM Agentscited by 59
  3. 2024Agents' Room: Narrative Generation through Multi-step Collaborationcited by 57
  4. 2023BAMBOO: A Comprehensive Benchmark for Evaluating Long Text Modeling Capacities of Large Language Modelscited by 53
  5. 2024Raidar: geneRative AI Detection viA Rewritingcited by 51
  6. 2025M+: Extending MemoryLLM with Scalable Long-Term Memorycited by 51
  7. 2024Autonomous LLM-driven research from data to human-verifiable research paperscited by 50
  8. 2025TaskCraft: Automated Generation of Agentic Taskscited by 46
  9. 2023Extending Context Window of Large Language Models via Semantic Compressioncited by 45
  10. 2024HelloBench: Evaluating Long Text Generation Capabilities of Large Language Modelscited by 42
  11. 2024LongAgent: Scaling Language Models to 128k Context through Multi-Agent Collaborationcited by 38
  12. 2024MemLLM: Finetuning LLMs to Use An Explicit Read-Write Memorycited by 35
  13. 2025OS Agents: A Survey on MLLM-based Agents for General Computing Devices Usecited by 35
  14. 2025Learning to Reason for Long-Form Story Generationcited by 34
  15. 2024The What, Why, and How of Context Length Extension Techniques in Large Language Models -- A Detailed Surveycited by 32
  16. 2024Debate-to-Write: A Persona-Driven Multi-Agent Framework for Diverse Argument Generationcited by 29
  17. 2024PsychoGAT: A Novel Psychological Measurement Paradigm through Interactive Fiction Games with LLM Agentscited by 28
  18. 2025OAgents: An Empirical Study of Building Effective Agentscited by 28
  19. 2025Flash-Searcher: Fast and Effective Web Agents via DAG-Based Parallel Executioncited by 27
  20. 2024DataNarrative: Automated Data-Driven Storytelling with Visualizations and Textscited by 25
  21. 2024Language Models can Self-Lengthen to Generate Long Textscited by 24
  22. 2023Improving Pacing in Long-Form Story Planningcited by 21
  23. 2024Self-Updatable Large Language Models by Integrating Context into Model Parameterscited by 21
  24. 2024Collective Critics for Creative Story Generationcited by 21
  25. 2024Accelerating Retrieval-Augmented Language Model Serving with Speculationcited by 20
  26. 2024IDEA: Enhancing the Rule Learning Ability of Large Language Model Agent through Induction, Deduction, and Abductioncited by 20
  27. 2023Learning Long Sequences in Spiking Neural Networkscited by 19
  28. 2023Empowering Working Memory for Large Language Model Agentscited by 18
  29. 2025OmniThink: Expanding Knowledge Boundaries in Machine Writing through Thinkingcited by 18
  30. 2024Navigating the Path of Writing: Outline-guided Text Generation with Large Language Modelscited by 15
  31. 2025DocLens : A Tool-Augmented Multi-Agent Framework for Long Visual Document Understandingcited by 15
  32. 2024Towards LifeSpan Cognitive Systemscited by 13
  33. 2026Memex(RL): Scaling Long-Horizon LLM Agents via Indexed Experience Memorycited by 11
  34. 2024SPikE-SSM: A Sparse, Precise, and Efficient Spiking State Space Model for Long Sequences Learningcited by 9
  35. 2024A Multi-Agent Approach to Fault Localization via Graph-Based Retrieval and Reflexioncited by 8
  36. 2023End-to-end Story Plot Generatorcited by 7
  37. 2025MiniLongBench: The Low-cost Long Context Understanding Benchmark for Large Language Modelscited by 7
  38. 2025JoyAgent-JDGenie: Technical Report on the GAIAcited by 7

50 most cited of 84 All 84 (JSON)