[Paper Review] From Brittle to Robust: Improving LLM Annotations for SE Optimization
The paper introduces SynthCore, an ensemble prompting strategy that aggregates multiple single-shot LLM outputs to create robust high-dimensional multi-objective annotations for SE optimization, outperforming traditional symbolic optimizers without human annotations.
Software analytics often builds from labeled data. Labeling can be slow, error prone, and expensive. When human expertise is scarce, SE researchers sometimes ask large language models (LLMs) for the missing labels. While this has been successful in some domains, recent results show that LLM-based labeling has blind spots. Specifically, their labeling is not effective for higher dimensional multi-objective problems. To address this task, we propose a novel LLM prompting strategy called SynthCore. When one opinion fails, SynthCore's combines multiple separated opinions generated by LLMs (with no knowledge of each others' answers) into an ensemble of few-shot learners. Simpler than other strategies (e.g. chain-of-thought, multi-agent-debate, etc) SynthCore aggregates results from multiple single prompt sessions (with no crossover between them). SynthCore has been tested on 49 SE multi-objective optimization tasks, handling tasks as diverse as software project management, Makefile configuration, and hyperparameter optimization. SynthCore's ensemble found optimizations that are better than state-of-the-art alternative approaches (Gaussian Process Models, Tree of Parzen Estimators, active learners in both exploration and exploitation mode). Importantly, these optimizations were made using data labeled by LLMs, without any human opinions. From these experiments, we conclude that ensembles of few shot learners can successfully annotate high dimensional multi-objective tasks. Further, we speculate that other successful few-shot prompting results could be quickly and easily enhanced using SynthCore's ensemble approach. To support open science, all our data and scripts are available at https://github.com/lohithsowmiyan/lazy-llm/tree/clusters.
Motivation & Objective
- Motivate and address the brittleness of LLM-based SE annotations in high-dimensional, multi-objective settings.
- Propose a lightweight ensemble prompting strategy (SynthCore) to generate diverse, high-quality warm-starts from LLMs.
- Show that SynthCore outperforms state-of-the-art symbolic methods on 49 SE MO tasks using LLM-generated labels only.
- Provide a replication package and promote open science for LLM-based SE optimization research.
Proposed method
- Propose SynthCore: generate multiple separate LLM prompts with varied contexts/seeds and combine results into an ensemble of few-shot learners.
- Use LLMs to generate warm-starts for active learning in multi-objective SE tasks, without cross-session knowledge sharing between prompts.
- Compare SynthCore against Gaussian Process Models (via UCB) and Tree-structured Parzen Estimators (TPE) on MOOT datasets.
- Evaluate using Chebyshev distance to ideal multi-objective outcomes after normalizing goals to 0..1.
- Operate with Gemini 1.5 Pro as the LLM backend to ensure sufficient context handling and reasoning on high-dimensional prompts.

Experimental results
Research questions
- RQ1RQ1: Can ensemble-based few-shot LLM learning overcome limitations of standard few-shot learning in SE active learning?
- RQ2RQ2: Does the effectiveness of ensemble-based few-shot learners persist when handling high-dimensional SE data?
Key findings
- SynthCore yields superior performance over state-of-the-art baselines (GP and TPE) on 49 SE MO tasks.
- All labels used in SynthCore experiments are generated solely by LLMs, with no human annotations.
- Ensemble of few-shot learners can address high-dimensional multi-objective SE problems where single-shot prompts fail.
- Two research questions are answered affirmatively: ensemble LLM learners outperform baselines and scale to high-dimensional data.
- The study suggests SynthCore’s potential to enhance other few-shot prompting results in SE analytics.

Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.