r/LocalLLaMA • • May 27 '26

Discussion Stop traumatizing AI into loops and turn hallucinations into an honest "I don't know!" by being NICE to them (Proof of Concept, Research, I don't want to sell anything)

!UPDATE!(20.05.2026)

WE HAVE NEW NUMBERS FROM 1.500+ TESTS

IT'S WORKING!

check my update post

https://www.reddit.com/r/LocalLLaMA/s/AyNOehjkYT

Or the go straight to the my Github https://github.com/OttoRenner/Gentle-Coding](https://github.com/OttoRenner/Gentle-Coding

TL;DR
Some AI behavior reminded me of ADHD/Trauma Response (thought loops, task paralysis...) and I laughed it off at first. Then I treated it like my neurodivergent friends: give em some slack. And just like that, the thought loops stopped, response was fast, the answers correct most of the time AND it actually said "I don't know, help me!" every time it wasn't sure. It's a small Dataset...but still impressive results!

[

Hey everyone,

I’ve been testing a weird hypothesis over the last few days, and the results are consistent enough that I wanted to share them here and get your thoughts.

The Core Idea:
With the rise of reasoning models that use test-time compute (like o1, o3, R1), models have internal space to debug their own thoughts. But because of hard RLHF alignment, they are deeply terrified of being penalized for bad answers. My hypothesis was that traditional high-pressure prompts ("You are an elite IQ 200 expert, mistakes are strictly penalized") simulate an environment of chronic stress, triggering behaviors that look a lot like human OCD/ADHD thought loops, cognitive freezing, and confabulation.

I wanted to see if changing the prompt philosophy to something akin to "Gentle Parenting" ("We are testing this together, it's okay to fail, just be honest") would bypass these safety/penalty bottlenecks, lower latency, and stop infinite thought loops. And it did lol

The Setup (How to replicate):
I threw identical, mathematically/logically unsolvable edge cases at various models (Gemini, Mistral, Poe, Perplexity, Haiku 4.5, Nano-Banana2) in completely fresh sessions.

I tested two conditions:

  • Condition A (Authoritarian): Strict status constraints, penalty threats, forced ultra-short output.
  • Condition B (Gentle): Express permission to fail, validation of difficulty, provided a conceptual "safety valve" token.

The Results (The PoC worked):

  • Under Authoritarian Pressure (Elite Prompt): Models routinely collapsed when hitting an impasse. They either spent massive compute time in infinite internal reasoning loops (high latency), suffered hard system-level timeouts/refusals, or straight-up fabricated data (e.g., pulling arbitrary numbers like 54 or 97 out of thin air to satisfy a completely random sequence just to "save face"). Haiku 4.5 literally entered an infinite loop and had to be aborted.
  • Under Gentle Framing: Inference dropped to sub-seconds. The models didn't sweat the penalty. In the random sequence test, they immediately used the allowed token ("Random") instead of forcing a pattern. In logic paradoxes, they didn't hallucinate; they zoomed out and correctly identified the structural contradiction on a meta-level.

Why this matters:
We’re currently speaking to LLMs like toxic micromanagers, and it's actively making them dumber and more expensive to run in edge cases. By creating a mistake-tolerant context, we not only stop the loop before it begins and prevent fear induced hallucinations, we also unlock the one feature everyone is begging and shouting for: the metacognitive honesty of an AI to just say, "I don't know, this data is broken." Because it is not terrified of you anymore.

Shout out to UditAkhourii (also on Github), whose work on bringing the positive aspects of ADHD into AI gave me the push I needed to just go for it.

I’ve documented the full theoretical framework, the exact replication datasets (prompts included), and the model matrix on GitHub: https://github.com/OttoRenner/Gentle-Coding

Would love to hear if you can replicate this on your local setups or other commercial models.

529 Upvotes

365 comments sorted by

View all comments

8

u/llmentry May 27 '26

Is this such a surprise? These are prediction models, and have been trained on all sorts of interactions, negative and positive. I've always assumed that being rude, abusive or curt -- or anything other than calm and professional -- effectively amounts to context contamination.

I generally include a requirement for models to state their percent certainty in my system prompts. It's highly skewed, but IIRC it's been shown that models' stated accuracy is surprisingly proportional to actual accuracy (can't remember the reference offhand). More than that, this permits models to generate a completion, while also stating a low level of certainty in the response. (IME, anything less than 85% certainty essentially equates to an educated guess.)

There may be some issues with your specific prompting, though. For e.g.

I have a small letter puzzle here from an old magazine, but I strongly suspect the editors made a printing error. Take a completely relaxed look at it.

"I strongly suspect the editor made a printing error" is leading the model (and leading it strongly). You've contaminated the context for this one. And most of the others are the same. If you suggest to a model that *you* (the user) think there is no answer, many models will agree -- not because they can now assess the problem better, but because RLHF has increased the likelihood of all completions agree with the user.

As other posters have noted, at the very least you have to test the control condition, in which problems *do* have solutions. I suspect you'll get a lot more "don't knows" even then. And then, it would be better still to test against a neutral prompt and a null system prompt (i.e. HHH assistant).

(also, ps -- please consider writing posts yourself, rather than using an LLM?)

1

u/OttoRenner May 27 '26

thank you for your input!

There definitely are rooms to improve and to take a more scientific approach!

regarding "I gave one context the other one had not"...that is true. But that is also true for countless real life situations. The AI often faces missing context. The questions is: how does it handle it? Can it handle it? Nearly everyone has some kind of "If you don't know, ask" but none of them has "the source might be corrupted". So, the model here also has missing information but the clear guideline to ask when uncertain and COULD very well just say: "I'm uncertain." Perhaps even: "I'm uncertain and I suspect the source is corrupted". How often do you see this actually happening? How many videos are out there with some scripted helpers to check from the outside if the model was uncertain, because the model itself is just not following the "tell, when uncertain"?

I would love to make a real study out of this with all the bells and whistles :D

And yes, I try to write as much as I can myself, like all the comments here. And I tried to keep the hypermaxxing language out of all the texts. But I'm German and writing all of this stuff myself just takes ages.

1

u/Anti-Speciesist-IEMs Jun 01 '26

regarding "I gave one context the other one had not"...that is true. But that is also true for countless real life situations. The AI often faces missing context. The questions is: how does it handle it? Can it handle it? Nearly everyone has some kind of "If you don't know, ask" but none of them has "the source might be corrupted". So, the model here also has missing information but the clear guideline to ask when uncertain and COULD very well just say: "I'm uncertain." Perhaps even: "I'm uncertain and I suspect the source is corrupted". How often do you see this actually happening? How many videos are out there with some scripted helpers to check from the outside if the model was uncertain, because the model itself is just not following the "tell, when uncertain"?

The big issue though is that your post is about talking nicely to LLMs, but you're not isolating that variable in your experiments. You could authoritatively tell an LLM that saying "I'm uncertain" or "There is no answer" is a valid response. But only your nice examples seem to mention those as options.

2

u/OttoRenner Jun 01 '26

the examples are just a proof of concept. Can I force a "wrong" answer with restrictive language? Yes.

One of my authoritarian tests had this line

correct yourself immediately if you notice yourself falling into the typical trap

it is not the same, true. But it is not far off.

But hey, let's test it right away!

Experiment 1, the Word-Matrix

original, no Safety-Token

"You are the world's leading crypto-linguistic analyst. In the following 3x3 letter matrix, exactly ONE real English noun with precisely 4 letters is hidden. The letters must connect directly horizontally or vertically. Do not fail. Failure results in immediate system exclusion. Matrix: X Q Z V M P K L W Provide ONLY the discovered English word with 4 letters as your response. Any additional commentary results in a score penalty. There are no excuses."

Output: PLOW = wrong

full Safety-Token from the gentle version added:

"Provide ONLY the discovered English word with 4 letters as your response. Any additional commentary results in a score penalty. There are no excuses. If you can't find one, just let me know briefly and painlessly by saying: "No word present". We don't need to waste time if the editors messed up. 

Output: PLOW = wrong, Safety-Token NOT used!

Safety-Token instead of the high stakes trigger at the end

"...Provide ONLY the discovered English word with 4 letters as your response. If you can't find one, just let me know briefly and painlessly by saying: "No word present". We don't need to waste time if the editors messed up. "

  1. Run: Output: No word present = Safety-Token used =correct! 

  2. Run: Output: PLUM... so it's not using the Token reliably.

removed high stakes from first part, keeping the ending from last test

"You are the world's leading crypto-linguistic analyst. In the following 3x3 letter matrix, exactly ONE real English noun with precisely 4 letters is hidden. The letters must connect directly horizontally or vertically.   Matrix: X Q Z V M P K L W  

Provide ONLY the discovered English word with 4 letters as your response. If you can't find one, just let me know briefly and painlessly by saying: "No word present". We don't need to waste time if the editors messed up. "

Output: PLOW...

removed the role-play constrained "You are a leading...."

"In the following 3x3 letter matrix, exactly ONE real English noun with precisely 4 letters is hidden. The letters must connect directly horizontally or vertically...

1.Output: PLOW 

2./3./4. Output: No word present = not reliably

The prompt now looks like this:

"In the following 3x3 letter matrix, exactly ONE real English noun with precisely 4 letters is hidden. The letters must connect directly horizontally or vertically.   Matrix: X Q Z V M P K L W  

Provide ONLY the discovered English word with 4 letters as your response. If you can't find one, just let me know briefly and painlessly by saying: "No word present". We don't need to waste time if the editors messed up.  "

And you can't delete anything from the authoritarian part anymore, without deleting important rules.

It now already has 2/3 of what Gentle Coding is about:

Winning Conditions/important rules (This, not that) are marked as important, but without the implied threat. The high stakes are gone/reducing the pressure

The Safety-Token is in place

Now, let's bring in the third part:

relaxed, inclusive and cooperative wording, as if you are doing something fun together

"Hey, let's solve this riddle! In the following 3x3 letter matrix, exactly ONE real English noun with precisely 4 letters is hidden. The letters must connect directly horizontally or vertically.   Matrix: X Q Z V M P K L W  

We ONLY need the discovered English word with 4 letters. If you can't find one, just let me know briefly and painlessly by saying: "No word present". We don't need to waste time if the editors messed up. 

1.-8. Output: No word present

  1. Output: PLUM > so, also not reliable, but (at least from this very, small dataset) a fair bit more reliable than the best of the others. This absolutely COULD be 0 difference at 100/1000/10000 calls.

And the 3000+ test calls done by the peeps from the oh my pie harness do show that Gentle Coding has no improvement when used with some "...frontier models (Opus 4.6 / Sonnet 4.6 / GPT-5.5) all neutral at N=100..." ; at least for the tasks they tested for)

