I have some thoughts on iterative process for novel writing.
If you read something like Larry Brooks’ “Story Engineering” , or Syd Field’s “Screenplay” which breaks down the structure of a novel / screenplay respectively. Down to where “percentage wise” those events need to happen in the story
I imagine there are a few ways to write it iteratively by tackling the novel from a structure perspective.
This is all speculative, but it’s the approach I would try first.
I’m going to use Larry Brooks’ example in this case.
STEP 1: THE OVERALL STRUCTURE
You’ll need a few shot examples of stories summarized according to one specific structure. That hit all the key points on the story (inciting incidents, plot points, etc).
In case of Story Engineering it would be this:
From there, I feel that you could start generating original summaries that follow the same structure.
I think, this summary will need to be part of the prompt of every completion from then on, in order to keep the following summaries on topic,
STEP 2: LONG-FORM SUMMARIES
Like in the first step, now we need to get into more detail for each section of the book. (SETUP, RESPONSE, ATTACK, RESOLUTION)
I think at this point it is still feasible to “few-shot” it but I suppose a better approach would be to fine-tune models to generate each part from the Summary:
eg. “Write the introduction for the following story:”+[Structure generated on step 1]
In Larry Brooks’ books, he talks about the approach of laying out the foundations, or skeleton of your novel, each scene in the book has a purpose, which is to lead to setup the milestones. Once you know all of the requirements the scenes practically “write themselves” as they have a purpose. I think that’s a pretty good way to look at it I think.
The shape of this Summary would have to be something like a list of scenes that occur in the book.
SCENE 1: “Jasmine arrives at the airport of a new country”
SCENE 2: “Jasmine drops her bag and a handsome man, Steve picks is up, and returns it they exchange smiles”
SCENE 3: “Jasmine arrives at passport control, can’t find her passport.”
I speculate that you could get summaries as long as 1000 tokens here.
STEP 3: Expand the Scenes
I guess, here things start getting complicated. It will be hard to keep the book “on topic”. because of token limitations. And how connected things are in a book, how do you set up things you’lll pay off later on, etc.
But theoretically, you could, with the summary of the book, create prompts to expand scenes.
But with each prompt creating you create you’ll need to devise the mechanisms to keep GPT3 on topic.
Ok, I rambled enough, but I hope that this was useful or at least some food for thought.