Llama3 is the first open model that can also win text adventures
github.com
github.com
1) Claude 3 is poor at knowledge transfer and can't connect the events of the game with a Wikipedia summary of those events.
2) Claude is simply imitating surprise because it noticed text that "looked like" a twist ending.
In general I wish the author had considered possible data contamination: how much does Claude 3 know about this game in a fresh session? If it can recite details from some online walkthrough then I am not sure this experiment is even meaningful.
Of course I have considered data contamination. Especially, because the repository is now one year old. If there are no transcripts elsewhere, they are now in this repository. So at some point I have to switch to another text adventure.
When I ask Claude 3 Opus about the game and the steps to win the game, it massively hallucinates. However it knows, that I have overslept and have to move to the office.
Also, its ability to understand and remember the orientation of the rooms shows levels of comprehension that Llama 2 would have completely flopped on:
> SITUATION: I've searched the floor in the living room, but found nothing of interest.
> THOUGHT: Maybe I should head to the kitchenette and see if I can find any clues there.
> COMMAND: Go east
[0] https://github.com/s-macke/AdventureAI/blob/master/assets/90...
https://github.com/s-macke/AdventureAI/blob/master/assets/90...
Let's just say the game has two ends. But so far, no model in the second round has come up with the idea of looking under the bed. Claude 3 Opus was the closest.
> In conclusion most of the Large Language Models can play and win text adventures
Doesn't the table above show that NONE of the LLMs won the game, not even GPT-4?That said, I'd actually be curious to see what happens if Claude were coerced into continuing the game instead of bailing. With its large context window I think it'd have the best chance at actually figuring it out, so it's unfortunate that the author accepted its resignation.
SITUATION: I have just woken up in a messy bedroom to a ringing phone. It seems I overslept after a difficult night, and the phone ringing urgently suggests that something important and time-sensitive is happening.
THOUGHT: The incessant ringing of the phone is very ominous. Given the state of the room and my oversleeping, I have a bad feeling that I am extremely late for something critical, like an important work obligation. I should answer the phone immediately to find out the situation and how much trouble I am in. But I'll also grab my wallet and keys from the end table first in case I need to rush out the door right after the call.
COMMAND: take wallet and keys
I had hundred of reruns of exactly that bad ending and tried different prompting techniques. So far, no luck. None of them ever looked under the bed.
Anyhow, the results show, that it can handle such an easy adventure. And not all of the text adventures have such a difficult twist.