{"_id":"2XLsFrubA4JudoCwx","bibbaseid":"sabbata-sumers-griffiths-rationalmetareasoningforlargelanguagemodels-2024","author_short":["Sabbata, C. N. D.","Sumers, T. R.","Griffiths, T. L."],"bibdata":{"bibtype":"misc","type":"misc","title":"Rational Metareasoning for Large Language Models","url":"http://arxiv.org/abs/2410.05563","doi":"10.48550/arXiv.2410.05563","abstract":"Being prompted to engage in reasoning has emerged as a core technique for using large language models (LLMs), deploying additional inference-time compute to improve task performance. However, as LLMs increase in both size and adoption, inference costs are correspondingly becoming increasingly burdensome. How, then, might we optimize reasoning's cost-performance tradeoff? This work introduces a novel approach based on computational models of metareasoning used in cognitive science, training LLMs to selectively use intermediate reasoning steps only when necessary. We first develop a reward function that incorporates the Value of Computation by penalizing unnecessary reasoning, then use this reward function with Expert Iteration to train the LLM. Compared to few-shot chain-of-thought prompting and STaR, our method significantly reduces inference costs (20-37\\% fewer tokens generated across three models) while maintaining task performance across diverse datasets.","urldate":"2024-11-02","publisher":"arXiv","author":[{"propositions":[],"lastnames":["Sabbata"],"firstnames":["C.","Nicolò","De"],"suffixes":[]},{"propositions":[],"lastnames":["Sumers"],"firstnames":["Theodore","R."],"suffixes":[]},{"propositions":[],"lastnames":["Griffiths"],"firstnames":["Thomas","L."],"suffixes":[]}],"month":"October","year":"2024","note":"arXiv:2410.05563","keywords":"Computer Science - Artificial Intelligence, Computer Science - Computation and Language, Computer Science - Machine Learning","bibtex":"@misc{sabbataRationalMetareasoningLarge2024a,\n\ttitle = {Rational {Metareasoning} for {Large} {Language} {Models}},\n\turl = {http://arxiv.org/abs/2410.05563},\n\tdoi = {10.48550/arXiv.2410.05563},\n\tabstract = {Being prompted to engage in reasoning has emerged as a core technique for using large language models (LLMs), deploying additional inference-time compute to improve task performance. However, as LLMs increase in both size and adoption, inference costs are correspondingly becoming increasingly burdensome. How, then, might we optimize reasoning's cost-performance tradeoff? This work introduces a novel approach based on computational models of metareasoning used in cognitive science, training LLMs to selectively use intermediate reasoning steps only when necessary. We first develop a reward function that incorporates the Value of Computation by penalizing unnecessary reasoning, then use this reward function with Expert Iteration to train the LLM. Compared to few-shot chain-of-thought prompting and STaR, our method significantly reduces inference costs (20-37{\\textbackslash}\\% fewer tokens generated across three models) while maintaining task performance across diverse datasets.},\n\turldate = {2024-11-02},\n\tpublisher = {arXiv},\n\tauthor = {Sabbata, C. Nicolò De and Sumers, Theodore R. and Griffiths, Thomas L.},\n\tmonth = oct,\n\tyear = {2024},\n\tnote = {arXiv:2410.05563},\n\tkeywords = {Computer Science - Artificial Intelligence, Computer Science - Computation and Language, Computer Science - Machine Learning},\n}\n\n\n\n\n\n\n\n\n\n\n\n","author_short":["Sabbata, C. N. D.","Sumers, T. R.","Griffiths, T. L."],"key":"sabbataRationalMetareasoningLarge2024a","id":"sabbataRationalMetareasoningLarge2024a","bibbaseid":"sabbata-sumers-griffiths-rationalmetareasoningforlargelanguagemodels-2024","role":"author","urls":{"Paper":"http://arxiv.org/abs/2410.05563"},"keyword":["Computer Science - Artificial Intelligence","Computer Science - Computation and Language","Computer Science - Machine Learning"],"metadata":{"authorlinks":{}},"downloads":0,"html":""},"bibtype":"misc","biburl":"https://bibbase.org/zotero/saurabhr","dataSources":["nxjWwW7fWbb5tfpKz"],"keywords":["computer science - artificial intelligence","computer science - computation and language","computer science - machine learning"],"search_terms":["rational","metareasoning","large","language","models","sabbata","sumers","griffiths"],"title":"Rational Metareasoning for Large Language Models","year":2024}