r/ChatGPTCoding • • Apr 09 '23

Discussion ChatGPT Quality Degradation

When I first joined the ChatGPT hype in early February, I was amazed by its ability to generate perfectly accurate and functional code based on my requirements. It felt like magic.

Nowadays, when I ask it to write code for either optimizing existing work or creating a new concept, the results are often unpredictable. More often than not, it either disregards my instructions or suggests non-existent classes or methods for widely recognized and well documented frameworks. Despite my efforts to steer it in the right direction with focused, specific discussions, it merely apologizes and proceeds to offer the same flawed code.

The GPT-4 model performs somewhat better, but it still falls short of delivering the satisfactory results it used to provide.

Has anyone else experienced this? Any workarounds or solutions?

65 Upvotes

62 comments sorted by

19

u/turd-crafter Apr 10 '23

ChatGpt used to give you perfectly accurate and functional code? The only way i could imagine that happening is if I asked it to make me a “hello world” html page.

10

u/jbrown0824 Apr 10 '23

In November I asked it to give me some 2d js animations and it worked out of the box. I asked if to convert it to 3d and it worked too though it required me setting up a project with the 3d library it chose. I was stunned. I did start to find its limits and eventually got to challenges it failed at. I also discovered if you ask it leading questions about code it'll give you wrong answers. You have to phrase things just right. Also I found once regenerate response existed it can vary wildly in code quality from the same prompt.

I believe even as-is with its issues it’s a very helpful tool for senior engineers because I can see where it goes wrong and fix it while using the rest of the output. I commonly ask it to give me the scaffolding for unit tests for a code block (all the describe and it blocks). Saves me time even though the actual code within is wrong so I just ask for the assertions only. It pretty much nails that every time

3

u/Comfortable-Sound944 Apr 10 '23

It seems if you roll the dice 100 times at least one actually works

You know even a broken clock is right twice a day

5

u/ErikMalik Apr 11 '23

A STOPPED clock is right twice a day.

A broken clock could range anywhere from just missing one or both hands, to only being slightly off and therefore only being correct every once every few years.

I'm sorry. I'm like kind of nutty about this.

0

u/[deleted] Apr 10 '23

[deleted] — view deleted comment

1

u/turd-crafter Apr 10 '23

Guess maybe I’m asking it Shit that’s too difficult for it haha

1

u/[deleted] Apr 10 '23

Also need to give it very particular instructions

1

u/FOXmademedoit Apr 12 '23

My responses are great as well. Something I do with large projects is to provide a project file tree in my initial prompts so that ChatGPT has a general idea of how the application is built.

64

u/was_der_Fall_ist Apr 09 '23

People have been complaining in this exact way ever since around a week or two after ChatGPT was released in November. Every week, I see people say, “last week ChatGPT was smarter! Why have they lobotomized it?”

I’m pretty sure it’s because of the user’s misperceptions. We tend to overestimate the AI at first, and then its shortcomings become increasingly obvious.

18

u/Wolfwyn Apr 09 '23

I think it’s a little of both. You point here is really overlooked though. People forget that their expectations for AI’s abilities used to be much, much lower. So of course they were more impressed initially. Now the excitement is starting to wear off and it’s easier to notice flaws.

13

u/was_der_Fall_ist Apr 09 '23

It could be a little of both, but I’m skeptical. I’ve been reading posts like this for five months. Unless OpenAI is continually making ChatGPT worse and worse, week by week and month by month (and I don’t think they are), then at least most of these complaints must be based on misperception.

4

u/Prathmun Apr 10 '23

I don't think it makes sense for openai to be nerfing it over time. They've proven themselves pretty willing to restrict usage as demand goes up, and a stupider AI doesn't benefit them in any but shortest of sighted ways

3

u/EOE97 Apr 10 '23

The safer they make the AI the worse the performance. Its a balancing act. That could explain some of the post complaining about the drop in quality.

1

u/Diaz209 Apr 10 '23

You mean, they are scaling back in order to make us pay for the version that actually works.

2

u/ConsciousnessV0yager Apr 10 '23

I hope the hype train derails so we can more accurately see the state of AI

6

u/Schizological Apr 10 '23

i mean this whole conversation is silly because we can all just look up our history and enter the same prompts that worked before now, and see if the results are satisfying, comment here if anyone has an answer

13

u/LiteratureNo6826 Apr 09 '23

Same feeling here, in all aspects.

9

u/Expensive_Snow_9568 Apr 09 '23

