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

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

计算机科学 > 软件工程

arXiv:2611.37111 (cs)
[提交于 2026年11月27日 (v1),最后修订于 2026年12月3日 (此版本, v4)]

标题:Understanding and Mitigating Representation Drift of Code Models under Software Distribution Shifts

作者:Yiqing Shi, Zhifei Chen, Yangyang Zhao, Quanjun Zhang, Lin Chen, Wei Song
查看论文《Understanding and Mitigating Representation Drift of Code Models under Software Distribution Shifts》的 PDF
查看中文 PDF 查看原文 PDF EasyResearch 阅读
摘要:Deep learning-based code models often suffer performance degradation under software distribution shifts. Although recent studies have investigated the robustness of code models to out-of-distribution (OOD) data, how distribution shifts reshape internal representations and how such changes can guide adaptation decisions remain insufficiently understood. To answer such puzzles, we present a systematic empirical study organized along a diagnosis-to-adaptation workflow covering seven tasks, five code models, and five distribution shift types. Specifically, we measure generalization gaps between in-distribution (ID) and OOD data, evaluate task-adapted OOD detection signals, diagnose layer-wise representation geometry, and propose a representation-diagnostics-guided adaptation strategy. Our results show that: 1) performance degradation is decoupled from OOD detectability, with detectors achieving AUROC values below 59.00% even when syntactic shifts reduce classification accuracy by up to 15.69%; 2) settings with OOD performance degradation exhibit weaker cross-distribution alignment and more pronounced layer-wise geometric changes; and 3) diagnostics-guided data allocation and configuration search yield higher OOD scores than traditional adaptation strategies. Overall, our findings highlight the necessity of integrating representation-level diagnostics into the evaluation and adaptation of code models under distribution shifts.
主题: 软件工程 (cs.SE)
引用方式: arXiv:2611.37111 [cs.SE]
  (或者 arXiv:2611.37111v4 [cs.SE] 对于此版本)
  https://doi.org/10.48550/arXiv.2611.37111

提交历史

来自:Zhifei Chen
[v1] 2026年11月27日 星期五 09:05:23 UTC (852 KB)
[v2] 2026年12月1日 星期二 02:00:13 UTC (834 KB)
[v3] 2026年12月2日 星期三 08:03:07 UTC (834 KB)
[v4] 2026年12月3日 星期四 02:36:41 UTC (834 KB)
全文链接:

访问论文:

  • 查看中文 PDF
  • 查看原文 PDF
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

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

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

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