BatCoder: Self-Supervised Bidirectional Code-Documentation Learning via Back-Translation
Not on the map. Why?
Abstract (arXiv)
Training LLMs for code-related tasks typically depends on high-quality code-documentation pairs, which are costly to curate and often scarce for niche programming languages. We introduce BatCoder, a self-supervised reinforcement learning framework designed to jointly optimize code generation and documentation production. BatCoder employs a back-translation strategy: a documentation is first generated from code, and then the generated documentation is used to reconstruct the original code. The semantic similarity between the original and reconstructed code serves as an implicit reward, enabling reinforcement learning to improve the model's performance both in generating code from documentation and vice versa. This approach allows models to be trained using only code, substantially increasing the available training examples. Evaluated on HumanEval and MBPP with a 7B model, BatCoder achieved 83.5% and 81.0% pass@1, outperforming strong open-source baselines. Moreover, the framework demonstrates consistent scaling with respect to both training corpus size and model capacity.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 36 of its 49 references that are in the map. First posted on arXiv 30 Jan 2026.
Builds on
36 of 49 references.
References · 36
- 2021Evaluating Large Language Models Trained on Codecited by 8,053
- 2021Program Synthesis with Large Language Modelscited by 3,509
- 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,193
- 2025DAPO: An Open-Source LLM Reinforcement Learning System at Scalecited by 2,678
- 2023Code Llama: Open Foundation Models for Codecited by 2,105
- 2024HybridFlow: A Flexible and Efficient RLHF Frameworkcited by 1,980
- 2024LiveCodeBench: Holistic and Contamination Free Evaluation of Large Language Models for Codecited by 1,906
- 2023Is Your Code Generated by ChatGPT Really Correct? Rigorous Evaluation of Large Language Models for Code Generationcited by 1,332
- 2024DeepSeek-Coder: When the Large Language Model Meets Programming -- The Rise of Code Intelligencecited by 1,154
- 2024Qwen2.5-Coder Technical Reportcited by 1,151
- 2021Measuring Coding Challenge Competence With APPScited by 879
- 2021CodeXGLUE: A Machine Learning Benchmark Dataset for Code Understanding and Generationcited by 732
24 more
- 2023WizardCoder: Empowering Code Large Language Models with Evol-Instructcited by 728
- 2019CodeSearchNet Challenge: Evaluating the State of Semantic Code Searchcited by 638
- 2024BigCodeBench: Benchmarking Code Generation with Diverse Function Calls and Complex Instructionscited by 527
- 2024StarCoder 2 and The Stack v2: The Next Generationcited by 484
- 2022CodeRL: Mastering Code Generation through Pretrained Models and Deep Reinforcement Learningcited by 342
- 2023CodeT5+: Open Code Large Language Models for Code Understanding and Generationcited by 327
- 2024DeepSeek-Coder-V2: Breaking the Barrier of Closed-Source Models in Code Intelligencecited by 325
- 2023Magicoder: Empowering Code Generation with OSS-Instructcited by 251
- 2022Practical Program Repair in the Era of Large Pre-trained Language Modelscited by 133
- 2022MultiPL-E: A Scalable and Extensible Approach to Benchmarking Neural Code Generationcited by 132
- 2018Improving Automatic Source Code Summarization via Deep Reinforcement Learningcited by 99
- 2023Execution-based Code Generation using Deep Reinforcement Learningcited by 95
- 2023Impact of Code Language Models on Automated Program Repaircited by 85
- 2025AceReason-Nemotron 1.1: Advancing Math and Code Reasoning through SFT and RL Synergycited by 75
- 2024SelfCodeAlign: Self-Alignment for Code Generationcited by 61
- 2017Automatically Generating Commit Messages from Diffs using Neural Machine Translationcited by 42
- 2024Source Code Summarization in the Era of Large Language Modelscited by 30
- 2024Unsupervised Evaluation of Code LLMs with Round-Trip Correctnesscited by 23
- 2025Process-Supervised Reinforcement Learning for Code Generationcited by 21
- 2024UniCoder: Scaling Code Large Language Model via Universal Codecited by 18
- 2024Learning in the Wild: Towards Leveraging Unlabeled Data for Effectively Tuning Pre-trained Code Modelscited by 9
- 2024Context-aware Code Summary Generationcited by 3
- 2024Patched RTC: evaluating LLMs for diverse software development taskscited by 2
- 2026CSSG: Measuring Code Similarity with Semantic Graphscited by 1
Built on by
Not cited yet.