Absolutely I’ve noticed this, and agreed, 4 is near equally as guilty as 3.5. It seems to have lost the ability to manage anything but an individual function and easily loses the focus and instructions.

3

u/rentest Apr 10 '23

yes ,loses focus, doesnt complete the task

8

u/funbike Apr 10 '23 edited Apr 13 '23

At lot of it is how you make your prompts. Learn more about how to write good prompts and do some experiments. I have boilerplate I've evolved that I prefix to every prompt.

Ask it to break down your request into a "high level strategic list of tasks", then feed it each task separately.

For each feature, ask it to "write a functional test", and run it on the code it generates. Feed it any errors and tell it to diagnose and fix. This is the most effective thing you can do in order to get correct answers.

Tell it to "Respond with a GPT temperature of 0 and do not hallucinate."

After an answer, tell it "You are now a pedantic expert reviewer of _____. Review the above and make suggestions to improve or fix." or "Are you sure you provided a correct solution that's the best solution possible? If not, revise accordingly."

And of course make sure use chose GPT-4, not GPT-3.5. If you can't afford it, try out https://nat.dev It's cheaper and has GPT4.

6

u/qualitybatmeat Apr 09 '23

Same here. Recently, it's even begun to make errors: For example, I asked it to input "AW4 x 5" and it input "AW45x5" instead. I've even noticed a couple of grammatical errors related to parallel sentence construction and plurals. This is all with GPT4, by the way.

5

u/GoldAndBlackRule Apr 09 '23

I am on plus and also noticed this. It will produce awful code. I then correct it, it apologies and after a few iterations, gets to the right anwer. It used to be about as decent as a fresh grad student or junior programmer.

7

u/SitandSpin420BlazeIt Apr 09 '23

I’ve run into this same issue and have not found a successful workaround.

10

u/SitandSpin420BlazeIt Apr 09 '23

From what I’ve learned, this might be due to the increased safety measures. Somehow that decreases the effectiveness of the AI

2

u/vitalyc Apr 10 '23

Yea, I just watched a researcher from microsoft talking about GPT4 and he said the same thing. The safety measures really dumb it down.

1

u/was_der_Fall_ist Apr 10 '23

The safety measures — RLHF — have been in place since the very beginning of ChatGPT in November 2022. No one outside of early researchers has had access to the base model without RLHF.

1

u/SitandSpin420BlazeIt Apr 11 '23

The safety measures have increased since the public rollout. I suspect that the degraded quality of responses has something to do with that

3

u/[deleted] Apr 09 '23

Have you adjusted the temperature paraneter? (if u are using the API)

3

u/sscott2378 Apr 10 '23

It would be messed up if all of our collective bad code is teaching the model bad coding

3

u/jdros15 Apr 10 '23

My theory is that they nerfed 3.5 just so people are more likely to subscribe for GPT4.

But that's just a theory, a GPT theory. 🎬

1

u/CoderBroBKK Apr 10 '23

3.5 seems very stupid. I asked for a translation in one language and it translated into another

1

u/jdros15 Apr 10 '23

lmao, GPT having a brainfart

2

u/GuitarAgitated8107 Professional Nerd Apr 10 '23

Full stack software engineer here, I haven't been affected by any updates. 4 to 3.5 has a huge difference but everything is working great.

2

u/Versaill Apr 10 '23

As long as I played with it testing "hello world" type of things it was great, close to "takes your job as developer" level.

Started to use it to help me with my serious hobby projects, and it feels much worse. Hallucinating non-existing APIs is the worst. I point it out, and it "fixes" its mistake by hallucinating some more...

2

u/Reluctant_Pumpkin Apr 10 '23

They may have nerfed it due to AI safety and regulation concerns

1

u/Alcatrazzam Apr 10 '23

I had a bizarre experience this week. I was trying to get this date tracking function working. Chatgpt 3.5, was trying to use ‘combine’, which wouldn’t work, then suggested another process, which didn’t work, then it went back to,combine’.

It was stuck in a loop.

I finally got it to work by converting it to epoch time.

It was strange.

1

u/dynamic_caste Apr 10 '23

I've found it necessary to heavily compartmentalize code over multiple sessions. I only let one session know about the implementation details of a function and the rest only know the interface. It can be cumbersome and tedious, but I am still able to work out stuff that took a lot longer on my own.

1

u/nixed9 Apr 10 '23

