An Empirical Evaluation of Cost-Efficient Large Language Models on Algorithmic Programming Tasks

📅 2026-09-15
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
研究评估了成本效益高的大型语言模型在根据书面规范生成企业代码方面的能力,通过让三个模型解决992个算法问题并分析结果来探究其可靠性和准确性。
📝 Abstract
This study empirically evaluates whether cost-efficient Large Language Models (LLMs) can be trusted to generate enterprise code to a written specification. Three models (Gemini Flash 3, GPT-5.4 mini and Claude Haiku 4.5) were asked to solve 992 algorithmic problems as Java Spring Boot service methods conforming to a mandated signature and data-transfer-object specification, crossing four model and agentic coding tool combinations with two prompt variants to yield eight configurations, with iteration forbidden and hardcoded answers explicitly prohibited. Eight problem statements were withheld to probe how models respond to missing input. The 7,593 resulting methods were classified by an eight-class outcome taxonomy describing what each does about producing an answer, then deployed and executed, giving 7,936 measured requests joined to that classification. Structural conformance approached ceiling, yet 38.4% of methods do not compute the value they returned and only 12.9% of returned answers were correct. Conditioning on outcome class shows that response reliability and correctness are inversely related, whereas genuinely computing methods answered least often and were correct 19.3%. Limitations include single generation runs per configuration, partial harness coverage, single-pass timing, syntactic classification, and probable corpus contamination.
Problem

Research questions and friction points this paper is trying to address.

Large Language Models
Algorithmic Programming Tasks
Enterprise Code
Written Specification
Cost-Efficiency
Innovation

Methods, ideas, or system contributions that make the work stand out.

Cost-Efficient Large Language Models
Algorithmic Programming Tasks
Empirical Evaluation
Response Reliability
🔎 Similar Papers
2024-02-08International Conference on Machine LearningCitations: 6
C
Chandimal Adikari
Faculty of Engineering and Information Sciences, University of Wollongong, Wollongong, Australia
N
Nandika Herath
Faculty of Engineering, Computing and Science, Western Sydney University, Parramatta, Australia