Research map / Large language models / Agents, code and math
Beyond Surface-Level Pattern Trap: LLM Agents for Faster and Smarter Cross-Architecture Code Migration
Weijia Li, Ke Gao, Pengfei Chen, Jiajie Li, Xinyu Wang, Yiran Le, Yize Wu, Ling Li
University of Chinese Academy of Sciences · Chinese Academy of Sciences
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 |
|---|---|---|---|
| use dependency-graph refactoring CoT instead of naive CoT (ablation) | Grok 4 scalar generation · OpenCV Imgproc | test success rate: 7% -> 79% | Improved |
| use dependency-graph refactoring CoT instead of naive CoT (ablation) | Grok 4 scalar generation · OpenCV Imgproc | compilation status: 14% -> 93% | Improved |
| use dependency-graph refactoring CoT instead of naive CoT (ablation) | Grok 4 scalar generation · OpenCV Core | test success rate: 72% -> 94% | Improved |
| use FSCM instead of Copilot | Claude Sonnet 4 / Grok 4 · OpenCV overall | test success rate: 59% -> 78% | Improved |
| use FSCM instead of Copilot | Claude Sonnet 4 · OpenCV Core | test success rate: 72% -> 94% | Improved |
| use FSCM instead of Copilot | Grok 4 · OpenCV Imgproc | test success rate: 43% -> 71% | Improved |
| swap base model from Grok 4 to Claude Sonnet 4 in FSCM | FSCM · OpenCV overall | test success rate: 78% -> 78% | No clear effect |
| use FSCM instead of skeleton-based approach | Claude Sonnet 4 · OpenCV Imgproc | test success rate: 0% -> 57% | Improved |
| use FSCM instead of CodeX | Claude Sonnet 4 · migration time | time: 30 min -> 11min | Improved |
| add architecture-specific optimization (*) to FSCM (ablation) | FSCM Grok 4 · X60 speedup, Add 8UC1 | speedup over scalar: 52.93× -> 88.22× | Improved |
Open problems this paper states
- “Evaluation dataset has only 33 operators from the Core and Imgproc modules of OpenCV.” → Benchmarks are small, with only 100 to a few hundred tasks. (an open problem in software engineering agents)
Open problems in software engineering agents
Do coding-agent results hold beyond Python, small benchmarks and LLM judges?
- Tested on Python or a few languages, so other languages are untested. · 20 papers state it
- Benchmarks are small, with only 100 to a few hundred tasks. · 14 papers state it
- Scores depend on an LLM judge that may not match human judgment. · 11 papers state it
Closest papers by meaning
- CRAFT: Customizing LLMs by Creating and Retrieving from Specialized Toolsets (ICLR 2024 · similarity 0.87)
- The Automated LLM Speedrunning Benchmark: Reproducing NanoGPT Improvements (NeurIPS 2025 · similarity 0.86)
- Steering Large Language Models between Code Execution and Textual Reasoning (ICLR 2025 · similarity 0.86)
- Nemotron-CORTEXA: Enhancing LLM Agents for Software Engineering Tasks via Improved Localization and Solution Diversity (ICML 2025 · similarity 0.86)
- SelfCodeAlign: Self-Alignment for Code Generation (NeurIPS 2024 · similarity 0.85)
- CoRe: Benchmarking LLMs’ Code Reasoning Capabilities through Static Analysis Tasks (NeurIPS 2025 · similarity 0.85)
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.