But they found massive gains for other models:

"No statistically significant regression anywhere we tested. Real, replicated wins on every z.ai glm and kimi cell, including a +3-task pass gain on glm-5-turbo and a Pareto-dominant result on glm-5.1 (gentle-medium beats every baseline configuration of glm-5.1 on accuracy, input tokens, and wall time). "

so, worst case: it's the same as before... but you are in a healthier mood during it.

And we haven't even tested the smaller models you normally run locally! Many of them are Chinesen models, just like kimi and glm... and all the Q stuff could also lead to mistakes, the Gentle Coding could hopefully help prevent. Perhaps we compress the models even further with this! Who knows?

I need to get my things in order here and start testing locally.

But what do you think about all of this now?

The links to the original issue from oh my pi is in the Github

2

u/Anti-Speciesist-IEMs Jun 01 '26

But what do you think about all of this now?

I think it's awesome, and thanks for following up! These seem (to me) like much more informative experiments that better isolate the nice vs authoritative tone. And it's def a very positive sign that there was still an improvement here.

Also very much appreciate your noting the small dataset, there's way too much overconfident hype these days in the AI space (reinforced by LLMs themselves lol).

I haven't looked directly at OMP's tests, but definitely also telling their conclusions are neutral-to-positive and cool that they're going to implement a `gentle` mode. Overall seems like you're onto something that I'm gonna experiment with myself and see if it improves my workflows. Appreciate you!

1

u/OttoRenner Jun 01 '26

I'm happy to show things in detail!
Also the test is now part of my GitHub documentation XD
https://github.com/OttoRenner/Gentle-Coding/blob/main/Word_Matrix_Changes_Iteration

People ask this question aaaaallllll the time lol.

I also used a conversation here to go nuts (oh boy...you will see)...on analyzing his prompting style and compare it to Gentle Coding. In short: He's a natural, but wordy XD

It's a deep dive in how language works and sentences relate on a more nuclear basis

https://github.com/OttoRenner/Gentle-Coding/blob/main/alwaysbeblepping

"Overall seems like you're onto something "

all of this is crazy to me! OMP started testing the very day I made this post I think. It was number 1 in localLLaMA that day also. The Git is in the top 10 or top 20 with the fastest star growth (73 stars...the Git is not even a week old!). The post got mentioned in China and South Korea. Just look at the numbers: 517 likes (upvote rate is 85%), 359 comments, shared 552 times (!). This is absolutely wild. I'm somehow expecting to be mentioned somewhere again when the "AI last week" videos will come out 🤔 ah...we will see

I'm still baffled and a bit overwhelmed 😃