{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,11,4]],"date-time":"2026-11-04T20:13:44Z","timestamp":1793823224792,"version":"4.6.1"},"reference-count":48,"publisher":"Elsevier BV","license":[{"start":{"date-parts":[[2026,6,1]],"date-time":"2026-06-01T00:00:00Z","timestamp":1780272000000},"content-version":"tdm","delay-in-days":0,"URL":"https:\/\/www.elsevier.com\/tdm\/userlicense\/1.0\/"},{"start":{"date-parts":[[2026,6,1]],"date-time":"2026-06-01T00:00:00Z","timestamp":1780272000000},"content-version":"tdm","delay-in-days":0,"URL":"https:\/\/www.elsevier.com\/legal\/tdmrep-license"},{"start":{"date-parts":[[2026,2,12]],"date-time":"2026-02-12T00:00:00Z","timestamp":1770854400000},"content-version":"vor","delay-in-days":0,"URL":"http:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"funder":[{"DOI":"10.13039\/100009726","name":"Foundation for Angelman Syndrome Therapeutics","doi-asserted-by":"publisher","id":[{"id":"10.13039\/100009726","id-type":"DOI","asserted-by":"publisher"}]},{"DOI":"10.13039\/501100003126","name":"Opetus- ja Kulttuuriministeri\u00f6","doi-asserted-by":"publisher","id":[{"id":"10.13039\/501100003126","id-type":"DOI","asserted-by":"publisher"}]},{"DOI":"10.13039\/501100014438","name":"Business Finland","doi-asserted-by":"publisher","id":[{"id":"10.13039\/501100014438","id-type":"DOI","asserted-by":"publisher"}]}],"content-domain":{"domain":["elsevier.com","sciencedirect.com"],"crossmark-restriction":true},"short-container-title":["Journal of Systems and Software"],"published-print":{"date-parts":[[2026,6]]},"DOI":"10.1016\/j.jss.2026.112815","type":"journal-article","created":{"date-parts":[[2026,2,13]],"date-time":"2026-02-13T00:37:59Z","timestamp":1770943079000},"page":"112815","update-policy":"https:\/\/doi.org\/10.1016\/elsevier_cm_policy","source":"Crossref","is-referenced-by-count":5,"special_numbering":"C","title":["Assessing small language models for code generation: An empirical study with benchmarks"],"prefix":"10.1016","volume":"236","author":[{"ORCID":"https:\/\/orcid.org\/0009-0006-5154-7331","authenticated-orcid":false,"given":"Md","family":"Mahade Hasan","sequence":"first","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-7488-2577","authenticated-orcid":false,"given":"Muhammad","family":"Waseem","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-0225-4560","authenticated-orcid":false,"given":"Kai-Kristian","family":"Kemell","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-4401-8013","authenticated-orcid":false,"given":"Jussi","family":"Rasku","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0009-0002-5393-8855","authenticated-orcid":false,"given":"Juha","family":"Ala-Rantala","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-4360-2226","authenticated-orcid":false,"given":"Pekka","family":"Abrahamsson","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"78","reference":[{"issue":"4","key":"10.1016\/j.jss.2026.112815_bib0001","doi-asserted-by":"crossref","DOI":"10.1145\/3212695","article-title":"A survey of machine learning for big code and naturalness","volume":"51","author":"Allamanis","year":"2018","journal-title":"ACM Comput. Surv."},{"key":"10.1016\/j.jss.2026.112815_bib0002","unstructured":"Ashkboos, S., Mirzadeh, I., Alizadeh, K., Sekhavat, M. H., Nabi, M., Farajtabar, M., Faghri, F., 2024. Computational Bottlenecks of Training Small-scale Large Language Models. arXiv preprint arXiv: 2410.19456."},{"key":"10.1016\/j.jss.2026.112815_bib0003","unstructured":"Austin, J., Odena, A., Nye, M., Bosma, M., Michalewski, H., Dohan, D., Jiang, E., Cai, C., Terry, M., Le, Q., et al., 2021. Program Synthesis with Large Language Models. arXiv preprint arXiv: 2108.07732."},{"key":"10.1016\/j.jss.2026.112815_bib0004","unstructured":"Black, S., Gao, L., Wang, P., Leahy, C., Biderman, S., 2021. GPT-Neo: Large Scale Autoregressive Language Modeling with Mesh-Tensorflow. 10.5281\/zenodo.5297715."},{"key":"10.1016\/j.jss.2026.112815_bib0005","unstructured":"Chen, L., Guo, Q., Jia, H., Zeng, Z., Wang, X., Xu, Y., Wu, J., Wang, Y., Gao, Q., Wang, J., et al., 2024. A Survey on Evaluating Large Language Models in Code Generation Tasks. arXiv preprint arXiv: 2408.16498."},{"key":"10.1016\/j.jss.2026.112815_bib0006","unstructured":"Chen, M., Tworek, J., Jun, H., Yuan, Q., Oliveira, P. H. P. D., Kaplan, J., Edwards, H., Burda, Y., Joseph, N., Brockman, G., et al., 2021. Evaluating Large Language Models Trained on Code. arXiv preprint arXiv: 2107.03374."},{"key":"10.1016\/j.jss.2026.112815_bib0007","doi-asserted-by":"crossref","first-page":"4383","DOI":"10.21105\/joss.04383","article-title":"Tukey HSD: an accurate implementation of the tukey honestly significant difference test in python","volume":"7","author":"Chmiel","year":"2022","journal-title":"J. Open Source Softw."},{"key":"10.1016\/j.jss.2026.112815_bib0008","series-title":"Neural Information Processing Systems","article-title":"Mercury: a code efficiency benchmark for code large language models","author":"Du","year":"2024"},{"issue":"9","key":"10.1016\/j.jss.2026.112815_bib0009","doi-asserted-by":"crossref","first-page":"2254","DOI":"10.1109\/TSE.2024.3428972","article-title":"LLM-Based Test-Driven interactive code generation: user study and empirical evaluation","volume":"50","author":"Fakhoury","year":"2024","journal-title":"IEEE Trans. Software Eng."},{"key":"10.1016\/j.jss.2026.112815_bib0010","unstructured":"Google Research, 2021. Mbpp: Multiple basic python problems benchmark - official evaluation scripts. Accessed: 2025-12-11. https:\/\/github.com\/google-research\/google-research\/tree\/master\/mbpp."},{"key":"10.1016\/j.jss.2026.112815_bib0011","series-title":"Proceedings of the 62Nd Annual Meeting of the Association for Computational Linguistics (Volume 3: System Demonstrations)","first-page":"247","article-title":"Ultraeval: a lightweight platform for flexible and comprehensive evaluation for LLMs","author":"He","year":"2024"},{"key":"10.1016\/j.jss.2026.112815_bib0012","unstructured":"Hendrycks, D., Basart, S., Kadavath, S., Mazeika, M., Arora, A., Guo, E., Burns, C., Puranik, S., He, H., Song, D., et al., 2021. Measuring Coding Challenge Competence with APPS. arXiv preprint arXiv: 2105.09938."},{"key":"10.1016\/j.jss.2026.112815_bib0013","unstructured":"Hendrycks, D., Burns, C., Basart, S., Zou, A., Mazeika, M., Song, D., Steinhardt, J., 2020. Measuring massive multitask language understanding. arXiv preprint arXiv: 2009.03300."},{"key":"10.1016\/j.jss.2026.112815_bib0014","unstructured":"Holtzman, A., Buys, J., Du, L., Forbes, M., Choi, Y., 2019. The Curious Case of Neural Text Degeneration. arXiv preprint arXiv: 1904.09751."},{"key":"10.1016\/j.jss.2026.112815_bib0015","doi-asserted-by":"crossref","unstructured":"Lepagnol, P., Gerald, T., Ghannay, S., Servan, C., Rosset, S., 2024. Small Language Models Are Good Too: An Empirical Study of Zero-Shot Classification. arXiv: 2404.11122. https:\/\/api.semanticscholar.org\/CorpusID:269188354.","DOI":"10.63317\/2ez6qsknsvwe"},{"key":"10.1016\/j.jss.2026.112815_bib0016","doi-asserted-by":"crossref","first-page":"3843","DOI":"10.52202\/068431-0278","article-title":"Solving quantitative reasoning problems with language models","volume":"35","author":"Lewkowycz","year":"2022","journal-title":"Adv. Neural Inf. Process. Syst."},{"key":"10.1016\/j.jss.2026.112815_bib0017","unstructured":"Li, R., Allal, L. B., Zi, Y., Muennighoff, N., Kocetkov, D., Mou, C., Marone, M., Akiki, C., Li, J., Chim, J., et al., 2023. Starcoder: May The Source be With You!arXiv preprint arXiv: 2305.06161."},{"key":"10.1016\/j.jss.2026.112815_bib0018","doi-asserted-by":"crossref","first-page":"1092","DOI":"10.1126\/science.abq1158","article-title":"Competition-level code generation with alphacode","volume":"378","author":"Li","year":"2022","journal-title":"Science"},{"key":"10.1016\/j.jss.2026.112815_bib0019","unstructured":"Lozhkov, A., Li, R., Allal, L. B., Cassano, F., Lamy-Poirier, J., Tazi, N., Tang, A., Pykhtar, D., Liu, J., Wei, Y., et al., 2024. Starcoder 2 and The Stack v2: The next generation. arXiv preprint arXiv: 2402.19173."},{"key":"10.1016\/j.jss.2026.112815_bib0020","unstructured":"Lu, Z., Li, X., Cai, D., Yi, R., Liu, F., Zhang, X., Lane, N. D., Xu, M., 2024. Small Language Models: Survey, Measurements, and Insights. arXiv: abs\/2409.15790. https:\/\/api.semanticscholar.org\/CorpusID:272832447."},{"key":"10.1016\/j.jss.2026.112815_bib0021","series-title":"Design and Analysis of Experiments, 9th Edition","author":"Montgomery","year":"2022"},{"key":"10.1016\/j.jss.2026.112815_bib0022","unstructured":"Muennighoff, N., Liu, Q., Zebaze, A., Zheng, Q., Hui, B., Zhuo, T. Y., Singh, S., Tang, X., Werra, L., Longpre, S., 2023. Octopack: instruction tuning code large language models. 10.48550\/arXiv.2308.07124."},{"key":"10.1016\/j.jss.2026.112815_bib0023","unstructured":"NVIDIA Corporation, 2025. Nvidia nemo framework user guide - nemo toolkit. https:\/\/docs.nvidia.com\/nemo-framework\/user-guide\/latest\/nemotoolkit\/index.html. Accessed: 2025-12-11."},{"key":"10.1016\/j.jss.2026.112815_bib0024","unstructured":"OpenAI, 2021. Humaneval: Official evaluation scripts for code generation benchmarks. Accessed: 2025-12-11. https:\/\/github.com\/openai\/human-eval."},{"key":"10.1016\/j.jss.2026.112815_bib0025","unstructured":"OpenAI, Achiam, J., Adler, S., Agarwal, S., Ahmad, L., Akkaya, I., Aleman, F., Almeida, D., Altenschmidt, J., Altman, S., Anadkat, S., Avila, R., Babuschkin, I., Balaji, S., Balcom, V., Baltescu, P., Bao, H., Bavarian, M., Belgum, J., Zoph, B., 2023. GPT-4 Technical Report. Technical Report. https:\/\/openai.com\/research\/gpt-4."},{"key":"10.1016\/j.jss.2026.112815_bib0026","doi-asserted-by":"crossref","first-page":"27730","DOI":"10.52202\/068431-2011","article-title":"Training language models to follow instructions with human feedback","volume":"35","author":"Ouyang","year":"2022","journal-title":"Adv. Neural Inf. Process. Syst."},{"key":"10.1016\/j.jss.2026.112815_bib0027","series-title":"Proceedings of the 40Th Annual Meeting of the Association for Computational Linguistics","first-page":"311","article-title":"Bleu: a method for automatic evaluation of machine translation","author":"Papineni","year":"2002"},{"key":"10.1016\/j.jss.2026.112815_bib0028","doi-asserted-by":"crossref","unstructured":"Peng, Q., Chai, Y., Li, X., 2024. Humaneval-xl: A Multilingual Code Generation Benchmark for Cross-lingual Natural Language Generalization. arXiv preprint arXiv: 2402.16694.","DOI":"10.63317\/2zjsm6sdd5yo"},{"key":"10.1016\/j.jss.2026.112815_bib0029","series-title":"Proceedings of the 2016ACM SIGPLAN International Conference on Object-Oriented Programming, Systems, Languages, and Applications","first-page":"731-747","article-title":"Probabilistic model for code with decision trees","author":"Raychev","year":"2016"},{"key":"10.1016\/j.jss.2026.112815_bib0030","unstructured":"Roziere, B., Gehring, J., Gloeckle, F., Sootla, S., Gat, I., Tan, X. E., Adi, Y., Liu, J., Sauvestre, R., Remez, T., et al., 2023. Code llama: Open Foundation Models for Code. arXiv preprint arXiv: 2308.12950."},{"key":"10.1016\/j.jss.2026.112815_bib0031","unstructured":"Sanh, V., Debut, L., Chaumond, J., Wolf, T., 2019. DistilBERT, a Distilled Version of BERT: Smaller, Faster, Cheaper and Lighter. 10.48550\/arXiv.1910.01108."},{"key":"10.1016\/j.jss.2026.112815_bib0032","series-title":"Proceedings of the 2021 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies","first-page":"2339","article-title":"It\u2019s not just size that matters: small language models are also few-Shot learners","author":"Schick","year":"2021"},{"key":"10.1016\/j.jss.2026.112815_bib0033","unstructured":"Subramanian, S., Elango, V., Gungor, M., 2025. Small Language Models (SLMs) Can Still Pack a Punch: A survey. arXiv preprint arXiv: 2501.05465."},{"issue":"3","key":"10.1016\/j.jss.2026.112815_bib0034","doi-asserted-by":"crossref","DOI":"10.3390\/s23031279","article-title":"A survey on optimization techniques for edge artificial intelligence (AI)","volume":"23","author":"Surianarayanan","year":"2023","journal-title":"Sensors"},{"key":"10.1016\/j.jss.2026.112815_bib0035","series-title":"Proceedings of the 28Th ACM Joint Meeting on European Software Engineering Conference and Symposium on the Foundations of Software Engineering","first-page":"1433","article-title":"Intellicode compose: code generation using transformer","author":"Svyatkovskiy","year":"2020"},{"key":"10.1016\/j.jss.2026.112815_bib0036","unstructured":"G. Team, Anil, R., Borgeaud, S., Alayrac, J.-B., Yu, J., Soricut, R., Schalkwyk, J., Dai, A. M., Hauth, A., Millican, K., et al., 2023. Gemini: a family of highly capable multimodal models. arXiv preprint arXiv: 2312.11805."},{"key":"10.1016\/j.jss.2026.112815_bib0037","unstructured":"Van Nguyen, C., Shen, X., Aponte, R., Xia, Y., Basu, S., Hu, Z., Chen, J., Parmar, M., Kunapuli, S., Barrow, J., et al., 2024. A Survey of Small Language Models. arXiv preprint arXiv: 2410.20011."},{"key":"10.1016\/j.jss.2026.112815_bib0038","unstructured":"Wang, F., Zhang, Z., Zhang, X., Wu, Z., Mo, T., Lu, Q., Wang, W., Li, R., Xu, J., Tang, X., He, Q., Ma, Y., Huang, M., Wang, S., 2024. A Comprehensive Survey of Small Language Models in the Era of Large Language Models: Techniques, Enhancements, Applications, Collaboration with LLMs, and Trustworthiness. arXiv preprint arXiv: 2411.03350."},{"key":"10.1016\/j.jss.2026.112815_bib0039","doi-asserted-by":"crossref","unstructured":"Wang, Y., Wang, W., Joty, S., Hoi, S. C. H., 2021. Codet5: Identifier-Aware Unified Pre-trained Encoder-Decoder Models for Code Understanding and Generation. arXiv preprint arXiv: 2109.00859.","DOI":"10.18653\/v1\/2021.emnlp-main.685"},{"key":"10.1016\/j.jss.2026.112815_bib0040","series-title":"Experimentation in Software Engineering","first-page":"123","author":"Wohlin","year":"2012"},{"key":"10.1016\/j.jss.2026.112815_bib0041","unstructured":"Xia, C. S., Deng, Y., Zhang, L., 2024. Top leaderboard ranking= top coding proficiency, always? evoeval: Evolving coding benchmarks via llm. arXiv preprint arXiv: 2403.19114."},{"key":"10.1016\/j.jss.2026.112815_bib0042","series-title":"Proceedings of the 6Th ACM SIGPLAN International Symposium on Machine Programming","first-page":"1","article-title":"A systematic evaluation of large language models of code","author":"Xu","year":"2022"},{"key":"10.1016\/j.jss.2026.112815_bib0043","unstructured":"Xu, M., Yin, W., Cai, D., Yi, R., Xu, D., Wang, Q., Wu, B., Zhao, Y., Yang, C., Wang, S., et al., 2024. A Survey of Resource-efficient LLM and Multimodal Foundation Models. arXiv preprint arXiv: 2401.08092."},{"key":"10.1016\/j.jss.2026.112815_bib0044","doi-asserted-by":"crossref","first-page":"15356","DOI":"10.52202\/079017-0491","article-title":"Benchmarking LLMs via uncertainty quantification","volume":"37","author":"Ye","year":"2024","journal-title":"Adv. Neural Inf. Process. Syst."},{"key":"10.1016\/j.jss.2026.112815_bib0045","doi-asserted-by":"crossref","unstructured":"Zellers, R., Holtzman, A., Bisk, Y., Farhadi, A., Choi, Y., 2019. Hellaswag: Can a machine really finish your sentence?arXiv preprint arXiv: 1905.07830.","DOI":"10.18653\/v1\/P19-1472"},{"key":"10.1016\/j.jss.2026.112815_bib0046","unstructured":"Zhang, Q., Fang, C., Xie, Y., Zhang, Y., Yang, Y., Sun, W., Yu, S., Chen, Z., 2023. A Survey on Large Language Models for Software Engineering. arXiv preprint arXiv: 2312.15223."},{"key":"10.1016\/j.jss.2026.112815_bib0047","unstructured":"Zheng, D., Wang, Y., Shi, E., Zhang, H., Zheng, Z., 2024. How well do llms generate code for different application domains? benchmark and evaluation. arXiv preprint arXiv: 2412.18573."},{"key":"10.1016\/j.jss.2026.112815_bib0048","unstructured":"Zhuo, T. Y., Vu, M. C., Chim, J., Hu, H., Yu, W., Widyasari, R., Yusuf, I. N. B., Zhan, H., He, J., Paul, I., et al., 2024. Bigcodebench: Benchmarking Code Generation With Diverse Function Calls and Complex Instructions. arXiv preprint arXiv: 2406.15877."}],"container-title":["Journal of Systems and Software"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/api.elsevier.com\/content\/article\/PII:S016412122600049X?httpAccept=text\/xml","content-type":"text\/xml","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/api.elsevier.com\/content\/article\/PII:S016412122600049X?httpAccept=text\/plain","content-type":"text\/plain","content-version":"vor","intended-application":"text-mining"}],"deposited":{"date-parts":[[2026,10,8]],"date-time":"2026-10-08T20:42:39Z","timestamp":1791492159000},"score":1,"resource":{"primary":{"URL":"https:\/\/linkinghub.elsevier.com\/retrieve\/pii\/S016412122600049X"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2026,6]]},"references-count":48,"alternative-id":["S016412122600049X"],"URL":"https:\/\/doi.org\/10.1016\/j.jss.2026.112815","relation":{},"ISSN":["0164-1212"],"issn-type":[{"value":"0164-1212","type":"print"}],"subject":[],"published":{"date-parts":[[2026,6]]},"assertion":[{"value":"Elsevier","name":"publisher","label":"This article is maintained by"},{"value":"Assessing small language models for code generation: An empirical study with benchmarks","name":"articletitle","label":"Article Title"},{"value":"Journal of Systems and Software","name":"journaltitle","label":"Journal Title"},{"value":"https:\/\/doi.org\/10.1016\/j.jss.2026.112815","name":"articlelink","label":"CrossRef DOI link to publisher maintained version"},{"value":"article","name":"content_type","label":"Content Type"},{"value":"\u00a9 2026 The Author(s). Published by Elsevier Inc.","name":"copyright","label":"Copyright"}],"article-number":"112815"}}