Skip to main content
QUICK REVIEW

[论文解读] From Brittle to Robust: Improving LLM Annotations for SE Optimization

Lohith Senthilkumar, Tim Menzies|arXiv (Cornell University)|Mar 23, 2026
Software Engineering ResearchComputer Science被引用 0
一句话总结

该论文提出 SynthCore,一种汇集多次单-shot LLM 输出的集成 prompting 策略,能够为 SE 优化提供鲁棒的高维多目标注释,优于传统符号优化器且无需人工注释。

ABSTRACT

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.

研究动机与目标

  • 在高维、多目标设置中动摇 LLM 基于 SE 注释的脆弱性与不稳定性的问题。
  • 提出一个轻量级的集成 prompting 策略(SynthCore),从 LLM 生成多样且高质量的 warm-start。
  • 证明 SynthCore 在仅使用 LLM 生成标签的情况下,优于现有的符号方法,在49个 SE MO 任务上展现出色表现。
  • 提供复现包并推动对 LLM 基于 SE 优化研究的开放科学。

提出的方法

  • 提出 SynthCore:生成多条具有不同上下文/种子的独立 LLM 提示,并将结果组合成一个少样本学习者的集成。
  • 在多目标 SE 任务中使用 LLM 生成 warm-start,用于主动学习,且不同提示之间没有跨会话的知识共享。
  • 在 MOOT 数据集上将 SynthCore 与高斯过程模型(通过 UCB)和树结构 Parzen 估计(TPE)进行比较。
  • 在将目标规范化到 0..1 之后,使用 Chebyshev 距离对理想多目标结果进行评估。
  • 以 Gemini 1.5 Pro 作为后端 LLM,确保在高维提示下的上下文处理与推理能力。
Figure 1: Performance of Synthcore 20, (shown in red) fall very close to the best possible optimal (shown in green).
Figure 1: Performance of Synthcore 20, (shown in red) fall very close to the best possible optimal (shown in green).

实验结果

研究问题

  • RQ1RQ1:基于集成的少样本 LLM 学习是否能够克服 SE 主动学习中标准少样本学习的局限性?
  • RQ2RQ2:当处理高维 SE 数据时,基于集成的少样本学习者的有效性是否仍然存在?

主要发现

  • SynthCore 在 49 个 SE MO 任务上超越了 state-of-the-art 基线(GP 和 TPE)。
  • SynthCore 实验中所用的所有标签均由 LLM 生成,没有人工注释。
  • 少样本学习者的集成可以解决单次提示失败的高维多目标 SE 问题。
  • 两个研究问题得到肯定回答:集成的 LLM 学习者优于基线且可扩展到高维数据。
  • 该研究表明 SynthCore 有潜力提升 SE 分析中其他少样本提示结果的效果。
Figure 2: Performance of different active learners w.r.to budgets. Best is the average heaven values for all the datasets
Figure 2: Performance of different active learners w.r.to budgets. Best is the average heaven values for all the datasets

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。