[论文] PromptResponse: Optimizing Prompts for LLM Coding Tasks
来源:arXiv AI 论文收录:2026/8/24
✦ AI 解读
该论文研究提示词格式对LLM编码任务的影响。通过构造五种语义相同但格式不同的HumanEval变体(基线、JSON、Markdown、YAML及LLM调优版),让GPT-4o执行8200次实验,发现一致的格式(尤其是JSON)能提升代码生成的效率和语法稳定性。研究为优化编码提示词提供了实证依据。
Large language models (LLMs) are increasingly used in research workflows and software development pipelines, yet their output remains sensitive to input prompt variations. This paper presents $\unicode{x00AB}$PromptResponse$\unicode{x00BB}$, a controlled study examining how formatting and LLM-based tuning of coding task prompts affect the resulting code's performance, efficiency, and stability. Using five semantically identical yet syntactically distinct variants of the HumanEval dataset$\unicode{x2014}$baseline, JSON, Markdown, YAML, and an LLM-tuned version$\unicode{x2014}$we had GPT-4o solve its coding problems over 8200$\unicode{x00A0}$executions. Our results show that consistent formatting$\unicode{x2014}$especially JSON$\unicode{x2014}$improves generation efficiency and syntactic sta
相关推荐
Risk of transmission of amyloid β pathology via transfused blood products
✦ AI 摘要该研究探讨了通过输血传播淀粉样β病理的风险,发表于《柳叶刀》。研究可能涉及朊病毒样传播机制,对血液制品安全性和阿尔茨海默病预防有重要启示。内容来自顶级医学期刊,但属于医学领域,与AI从业者直接关联较低。
NanoGPT Speedrun Frontier
✦ AI 摘要Prime Intellect发布NanoGPT Speedrun Frontier,展示在单台GPU上以极低成本训练GPT-2级别模型的优化技术。文章详细介绍了训练速度提升的多种策略,包括数据加载、混合精度、内核优化等,并提供了可复现的代码。该研究对资源有限的AI开发者具有重要参考价值,引发社区广泛讨论。
[论文] TurboBias 2.0: Streaming Context-Biasing for Production-Efficient ASR Systems
✦ AI 摘要TurboBias 2.0 是一个面向生产环境的 ASR 系统上下文偏置框架,旨在解决流式推理、批量解码、用户特定上下文列表和低运行时开销等实际需求。它扩展了 GPU 加速的 TurboBias,引入不区分大小写的提升图和每流批量解码,使批次中的每个话语都能使用独立的上下文配置,从而实现个性化上下文处理,提升识别准确率并保持高效。