What's the best explanation for LLMs being almost right when citing sources?
1–10 of 12 posts
Re: What's the best explanation for LLMs being almost right when citing sources?
#2Re: What's the best explanation for LLMs being almost right when citing sources?
#3Prompt engineering skill issue.
Tokens? The way I see these things operating (in my head) is as a hyper-dimensional merge sort which lose there context/bounded-domain during evaluation, leading to something less than the sum of its parts because the weights between tokens correlate linguistic/phonetic relationships--which lose their causal-relationship to the real world.
Re: What's the best explanation for LLMs being almost right when citing sources?
#4Re: What's the best explanation for LLMs being almost right when citing sources?
#5Prompt engineering skill issue.
Maybe crafting something to give a full APA or MLA citation and works cited page per response could help.
https://direct.mit.edu/tacl/article/doi/10.1162/tacl_a_00563...
Re: What's the best explanation for LLMs being almost right when citing sources?
#6Re: What's the best explanation for LLMs being almost right when citing sources?
#7Prompt engineering skill issue.
Re: What's the best explanation for LLMs being almost right when citing sources?
#8Prompt engineering skill issue.
Re: What's the best explanation for LLMs being almost right when citing sources?
#9Suppose you gave it a quote -- "Once upon a midnight dreary, while I pondered, " and ask it to keep writing, it will generate a probability distribution across various tokens it has been trained on.
I'll use words here, rather than tokens, to make the point... Hypothetically, for the quote above, the LLM might estimate the probability of the next word being...
"Weak" = 0.80
"Tired" = 0.10
"Slothful" = 0.05
... and so on.
Now, if you are using a temperature of 0.0, the LLM will pick the highest probability word/token. It's possible you had a non-zero temperature setting and the LLM "knew" the right answer but randomly picked the wrong one... Temperature basically randomizes the token choice to make it more diverse/creative/better.
Alternatively, based on the prompt (i.e., collection of text you put in), it estimated the probability of the wrong answer to be higher. In your case, the LLM likely had a high probability for "Edgar Allan Poe" but maybe a lower probability for the specific works/titles, and hence chose incorrectly.
P.S.
If you are using the OpenAI playground, you can actually get the probability estimates, if you want to investigate further!
Re: What's the best explanation for LLMs being almost right when citing sources?
#10Prompt engineering skill issue.