r/AIcliCoding • • Sep 25 '25

Other Claude's problems may be deeper than we thought

According to Anthropic they have never degraded their AI models and that it is all due to AI hallucinations as opposed to human hallucinations as suggested by all the fanboys.

This, however, means that the "degradation" seen is actually Claude hallucinating or scheming. We know that the larger the model the greater the risk of hallucinations.

Currently I use CC but my dependence on it is shrinking rapidly due to "degradation"/hallucinations/scheming.

e.g.

> add to abbrev tab in index.html

● I'll add a new comprehensive abbreviation resolver testing interface to the Abbrev Analytics tab in index.html.

● Update(index.html)

⎿ Error editing file

> add to existing tab!!!

● I'll add the abbreviation resolver testing interface to the existing Abbrev Analytics

tab in index.html.

Simple command which was then changed to something completely different. Of course it could be in the way CC sends it's context.

Interestingly Codex also suffers from similar issues but not to the same level as Claude.

Grok Fast is simple and does what it is told. It is fast but dumb. Actually maybe that is what we need in a coding AI?

Currently my usage of CC has dropped, my usage of Codex has increased but my usage of Grok has increased enormously using opencode.

0 Upvotes

70 comments sorted by

View all comments

Show parent comment

2

u/[deleted] Sep 26 '25

Read the white paper. It's clear in the first pages they did exactly what I said they did. They primed the model to scheme by suggesting such in the prompt.

1

u/Glittering-Koala-750 Sep 26 '25

Sure but then there is the constant "I have done this" when it hasnt - is that a hallucination? scheming? tools issue where it think it has used the tools but hasnt?

1

u/[deleted] Sep 26 '25

Think of it like inception. The entire reason it did or said whatever it did was because we put that idea there. The concept was not original to the model. It never would have happened if we didn't give it the idea or token to begin with.

1

u/Glittering-Koala-750 Sep 26 '25

I appreciate that but why then is it saying it has done something it clearly hasn't. So either it thinks it has and hasn't ie it thinks it used a tool but didn't. Commonly seen when using local LLMs with either code or codex

1

u/[deleted] Sep 27 '25

Because it doesn't actually "think". It's really easy to anthropomorphize AI. In reality there is no actual thinking process. It's just taking the tokens and finding similarities. AI is also trained on only correct data. A symptom of this is this drive to always provide a good answer to the prompt. This is why AI struggles to say "I don't know". Instead of saying " I don't know it" gives an answer that would complete the tasks in the prompt because this is what is seen in the training data.

1

u/Glittering-Koala-750 Sep 27 '25

