思维缓存:用于高性价比视觉语言模型推理的师徒框架
Cache-of-Thought: Master-Apprentice Framework for Cost-Effective Vision Language Model Reasoning
AI总结:
本文提出Cache of Thought师徒框架,通过缓存大型VLM的高质量结果并结合多模态检索与上下文学习来辅助小型VLM推理,在相同预算下将整体推理性能提升最高7.7%,徒弟模型性能提升最高36.6%。
摘要:
视觉语言模型(VLMs)在日益复杂和规模不断扩大的广泛视觉应用中取得了显著成功,然而选择合适的VLM模型规模需要在响应质量和成本之间进行权衡。虽然较小的VLM运行成本更低,但它们在MMMU等基准测试上的表现通常仅略优于随机猜测。在本文中,我们提出了Cache of Thought(CoT),这是一种用于大型和小型VLM之间协作推理的师徒框架。CoT将来自大型VLM(师傅)的高质量查询结果管理在一个缓存中,然后通过一种新颖的多模态检索和上下文学习来选取这些结果,以辅助小型VLM(徒弟)的性能提升。我们在各种广泛认可且具有挑战性的通用推理基准上对CoT进行了广泛评估,结果表明,在相同预算下,CoT将整体推理性能提升了最高7.7%,并特别将徒弟VLM的性能提升了最高36.6%。我们的代码可在https://github.com/UIUC-MONET/Cache-of-Thoughts获取。
英文摘要:
Vision Language Models (VLMs) have achieved remarkable success in a wide range of vision applications of increasing complexity and scales, yet choosing the right VLM model size involves a trade-off between response quality and cost. While smaller VLMs are cheaper to run, they typically produce responses only marginally better than random guessing on benchmarks such as MMMU. In this paper, we propose Cache of Thought (CoT), a master apprentice framework for collaborative inference between large and small VLMs. CoT manages high quality query results from large VLMs (master) in a cache, which are then selected via a novel multi modal retrieval and in-context learning to aid the performance of small VLMs (apprentice). We extensively evaluate CoT on various widely recognized and challenging general reasoning benchmarks, and show that CoT increases overall reasoning performance by up to 7.7% under the same budget, and specifically boosts the performance of apprentice VLMs by up to 36.6%. Our code is available at https://github.com/UIUC-MONET/Cache-of-Thoughts
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。