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

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

计算机科学 > 计算与语言

arXiv:2503.21464 (cs)
[提交于 2025年3月27日]

标题:Harnessing Chain-of-Thought Metadata for Task Routing and Adversarial Prompt Detection

作者:Ryan Marinelli, Josef Pichlmeier, Tamas Bisztray
查看论文《Harnessing Chain-of-Thought Metadata for Task Routing and Adversarial Prompt Detection》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:In this work, we propose a metric called Number of Thoughts (NofT) to determine the difficulty of tasks pre-prompting and support Large Language Models (LLMs) in production contexts. By setting thresholds based on the number of thoughts, this metric can discern the difficulty of prompts and support more effective prompt routing. A 2% decrease in latency is achieved when routing prompts from the MathInstruct dataset through quantized, distilled versions of Deepseek with 1.7 billion, 7 billion, and 14 billion parameters. Moreover, this metric can be used to detect adversarial prompts used in prompt injection attacks with high efficacy. The Number of Thoughts can inform a classifier that achieves 95% accuracy in adversarial prompt detection. Our experiments ad datasets used are available on our GitHub page: https://github.com/rymarinelli/Number_Of_Thoughts/tree/main.
主题: 计算与语言 (cs.CL); 人工智能 (cs.AI); 性能 (cs.PF)
引用方式: arXiv:2503.21464 [cs.CL]
  (或者 arXiv:2503.21464v1 [cs.CL] 对于此版本)
  https://doi.org/10.48550/arXiv.2503.21464

提交历史

来自:Josef Pichlmeier
[v1] 2025年3月27日 星期四 12:54:00 UTC
全文链接:

访问论文:

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

当前浏览上下文:

cs.CL
< 上一篇   |   下一篇 >
最新 | 近期 | 2025-03
切换浏览方式为:
cs
cs.AI
cs.PF

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

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