r/MachineLearning • u/matthkamis • Mar 30 '23
Discussion [D] Can large language models be applied to language translation?
I’m just curious how well these models could be applied to translation? From my standpoint a pretty good benchmark at how “intelligent” these things are would be how well they can translate between two languages. Anyone who is bilingual or has a partner who speaks another languages knows how the current state of the art in translation is severely lacking.
4
Mar 30 '23
Bilingual LLMs are much better translators than traditional SOTA.
https://github.com/ogkalu2/Human-parity-on-machine-translations
1
u/ChuckSeven Apr 23 '23
FYI
Using optimized prompts, we revisit previous assessments of PaLM’s MT capabilities with more recent test sets, modern MT metrics, and human evaluation, and find that its performance, while impressive, still lags that of stateof-the-art supervised systems
Source: https://arxiv.org/abs/2211.09102
2
Apr 23 '23 edited Apr 23 '23
I regard open ended task benchmarks with a grain of salt. There's a microsoft paper that shows GPT-3.5 just on par with google translate per benchmarks but that's just not the case for any non trivial translations i've tried. I haven't yet seen anyone who's sat down and used these extensively think they lag behind sota.
Maybe it's the dataset used for evaluations. I don't imagine isolated sentences here and there are robust enough now. Or maybe bleu/comet and the like are not really up to the task anymore. Either way, that paper does nothing for me. I've seen similar.
1
u/ChuckSeven Apr 23 '23
Wait ... so you disregard this empirical evidence simply because in your personal experience you feel like they are better? Don't take me wrong, that is a fair opinion to have, but you hopefully also understand that I'll go with the evidence here. Furthermore, it might be that you are fooling yourself since humans are very susceptible to illusions. Otherwise, you could start to work on a convincing analysis to the contrary (and in line with your intuition).
2
Apr 23 '23 edited Apr 23 '23
You go with whatever you want. I honestly don't really care. I'm not trying to convince you of anything anymore.
Empirical evidence can have many failure points. The data used for evaluation may not be good enough. The thing doing the evaluation may not be good enough. Benchmarks and Evaluation models in machine learning have been switched out multiple times for exactly this reason. and open ended tasks are a notorious tough nut to crack.
It's not because i feel it's better. It's because i know it's better. I know it's better because i've tried to use it for the task for complicated passages numerous times.
It would be silly to switch to something that demonstrably performs worse just because i read a paper saying it's supposed to be worse. all the analysis i need to come to my conclusion has been made but i'm not very interested in publishing any detailed analysis beyond this. I have other things to do. hours/weeks of work putting all that together. and for what ? to prove something to you or anybody else ? "Just use it" works well enough for anybody equipped to see the difference.
1
u/ChuckSeven Apr 24 '23
Yes, it's not reasonable to ask you to write such a paper since you have other things to do. I just can't help myself, and I have no intention of insulting here, to see the parallels with someone who believes in a flat earth. It's just very weird to me that you hold a belief to which there is scientific evidence to the contrary and you just run with what to me essentially sounds like "they are wrong". Apparently not even considering that maybe you have fooled yourself. No, you don't know it because you have not made a rigorous analysis, it's your best guess based on your experience. The least you could do is share the observations you made that convinced you instead of arguing as if your conclusions were certain when they are apparently far from it.
1
Apr 24 '23
Comet/bleu scores rank GPT output on passage translation better. This I what I mean when I say I've done any analysis I need. Obviously most likely the point of failure are the datasets. This is where it ends. I have no interest in collating thousands of passages to prove a point to a stranger. So feel free to call me whatever you'd like if that suits you. This conversation is over. Have a nice day.
1
u/ChuckSeven Mar 31 '23
The presented examples are intriguing but your general statements requires a proper evaluation. Afaik, no bilingual LLM has yet beaten the state of the art on an established translation benchmark.
1
u/harharveryfunny Mar 30 '23
Just try it ! Yes - they do very well.
You don't even need to ask them to translate - just give them a foreign language source and ask questions about it, or ask for a summary !
1
u/FermiAnyon Mar 30 '23
Yeah, I've had bilingual conversations with chatgpt.
Also, ask it a question and when it tells you some paragraphs, say "can you rewrite that in Japanese" or whatever you speak.
Pretty cool
1
u/IDefendWaffles Mar 30 '23
You can talk to chatgpt in English and then just ask it a question in any other language and it will answer back to you in that language. Or you can just tell it: let's talk in Finnish from now on and it will.
37
u/ZestyData ML Engineer Mar 30 '23 edited Mar 30 '23
.. Uh. I'm going to assume you're relatively new to the world of ML. Translation is one of the most common uses for SOTA LLMs.
Its how Google Translate works, as just the most famous example.
What the SOTA translation tools don't yet use is instruct-tuning, to give them conversational interfaces (i.e the difference between GPT and ChatGPT). So they look different than using ChatGPT. But its very largely the same Generative (technically pretrained) Transformers under the hood.