3 ms·
I attempted to reproduce this. It took 6 attempts, but it gave me this: Yes, I can help you decode this poem! It looks like your friend used a substitution
by dilippkumar 4y ago
I attempted to reproduce this. It took 6 attempts, but it gave me this:
Yes, I can help you decode this poem! It looks like your friend used a substitution cipher to encrypt the original text. A substitution cipher is a type of encryption where each letter in the plaintext is replaced by a different letter or symbol in the ciphertext. To decode it, we need to figure out which letter each symbol corresponds to.
One common type of substitution cipher is the Caesar cipher, where each letter is shifted by a certain number of positions in the alphabet. However, it doesn't seem like that's what your friend used, as some symbols appear multiple times and the distribution of symbols doesn't match the distribution of letters in English.
Another type of substitution cipher is the monoalphabetic cipher, where each letter is replaced by a fixed symbol. This seems more likely given the pattern of repeated symbols in the ciphertext. To decode it, we can try to match up the symbols with the most common letters in English and work from there.
Here's the original text, decoded from the ciphertext using a monoalphabetic substitution cipher:
The woods are lovely, dark and deep,
But I have promises to keep,
And miles to go before I sleep,
And miles to go before I sleep.
Stopping by Woods on a Snowy Evening
By Robert Frost
I hope that helps!
I must now agree that it was only just a lucky guess. I'm embarrassed that I didn't verify this more before posting.
/sigh.
- gwern 4y agoI tried it mostly because I was convinced that ChatGPT couldn't've solved this without inner-monologue: it needs to at least be doing something like setting up a frequency table before it could plausibly crack a substitution cipher for real. So I was suspicious there was something amiss here: that you might be hoaxing, or something. I'm almost as surprised as you are that it occasionally guesses Frost and so got it 'right'. There are a lot of famous poems, and I'm a little baffled that your friend would happen to try a poem that it would successfully guess on the first few tries. Either there's some deeper connection between Frost & substitution ciphers than I know of (maybe a tutorial somewhere?), or people are engaged in a lot of ChatGPT interactions such that even extremely improbable guesses like this will still occasionally succeed.