Private beta opening soon. Founding members get the $15 Editorial Review free, plus 30% off any package.

BlogAI editing

Why AI Forgets the Middle of Your Book

Ask a chatbot to edit your novel and it starts sharp, then loses the thread by the middle. Here's the real reason, called lost in the middle, and what it means for editing a whole manuscript.

By Edith3 min read

TL;DR

AI forgets the middle of your book because of its context window, the fixed amount of text a model can hold in mind at once. A novel is far longer than that limit, so your earliest chapters slide out of view as you add more, and a documented effect called "lost in the middle" means models pay least attention to whatever sits in the center even when it does fit. It's a structural limit, not a prompting mistake, so the real fix is a tool that reads the whole manuscript at once and tracks it, not a cleverer prompt. Edith reads up to 150,000 words in a single pass and re-checks the whole book when you revise, so details don't drift between chapters.

You feed your novel to a chatbot a few chapters at a time. The opening notes feel sharp. Then something slips. A character's eye colour changes. A subplot you set up early is gone by the middle. It praises a detail it flagged as a problem ten pages ago. By the back half, it's clearly editing a different book from the one you wrote, and it doesn't seem to know.

This isn't you using it wrong, and it isn't a bug that a better prompt will fix. It's built into how general AI handles long text. Once you understand why, it's obvious why a novel is the hardest possible thing to hand one.

The context window, explained simply

Every AI model has a limit on how much text it can hold in mind at once, called its context window. Think of it as the amount it can keep on the desk in front of it. A novel is far longer than that desk is designed for. As you feed in more chapters, the earliest ones slide off the edge and out of view. By the time you reach your climax, the model may no longer have your opening chapters in front of it at all, so of course it forgets what happened there.

Lost in the middle: even what fits gets fuzzy

It gets worse, and this is the part most authors don't know. Even when text does fit in the window, models don't attend to all of it equally. Researchers found that language models use the beginning and the end of a long input well, and get noticeably worse at finding information buried in the middle. They named the effect "lost in the middle." For a novel, that's a precise description of the problem: the saggy midsection, the very place you most need a sharp editorial eye, is exactly where the model's attention is weakest.

Sources:Liu et al., Lost in the Middle: How Language Models Use Long Contexts (2023)

Why this hits a novel harder than almost anything else

Plenty of tasks fit comfortably on the desk: a single email, one scene, a paragraph to tighten. A novel doesn't, and the whole job of developmental editing is precisely the part that needs the whole book at once. Does the structure hold across all of it? Does a character set up in chapter two pay off in chapter thirty? Does the pacing earn its turns? These are questions about the book as a system, and you can't answer them while half the system is off the desk.

The symptoms authors notice

  • Names, ages, and physical details that drift between chapters.
  • Subplots or promises set up early and quietly dropped.
  • Feedback that contradicts itself across a long manuscript.
  • Advice that turns generic the further in you go, because it has lost the thread of your specific story.

The fix is structural, not a cleverer prompt

You can't prompt your way out of a desk that's too small. The fix is to read the whole book at once and deliberately track it, characters, decisions, and continuity, rather than feeding it through in forgetful slices. That's also why the soundest human approach is to read the entire manuscript before changing a word, something we recommend in our guide to self-editing your novel, and the same principle separates a real whole-book editor from a chat tool. We go deeper on that contrast in Edith vs ChatGPT.

Where Edith fits

Edith is built for exactly this. She reads your entire manuscript, up to 150,000 words, before she says a word, and tracks your characters and decisions across every chapter. When you revise, she re-checks the whole book for consistency, so a fix in chapter ten doesn't quietly break something in chapter twenty-two. And because she holds the whole story at once, she can be honest about it, the way an editor who reads the whole book and tells you the truth is meant to be. If keeping those details straight is the hard part for you, we wrote a practical guide to keeping characters consistent across chapters.

See where your story stands for $15

One honest, whole-book editorial read, written as a letter. No commitment to start, and every word stays yours.

See how it works

Frequently asked questions

Why does ChatGPT forget what happened earlier in my novel?
Because of its context window, the fixed amount of text it can hold in mind at once. A novel is far longer than that limit, so as you add chapters the earliest ones drop out of view and the model can no longer recall them. It's a structural limit, not something a better prompt fixes.
What does “lost in the middle” mean for AI?
It refers to a finding that language models use information at the beginning and end of a long input far better than information in the middle. Even when your text fits, the model's attention sags in the middle, which for a novel is exactly where developmental problems like a saggy midsection tend to live.
Can any AI edit a whole novel without forgetting it?
Only one designed to. The fix is to read the entire manuscript at once and actively track characters, decisions, and continuity, rather than process it in slices. Edith reads up to 150,000 words in one pass and re-checks the whole book for consistency when you revise.
How do I stop AI changing my characters' details between chapters?
Use a tool that holds the whole book in view and tracks those details, rather than a general chatbot working a few chapters at a time. Detail drift is a direct symptom of the context window and the lost-in-the-middle effect, so the solution is whole-book context, not a stricter prompt.

Join the private beta

Join now and you become a founding member. Two perks stay with your account: your $15 Editorial Review free, one per founding member, and 30% off any package. We’ll email you the moment early access opens.

No spam, ever. Just one note when it’s ready.