Research map / Label-efficient and robust learning / Domain adaptation and generalization
Exploring Distributional Shifts in Large Language Models for Code Analysis
Shushan Arakelyan, Rocktim Jyoti Das, Yi Mao, Xiang Ren
University of Southern California · MBZUAI · IIT · Microsoft
Read the paperPlace an idea next to itCheck your own paper ↗
14measured effects
7improved
2no clear effect
5hurt
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| adapt with 32 in-domain examples instead of out-of-domain examples | CodeT5 FT · code summarization (org) | BLEU: 6.27 -> 17.65 | Improved |
| adapt with 32 in-domain examples instead of out-of-domain examples | CodeT5 FT · code generation (org) | CodeBLEU: 14.44 -> 16.43 | Improved |
| use in-domain instead of random demonstrations (8-shot ICL) | Codex · code summarization (org) | BLEU: 6.73 -> 20.72 | Improved |
| use in-domain instead of random demonstrations (8-shot ICL) | ChatGPT · code summarization (org) | BLEU: 6.48 -> 7.54 | Improved |
| use LoRA instead of full fine-tuning (in-domain, 32-shot) | CodeT5 · code summarization (org) | BLEU: 17.65 -> 20.87 | Improved |
| fine-tune on 4 retrieved out-of-domain examples per test sample, versus out-of-domain adaptation | CodeT5 MTL · code summarization | BLEU: comparable or better than 8 in-domain examples | Improved |
| retrieve 32 instead of 4 or 8 examples per test instance (ablation) | CodeT5 · code generation / summarization | BLEU / CodeBLEU | Hurt |
| use 8 instead of 4 retrieved demonstrations (ablation) | Codex · code generation / summarization | BLEU / CodeBLEU | No clear effect |
| use cosine similarity instead of IsoScore for retrieval (ablation) | CodeT5 · code summarization / generation | BLEU / CodeBLEU | Improved |
| fine-tune one model on combined retrieved examples for all domains (4 per sample) | CodeT5 · code generation (org) | CodeBLEU: 29.46 / -0.19 | No clear effect |
| fine-tune one model on combined retrieved examples (4 per sample) | CodeT5 · code summarization (org) | BLEU: 18.74 / -4.74 | Hurt |
| use domain-level retrieved demonstrations (4) rather than per-query demonstrations | Codex · code summarization (org) | BLEU: 14.66 / -7.04 | Hurt |
Closest papers by meaning
- EvoCodeBench: An Evolving Code Generation Benchmark with Domain-Specific Evaluations (NeurIPS 2024 · similarity 0.88)
- DyCodeEval: Dynamic Benchmarking of Reasoning Capabilities in Code Large Language Models Under Data Contamination (ICML 2025 · similarity 0.87)
- ObscuraCoder: Powering Efficient Code LM Pre-Training Via Obfuscation Grounding (ICLR 2025 · similarity 0.87)
- DOMAINEVAL: An Auto-Constructed Benchmark for Multi-Domain Code Generation (AAAI 2025 · similarity 0.87)
- ChatGPT-Generated Code Assignment Detection Using Perplexity of Large Language Models (Student Abstract) (AAAI 2024 · similarity 0.86)
- NextCoder: Robust Adaptation of Code LMs to Diverse Code Edits (ICML 2025 · similarity 0.86)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.
