paper-with-me

홈 › Papers

DynaCode: A Dynamic Complexity-Aware Code Benchmark for Evaluating Large Language Models in Code Generation

2025-03-13 · Wenhao Hu, Jinhao Duan, Chunchen Wei, Li Zhang, Yue Zhang, Kaidi Xu

The rapid advancement of large language models (LLMs) has significantly improved their performance in code generation tasks. However, existing code benchmarks remain static, consisting of fixed datasets with predefined problems. This makes them vulnerable to memorization during training, where LLMs recall specific test cases instead of generalizing to new problems, leading to data contamination and unreliable evaluation results. To address these issues, we introduce DynaCode, a dynamic, complexity-aware benchmark that overcomes the limitations of static datasets. DynaCode evaluates LLMs systematically using a complexity-aware metric, incorporating both code complexity and call-graph structures. DynaCode achieves large-scale diversity, generating up to 189 million unique nested code problems across four distinct levels of code complexity, referred to as units, and 16 types of call graphs. Results on 12 latest LLMs show an average performance drop of 16.8% to 45.7% compared to MBPP+, a static code generation benchmark, with performance progressively decreasing as complexity increases. This demonstrates DynaCode's ability to effectively differentiate LLMs. Additionally, by leveraging call graphs, we gain insights into LLM behavior, particularly their preference for handling subfunction interactions within nested code.

📄 PDF Abstract BibTeX arXiv:2503.10452

Code (0)

등록된 구현이 없습니다.

Tasks

Code GenerationmbppMemorization

Similar Papers 제목 키워드 기반

Domain-Aware Dynamic Networks

2019-11-26 · Tianyuan Zhang, Bichen Wu, Xin Wang, Joseph Gonzalez 외

Deep neural networks with more parameters and FLOPs have higher capacity and generalize better to diverse domains. But to be deployed on edge devices, the model's complexity has to be constrained due to limited compute r…

Diversityobject-detectionObject Detection

Beyond Function-Level Search: Repository-Aware Dual-Encoder Code Retrieval with Adversarial Verification

2025-10-16 · Aofan Liu, Shiyuan Song, Haoxuan Li, Cehao Yang 외 arxiv

The escalating complexity of modern codebases has intensified the need for retrieval systems capable of interpreting cross-component change intents, a capability fundamentally absent in conventional function-level search…

Natural Language Queries

PRISM: A Benchmark for Programmatic Spatial-Temporal Reasoning

2026-05-19 · Qiran Zhang, Yuheng Wang, Runde Yang, Lin Wu 외 arxiv

Programmatic video generation through code offers geometric precision and temporal coherence beyond pixel-level diffusion models, yet rigorously evaluating whether language models can produce spatially correct animated o…

Spatial ReasoningVideo GenerationCode Generation

DA-Mamba: Dialogue-aware selective state-space model for multimodal engagement estimation

2025-09-22 · Shenwei Kang, Xin Zhang, Wen Liu, Bin Li 외 arxiv

Human engagement estimation in conversational scenarios is essential for applications such as adaptive tutoring, remote healthcare assessment, and socially aware human--computer interaction. Engagement is a dynamic, mult…

YUV20K: A Complexity-Driven Benchmark and Trajectory-Aware Alignment Model for Video Camouflaged Object Detection

2026-04-11 · Yiyu Liu, Shuo Ye, Chao Hao, Zitong Yu arxiv

Video Camouflaged Object Detection (VCOD) is currently constrained by the scarcity of challenging benchmarks and the limited robustness of models against erratic motion dynamics. Existing methods often struggle with Moti…

Domain GeneralizationObject Detection