mlsanityData to 14 Oct 2026

COSMosFL: Ensemble of Small Language Models for Fault Localisation

arXiv 2502.02908 ↗First posted 5 Feb 2025cs.SE cs.LGcited by 3

Not on the map. Why?

Abstract (arXiv)

LLMs are rapidly being adopted to build powerful tools and agents for software engineering, but most of them rely heavily on extremely large closed-source models. This, in turn, can hinder wider adoption due to security issues as well as financial cost and environmental impact. Recently, a number of open source Small Language Models (SLMs) are being released and gaining traction. While SLMs are smaller, more energy-efficient, and therefore easier to locally deploy, they tend to show worse performance when compared to larger closed LLMs. We present COSMos, a task-level LLM ensemble technique that uses voting mechanism, to provide a broader range of choice between SLMs and LLMs. We instantiate COSMos with an LLM-based Fault Localisation technique, AutoFL, and report the cost-benefit trade-off between LLM accuracy and various costs such as energy consumption, inference time, and the number of tokens used. An empirical evaluation using Defects4J shows that COSMos can build effective ensembles that can achieve Pareto-optimality in terms of FL accuracy and inference cost, when compared to individual models.

Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). Builds on 23 of its 44 references that are in the map. First posted on arXiv 5 Feb 2025.

Builds on

23 of 44 references.

References · 23

  1. 2017Attention Is All You Needcited by 60,361
  2. 2023GPT-4 Technical Reportcited by 18,396
  3. 2024The Llama 3 Herd of Modelscited by 14,715
  4. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
  5. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,695
  6. 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,708
  7. 2023Code Llama: Open Foundation Models for Codecited by 2,139
  8. 2024Gemma 2: Improving Open Language Models at a Practical Sizecited by 1,998
  9. 2019Energy and Policy Considerations for Deep Learning in NLPcited by 1,254
  10. 2024Qwen2.5-Coder Technical Reportcited by 1,203
  11. 2024RouteLLM: Learning to Route LLMs with Preference Datacited by 682
  12. 2022Mixture-of-Experts with Expert Choice Routingcited by 623
11 more
  1. 2023LLM-Blender: Ensembling Large Language Models with Pairwise Ranking and Generative Fusioncited by 564
  2. 2024RepairAgent: An Autonomous, LLM-Based Agent for Program Repaircited by 232
  3. 2023Large Language Models for Test-Free Fault Localizationcited by 67
  4. 2024Learning to Decode Collaboratively with Multiple Language Modelscited by 62
  5. 2023A Quantitative and Qualitative Evaluation of LLM-Based Explainable Fault Localizationcited by 50
  6. 2023Better patching using LLM prompting, via Self-Consistencycited by 29
  7. 2023Large Language Models in Fault Localisationcited by 28
  8. 2019Arachne: Search Based Repair of Deep Neural Networkscited by 26
  9. 2023Towards Autonomous Testing Agents via Conversational Large Language Modelscited by 13
  10. 2023Evaluating Diverse Large Language Models for Automatic and General Bug Reproductioncited by 12
  11. 2023InfeRE: Step-by-Step Regex Generation via Chain of Inferencecited by 5

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 1; 2026: 2.

3 papers.