3 ms·
I just tested ChatGPT 4o and Claude 3.5 Sonnet using the following prompt, with and without the last sentence: “Write a one-paragraph summary of research since
by tkgally 2y ago
I just tested ChatGPT 4o and Claude 3.5 Sonnet using the following prompt, with and without the last sentence:
“Write a one-paragraph summary of research since 2015 on the use of machine translation in second-language academic writing. Include five in-text citations to previous research, and include full reference information for each citation after the paragraph. Do not hallucinate any of the citations and references.”
When the last sentence was not included, four out of five of ChatGPT’s references were hallucinated; the fifth referred to an existing paper but had an incorrect year. All of Claude’s references were hallucinated.
When I included the last sentence, ChatGPT did a web search and came up with five genuine citations. Claude, which cannot do web searches, apologized that it could not write the paragraph or provide the references.
Maybe a better test of the effectiveness of "Do not hallucinate" would be prompts that might lead to hallucinated claims that the LLM cannot check using web searches, the execution of Python programs, or other external processes. Any ideas?
- surfingdino 2y agoWhy can't they not hallucinate by default?
- aziaziazi 2y agoWe have another problem then. 2023: LLM hallucinate 2024: hallucinations fixed with "do not hallucinate" prompt 2025: LLM consider their finding on the web trustworthy
- Joker_vD 2y agoEmpirical testing? But where's the necessity? It seems an uncommonly roundabout and hopelessly rigamarolish method of getting anywhere. We've got the works of all the old masters — the great AI researchers of the past. We weigh them against each other, balance the disagreements, analyze the conflicting statements, decide which is probably correct, and come to a conclusion. That is the scientific method.
- tkgally 2y agoI was led astray by an interesting discussion among Anthropic employees about prompt engineering with Claude. They seem to do a lot of empirical testing of prompts: https://www.youtube.com/watch?v=T9aRN5JkmL8 https://www.youtube.com/watch?v=T9aRN5JkmL8