Research map / Large language models / Instruction and fine-tuning
GiFT: Gibbs Fine-Tuning for Code Generation
Haochen Li, Wanjin Feng, Xin Zhou, Zhiqi Shen
Nanyang Technological University
Read the paperPlace an idea next to itCheck your own paper ↗
10measured effects
4improved
1no clear effect
1hurt
4mixed
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 |
|---|---|---|---|
| replace conditional sampling (RFT) with Gibbs-style description-code sampling (GiFT) | DeepSeek-Coder-6.7B and CodeLlama-7B · APPS+, MBPP+, CodeInsight | Pass@1 | Improved |
| use LLM-rewritten descriptions (RFT+RD) instead of RFT | DeepSeek-Coder-6.7B and CodeLlama-7B · four datasets | Pass@1 | Mixed |
| use rewritten rather than seed descriptions for generation | RFT+RD · MBPP+ first iteration | pass rate of self-generated codes: 53.71 -> 24.6 | Hurt |
| use descriptions from a single Gibbs step as rewrites in RFT+RD (ablation) | RFT+RD · MBPP+ and CodeInsight | Pass@1 | Improved |
| select more low-probability (tail) codes, T=2 instead of T=-2 (ablation) | GiFT, DeepSeek-Coder-6.7B · APPS+ Introductory and MBPP+ | Pass@1 | Mixed |
| generate codes from various descriptions (GiFT) instead of one | self-generated code diversity · MBPP+ | BLEU between codes | Improved |
| add self-generated descriptions to fine-tuning (GiFT-1pair, GiFT-mixpair) (ablation) | GiFT, DeepSeek-Coder-6.7B · CodeInsight and MBPP+ | Pass@1 | Mixed |
| use GiFT data instead of RFT data to distill CodeLlama-7B from DeepSeek-Coder-6.7B | CodeLlama-7B · MBPP+ and CodeInsight | Pass@1 | Improved |
| add perplexity-guided data selection to RFT (ablation) | RFT, DeepSeek-Coder-6.7B · APPS+ | Pass@1 | No clear effect |
| increase K (codes per description) from 6 to 10 (ablation) | GiFT, DeepSeek-Coder-6.7B · APPS+ | Pass@1 | Mixed |
Open problems in fine-tuning generalization and delta compression
Do fine-tuning findings hold beyond small English-only models and automatic judges?
- Experiments stop at small or mid-sized models. · 21 papers state it
- Only English or one other language is tested. · 19 papers state it
- Scores come from LLM judges with no human check. · 12 papers state it
Closest papers by meaning
- SelfCodeAlign: Self-Alignment for Code Generation (NeurIPS 2024 · similarity 0.88)
- Triplets Better Than Pairs: Towards Stable and Effective Self-Play Fine-Tuning for LLMs (NeurIPS 2025 · similarity 0.87)
- LLM-Assisted Code Cleaning For Training Accurate Code Generators (ICLR 2024 · similarity 0.87)
- Hot or Cold? Adaptive Temperature Sampling for Code Generation with Large Language Models (AAAI 2024 · similarity 0.87)
- AlchemistCoder: Harmonizing and Eliciting Code Capability by Hindsight Tuning on Multi-source Data (NeurIPS 2024 · similarity 0.87)
- Unveiling the Secret Recipe: A Guide For Supervised Fine-Tuning Small LLMs (ICLR 2025 · similarity 0.87)
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.