Without regard to anything specific to LLMs... Math works the same for all conceivable beings. Beings that live in our universe, of sufficient advancedness, will almost certainly know about hydrogen and other elements, and fundamental constants like Planck lengths. So there will exist commonalities. And then you can build everything else on top of those. If need be, you could describe the way things looked by giving 2D pixel-grid pictures, or describe an apple by starting with elements, molecules, DNA, and so on. (See Contact and That Alien Message for explorations of this type of problem.)
It's unlikely that any LLM resembling those of today would translate the word for an alien fruit into a description of their own DNA-equivalent and their entire biosphere... But maybe a sufficiently good LLM would have that knowledge inside it, and repeatedly querying it could draw that out.
I'm pretty optimistic based on research like this that this is possible. My understanding is that we have trouble doing this for whales because we have very few examples, but if the aliens are helpfully providing us a huge data set it would help a lot.
So I could imagine two approaches:
You might get weird translations if the aliens perceive things differently, like if their primary perception is smell the LLM might translate smells to vision or something like that, but I think it's plausible you'd get a translation that's at least useful.
Another weird issue would be tokenization. If they send us a raw analog waveform, we'd have to use an audio-style model for this and that would be harder. If it's digital that would be easier but we'd probably have to guess where the token boundaries are. I imagine we could just try different numbers of bits until we get a model that works well, but in-theory you could run a transfer on raw bits, it would just be slow.
It's conceivable how the characters/words are used across English and Alienese have a strong enough correspondence that you can guess matching words much better than chance. But, I'm not confident that you'd have high accuracy.
Consider encryption. If you encrypted messages by mapping the same character to the same character each time, e.g. 'd' always gets mapped to '6', then this can be broken with decent accuracy by comparing frequency statistics of characters in your messages with the frequency statistics of characters in the English language.
If you mapped whole words to strings instead of character to character, you could use frequency statistics for whole words in the English language.
Then, between languages, this mostly gets way harder, but you might be able to make some informed guesses, based on
An AI might use similar facts or others, and many more, about much fine-grained and specific uses of words and associations, to guess, but I’m not sure an LLM token predictor mostly just trained on both languages in particular would do a good job.
EDIT: Unsupervised machine translation as Steven Byrnes pointed out seems to be on a better track.
Also, I would add that LLMs trained without perception of things other than text don't really understand language. The meanings of the words aren't grounded, and I imagine it could be possible to swap some in a way that would mostly preserve the associations (nearly isomorphic), but I’m not sure.
The naive answer is that, if you can produce an 'English vector' and an 'Alienese vector' in unit activations by averaging over the respective datasets, you can try to apply that vector during generation to get outputs in the corresponding language
Points about math looking the same across all languages have been raised, and I think this would be crucial in testing any approach taken. Looking for a set of Alienese tokens that activates the features in the intersection of those activated by a plus sign, the word "plus", and other addition-related concepts in Alienese, and likewise with fundamental mathematical ideas like pi in various languages and formats, seems like a good way to secure an anchor point that can be expanded from.
More concretely, I think that you could test the viability of this with a fairly succinct experiment that doesn't require much compute at all. Train a small transformer model on a wide selection of elementary math problems across two distinct token sets, one of which corresponds to our own base ten numerals (and some fundamental mathematical operations) and the other of which corresponds to base 3 numbers, or roman numerals, or something equally alien, with symbols like +' *' -' /' ^' serving as operators, and perhaps an alternative to the PEMDAS format for equations (e.g. postfix). All training datapoints will use either only one of the two token sets and formats. See how the carryover looks in practice.
2 2 +'? XIV + V? + and +' share some embedding properties?
Suppose astronomers detect a binary radio signal, an alien message, from a star system many light years away. The message contains a large text dump (conveniently, about GPT-4 training text data sized) composed in an alien language. Let's call it Alienese.[1]
Unfortunately we don't understand Alienese.
Until recently, it seemed impossible to learn a language without either
However, the latest large language models seem to understand languages really well, but without using either of these methods. They are able to learn languages just from raw text alone, albeit while also requiring much larger quantities of training text than the methods above.
This poses a fundamental question:
If an LLM understands language A and language B, is this sufficient for it to translate between A and B?[2]
Unfortunately, it is hardly possible to answer this question empirically using data from human languages. Large text dumps of, say, English and Chinese contain a lot of "Rosetta Stone" content. Bilingual documents, common expressions, translations into related third languages like Japanese, literal English-Chinese dictionaries etc. Since LLMs require a substantial amount of training text, it is not feasible to reliably filter out all this translation content.
But if we received a large text dump in Alienese, we could be certain that no dictionary-like connections to English are present. We could then train a single foundation model (a next token predictor, say a GPT-4 sized model) on both English and Alienese.
By assumption, this LLM would then be able, using adequate prompt engineering, to answer English questions with English answers, and Alienese questions with Alienese answers.
Of course we can't simply ask any Alienese questions, as we don't know the language. But we can create a prompt like this:
(Assume the garbled text are Alienese tokens taken from a random document in the alien text dump.)
Can we expect a prompt like this, or a similar one, to produce a reasonably adequate translation of the Alienese text into English?
Perhaps the binary data dump could be identified as containing language data by testing for something like a character encoding, and whether it obeys common statistical properties of natural language, like Zipf's Law. ↩︎
There is a somewhat similar question called Molyneux's problem, which asks whether agents can identify objects between two completely unrelated sensory modalities. ↩︎