小型語言模型解難題時,常得花很多篇幅重新找出已知的解法。
- 這篇 Meta 論文測試,在提示詞中直接提供正確理論,是否比放入解題範例更有幫助。研究者讓 Qwen3-14B 解硬幣排列的等待時間問題,提供理論後,答對率從 0.37 升到 0.83,答對時所用 token 的中位數也從 10.2k 降到 6.3k。
- 較強模型的提升則縮小到 0.07。結果顯示,面對反覆出現的難題型別,簡短說明正確方法可能比提供範例更有用。
AI 伴隨問答
針對這篇報導有疑問?可直接點選快捷問題或向 AI 追問背景脈絡與技術細節:
New Meta paper finds that stating the right theory in context more than doubles a small LLM's math accuracy, while worked examples do not help.
LLMs solve hard problems with long chains of thought, and many of those tokens go into rederiving known methods. It was unclear how much a stated theory helps, and whether a model can write that theory itself.
They gave Qwen3-14B the right theory, irrelevant text, or worked examples, all padded to the same length. To rule out recall, they also planted unpublished theorems in custom probability problems and asked models to induce them.
On coin-pattern waiting-time problems, the theory raised pass@1 from 0.37 to 0.83 and cut median tokens of correct answers from 10.2k to 6.3k. The gain shrank to +0.07 for a stronger model with a 64k budget.
For hard, repeated problem types, put a short statement of the right method in the prompt instead of examples, especially for smaller models.