6 ms·
I noticed this when I tried to get LLMs to play text adventures. Early on in my experiments, I wanted to give them hints when they got stuck at a puzzle. I did
by kqr 14d ago
I noticed this when I tried to get LLMs to play text adventures. Early on in my experiments, I wanted to give them hints when they got stuck at a puzzle. I did this by stopping the loop, injecting thoughts into the LLMs own persistent scratchpad (as if it had thought of that itself), and then starting the loop up again.[1] That way, the LLM would read what it had intended to remember from the previous turn including the hints I injected, and use that for the next turn.
I discovered that LLM-generated tokens in the scratchpad were relatively stable, but injected thoughts were frequently ignored and often deleted from the scratchpad within a few turns – even when the injected thought was the literal answer to the puzzle it was stuck at!
A reader[2] then pointed me toward research similar to what you might recall: LLMs interpret text by maintaining activations for input tokens, so text that is not generated by the same LLM will seem "unlikely" to the LLM in a sense, and when given the alternative between likely and unlikely text, it's probably trained to judge the unlikely text as a weird "slip of the mind" and discredit it in favour of the more likely text. I speculate this is part of how they can be useful in the first place, despite their non-determinism.
[1]: https://entropicthoughts.com/getting-an-llm-to-play-text-adventures#obsessing-over-the-wrong-things https://entropicthoughts.com/getting-an-llm-to-play-text-adv...
[2]: https://entropicthoughts.com/getting-an-llm-to-play-text-adventures#comments https://entropicthoughts.com/getting-an-llm-to-play-text-adv...
- correct_horse 14d agoDid you ever try to ask a chatbot to rephrase your hint in its own words? If it prefers LLM generated text, surely that would help.
- stuaxo 13d agoThis is very similar to how you rewrite queries so that similarity search works better... which ... well, it's similarity search all the way down pretty much.
- lwhi 14d agoMaybe that's a triggering a method designed to mitigate against prompt injection / attacks involving poisoning.
- thin_carapace 13d agoi wonder what would best be described as an animal behaviour analogous to this
- deepsun 13d agoImagine telling a person something that goes contrary to their conditioning, to their beliefs. They would tend to dismiss it completely and choose not to take it into account, even while knowing it's true.
- dylan604 13d agoThis is widely visible as a very real thing and why charlatans are able to be charlatans. Not sure why it is phrased as something that needs to be imagined
- contact9879 13d agoparent was being sarcastic
- jjcob 13d agoyou have to go a level deeper, and plant the most basic version of the thought, just a seed, so that it grows and they think it's their own idea
- eru 13d ago> I speculate this is part of how they can be useful in the first place, despite their non-determinism. Humans and monte carlo simulations are also non-deterministic and can be useful. So I don't see much of a need to explain why non-deterministic system can be useful.