跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 机器学习

arXiv:2404.04575 (cs)
[提交于 2024年6月13日 (v1),最后修订于 2024年6月16日 (此版本, v3)]

标题:To Cool or not to Cool? Temperature Network Meets Large Foundation Models via DRO

作者:Zi-Hao Qiu, Siqi Guo, Mao Xu, Tuo Zhao, Lijun Zhang, Tianbao Yang
查看论文《To Cool or not to Cool? Temperature Network Meets Large Foundation Models via DRO》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:The temperature parameter plays a profound role during training and/or inference with large foundation models (LFMs) such as large language models (LLMs) and CLIP models. Particularly, it adjusts the logits in the softmax function in LLMs, which is crucial for next token generation, and it scales the similarities in the contrastive loss for training CLIP models. A significant question remains: Is it viable to learn a neural network to predict a personalized temperature of any input data for enhancing LFMs"? In this paper, we present a principled framework for learning a small yet generalizable temperature prediction network (TempNet) to improve LFMs. Our solution is composed of a novel learning framework with a robust loss underpinned by constrained distributionally robust optimization (DRO), and a properly designed TempNet with theoretical inspiration. TempNet can be trained together with a large foundation model from scratch or learned separately given a pretrained foundation model. It is not only useful for predicting personalized temperature to promote the training of LFMs but also generalizable and transferable to new tasks. Our experiments on LLMs and CLIP models demonstrate that TempNet greatly improves the performance of existing solutions or models, e.g. Table 1. The code to reproduce the experimental results in this paper can be found at https://github.com/zhqiu/TempNet.
评论: 41 pages, 10 figures, accepted by ICML2024
主题: 机器学习 (cs.LG); 人工智能 (cs.AI); 优化与控制 (math.OC)
引用方式: arXiv:2404.04575 [cs.LG]
  (或者 arXiv:2404.04575v3 [cs.LG] 对于此版本)
  https://doi.org/10.48550/arXiv.2404.04575

提交历史

来自:Zi-Hao Qiu
[v2] 2024年6月13日 星期四 16:00:06 UTC
[v3] 2024年6月16日 星期日 12:43:39 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

math
< 上一篇   |   下一篇 >
最新 | 近期 | 2024-06
切换浏览方式为:
cs
cs.LG
cs.AI
math.OC

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站