Thursday, January 5, 2023

How would an AI handle my stories?

 My brother sent me this link, and asked me to play with it:

And the results are .... interesting. Both amazingly, surprisingly good (like it writes better than many people), but also a little flat and emotionless. 

So here is my first interaction:

"Tell a story from the point of view of a member of the French Resistance from WW2."

Here is what it gave me:

     It was the year 1943 and I was a member of the French Resistance, fighting against the Nazi occupation of my beloved country. My name was Marie, and I was only 25 years old, but I had already seen and done more than most people do in a lifetime.

     I lived in a small village in the countryside, not far from the city of Lyon. Our group was made up of about a dozen men and women, all of us united in our desire to free France from the grip of the Germans. We did whatever we could to sabotage their efforts and aid the Allied forces however possible. 
     One of my main tasks was to gather intelligence and pass it on to the British and American spies who came through our village. I would listen to the gossip of the Nazi soldiers and try to overhear any useful information, then write it down and pass it on. It was dangerous work, but I knew it was important. 
     One day, I received a message that a high-ranking German officer was going to be passing through our village, and that he would be carrying important documents with him. This was a golden opportunity to get our hands on some valuable information, and I knew I had to take the risk.
     I enlisted the help of a few of my fellow resistance fighters, and together we set up a plan to intercept the officer's convoy as it passed through the village. We chose a spot on the road where the convoy would have to slow down, and when the time came, we emerged from our hiding places and attacked the vehicles with all the weapons we had.
     It was a chaotic and violent scene, but somehow we managed to emerge victorious. We seized the documents and made off with them into the woods, where we took them back to our safe house and began to study them. 
     As it turned out, the documents were even more valuable than we had hoped. They contained detailed plans for a major offensive by the Germans, and with this information, we were able to alert the Allies and give them a crucial advantage. 
     I will never forget the sense of pride and accomplishment I felt as we sat around the table, studying those documents and knowing that we had made a real difference. The war was not over yet, but we had struck a blow for freedom, and that was a feeling I would cherish for the rest of my life.

Not bad!   It's clear and easy to read and follow.  Nothing jumps out at me, other than it wasn't very exciting. It also seems a bit emotionless and lacks detail.

So next, I asked it to re-write a scene (that I had written) but from a different character's point of view.

 Specifically, my instructions were, "Re-write this scene from Roma's point of view."

The side-by-side format is a little hard to read. I'd advise reading until you reach the double-line break, then move to the right.

My Scene (Arthur's POV) AI's Scene (Roma's POV) My comments
    Arthur drove Roma to the hospital then helped her inside.  A doctor took her into an exam room, and Arthur started to take off his coat, then realized the room was very cold, that he could still see his breath.  
    The doctor brought Roma back out.  “She’s not quite ready, perhaps another few hours.  There’s no one else in the delivery room today, so you may wait with her there, until it’s time.”  The doctor led them to the delivery room. “We lack fuel to heat the entire hospital, so the only heated rooms are the ORs and the delivery rooms.”  That explained why the lobby was so cold.

    Roma watched as Arthur drove them to the hospital, then helped her inside. A doctor led her into an exam room, and she noticed that the room was very cold, with Arthur's breath visible in the air. The doctor informed her that she was not quite ready to give birth and that they could wait in the delivery room until it was time. Roma noticed that the lobby was also freezing, and the doctor explained that due to a lack of fuel, only the operating rooms and delivery rooms were heated. Notice that it did NOT add a description of the exam to Roma's scene.

Roma also only noted Arthur's breath in the cold, not her own.
    Arthur pulled a book out of his pocket. It was a new copy of Madam Curie by Éve Curie. They’d left their first copy behind in Brussels. “Shall I read to you? It might help pass the time.”  
    Roma smiled — she was between contractions — and said, “Yes, I’d like that very much.”
    So he read to her, for hours, pausing when the contractions came, or when a doctor or nurse came in to check on her. After one such pause, he asked her, “So what are the names we picked out again?” 
    “Jean after your commanding officer, Jean Georges or Sylvie Jacqueline,” she reminded him instantly. When Liliane was born, they’d chosen a name with a common English cognate, and they’d done the same thing this time, still planning to go to America someday.  And while they weren't religious, the Jewish prohibition against naming a child after a living relative perhaps still informed their decisions. To name the child after Isaac, or Teofila or Lola meant that they had lost that tiny bit of hope that Roma’s family had survived. 

    Arthur pulled out a book, Madam Curie by Éve Curie, and offered to read to Roma to pass the time. Roma happily agreed and listened as Arthur read to her, pausing during contractions or when a doctor or nurse came in to check on her. Arthur asked her about the names they had chosen for the baby, and Roma reminded him that they had chosen Jean Georges or Sylvie Jacqueline, both with common English cognates and not after any living relatives, in keeping with their plans to someday move to America and the Jewish tradition. The AI did a lot of summarizing here, and got rid of the dialog. The summarization got weird at times. It's also not clearly from Roma's POV, and is kind of from both POVs.
    Finally, something seemed to change in Roma, and she said, “Arthur, I think it’s time.”  
    He opened the door, and went to find the doctor, but the man was already on his way in to check on Roma. 
    Arthur remained in the hallway outside, his hands in his pockets, and he paced to keep warm.  The doctor came out, and said, “the baby is coming soon; please go to the lobby.”
    “May I retrieve my coat?” Arthur asked, rubbing his cold hands together.
    “Yes, of course.” 
    Arthur collected his coat, hat, and gloves, then left the room, pulling them on as he left. Two nurses came in, and the doctor closed the door behind them.

    Finally, Roma felt that it was time to give birth and told Arthur. He left to find the doctor, but the doctor was already on his way in. Roma watched as Arthur remained in the hallway outside, his hands in his pockets as he tried to stay warm by pacing. The doctor eventually told Arthur to go to the lobby, and Arthur collected his coat, hat, and gloves before leaving the room. It did a reasonably good job switching at the beginning of the paragraph, but the POV got unclear in the middle and end.
    Arthur was freezing. The waiting area was very cold and he could see his breath. If he sat down, he got cold, and soon began shivering.  So he’d get back up, blow into his hands to warm them, and bounce and pace and run in place to warm up again. But then he got tired, and sat back down, only to start the freeze-thaw cycle again.  
    He was terribly uncomfortable, but he couldn’t bring himself to ask for a blanket. The patients needed the blankets far more than he did. His nose was cold and his toes were numb.

    Roma was grateful to be in the warm delivery room as Arthur struggled to stay warm in the freezing waiting area. He tried to keep active by pacing, bouncing, and running in place, but eventually sat down, only to start shivering again. Roma knew he was uncomfortable, but he didn't ask for a blanket, knowing the patients needed them more. She worried about him as he sat with numb toes and a cold nose, shivering and chattering his teeth. Same as above - the POV is Roma's at the beginning of the paragraph and it added a nice little detail about how she felt about being in the warm room.  But here's where it got bad: Roma was busy giving birth, and it didn't describe her birth experience at all.
She is also describing (as if with ESP) what Arthur was doing and feeling, even though he wasn't in the room.
    After two hours, the smiling doctor came to find him. “Mr. Lubinski, you have a lovely, healthy daughter, and your wife is just fine.”  
    Relief poured through Arthur, both because he knew his family was safe, but also because now he could get warm.  “May I see her?” Arthur was shivering, and his teeth chattered as he spoke.  He had been planning to get up and begin his warm up routine, but stepping into the heated delivery room sounded much better.  
    “Yes. Come in, warm up, and see your new daughter.”  
    After two hours, the doctor came to inform Arthur that Roma had given birth to a healthy daughter and was doing well. Arthur was relieved and eager to see his new daughter and warm up in the heated delivery room. The doctor welcomed him in, and Arthur finally got the chance to get warm and meet his new daughter. POV not well switched here at all.

So, there you have it. As a storyteller, the AI is surprisingly good, but not as good as well ... a human storyteller (like me!). At this time, it doesn't understand how to integrate dialog with narrative, and it does an incomplete job of switching the POV. It also doesn't know to add to the story - what were the things Roma experienced, that Arthur didn't see?

No comments:

Post a Comment

Neither spam nor mean comments are allowed. I'm the sole judge of what constitutes either one, and any comment that I consider mean or spammy will be deleted without warning or response.