{"id":"https://openalex.org/W4415584167","doi":"https://doi.org/10.1145/3755881.3755925","title":"AdaptiveLLM: A Framework for Selecting Optimal Cost-Efficient LLM for Code-Generation Based on CoT Length","display_name":"AdaptiveLLM: A Framework for Selecting Optimal Cost-Efficient LLM for Code-Generation Based on CoT Length","publication_year":2025,"publication_date":"2025-06-20","ids":{"openalex":"https://openalex.org/W4415584167","doi":"https://doi.org/10.1145/3755881.3755925"},"language":null,"primary_location":{"id":"doi:10.1145/3755881.3755925","is_oa":true,"landing_page_url":"https://doi.org/10.1145/3755881.3755925","pdf_url":"https://dl.acm.org/doi/pdf/10.1145/3755881.3755925","source":null,"license":"cc-by","license_id":"https://openalex.org/licenses/cc-by","version":"publishedVersion","is_accepted":true,"is_published":true,"raw_source_name":"Proceedings of the 16th International Conference on Internetware","raw_type":"proceedings-article"},"type":"conference-paper","indexed_in":["crossref"],"open_access":{"is_oa":true,"oa_status":"gold","oa_url":"https://dl.acm.org/doi/pdf/10.1145/3755881.3755925","any_repository_has_fulltext":null},"authorships":[{"author_position":"first","author":{"id":"https://openalex.org/A5019394855","display_name":"Jiwei Cheng","orcid":"https://orcid.org/0009-0001-2254-9198"},"institutions":[{"id":"https://openalex.org/I82880672","display_name":"Beihang University","ror":"https://ror.org/00wk2mp56","country_code":"CN","type":"education","lineage":["https://openalex.org/I82880672"]}],"countries":["CN"],"is_corresponding":false,"raw_author_name":"Junhang Cheng","raw_affiliation_strings":["State Key Laboratory of Complex &amp; Critical Software Environment, School of Computer Science and Engineering, Beihang University, Beijing, China, Beihang University, Beijing, China"],"raw_orcid":"https://orcid.org/0009-0001-2254-9198","affiliations":[{"raw_affiliation_string":"State Key Laboratory of Complex &amp; Critical Software Environment, School of Computer Science and Engineering, Beihang University, Beijing, China, Beihang University, Beijing, China","institution_ids":["https://openalex.org/I82880672"]}]},{"author_position":"middle","author":{"id":"https://openalex.org/A5060027879","display_name":"Fang Liu","orcid":"https://orcid.org/0000-0002-3905-8133"},"institutions":[{"id":"https://openalex.org/I82880672","display_name":"Beihang University","ror":"https://ror.org/00wk2mp56","country_code":"CN","type":"education","lineage":["https://openalex.org/I82880672"]}],"countries":["CN"],"is_corresponding":false,"raw_author_name":"Fang Liu","raw_affiliation_strings":["State Key Laboratory of Complex &amp; Critical Software Environment, School of Computer Science and Engineering, Beihang University, Beijing, China, Beihang University, Beijing, China"],"raw_orcid":"https://orcid.org/0000-0002-3905-8133","affiliations":[{"raw_affiliation_string":"State Key Laboratory of Complex &amp; Critical Software Environment, School of Computer Science and Engineering, Beihang University, Beijing, China, Beihang University, Beijing, China","institution_ids":["https://openalex.org/I82880672"]}]},{"author_position":"middle","author":{"id":"https://openalex.org/A5112884560","display_name":"Congliang Wu","orcid":"https://orcid.org/0009-0002-0195-0684"},"institutions":[{"id":"https://openalex.org/I82880672","display_name":"Beihang University","ror":"https://ror.org/00wk2mp56","country_code":"CN","type":"education","lineage":["https://openalex.org/I82880672"]}],"countries":["CN"],"is_corresponding":false,"raw_author_name":"Chengru Wu","raw_affiliation_strings":["State Key Laboratory of Complex &amp; Critical Software Environment, School of Computer Science and Engineering, Beihang University, Beijing, China, Beihang University, Beijing, China"],"raw_orcid":"https://orcid.org/0009-0002-0195-0684","affiliations":[{"raw_affiliation_string":"State Key Laboratory of Complex &amp; Critical Software Environment, School of Computer Science and Engineering, Beihang University, Beijing, China, Beihang University, Beijing, China","institution_ids":["https://openalex.org/I82880672"]}]},{"author_position":"last","author":{"id":"https://openalex.org/A5114585361","display_name":"Li Zhang","orcid":"https://orcid.org/0000-0002-2258-5893"},"institutions":[{"id":"https://openalex.org/I82880672","display_name":"Beihang University","ror":"https://ror.org/00wk2mp56","country_code":"CN","type":"education","lineage":["https://openalex.org/I82880672"]}],"countries":["CN"],"is_corresponding":false,"raw_author_name":"Li Zhang","raw_affiliation_strings":["State Key Laboratory of Complex &amp; Critical Software Environment, School of Computer Science and Engineering, Beihang University, Beijing, China, Beihang University, Beijing, China"],"raw_orcid":"https://orcid.org/0000-0002-2258-5893","affiliations":[{"raw_affiliation_string":"State Key Laboratory of Complex &amp; Critical Software Environment, School of Computer Science and Engineering, Beihang University, Beijing, China, Beihang University, Beijing, China","institution_ids":["https://openalex.org/I82880672"]}]}],"institutions":[],"countries_distinct_count":1,"institutions_distinct_count":1,"corresponding_author_ids":[],"corresponding_institution_ids":["https://openalex.org/I82880672"],"apc_list":null,"apc_paid":null,"fwci":4.9774,"has_fulltext":true,"cited_by_count":3,"citation_normalized_percentile":{"value":0.95873568,"is_in_top_1_percent":false,"is_in_top_10_percent":true},"cited_by_percentile_year":{"min":94,"max":97},"biblio":{"volume":null,"issue":null,"first_page":"461","last_page":"473"},"is_retracted":false,"is_paratext":false,"is_xpac":false,"primary_topic":{"id":"https://openalex.org/T10181","display_name":"Natural Language Processing Techniques","score":0.9966999888420105,"subfield":{"id":"https://openalex.org/subfields/1702","display_name":"Artificial Intelligence"},"field":{"id":"https://openalex.org/fields/17","display_name":"Computer Science"},"domain":{"id":"https://openalex.org/domains/3","display_name":"Physical Sciences"}},"topics":[{"id":"https://openalex.org/T10181","display_name":"Natural Language Processing Techniques","score":0.9966999888420105,"subfield":{"id":"https://openalex.org/subfields/1702","display_name":"Artificial Intelligence"},"field":{"id":"https://openalex.org/fields/17","display_name":"Computer Science"},"domain":{"id":"https://openalex.org/domains/3","display_name":"Physical Sciences"}},{"id":"https://openalex.org/T10028","display_name":"Topic Modeling","score":0.9546999931335449,"subfield":{"id":"https://openalex.org/subfields/1702","display_name":"Artificial Intelligence"},"field":{"id":"https://openalex.org/fields/17","display_name":"Computer Science"},"domain":{"id":"https://openalex.org/domains/3","display_name":"Physical Sciences"}},{"id":"https://openalex.org/T13629","display_name":"Text Readability and Simplification","score":0.9431999921798706,"subfield":{"id":"https://openalex.org/subfields/1702","display_name":"Artificial Intelligence"},"field":{"id":"https://openalex.org/fields/17","display_name":"Computer Science"},"domain":{"id":"https://openalex.org/domains/3","display_name":"Physical Sciences"}}],"keywords":[{"id":"https://openalex.org/keywords/selection","display_name":"Selection (genetic algorithm)","score":0.35370001196861267},{"id":"https://openalex.org/keywords/set","display_name":"Set (abstract data type)","score":0.25850000977516174},{"id":"https://openalex.org/keywords/measure","display_name":"Measure (data warehouse)","score":0.2531000077724457},{"id":"https://openalex.org/keywords/noise","display_name":"Noise (video)","score":0.24230000376701355}],"concepts":[{"id":"https://openalex.org/C41008148","wikidata":"https://www.wikidata.org/wiki/Q21198","display_name":"Computer science","level":0,"score":0.48660001158714294},{"id":"https://openalex.org/C81917197","wikidata":"https://www.wikidata.org/wiki/Q628760","display_name":"Selection (genetic algorithm)","level":2,"score":0.35370001196861267},{"id":"https://openalex.org/C11413529","wikidata":"https://www.wikidata.org/wiki/Q8366","display_name":"Algorithm","level":1,"score":0.3197999894618988},{"id":"https://openalex.org/C33923547","wikidata":"https://www.wikidata.org/wiki/Q395","display_name":"Mathematics","level":0,"score":0.3192000091075897},{"id":"https://openalex.org/C126255220","wikidata":"https://www.wikidata.org/wiki/Q141495","display_name":"Mathematical optimization","level":1,"score":0.2768000066280365},{"id":"https://openalex.org/C177264268","wikidata":"https://www.wikidata.org/wiki/Q1514741","display_name":"Set (abstract data type)","level":2,"score":0.25850000977516174},{"id":"https://openalex.org/C2780009758","wikidata":"https://www.wikidata.org/wiki/Q6804172","display_name":"Measure (data warehouse)","level":2,"score":0.2531000077724457},{"id":"https://openalex.org/C99498987","wikidata":"https://www.wikidata.org/wiki/Q2210247","display_name":"Noise (video)","level":3,"score":0.24230000376701355},{"id":"https://openalex.org/C154945302","wikidata":"https://www.wikidata.org/wiki/Q11660","display_name":"Artificial intelligence","level":1,"score":0.23659999668598175},{"id":"https://openalex.org/C18762648","wikidata":"https://www.wikidata.org/wiki/Q42213","display_name":"Work (physics)","level":2,"score":0.23199999332427979}],"mesh":[],"locations_count":1,"locations":[{"id":"doi:10.1145/3755881.3755925","is_oa":true,"landing_page_url":"https://doi.org/10.1145/3755881.3755925","pdf_url":"https://dl.acm.org/doi/pdf/10.1145/3755881.3755925","source":null,"license":"cc-by","license_id":"https://openalex.org/licenses/cc-by","version":"publishedVersion","is_accepted":true,"is_published":true,"raw_source_name":"Proceedings of the 16th International Conference on Internetware","raw_type":"proceedings-article"}],"best_oa_location":{"id":"doi:10.1145/3755881.3755925","is_oa":true,"landing_page_url":"https://doi.org/10.1145/3755881.3755925","pdf_url":"https://dl.acm.org/doi/pdf/10.1145/3755881.3755925","source":null,"license":"cc-by","license_id":"https://openalex.org/licenses/cc-by","version":"publishedVersion","is_accepted":true,"is_published":true,"raw_source_name":"Proceedings of the 16th International Conference on Internetware","raw_type":"proceedings-article"},"sustainable_development_goals":[],"awards":[{"id":"https://openalex.org/G5530903132","display_name":null,"funder_award_id":"62302021","funder_id":"https://openalex.org/F4320321001","funder_display_name":"National Natural Science Foundation of China"}],"funders":[{"id":"https://openalex.org/F4320321001","display_name":"National Natural Science Foundation of China","ror":"https://ror.org/01h0zpd94"}],"has_content":{"pdf":true,"grobid_xml":true},"content_urls":{"pdf":"https://content.openalex.org/works/W4415584167.pdf","grobid_xml":"https://content.openalex.org/works/W4415584167.grobid-xml"},"referenced_works_count":14,"referenced_works":["https://openalex.org/W2295598076","https://openalex.org/W2547621596","https://openalex.org/W2789416185","https://openalex.org/W2805557887","https://openalex.org/W2884453255","https://openalex.org/W2963775347","https://openalex.org/W3098605233","https://openalex.org/W4284709654","https://openalex.org/W4311887664","https://openalex.org/W4385562549","https://openalex.org/W4385570777","https://openalex.org/W4385571189","https://openalex.org/W4401042753","https://openalex.org/W4402860127"],"related_works":[],"abstract_inverted_index":{"While":[0],"Large":[1],"Language":[2],"Models":[3],"(LLMs)":[4],"have":[5],"significantly":[6],"advanced":[7],"code":[8],"generation":[9],"efficiency,":[10],"they":[11],"face":[12],"inherent":[13],"challenges":[14],"in":[15,71,158],"balancing":[16],"performance":[17],"and":[18,33,47,55,74,128],"inference":[19],"costs":[20],"across":[21],"diverse":[22],"programming":[23],"tasks.Dynamically":[24],"selecting":[25],"the":[26,79,140,147,186,194],"optimal":[27,43,96],"LLM":[28],"based":[29],"on":[30,63],"task":[31,84,102,106,111],"difficulty":[32,65,112,124,195],"resource":[34,163],"constraints":[35],"offers":[36],"a":[37,91,99,155,174],"promising":[38],"approach":[39],"to":[40,131,168,173],"achieve":[41],"an":[42,179],"balance":[44],"between":[45],"efficiency":[46],"performance.However,":[48],"existing":[49],"model":[50,142],"selection":[51,202],"methods":[52],"are":[53,68],"resource-intensive":[54],"often":[56],"neglect":[57],"cost":[58,190],"efficiency.Moreover,":[59],"these":[60,121],"approaches":[61],"rely":[62],"human-annotated":[64],"labels":[66],"that":[67,93,152],"frequently":[69],"inaccessible":[70],"real-world":[72],"settings":[73],"may":[75],"not":[76],"align":[77],"with":[78],"LLM's":[80],"own":[81],"assessment":[82,196],"of":[83,189],"difficulty.In":[85],"this":[86],"paper,":[87],"we":[88],"introduce":[89],"Adaptiv-eLLM,":[90],"framework":[92,108],"dynamically":[94],"selects":[95,139],"LLMs":[97],"for":[98,143],"given":[100],"coding":[101],"by":[103,117,165],"automatically":[104],"assessing":[105],"difficulty.Our":[107],"first":[109],"estimates":[110],"using":[113,197],"Chain-of-Thought":[114],"lengths":[115],"generated":[116],"reasoning":[118],"model,":[119,176],"clusters":[120],"into":[122],"three":[123],"levels":[125],"via":[126],"k-means,":[127],"fine-tunes":[129],"CodeBERT":[130],"embed":[132],"difficulty-aware":[133],"features.A":[134],"trained":[135],"XGBoost":[136],"classifier":[137],"then":[138],"best":[141],"each":[144],"problem,":[145],"optimizing":[146],"performance-cost":[148],"trade-off.Experimental":[149],"results":[150],"show":[151],"AdaptiveLLM":[153,177],"achieves":[154],"7.86%":[156],"improvement":[157],"pass@1":[159],"score":[160],"while":[161,184],"reducing":[162],"consumption":[164],"88.9%":[166],"compared":[167,172],"baseline":[169],"method":[170],"ComplexityNet.When":[171],"single":[175],"demonstrates":[178],"approximately":[180],"15%":[181],"accuracy":[182],"improvement,":[183],"maintaining":[185],"same":[187],"level":[188],"consumption.Apart":[191],"from":[192],"that,":[193],"CoT":[198],"provides":[199],"more":[200],"reliable":[201],"criteria":[203],"than":[204],"human":[205],"evaluation.Our":[206],"replication":[207],"package":[208],"is":[209],"available":[210],"at":[211]},"counts_by_year":[{"year":2026,"cited_by_count":1},{"year":2025,"cited_by_count":2}],"updated_date":"2026-07-31T08:31:51.225901","created_date":"2025-10-28T00:00:00"}