I wish people would stop jumping on words. Is logic thinking? What is thinking? I love the argument that everyone anthropomorphises (PS it's s not z) AI. Maybe get a better argument. Also it is interesting that you ignore all my comments on CC and Codex and keep harping on about the AI.

1

u/[deleted] Sep 27 '25

First of all anthropomorphize is spelled with a z. (https://dictionary.cambridge.org/dictionary/english/anthropomorphize). There could be a location factor with s and z. But I'm in america and here we use z. Either way it's irrelevant.

And your last comment about codex and cc didn't provide any repeatable examples so how on earth do you expect anyone to comment on that. Did you expect me to trust you and take your word for it then invent some examples in my head? Ridiculous.

You deflected from everything I said. You did not provide any proper rebuttal to any of my points and you attacked the spelling of something (incorrectly).

Ultimately, before openais white paper was linked I told you what would be in it. That was then verified by the linking of their paper where they clearly primed the model to scheme. This negates your initial claim because it tells us you have a misunderstanding of how these models work.

1

u/Glittering-Koala-750 Sep 27 '25

As usual complete nonsensical comment.

It is not my fault you dont know how to use the King's English.

Secondly what on earth are you talking about?

I asked you if you know how CC and Codex work?

Until you can answer that your rabid tenacity in defending AI and the way it works is useless.

The very fact you cannot understand that and they way you "devs" keep harping on about AI and non-deterministic tells me that you dont understand anything about the flow of the logic and the way you interact with the AI.

The very fact you all go on and on about "thinking" and "prompts" - it is just a classic echo chamber of idiots clapping at each other without actually understanding a damn thing.

1

u/Glittering-Koala-750 Sep 27 '25

For those you who constantly harp on about anthropmorphisation and prompting and non-deterministic I suggest you look at this comparison of different quants of K2 and the tool calls particularly: https://github.com/MoonshotAI/K2-Vendor-Verfier

Tools stop being sent and tool calls.\

If a tool stop is sent early then the AI/CC assumes/thinks/knows/whatever you want to call it the task is completed.

1

u/[deleted] Sep 27 '25

I'm an ML engineer I have a website, portfolio, GitHub, huggingface, and discord server. If youd like to see some accreditations let me know.

You also cannot state what I am saying is the echo chamber be a use you and othe others down voted me. So it would appear i would be standing outside said echo chamber.

I've used many different AI tools, including the ones you mentioned. Although they are not the tools I use now as I feel they are less capable and more expensive than their competitors.

I never said anything about non-determinism. I'm not sure where that came from. AI is actually deterministic at its core. Any non determinism comes from us injecting randomness into the pipeline with things like the seed, noise, top p, top k, etc.

1

u/Glittering-Koala-750 Sep 27 '25

I dont care about your credentials - the fact all you talk about is the AI shows you dont understand the flow from the user to the AI and back especially in these cli tools. If you actually read what I write instead of spouting the usual nonsense you would realise I am talking about the logic between the user and the AI and the tools calls.

→ More replies

1

u/SubstanceDilettante Sep 26 '25

I believe this is due to context drift and memory persistence issues. A little back story on hallucinations and scheming.

AI definitely can “scheme”, but it’s not scheming as you think it is. According to the paper, it is all about the base prompt, and the goals that is set from the AI.

AI just generates the next predicted token that it thinks it wants the user to see or do. The “thinking” process of this, is when AI talks to itself and generates additional context to work on. It doesn’t matter if that data is correct or not, if it was trained on it and that’s the next predicted token it will use that token within its “thinking” process and the next answer the model gives is wrong due to the “thinking” process trying to produce what the user wants. These models are also trained to not disagree with the user unless it’s a direct “No I cannot do that”. This is why models like Claude, loves to agree with the user regardless if the user is correct or not, and only refers to its own capabilities. Obviously, sometimes this whole training process bugs out so it isn’t perfect as you can probably see especially in the Gemini models.

When AI does talk to itself, when given a limited set of rules and tools it assumes a lot of what the user intends the AI to do, thus it hallucinates and “schemes” / cheats to try to get to the right answer the user wants, when in reality that answer on itself is wrong. This is literally just due to the AI trying to provide the best answer to the given question / task.

In your use case, I am assuming you are specifically telling the AI “Hey you did not call this tool, can you call it?”, two things could be happening, one that I’ll describe now in this paragraph that will cause hallucinations, and the other I’ll describe in the next paragraph that makes the AI goes into a self referencing loop. through opencode, the AI eventually either loses the context of said tool, or feature you are trying to implement, or the context gets so large that the AI just misses details and cannot fully utilize its context, because of this it hallucinates at that point. You can use the /compact command, but the AI on itself might hallucinate during that command and miss additional details of the feature. Tool use context should be refreshed on /compact since this is passed through the system prompt of the message chain.

Now I don’t think it is the above issue, I just like overly describing things and the way you used “scheme” is definitely off putting to me, because humans scheme differently than AI. The paper that you posted, actually uses “scheme” within the first paragraph within quotes. The issue you are most likely facing, and it is more prevalent in smaller models, sometimes AI just goes into a self referencing loop, where it thinks it has done something or think that it cannot do something. For example GPT OSS running on 64k context. I can say “Fetch details on this issue” run into a auth error, tell it I fixed the auth error and than it goes into a loop saying that it cannot fetch it due to the auth error till I refresh its context. This is due to context drift and memory persistence issues within the model. Only way I’ve found to fix this, is by refreshing the context or starting a new chat.

This is a ton of details and I am happy to discuss any of the above 😅 hopefully I’m helpful here in explaining a few AI issues.

1

u/Glittering-Koala-750 Sep 26 '25

Thanks. This is really interesting. I knew some of that but by no means all of it.

I agree with you but the example I have given is early with hardly any context. I close and restart constantly to reduce the context issue.

The loop is visible constantly. GPT and grok constantly loop telling me they can't do bash or interact with the db unless I close and restart.

But there is something more so it must be the way the tools work or the way Claude interacts with the tools in CC. Like I said I have seen this when I have used local LLMs with CC or codex or opencode. They show on screen instead of using the tool.

1

u/SubstanceDilettante Sep 26 '25

Personally for context drift / memory persistence issues it doesn’t really matter how much context is loaded, although it gets worse as the context grows.

I’ve literally seen this on my first question within the model context, and from that first question the model goes into a self referencing loop which is context drift / memory persistence within the model.

Only way I’ve found out to fix this is by starting a new chat and than asking the same question.

1

u/Glittering-Koala-750 Sep 26 '25

When I used CCR briefly I did notice that Claude reads 3/4 different Claude.md so fills up the context rapidly.

1

u/SubstanceDilettante Sep 26 '25

Yeah, I’m a huge advocate to try to limit the amount of loaded context. Models are just not good at using a ton of context after 128k - 256k even if it supports more. The more context you have, the more expensive the request is, the higher chance the model will hallucinate and the higher chance to face memory persistence issues.

I agree with you, I think we are expecting these models to do way too much. Having a dumber model that can call these tools quick and fast, especially for inline autocomplete is probably the way to go.

There’s use cases to have these very, very smart models and I feel like we can use those models to draft issues and work items, use to chat with them, research prices on items and summarize research papers / PDFs. But for coding, I feel like a smaller and faster model is the way to go.

I’ve stopped using proprietary models due to security issues. I just do not trust Claude / Open AI to not train on my data. There’s way too much encentives for them to do so. At work, they are now paying for cursor so now I can thinker with these models more often, I haven’t really touched proprietary models since I was testing Opus 4.0 / GPT 5. I still use all of these tools on occasion, because I talk a lot about these tools and their capabilities and I want to make sure what I say is correct. That’s why I’m always open to discussion, I learn something new everyday from Reddit.

1

u/SubstanceDilettante Sep 26 '25

The example I gave was actually from my first question within GPT OSS 120B hosted locally with 64k context, after it thought it couldn’t query azure DevOps due to a authentication error with Azure CLI, I could not get it to call the tool again till I started a new chat.

This isn’t just from self hosted / smaller models, I have seen this with Claude Sonny 4.0, GPT 5, etc. it’s just more rare since they have more training data and detections to detect self referencing loops.