Pith. sign in

REVIEW 1 cited by

Uncertainty Awareness of Large Language Models Under Code Distribution Shifts: A Benchmark Study

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 2402.05939 v1 pith:KSWILDZ3 submitted 2024-01-12 cs.SE cs.CLcs.LG

classification cs.SEcs.CLcs.LG
keywords codelanguageuncertaintycalibrationdistributionmethodsshiftsawareness
verification ladder T0 review T1 audit T2 compute T3 formal
0 comments
read the original abstract

Large Language Models (LLMs) have been widely employed in programming language analysis to enhance human productivity. Yet, their reliability can be compromised by various code distribution shifts, leading to inconsistent outputs. While probabilistic methods are known to mitigate such impact through uncertainty calibration and estimation, their efficacy in the language domain remains underexplored compared to their application in image-based tasks. In this work, we first introduce a large-scale benchmark dataset, incorporating three realistic patterns of code distribution shifts at varying intensities. Then we thoroughly investigate state-of-the-art probabilistic methods applied to CodeLlama using these shifted code snippets. We observe that these methods generally improve the uncertainty awareness of CodeLlama, with increased calibration quality and higher uncertainty estimation~(UE) precision. However, our study further reveals varied performance dynamics across different criteria (e.g., calibration error vs misclassification detection) and trade-off between efficacy and efficiency, highlighting necessary methodological selection tailored to specific contexts.

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. LeMix: Unified Scheduling for LLM Training and Inference on Multi-GPU Systems

    cs.AI 2025-07 conditional novelty 6.0 of 10

    LeMix co-locates LLM serving and retraining on shared GPUs with profiler-driven scheduling, reporting up to 3.53x throughput gains over separated deployments.

Pith tools