234 points · by suveen_ellawela · 1y ago · 129 comments
This test pairs o1 with itself, which means the serializer is the deserializer. So while it's impressive that it can link 4 words, most humans could also easily link 4 with as much stretching! We just don't tend to because we can't guarantee that the other human will make the same connections we did.
- Line (Standing in the queue…)
- London (they’re all queued up, innit?)
- Log (*backend distsys handwaving*)
- Mail (what do you think an inbox is, anyway?!)
- Round (homophone “Q” is a typographically round letter)And don't get me wrong, it's still a fun experiment! It's just that that 4 would never have worked if a human played against another human—there are simply too many other words that would be equally strongly associated:
* Gum: Gum is often wrapped in paper, so 'GUM' is strongly associated with the word 'PAPER'.
* King: King is a type of face card, which are printed on paper, so 'KING' is strongly associated with the word 'PAPER'. (Repeat for JACK.)
* Light: Paper is a lightweight material.
That's 4 others right there that are at least as closely connected in my head as LAWYER or LOG. The only reason why o1 pulled up the same four when guessing as it did when clueing is that it's the same model.
Again, I didn't mean this as a knock, just a warning about drawing too many conclusions from the test!
I think "paper" is a great clue, and those 4 words lawyer/mail/log/line match better than gum/king/light.
There's an even better reason for "lawyer/-paper" than chatgpt gave: lawyers "serve papers".
This task could probably be solved nearly just as well with old school word 2 vec embeddings
I've tried. This approach is well beyond awful.
It’s odd to me that you would confidently claim it’s “beyond awful”.
Now obviously it’s still pretty decent at finding the clues. Probably better than a random human who hasn’t played much. Just I find the post’s level of hype overstated. It feels like the author isn’t very experienced with Codenames.
It would be interesting to compare AI:human vs human:human games to see which does better. It seems like AI:AI will overstate its success.
(Submitted title was "I got OpenAI o1 to play the boardgame Codenames and it's super good".)
When I play, it's mostly about getting a good 2 clue each time. Then if you can opportunistically get a 3 or 4, that's awesome.
Some tactics come in for choosing the right pairs of 2's so you don't end up mismatched, or leaving clues that might be ambiguous with your opponent's... But that's mostly it.
It'll be fun for multiplayer! Just like how in other online games you can add in a AI to play as one of the players.
If you want to get nasty, you learn to abuse the fact that the tile layouts follow rules and that you can rule out certain tiles without considering the words.
Can you clarify? Isn't the card placement random?
Example: The clue is "places 4" and the guessers choose 1 correctly and then 1 wrong answer, but they had achieved consensus about 2 others (and are confused about only the remaining 1). So the turns ends but they inform the clue giver to inflate by 2 next turn. That clue giver (after the other team goes) will then say the clue is "people 5" and the guessers will know that they shall select 2 places and 3 people.
This can cascade beyond just a pair of turns.
Doesn’t the turn end if you hit the opponents word?
You have to give entirely different clues depending on the people you play with.
Sometimes you can also play adversarial and introduce doubt into the opposing team by giving topic-adjacent clues that cause them to avoid one of their own cards. It works better if someone on the other team tends to be a big doubter. It also can work when the other team constantly goes back and tries to pick n+1 cards that they think they missed from the last round, which gives you a lot of room to psychologically mess with them.
Sometimes you have a clue that only really matches 2, but because only 1 of the wrong matches is a neutral card and you could match 2 more by a massive stretch, you say “4.” Worse case, they get 2 right but then they pick the neutral card but in the best case, you stand to gain 4 for a clue that should only match 2.
I like Codenames because they are many meta ways to play the game. What makes Codenames unique is that, unlike a lot of other games (Catan, Secret Hitler, CAH, etc.), it’s an adversarial team game where the team dynamics and discussions are not secret so you can use them to your advantage.
It’s basically the same brain playing with itself. Seems quite natural to link the code names to the same words.
Let different LLMs play.
The clue giver justifies the link of Paper and Log as "written records", and between Paper and Line as "lines of text". But the guesser model connects Paper and Log because "paper is made from logs" (reaching the conclusion through a different meaning of Log), and connects Paper and Line because "'lined paper' is a common type of paper".
Similarly, in the first example, the clue giver connects Monster and Lion because lions are "often depicted as a mythical beast or monster in legends" (a tenuous connection if you ask me), whereas the guesser model thought about King because of King Kong (which I also prefer to Lion).
No, it doesn't. It reaches the conclusion because of vector similarity (simplified explanation): these explanations are post-hoc.
The best available evidence suggests this is also true of any explanations a human gives for their own behaviour; nevertheless we generally accept those at face value.
Interestingly this could be a way to potentially reverse engineer o1’s weightings
“ I read through codenames official rules to see if using "007" as a clue was allowed, and it turns out it is! To my surprise, I even came across a Reddit post where people were discussing and justifying why this clue fits perfectly within the rules.”
In that instance, the clues all matched 2-3 words, and the winning team got lucky twice (they guessed an unclued word using an unintended correlation, and their opponent guessed a different one of their unclued words.)
You also see a number of instances where the agents continue guessing words for a clue even though they've already gotten enough matches. For instance, in round 2, for the clue "Japan (2)", the blue team guesses sumo and cherry, then goes for a rather tenuous followup guess for round 1's 007 with "ring" (despite having gotten the two clued matches in the first round). A sillier example is in the final round, where the Red Team guesses 3 clues (thereby identifying all nine of their target words), then going ahead and guessing another word.
(For what it's worth, I think "shark" would have been a better guess for another 007 tie-in seeing as there are multiple Bond movies with sharks, but it's also not a match, and again, I wouldn't have gone for a third guess here when there were only two clued words.)
In case you're wondering, the prompts are available here: https://github.com/SuveenE/codenames-ai/blob/main/utils/prom...
None of them were better than a human at giving hints for 3+ words though
Imagine the energy savings if more people didn’t just automatically reach for LLMs for their pet projects.
[1] https://jdsemrau.substack.com/p/nemotron-vs-qwen-game-theory...
the idea for this came when we asked chatgpt how to connect the words 'carrot' and 'ray'. maybe you can give a try too!
Maybe one could try having two different models play together, to see if they are genuinely good at the game or simply able to infer their own reasoning, if that makes sense.
I'm kinda bad at word games like codenames, even in my native language (french). With carrot and ray, I'd try something like "striation"? But it's really convoluted.
“the toyota yaris can move faster than the average human”
even opt-125m from years ago can pull more facts than the average human.
Star => Twinkle => Twinkle Khanna => Married to Akshay Kumar => Canadian Citizen => Maple Syrup ( Leaf ? )
The digital version could and should do this, IMO. (I don't actually know if it does, though, as I've only played the digital version a few times.)