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

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

计算机科学 > 软件工程

arXiv:2610.41617 (cs)
[提交于 2026年10月30日]

标题:Prompt Less, Infer More: Static Analysis-Guided LLM Type Annotation for Python

作者:Wonseok Oh, Michael Pradel, Hakjoo Oh
查看论文《Prompt Less, Infer More: Static Analysis-Guided LLM Type Annotation for Python》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:Type annotations improve the maintainability and reliability of Python programs, but many real-world projects remain under-annotated because manual annotation is time-consuming and error-prone. Recent neural and LLM-based type inference systems can recover missing annotations, yet they often trade accuracy for efficiency. Existing approaches often fail to exploit project-wide type evidence, or do so inefficiently through unnecessary model calls and noisy prompts. We present SALT, an LLM-based type inference system guided by static analysis. SALT integrates static analysis with LLM inference to resolve types statically, prioritize LLM queries, and construct concise type-aware context. To demonstrate the effectiveness of SALT, we evaluated it on 12 real-world Python projects. SALT achieves the best accuracy among the evaluated systems and reduces estimated LLM cost by up to 78.5% compared with a strong coding-assistant baseline. It also shows similar cost savings with the frontier model GPT-5.5, demonstrating that SALT remains effective with strong LLMs.
评论: Accepted at ICSE 2027
主题: 软件工程 (cs.SE)
引用方式: arXiv:2610.41617 [cs.SE]
  (或者 arXiv:2610.41617v1 [cs.SE] 对于此版本)
  https://doi.org/10.48550/arXiv.2610.41617

提交历史

来自:Wonseok Oh
[v1] 2026年10月30日 星期五 11:56:19 UTC (134 KB)
全文链接:

访问论文:

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

当前浏览上下文:

cs.SE
< 上一篇   |   下一篇 >
最新 | 近期 | 2026-11
切换浏览方式为:
cs

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

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