Research map / Large language models / Language, safety and interpretability
CROCODIL: Cross-Model Code Editing with LLMs
Linghan Zhong, Aditya Thimmaiah, Jayanth Srinivasa, Milos Gligoric, Junyi Jessy Li
University of Texas at Austin · Cisco Research
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 |
|---|---|---|---|
| train with Crocodil GRPO (similarity x execution reward) | OLMo-3 7B · edit tasks on foreign Rust code | Levenshtein edit distance (min-max normalized) | Improved |
| train with Crocodil restricted to tasks where base and RL both pass | OLMo-3 7B · edit tasks, Base & RL both pass | Levenshtein edit distance | Improved |
| add strict-edit system prompt (ablation) | OLMo-3 7B · edit tasks, all | Levenshtein edit distance | Mixed |
| train with Crocodil | OLMo-3 7B · foreign implementations | build rate, all-tests pass rate, mean fraction of tests passed | Improved |
| train with Crocodil | OLMo-3 7B · self-edit of OLMo-3 7B implementations | build and test pass rates | Hurt |
| train with Crocodil vs strict prompt | OLMo-3 7B · all implementors | edit success | Improved |
| exclude no-change responses from build comparison (ablation) | OLMo-3 7B RL · tasks where RL modifies the implementation | build rate | No clear effect |
| editor edits foreign vs own code | open-weight LLM editors · Rust PR edit corpus | edit distance | Hurt |
| editor edits foreign vs own code | Haiku 4.5 · Rust PR edit corpus | edit distance | No clear effect |
| add strict-edit prompt as a fix for over-editing | LLM editors · Rust PR edit corpus | edit size / edit success | No clear effect |
Open problems this paper states
- “Uses five LLMs and trains only one, with larger closed-source models such as GPT-5 and Claude Opus not evaluated.” → Results come from a few open models, mostly small or mid-sized. (an open problem in safety alignment of LLMs)
Open problems in safety alignment of LLMs
How can LLM safety be shown to hold across languages, multi-turn use and models beyond small open ones?
- Safety is tested in English or a few languages only. · 30 papers state it
- Results come from a few open models, mostly small or mid-sized. · 26 papers state it
- Scores depend on an LLM judge that may be biased. · 23 papers state it
Closest papers by meaning
- NextCoder: Robust Adaptation of Code LMs to Diverse Code Edits (ICML 2025 · similarity 0.86)
- CRAFT: Customizing LLMs by Creating and Retrieving from Specialized Toolsets (ICLR 2024 · similarity 0.85)
- Unsupervised Evaluation of Code LLMs with Round-Trip Correctness (ICML 2024 · similarity 0.84)
- Can LLM Replace Stack Overflow? A Study on Robustness and Reliability of Large Language Model Code Generation (AAAI 2024 · similarity 0.84)
- Cross-model Control: Improving Multiple Large Language Models in One-time Training (NeurIPS 2024 · similarity 0.83)
- McEval: Massively Multilingual Code Evaluation (ICLR 2025 · similarity 0.83)
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.