MDN can now automatically lie to people seeking technical information
github.com
github.com
It may look seemingly harmless at first, even a good idea.
But you'll seed doubt. As that will erode the value of the whole site. Which was its main asset.
Transformer models are capable of absurd sci-fi miracles when it comes to things that don't require truthfulness but this ain't it
A lot of these systems are running actually on Windows, in version that aren't supported since years.
- The existing human edited text already on the page
- The playground to run the code in question
- One of the many existing autocomplete / static analysis tools for HTML / CSS / JS out there. If you want a tooltip explaining what the second argument to a built in JS function in a code snippet does, this is a solved problem!
Could probably build fairly successful political party off of this once-in-a-lifetime momentum. :)
Interestingly, there are more negative comments on Hacker News than on the bug discussion. This probably tells something about the audiences of MDN bug commenters and Hacker News readers.
The mistakes seem to be (1) using GPT 3.5 instead because it’s cost effective, even though GPT 3.5 has severe issues with hallucination, and (2) not including context from the surrounding article into the prompt.
Also, since I assume MDN has a finite number of things that need explaining, why not let users mark an AI explanation as wrong, and submit their own corrected versions?
I mean if you implement it well you don't really need the model. If anything it would be more effective if it was always just slightly wrong.
On a deeper level, though, I don’t know that it’s actually useful. I haven’t found a single example where it added anything which wasn’t present in the authored text, and the explanations tend to be very pointless mechanical descriptions which miss the larger point of why you’d want to do things. On the popover API page, for example, it had a bunch of regurgitated comments before telling me that you’d need to write a bunch of JavaScript to actually toggle popover visibility when the whole point of that API is not needing to do that. That was also interesting with the incorrect claim that it was a non-standard attribute and you’d need to implement it using a JavaScript framework like Vue.js when you think about how much code someone might write if they relied on that explanation.
This is the first time I've personally heard someone claiming anything like that, though I don't tend to do anything with LLMs (due to this bullshit factor).
The OWD team writes technical documentation on APIs, HTML, and JS. OWD also works on information architecture and browser compatibility data. They contribute mainly to https://github.com/mdn/content/ and https://github.com/mdn/browser-compat-data/.
Mozilla, not OWD, is responsible for Yari, the platform behind MDN Web Docs (https://github.com/mdn/yari). The MDN blog, ads, AI and design, the MDN infrastructure, are fully owned and controlled by Mozilla.
I know some folks who work on this content and TBH it’s the folks we’d want working on this content.
At Mozilla, our goal has always been to provide accurate and reliable technical information to the developer community. Unfortunately, in this instance, the introduction of the AI feature did not align with that objective. We deeply regret the impact it has had on users seeking reliable information.
Our intention with the AI assistant was to enhance the user experience by providing additional context and explanations. We wanted to create a trusted companion that would assist developers in understanding complex concepts more easily. However, we recognize that this implementation fell short of expectations and introduced more problems than solutions.
We value the feedback and concerns raised by the community, and we take them seriously. Going forward, we will reassess our approach to ensure that any new features or enhancements undergo thorough review and testing. We will prioritize human oversight, peer-review, and fact-checking to ensure the accuracy and reliability of the information presented on MDN.
Our commitment to providing a reliable resource for developers remains unwavering, and we apologize for any loss of trust this incident may have caused. We appreciate your patience as we work to rectify the situation and improve the overall user experience on MDN.
Thank you for your continued support, and we assure you that we will learn from this mistake and strive to do better in the future.
Sincerely, [Your Name] Mozilla Community Manager
https://chat.openai.com/share/2649a208-7987-4c30-9bed-0738b8...
This is not a criticism.
General intelligence is not represented by the graybeard in the corner office. At best it’s a knucklehead in the next cubicle.
Bug report: MDN's AI Explain feature generates false explanations
From the title I was thinking along the lines of MDN automatically swapping out an article on encryption to falsely claim a function doesn't exist depending on country to comply with local laws, for example.
For instance, on the "pornhub" one they put in red that the service can monitor your "private" messages. I can reverse the value of that: with the problems of sex trafficking, underage exploitation and other types of crime that could happen there, we should be happy the company is dedicated to doing that. All of those red items in fact look like things I've got no problem with there.
I'd say yes. Even if something is a placebo, it's ability to displace better solutions is the problem
Characterizing LLMs as placebos or "designed to produce gibberish" is inaccurate.
Unless you're referring to the scam-filled supplements aisle, in which case I agree wholeheartedly with your comparison.
- Have you actually read the examples in the linked github issue? What “undesirable effect” are you able to identify when an LLM tells you that a JS function simply doesn’t exist? Or when something fails subtly enough that the code you wrote based on the LLM’s advice isn’t the obvious culprit? Do you do much debugging?
- Wikipedia requires references, while this LLM directly contradicts the one data source that it’s meant to help explain. Failing to see the comparison.
Though this one won't, LLMs will cite references if asked. They’ll also provide step-by-step rationalization (though they don’t think in that way). Just like Wikipedia, you still have to check those references to verify.
And the specific ways that their health might decline have been studied, a list of which is included with every package of the medicine. Maybe you even get regular bloodwork to check for the specific side effects this medicine’s been seen to cause.
> If a function is described incorrectly, you won’t see improved functionality (or you’ll see bugs).
Hopefully! Again, how much development/debugging do you do on a daily basis? Because real developers don't accept the notion that it's ok for bugs to occur as a result of following reference documentation.
It’s just a feature that explains a web platform doc using LLMs.
They can be inaccurate sometimes, but as long as that’s clear to the end user (in this case, developers) I don’t think that’s a problem. Heck, many of us do this day-to-day with ChatGPT.
In this case, the sin was not making the potential for inaccuracies clear enough.
No need to make things up if you have the sources anyways.
The latter would be very different interpretation and some here would probably agree with that accusation
Also hallutination was probably the wrong word to use for LLMs being incorrect since it might imply they could be correct if they would only just focus on the right input data rather than, say, simply not understanding complex technical concents, but I guess that ship has sailed.
I completely agree and the tone of some of the comments in the issue are disproportionate to the problem.
The submitter knows the AI isn’t lying and the submitter is being purposefully obtuse in order to drive controversy.
You've somehow internalized something as "obvious to everyone" that's actually very wrong and dangerous about AI. Of course the AI is lying. Or, perhaps a better term would be "bullshitting", defined as "sounding convincing while having no regard for the truth". By that definition, bullshitting is all LLMs ever do.
It doesn’t matter if that opinion is wrong because its still the opinion that matters.