AI Paper Atlas

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

EMNLP 2023Label-efficient and robust learning › Domain adaptation and generalizationapproach: Optimization-based domain generalization37 citations (OpenAlex)

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 changedWhereMeasuredEffect
adapt with 32 in-domain examples instead of out-of-domain examplesCodeT5 FT · code summarization (org)BLEU: 6.27 -> 17.65Improved
adapt with 32 in-domain examples instead of out-of-domain examplesCodeT5 FT · code generation (org)CodeBLEU: 14.44 -> 16.43Improved
use in-domain instead of random demonstrations (8-shot ICL)Codex · code summarization (org)BLEU: 6.73 -> 20.72Improved
use in-domain instead of random demonstrations (8-shot ICL)ChatGPT · code summarization (org)BLEU: 6.48 -> 7.54Improved
use LoRA instead of full fine-tuning (in-domain, 32-shot)CodeT5 · code summarization (org)BLEU: 17.65 -> 20.87Improved
fine-tune on 4 retrieved out-of-domain examples per test sample, versus out-of-domain adaptationCodeT5 MTL · code summarizationBLEU: comparable or better than 8 in-domain examplesImproved
retrieve 32 instead of 4 or 8 examples per test instance (ablation)CodeT5 · code generation / summarizationBLEU / CodeBLEUHurt
use 8 instead of 4 retrieved demonstrations (ablation)Codex · code generation / summarizationBLEU / CodeBLEUNo clear effect
use cosine similarity instead of IsoScore for retrieval (ablation)CodeT5 · code summarization / generationBLEU / CodeBLEUImproved
fine-tune one model on combined retrieved examples for all domains (4 per sample)CodeT5 · code generation (org)CodeBLEU: 29.46 / -0.19No clear effect
fine-tune one model on combined retrieved examples (4 per sample)CodeT5 · code summarization (org)BLEU: 18.74 / -4.74Hurt
use domain-level retrieved demonstrations (4) rather than per-query demonstrationsCodex · code summarization (org)BLEU: 14.66 / -7.04Hurt

Closest papers by meaning

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.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy