Author here. I enjoyed the original idea behind the Caveman skill. I tried to log and do RLHF over my own mistakes and corrections in the LLM conversations and realized the skills were slowing everything down. Hence, I've this opinionated system prompt that aims to add a few engineering principles. Caveman testing ok. Autistic caveman better. Problem: person is one. Need more people test. It builds on the same concise-CoT research behind the original Caveman prompt (https://arxiv.org/html/2401.05618v3) The biggest lift has been speed due to faster tool-calling and preserving my codex budget -or at least, getting the placebo effect of preserving it.
The Benefits of a Concise Chain of Thought on Problem-Solving in Large Language Models
Matthew Renze, Erhan Guven
2024 · arXiv
- HN score
- 0
- Mentions
- 3
- Readers
- 3
- Months
- 3
From the abstract
In this paper, we introduce Concise Chain-of-Thought (CCoT) prompting. We compared standard CoT and CCoT prompts to see how conciseness impacts response length and correct-answer accuracy. We evaluated this using GPT-3.5 and GPT-4 with a multiple-choice question-and-answer (MCQA) benchmark. CCoT reduced average response length by 48.70% for both GPT-3.5 and GPT-4 while having a negligible impact on problem-solving performance. However, on math problems, GPT-3.5 with CCoT incurs a performance penalty of 27.69%. Overall, CCoT leads to an average per-token cost reduction of 22.67%. All code, data, and supplemental materials are available on GitHub at https://github.com/matthewrenze/jhu-concise-cot
Metadata: arXiv. Abstracts retain their original authors’ rights.
In the conversation
Original HN comments, with labels from simple text rules. A label describes the whole comment and may miss context or irony. Read the discussion to make up your own mind. About the labels
3 selected excerpts · 3 total mentions
Author here. A few people are arguing against a stronger claim than the repo is meant to make. As well, this was very much intended to be a joke and not research level commentary. This skill is not intended to reduce hidden reasoning / thinking tokens. Anthropic’s own docs suggest more thinking budget can improve performance, so I would not claim otherwise. What it targets is the visible completion: less preamble, less filler, less polished-but-nonessential text. Therefore, since post-completion output is “cavemanned” the code hasn’t been affected by the skill at all :) Also surprising to hear so little faith in RL. Quite sure that the models from Anthropic have been so…
Read the full comment
heavily tuned to be coding agents that you cannot “force” a model to degrade immensely. The fair criticism is that my “~75%” README number is from preliminary testing, not a rigorous benchmark. That should be phrased more carefully, and I’m working on a proper eval now. Also yes, skills are not free: Anthropic notes they consume context when loaded, even if only skill metadata is preloaded initially. So the real eval is end-to-end: - total input tokens - total output tokens - latency - quality/task success There is actual research suggesting concise prompting can reduce response length substantially without always wrecking quality, though it is task-dependent and can hurt in some domains. (https://arxiv.org/html/2401.05618v3) So my current position is: interesting idea, narrower claim than some people think, needs benchmarks, and the README should be more precise until those exist.
After reading both papers, I have to disagree. Chain of Draft seems "identical" to Concise Chain-of-Thought (CCoT) https://arxiv.org/abs/2401.05618. Additionally, the CoD authors seem to mention that it is cognitive inspired but don't give any actual basis for that. Sketch-of-Thought, while similar in terms of its goal, seems to be based on cognitive science principles and has better extensibility than CoD and CCoT (they basically just say "answer in X words" and leave it at that).
Keep following the thread.
More in Language modelsMore from the same topics.
Sparks of Artificial General Intelligence: Early experiments with GPT-4
Sébastien Bubeck, Varun Chandrasekaran, Ronen Eldan +11
Artificial intelligence (AI) researchers have been developing and refining large language models (LLMs) that exhibit remarkable capabilities across a variety of domains and tasks, challenging our understanding of learning and cognition.
Language Models are Few-Shot Learners
Tom B. Brown, Benjamin Mann, Nick Ryder +28
Recent work has demonstrated substantial gains on many NLP tasks and benchmarks by pre-training on a large corpus of text followed by fine-tuning on a specific task.
Design Patterns for Securing LLM Agents against Prompt Injections
Luca Beurer-Kellner, Beat Buesser, Ana-Maria Creţu +11
As AI agents powered by Large Language Models (LLMs) become increasingly versatile and capable of addressing a broad spectrum of tasks, ensuring their security has become a critical challenge.
Toolformer: Language Models Can Teach Themselves to Use Tools
Timo Schick, Jane Dwivedi-Yu, Roberto Dessì +5
Language models (LMs) exhibit remarkable abilities to solve new tasks from just a few examples or textual instructions, especially at scale.