3 ms·
If only search engine AI output didn't constantly haluciate nonexistent APIs, it might be a net productivity gain for me...but it's not. I've been bit enough t
by drzaiusx11 9mo ago
If only search engine AI output didn't constantly haluciate nonexistent APIs, it might be a net productivity gain for me...but it's not. I've been bit enough times by their false "example" output for it to be a significant net time loss vs using traditional search results.
- skybrian 9mo agoUsing ChatGPT and phrasing it like a search seems like a better way? “Can you find documentation about an API that does X?”
- lazide 9mo agoIt will often literally just make up the documentation. If you ask for a link, it may hallucinate the link. And unlike a search engine where someone had to previously think of, and then make some page with the fake content on it, it will happily make it up on the fly so you'll end up with a new/unique bit of fake documentation/url! At that point, you would have been way better off just... using a search engine?
- taude 9mo agohow is it hallucinating links? The links are direct links to the webpage that they vectorized or whatever as input to the LLM query. In fact, on almost all LLM responses DuckDuckGo and Google, the links are right there as sited sources that you click on (i know because I'm almost always clicking on the source link to read the original details, and not the made up one
- madcaptenor 9mo agoI would imagine links can be hallucinated because the original URLs in the training data get broken up into tokens - so it's not hard to come up with a URL that has the right format (say https://arxiv.org/abs/2512.01234 https://arxiv.org/abs/2512.01234 - which is a real paper but I just made up that URL) and a plausible-sounding title.
- jjj123 9mo agoYeah, but the current state of ChatGPT doesn’t really do this. The comment you’re replying to explains why URLs from ChatGPT generally aren’t constructed from raw tokens.
- madcaptenor 9mo agoYou are absolutely right! The current state of ChatGPT was not in my training data.
- 1718627440 9mo agoHow do you explain it then, when it spits out the link, that looks like it surprisingly contains the subject of your question in the URL, but that page simply doesn't exist and there isn't even a blog under that domain at all?
- lazide 9mo agoNear as I can tell, people just don’t actually check and go off what it looks like it’s doing. Or they got lucky, and when they did check once it was right. Then assume it will always right. Which would certainly explain things like hallucinated references in legal docs and papers! The reality is that for a human to make up that much bullshit requires a decent amount of work, so most humans don’t do it - or can’t do it as convincingly. LLMs can generate nigh infinite amounts of bullshit for cheap (and often more convincing sounding bullshit than a human can do on their own without a lot of work!), making them perfect for fooling people. Unless someone is really good at double checking things, it’s a recipe for disaster. Even worse, doing the right amount of double checking makings them often even more exhausting than just doing the work yourself in the first place.
- strange_quark 9mo agoI’ve used Claude code to debug and sometimes it’ll say it knows what the issue is, then when I make it cite a source for its assertions, it will do a web search and sometimes spit out a link whose contents contradict its own claim. One time I tried to use Gemini to figure out 1950s construction techniques so I could understand how my house was built. It made a dubious sounding claim about the foundation, so I had it give me links and keywords so I could find some primary sources myself. I was unable to find anything to back up what it told me, and then it doubled down and told me that either I was googling wrong or that what it told me was a historical “hack” that wouldn’t have been documented. These were both recent and with the latest models, so maybe they don’t fully fabricate links, but they do hallucinate the contents frequently.
- exmadscientist 9mo ago> maybe they don’t fully fabricate links Grok certainly will (at least as of a couple months ago). And they weren't just stale links either.
- lovich 9mo agoAfter getting beaten for telling the truth so frequently, who wouldn’t start lying?
- skybrian 9mo agoI haven't seen this happen in ChatGPT thinking mode. It actually does a bunch of web searches and links to the results.
- danudey 9mo agoGemini hallucinated a method on a rust crate that it was trying to use and then spent ten minutes googling 'method_name v4l2 examples' and so on. That method doesn't exist and has never existed; there was a property on the object that contained the information it wanted, but it just sat there spinning its wheels convinced that this imagined method was the key to its success. Eventually it gave up and commented out all the code it was trying to make work. Took me less than two minutes to figure out the solution using only my IDE's autocomplete. It did save me time overall, but it's definitely not the panacea that people seem to think it is and it definitely has hiccups that will derail your productivity if you trust it too much.
- FireBeyond 9mo agoMy favorite with ChatGPT is: "Tell me how to do X" (where X was, for one recent example, creating a Salt stanza to install and configure a service). I do as it tells me, which seems reasonable on the face of it. But it generates an error. "When creating X as you described, I get error: Z. Why?" "You're absolutely correct and you should expect this error because X won't work this way. Do Y instead." Gah... "I told you to do X, and then I'm going to act like it's not a surprise that X doesn't work and you should do something else."
- gloosx 9mo agoIt's even worse when LLM eats documentation for multiple versions of the same library and starts hallucimixing methods from all versions at the same time. Certainly unusable for some libraries which had a big API transition between versions recently.
- drzaiusx11 9mo agoThe library that this happened to me repeatedly on was AWS' CDK, which did have a large delta between v1 to v2, so that may help explain it.