Research map / Large language models / Reasoning and chain of thought
StoryCoder: Narrative Reformulation for Structured Reasoning in LLM Code Generation
Geonhui Jang, Dongyoon Han, YoungJoon Yoo
Chung-Ang University · NAVER
Read the paperPlace an idea next to itCheck your own paper ↗
14measured effects
11improved
2hurt
1mixed
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.
On benchmark leaderboards
- HumanEval leaderboard pass@10 96.19 · rank 1 of 16 papers
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| reformulate the problem as a narrative (StoryCoder) | Gemini-2.5-Flash · CodeForces | pass@10: 60.00 -> 67.55 | Improved |
| reformulate the problem as a narrative (StoryCoder) | 8 open-source solvers (average) · HumanEval | pass@10: 81.31 -> 89.76 (RS vs Narr.) | Improved |
| reformulate the problem as a narrative (StoryCoder) | GPT-4.1-mini · HumanEval | pass@10: 96.19 -> 94.29 | Hurt |
| reformulate the problem as a narrative (StoryCoder) | Qwen-2.5-Coder 32B · CodeForces | pass@10: 15.47 -> 28.68 | Improved |
| keep example I/O in narrative vs remove it (ablation) | StoryCoder · CodeForces | pass@10: 57.36 -> 67.55 | Improved |
| keep example I/O vs remove it (ablation) | Repeated sampling · CodeForces | pass@10: 35.10 -> 60.00 | Improved |
| add algorithm and genre tags to narrative generation (ablation) | StoryCoder · HumanEval | pass@10: 97.14 -> 96.19 (no-tag vs tagged) | Hurt |
| add algorithm and genre tags to narrative generation (ablation) | StoryCoder (Gemini-2.5-Flash) · CodeForces | pass@10: 64.09 -> 67.55 | Improved |
| use coherent complete narrative instead of permuted components (ablation) | StoryCoder · code benchmarks | pass@k | Improved |
| use well-aligned genre instead of misaligned genres (ablation) | StoryCoder · code benchmarks | pass@k | Improved |
| use narrative instead of paraphrasing / paraphrase concatenation | StoryCoder · CodeForces | pass@10: 50.51 -> 67.55 (Paraphrase vs Narr., Gemini-2.5-Flash) | Improved |
| narratives from open-source generators (Mistral-Small 24B) instead of RS | Open-source solvers (average) · CodeForces | pass@10: 18.01 -> 23.50 | Improved |
Open problems in search and self-correction in reasoning
Do search and self-correction methods for reasoning work beyond math and multiple choice, on closed models and at larger scale?
- Experiments stop at small or mid-size models, so larger ones are untested. · 16 papers state it
- Training data or scoring depends on a strong teacher or judge LLM. · 14 papers state it
- Extra sampling, passes or search make training and inference costly. · 13 papers state it
Closest papers by meaning
- CodePlan: Unlocking Reasoning Potential in Large Language Models by Scaling Code-form Planning (ICLR 2025 · similarity 0.88)
- Unveiling the Magic of Code Reasoning through Hypothesis Decomposition and Amendment (ICLR 2025 · similarity 0.87)
- Revisiting Chain-of-Thought in Code Generation: Do Language Models Need to Learn Reasoning before Coding? (ICML 2025 · similarity 0.87)
- Steering Large Language Models between Code Execution and Textual Reasoning (ICLR 2025 · similarity 0.87)
- CodeCrash: Exposing LLM Fragility to Misleading Natural Language in Code Reasoning (NeurIPS 2025 · similarity 0.86)
- MuSR: Testing the Limits of Chain-of-thought with Multistep Soft Reasoning (ICLR 2024 · similarity 0.86)
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.