Research map / Large language models / Instruction and fine-tuning
A Study of LLMs' Preferences for Libraries and Programming Languages
Lukas Twist, Mark Harman, Don Syme, Joost Noppen, Helen Yannakoudakis, Detlef Nauck, Jie M. Zhang
King's College London · University College London · GitHub Next · BT Group
Read the paperPlace an idea next to itCheck your own paper ↗
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 |
|---|---|---|---|
| compare NumPy use with ground-truth solutions | 8 LLMs · BigCodeBench | NumPy used when not required: 192 of 305 tasks without NumPy in ground truth | Hurt |
| use of Python on tasks where it is suboptimal (project initialisation) | 8 LLMs · Language project-initialisation tasks | Python most-used language: 58% of cases | Hurt |
| compare benchmark tasks to project initialisation for Python preference | 8 LLMs · Language benchmarks | Python share: 89.8%-96.8% (all datasets) vs 58% (project init) | Mixed |
| use prompt variants with different strictness on external libraries (ablation) | 8 LLMs · BigCodeBench | library preferences | No clear effect |
| compare NL recommendations to generated code | 8 LLMs · Language project-initialisation tasks | agreement of top language: 7/40 match | Hurt |
| vary phrasing of recommendation prompt (ablation) | 8 LLMs · Recommendation prompts | ranked output | No clear effect |
| compare open-source (default temp 0.6-0.7) with closed-source (1.0) LLMs | 8 LLMs · Library project-init tasks | library diversity | Mixed |
| Kendall tau between recommended and used libraries | 8 LLMs · Library project-init tasks | Kendall tau_b: tau about 0.5-0.7 | Mixed |
Open problems in calibration and knowledge in LLM tuning
Do calibration and multilingual fine-tuning methods hold up on larger models, more languages and cleaner data?
- Few languages are covered, and low-resource languages are untested or score lower. · 18 papers state it
- Data are machine-translated or LLM-generated, so noise and bias carry over. · 15 papers state it
- Models above 13B parameters were not tried, mostly because of compute. · 11 papers state it
Closest papers by meaning
- Evaluating In-Context Learning of Libraries for Code Generation (NAACL 2024 · similarity 0.90)
- Revisiting the Impact of Pursuing Modularity for Code Generation (EMNLP 2024 · similarity 0.90)
- Copilot Arena: A Platform for Code LLM Evaluation in the Wild (ICML 2025 · similarity 0.89)
- EffiBench-X: A Multi-Language Benchmark for Measuring Efficiency of LLM-Generated Code (NeurIPS 2025 · similarity 0.88)
- Mercury: A Code Efficiency Benchmark for Code Large Language Models (NeurIPS 2024 · similarity 0.88)
- How efficient is LLM-generated code? A rigorous & high-standard benchmark (ICLR 2025 · similarity 0.88)
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.