Success is in the Details: Evaluate and Enhance Details Sensitivity of Code LLMs through Counterfactuals
원문 초록
Code Sensitivity refers to the ability of Code LLMs to recognize and respond to details changes in problem descriptions. While current code benchmarks and instruction data focus on difficulty and diversity, sensitivity is overlooked. We first introduce the CTF-Code benchmark, constructed using counterfactual perturbations, minimizing input changes while maximizing output changes. The evaluation shows that many LLMs have a more than 10\% performance drop compared to the original problems. To fully utilize sensitivity, CTF-Instruct, an incremental instruction fine-tuning framework, extends on existing data and uses a selection mechanism to meet the three dimensions of difficulty, diversity, and sensitivity. Experiments show that LLMs fine-tuned with CTF-Instruct data achieve over a 2\% improvement on CTF-Code, and more than a 10\% performance boost on LiveCodeBench, validating the feasibility of enhancing LLMs' sensitivity to improve performance.
함께 살펴볼 논문
공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.
Counterfactual reasoning: an analysis of in-context emergence
From Invariant Representations to Invariant Data: Provable Robustness to Spurious Correlations via Noisy Counterfactual Matching
Counterfactual Multi-player Bandits for Explainable Recommendation Diversification
How does online shopping affect offline price sensitivity?
DiCoFlex: Model-agnostic diverse counterfactuals with flexible control
PoisonSwarm: Universal Harmful Information Synthesis via Model Crowdsourcing
토론
이 논문과 연결된 포럼 글이 아직 없습니다.