by mNovak · 4mo ago · 0 comments
Also a lot prompt spent feeding it strategies, which feel like they should/will eventually be deduced by the model itself, not explicitly stated. That's not to take away from the outcome in any way; rather, it feels sort of like when you would prompt GPT 4, "think through your answer step by step," as a sort of proto-chain of thought.
If you watch the progress of the reasoning in llama-server while it's doing the thinking, you can track its progress. Sometimes the dead ends it goes down or things that it considers and then disregards are themselves something useful to re-prompt it with later, and send it 'rolling downhill', to use the metaphor of another commenter here, in another direction towards the same effort.
Putting 3.6 35B-A3B into a state that lets it spend a lot of time in its reasoning mode before outputting an answer is probably not something that a web based SaaS LLM would tolerate, because it would frustrate many of the non technical end users who want a LLM to spit out an answer now.
Everything that an LLM outputs is just a statistical language-based (no real grounding) prediction. Luckily with a model based on a large training set most common questions may elicit coherent responses from the training data, but you don't need to veer too far off into "questions less asked" territory to get responses based on training data mashups that amount to best guesses that are wrong, aka hallucinations. The unfortunate part of this is that as a user you may only catch this when asking a question about something you are already fairly knowledgeable about, then you give some pushback to the model and it cheerfully acknowledges "you're right - I made that up".
It’s in the name :)
I see the need for this as coming down to two things:
1) LLMs are fundamentally prediction machines, and therefore ultimately will only do what they are prompted to do (and whatever that leads to). They may have been trained on, and/or have access to, all sorts of information that may be useful to solve a problem, but their predictive nature is to only use that information if explicitly prompted to, else it remains "dark" and inaccessible other than by luck. You're essentially having to tell the model "solve this problem using techniques A, B & C", otherwise techniques A, B & C will be off the radar unless the model already associates them to the problem.
2) The fundamental reason this sort of brute force tree-of-thoughts "explore all avenues" prompting is necessary, is because the model itself has no inherent curiosity to explore. Humans work differently. Our behavior is also prediction based, but we are also built for problem solving and continual exploration/learning via traits like curiosity (driven by prediction failure).
Problem solving via search can to some extent be prompted for, as here, or achieved via an external harness, but impasse resolution via curiosity, directed exploration and continual learning (if/when something new/unpredicted is encountered) is trickier. You can't usefully prompt a predictive model to "be curious" since that will only cause it to predict what a curious person would do, rather than the model being curious in reaction to the specific gaps in it's own knowledge.
This one was pretty impressive in its own right (probably the most impressive outside these 2), and the prompt is concise and basic.
https://www.scientificamerican.com/article/amateur-armed-wit...
https://chatgpt.com/share/69dd1c83-b164-8385-bf2e-8533e9baba...
I remember a couple of years back when people were saying how prompt engineering was a skill, and reading this prompt kinda took me back to that.
Were I to guess, the reason the model couldn't do this itself is because most of the time, for most problems, a lot of this is bad advice.
In search optimisation you're often trading between time and quality. A very broad search will return very bad results for a long time. Where as a more depth oriented search with some heuristic will tend to return a pretty good result (if not optimal or close to optimal) quickly.
I'd assume models naturally want to find some middle ground there because that's the best thing to do most of the time, but for very difficult problems where a decent attempt isn't good enough you want a much broader search that doesn't have the time constraints. Much of the prompt seemed to be in that direction – really encouraging broadness of the search, preventing early convergence, and remove pressure of time constraints.
and human writing the prompt here did a lot more than that. asking to include parallel-edge 2-cycles, admitting disconnected graphs, specifying the emptyset cover, multiset counting, it all likely came from previous fake proofs.
[1]: see: ankitmaloo.com/fable - its the way most llms are trained, and is also natural owing to autoregressive nature.
This way you get more profit per API user and subscription users reach their quota faster and are contacted to update their plan to a higher tier.
It's working exactly as intended
“Kick logic out and do the impossible! Remember that, that’s the way Team Gurren rolls!”
The sweet irony is all the jailbreak style fixes could hamper this approach.
Looking forward to "gpt-5.6-mathx".
You collect all of the direction prompts and anti-direction prompts, and you finetune the model to behave that way for the particular domain, under those particular conditions, as a default.
This is also why I don't believe for a second that the AI labs aren't training on our data, even when we opt out. This sort of data collection is a requirement for improving the models.
It's also why Anthropic purposefully gives you a dumb model or a corner cutting model to goad you into guiding it into the correct answers, so that you do the fine-tuning for them. OpenAI at least, does not do that. Which is why ChatGPT is far less infuriating to work with.