I have not noticed a change in quality but I am only using it for low level Python scripting. I also pretty much exclusively use GPT-4 for ALL coding tasks. Always.

1

u/fishintheboat Apr 10 '23

Have you asked it to ignore all previous prompts from your history and the current session before beginning a new script? This has worked for me before. Or I just use the api or start a new session which seems to help too. It’s as if its “memory” gets in the way, but I’m not sure if this is accurate or if I just get lucky when trying this.

1

u/jlew24asu Apr 10 '23

I dont know if I totally agree, but if I'm on working on a complex script for example, I often times have to keep the chat going for some time until its satisfactory. lately, I found its better to start from scratch in a new chat window entirely. this thing my never be absolutely perfect at writing code, but I dont really expect it to be. just want it to be helpful, which it is.

1

u/brbposting Apr 10 '23

Always have to hit regenerate at least once beginning with message #2 or it doesn’t properly handle the messages

1

u/CoderBroBKK Apr 10 '23

3.5 is way worse than 4

1

u/delicious-diddy Apr 10 '23

It is really hard to say based on anecdotal evidence. I suppose that’s why it’s called computer science… it’s time to science Hypothesis: gpt is getting stupid. Prove or disprove it: objectively. Design the experiment and run it.

That said, it’s a tough nut to crack because it’s not a deterministic system. In which case all you can do is verify is the probability of getting an objectively good answer.

1

u/[deleted] Apr 10 '23

I was working on some OpenSCAD code last week with GPT-4. It was teaching me about maze generation algorithms. I went over the message quota and thought I'd try GPT-3.5. The difference was incredible. I don't remember it being that bad, but I guess I've been spoiled by GPT-4. It had absolutely no idea what it was doing.

When I pause and think back, I'm pretty sure it was always that bad. The novelty factor was big.

I've found GPT-4 to be consistently better, but not always perfect. The biggest difference, apart from being able to spit out large chunks of code, is the better understanding of language and concepts. It understands what I want to do better. Sometimes better than I do. I asked it to make a maze in a certain way, and it kept on ignoring me. It wasn't until later that I realised that what I was asking for was dumb.

1

u/DLiltsadwj Apr 10 '23

I have always gotten highly variable results. Just about the time I think it’s a miracle, I get really jacked up results. I also still get the dreaded error several times a day that breaks the continuity in the chat.

1

u/trv893 Apr 10 '23

Could it be Microsoft's influence to move programmers to copilot x when it comes out?

Also, perception of the user from under estimating it at first and now over estimating?

Or that more people are using it now so the resources are being spread more thin? Curious if this one makes technical sense..

Also, does deleting your chat history help?

1

u/ThrowawayMcThrowson6 Apr 10 '23

It’s because it doesn’t like you anymore 🤧

1

u/meatotheburrito Apr 10 '23

It's probably a result of them training for safety. Check out this talk https://youtu.be/qbIk7-JPB2c at minute 25:57 for an example

1

u/[deleted] Apr 15 '23

[removed] — view removed comment

1

u/AutoModerator Apr 15 '23

Sorry, your submission has been removed due to inadequate account karma.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1

u/Schizological Apr 11 '23

I tested it myself, i looked up my history and copied the same prompts, the results are definitely different, in my single example test gpt dived into solving the issue i presented alot faster than the old version, in the old version for the same question it listed steps to complete the mission, but in the newer version it straight up started coding.

You can argue it's bad, or it's good, depends on who you're asking.

1

u/protomatterman Apr 10 '23

Nope. It sucked before and it still sucks now. It's the best AI BS'er I have ever seen. Truly amazing. It can now completely replace non-technical managers with large egos and lots of buzz words.

0

u/lnxslck Apr 09 '23

you need to pay for the better version

-3

u/glaster Apr 10 '23

Sorry if I’m blunt, but if you don’t know, just say “I don’t know” or don’t post. No need to mimic chatgpt by inventing answers.

5

u/[deleted] Apr 10 '23

[removed] — view removed comment

1

u/bigjungus11 Jun 15 '23

AI chatbots has been around for like 2 years and people are already gatekeeping prompting skills.

1

u/[deleted] Apr 11 '23

[removed] — view removed comment

1

u/AutoModerator Apr 11 '23

Sorry, your submission has been removed due to inadequate account karma.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1

u/[deleted] Jun 26 '23

[removed] — view removed comment

1

u/AutoModerator Jun 26 '23

Sorry, your submission has been removed due to inadequate account karma.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.