Pith. sign in

REVIEW 1 cited by

Exploring Distributional Shifts in Large Language Models for Code Analysis

Not yet reviewed by Pith; the record is open.

This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.

SPECIMEN: schema-true, not a live event

T0 review · schema-true

One-sentence machine reading of the paper's core claim.

pith:XXXXXXXX · record.json · timestamp

arxiv 2303.09128 v2 pith:WRNO5GIY submitted 2023-03-16 cs.CL cs.LGcs.SE

classification cs.CLcs.LGcs.SE
keywords codedomainsmodelsdataadaptadaptedconsiderdomain
verification ladder T0 review T1 audit T2 compute T3 formal

Signed reviews

No signed human review yet.

0 comments
read the original abstract

We systematically study how three large language models with code capabilities - CodeT5, Codex, and ChatGPT - generalize to out-of-domain data. We consider two fundamental applications - code summarization, and code generation. We split data into domains following its natural boundaries - by an organization, by a project, and by a module within the software project. We establish that samples from each new domain present all the models with a significant challenge of distribution shift. We study how established methods adapt models to better generalize to new domains. Our experiments show that while multitask learning alone is a reasonable baseline, combining it with few-shot finetuning on examples retrieved from training data can achieve very strong performance. Moreover, this solution can outperform direct finetuning for very low-data scenarios. Finally, we consider variations of this approach to create a more broadly applicable method to adapt to multiple domains at once. We find that for code generation, a model adapted to multiple domains simultaneously performs on par with those adapted to a single domain

Discussion (0). Continue with ORCID to comment.

Forward citations

Cited by 1 Pith paper

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score. Full citation record

  1. JaxSGMC: Modular stochastic gradient MCMC in JAX

    stat.CO 2025-05 conditional novelty 4.0 of 10

    JaxSGMC provides modular, jit-compilable stochastic gradient MCMC samplers for JAX, including pSGLD, SGHMC, replica exchange, AMAGOLD, and SGGMC.

Pith tools