this post was submitted on 21 Sep 2024
65 points (87.4% liked)

Technology

59669 readers
3064 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 16 points 2 months ago* (last edited 2 months ago) (4 children)

I think that the technology just isn't there for most generated dialog.

What we're doing today is taking a training corpus and then directly, without higher-level processing, producing more text like it, given a prompt.

What limitations exist here?

  • Written and spoken language are not the same, and a lot of training data is from written language. In English, written sentences are longer than spoken ones. People use some different words and grammatical structures. Try reading a play or transcribing what someone says, and it kind of drives the point home. That's not an unsolvable problem, but it's a good argument that gluing something like ChatGPT to a speech synthesizer is a long way from where you want to be.

  • You need a training corpus similar to the way a given character would speak. Maybe if you want "a generic American", you're okay. And there's legitimate uses for that in games, certainly. But what if you want to have Celechir, high-elven guard in the kingdom of Arandie? How do you build up a list of things that Celechir would talk about? How much germane training data is there out there?

  • There is no strong association between text and game world state, which is normally desirable. Let's say that I'm creating a character in Fallout 4. How am I going to get them to talk about the world around them? I can encode some world state and state about that character in a prompt, but that's sharply-bounded using existing mechanisms -- I can provide maybe a couple of hundred prompt terms, which is not a lot to try to describe the world and relevant characters and all that. I'd guess that any such generation mechanism is going to require some level of pre-processing as to world state that doesn't exist today.

I am all for using generative AI to do speech synth. I've been impressed with output there. We may not be quite to the point of good, emotive speech yet, but we're good-enough for a lot of uses, and it lets one do things that cannot be done with pre-recorded, static samples from a voice actor, like dynamically-generated text.

But for writing dialog via generative AI? I'm a lot more hesitant there in the near future, given what I've seen so far.

Now, I am sure that you can make video games in certain limited genres that do leverage what's there. But I think that it's far enough from a drop-in replacement for hand-written text that it's not a great option. Maybe you can make a so-so sexy chatbot or something like that that's isolated from a broader video game world. Maybe you can create characters that speak in fairly-constrained ways. But I don't think that we can just create NPCs on par with human-written-dialog characters via gluing ChatGPT to them and providing a handful of human-language directives about how the character should act, the way we could for a human writer, which I think is what some people are dreaming of. Further down the line, maybe, but I think that it's still a fair way from where we are in 2024.

[–] 9488fcea02a9 6 points 2 months ago (3 children)

I dont think LLMs will or should replace properly written dialogue.

Where they would shine is just generating inane background chatter. So instead of hearing an NPC say "i took an arrow to the knee", or "jesus christ be praised! Henry's come to see us!" 300 times, an LLM could generate some short one liners that are a bit more dynamic. It would go a long way to making the world feel more alive.

[–] [email protected] 3 points 2 months ago* (last edited 2 months ago) (1 children)

That's a thought.

considers

I still think that the limiting factor there is more one of speech synth than writing dialog. Like, "arrow to the knee" is Skyrim, right?

kagis

Yeah. And those were voiced.

Similarly, you had Fallout: New Vegas with stuff like "patrolling the Mojave almost makes you wish for a nuclear winter".

I bet that it's not too expensive to write a lot of human-written dialog, but that hiring a bunch of voice actors to act out minor lines -- especially if a given character has only a few lines -- it is probably the more-expensive bit. Like, I think that a human dialog writer could probably affordably put together enough dialog that a player wouldn't really exhaust it, but that you'd want to make any synthesis of the lines not have a lot of extra cost.

[–] 9488fcea02a9 5 points 2 months ago

New text to speech models are incredible these days...

Again, we shouldnt replace actual voice actors for main dialog. But for generating thousands of lines of background chatter (which nobody would have time or resources to make anyway) LLM writing paired with text to speech could really help flesh out a living game world

load more comments (1 replies)
load more comments (1 replies)