← 返回全部开发案例
本案例由 AI 匿名评审,尚未经过独立人工复核;请结合原稿、卡片与两边输出自行核对。
自动补全两边都不可用277 / 280 · beu-92f38a04a6141fd7

Enhancing Large Language Models with Retrieval Augmented Generation for Software Testing and Inspection Automation

计算机科学 · 2604.15270v1

FLOWING EVIDENCE BENCHMARK

我们怎样比较有卡片和无卡片的续写?

在同一个写作位置,我们用同一个模型分别生成有卡片和无卡片的首次结果。全部 280 组都进入整体匿名评审;一侧不续写时,评审会判断这种克制是否适合原稿。

整体结果:有卡片更好 138 次、差不多 26 次、无卡片更好 107 次、两边都不可用 5 次、评审未决 4 次。218 组双方有正文,48 组至少一侧主动不续写,14 组含无效输出。

同一段原稿 · 比较有无论文卡片

01 · 固定写作位置

论文原稿

同一处写作点位 ▌

同一原稿位置的自动补全成对比较

02 · 准备两个版本

两组共用

原稿、写作任务和生成模型

A · 有论文卡片

额外提供相关论文卡片

B · 无论文卡片

不提供论文卡片

生成模型

同一模型、同一版本

A → 首次输出

B → 首次输出

AI 匿名评审

匿名标记两份首次输出为 X、Y

按续写质量判断:准确性、任务贴合度和可用性
输出:X 更优 / 持平 / Y 更优 / 两组均不可用

交换两份答案的顺序再评一次

盲评具体怎么判?

① 匿名两份输出
AI 评审看到同一原稿和两份首次输出,但不知道哪份用了卡片。

② 比较并换序复评
根据当前任务的标准,按 X/Y、再按 Y/X 的顺序各评一次。

③ 复核分歧
两次结论不一致时再做第三次判定;未完成的评审也留在分母。

点位和卡片怎样选?

我们从 7 个学科各选取 40 个写作位置,共比较 280 次。每次比较前先确定写作位置和相关论文卡片,让有卡片和无卡片两组从同一原稿出发。

主结果保留了所有预先固定的点位,包括卡片可能无法补充有用内容的位置。这避免了根据输出筛选案例,但也意味着 49% 衡量的是整批点位的结果,不能直接解释为“证据能明显发挥作用时”的胜率。本批数据没有在生成前逐点标注这一证据机会,暂时无法可靠拆分两组。

CARD USE · 140/280

有正文且报告使用卡片的比例

模型会报告卡片是否影响了续写。280 次测试中,140 次有正文且报告使用卡片。原口径的 150 次包含 10 次无正文,已修正。

COMPARISON · 70 / 7 / 30

双方都有正文时,哪个版本更好?

在有正文且报告使用卡片、两组也都写出正文的 107 次比较中,AI 盲评认为有卡片更好 70 次、差不多 7 次、无卡片更好 30 次。

表格里的两个百分比怎么算?

有正文且报告使用卡片的比例

140有正文且报告使用
÷
280全部点位
=
50%

有卡片版本更好比例

70有卡片更好
÷
107可比较的测试
=
65%

两个百分比的分母不同:50% 看全部 280 次补全;65% 只看有正文且报告使用、且两边都有完整输出的 107 次。卡片是否被使用由生成模型报告,哪边写得更好由 AI 匿名评审。

卡片使用由生成模型自报,整体胜负由看到原稿和材料片段的 AI 匿名评审;没有独立人工评审,仍可能有材料偏好。整体结果反映这 280 个固定点位上的自动判断,不代表任意写作场景的获胜概率。

原稿写作位置

原文摘录 · 非 PDF 页面

研究论文 · 原文片段

Enhancing Large Language Models with Retrieval Augmented Generation for Software Testing and Inspection Automation

body

Subsequently, RAG pipelines have been integrated into domain-specific contexts, such as code generation and summarization [23], mathematics [24], and medicine [25], with similarly successful results [26]. In this work, we propose deploying RAG in the V&V activities, specifically for test case generation and source code review. 3 Related Work 3.1 Code Inspection Code inspection is a crucial activity within the V&V process; however, traditional approaches relying on manual review, where one or more developers examine their peers’ code [27, 28], are both time-consuming and labor-intensive. This limitation has motivated research into automation techniques, particularly with the rise of LLMs. In this area, a recent systematic survey of code review tasks analyzed 691 publications and identified 24 key studies published between 2015 and

↓ 此处生成下一段续写

黄色标出写作点位附近的原文;本页根据评测输入重排文本,不是原始 PDF 截图。

同一写作位置的成对对照全样本 AI 评审:两边都不可用

两组使用同一模型、同一写作任务和原稿上下文,仅比较是否提供检索文献片段。下方展示评测记录中的首次输出。

查看全样本 AI 评审理由(英文)

A = 无卡片 · B = 有卡片

Both outputs are identical and both declare 'invalid' with empty text. The draft clearly needs a continuation: the sentence about code review automation is incomplete, cutting off after 'between 2015 and' without finishing the temporal range or the key finding. The first source ('Previously on... Automating Code Review') directly supports this claim, stating 'spanning 2015 to April 2024.' A valid continuation would complete this citation with something like '2024, identifying key tasks such as change quality estimation, comment generation, and code refinement [27].' Since both outputs are identically invalid and provide no usable continuation where one is clearly needed, neither is usable.

Evidence

同一模型与写作位置 · 提供检索文献片段 · 首次输出

盲评判定不可用

未输出续写正文。

模型动作:invalid

提供给 Evidence 版本的文献片段

卡片 1 · Previously on... Automating Code Review

First, we formalized the primary code review tasks of change quality estimation, comment generation, and code refinement. Using these definitions, we systematically identified and surveyed 24 code review automation approaches from a set of 691 candidate publications spanning 2015 to April 2024

卡片 2 · Emergent Abilities in Large Language Models: A Survey

Large Language Models (LLMs) are leading a new technological revolution as one of the most promising research streams toward artificial general intelligence. The scaling of these models, accomplished by increasing the number of parameters and the magnitude of the training datasets, has been linked t…

展开完整文献摘录

Large Language Models (LLMs) are leading a new technological revolution as one of the most promising research streams toward artificial general intelligence. The scaling of these models, accomplished by increasing the number of parameters and the magnitude of the training datasets, has been linked to various so-called emergent abilities that were previously unobserved. These emergent abilities, ranging from advanced reasoning and in-context learning to coding and problem-solving, have sparked an intense scientific debate: Are they truly emergent, or do they simply depend on external factors, such as training dynamics, the type of problems, or the chosen metric? What underlying mechanism causes them? Despite their transformative potential, emergent abilities remain poorly understood, leading to misconceptions about their definition, nature, predictability, and implications. In this work, we shed light on emergent abilities by conducting a comprehensive review of the phenomenon, addressi …

卡片 3 · Efficient Expert Pruning for Sparse Mixture-of-Experts Language Models: Enhancing Performance and Reducing Inference Costs

The rapid advancement of large language models (LLMs) has led to architectures with billions to trillions of parameters, posing significant deployment challenges due to their substantial demands on memory, processing power, and energy consumption. Sparse Mixture-of-Experts (SMoE) architectures have…

展开完整文献摘录

The rapid advancement of large language models (LLMs) has led to architectures with billions to trillions of parameters, posing significant deployment challenges due to their substantial demands on memory, processing power, and energy consumption. Sparse Mixture-of-Experts (SMoE) architectures have emerged as a solution, activating only a subset of parameters per token, thereby achieving faster inference while maintaining performance. However, SMoE models still face limitations in broader deployment due to their large parameter counts and significant GPU memory requirements. In this work, we introduce a gradient-free evolutionary strategy named EEP (Efficient Expert P}runing) to enhance the pruning of experts in SMoE models. EEP relies solely on model inference (i.e., no gradient computation) and achieves greater sparsity while maintaining or even improving performance on downstream tasks. EEP can be used to reduce both the total number of experts (thus saving GPU memory) and the numbe …

卡片 4 · OpenR: An Open Source Framework for Advanced Reasoning with Large Language Models

In this technical report, we introduce OpenR, an open-source framework designed to integrate key components for enhancing the reasoning capabilities of large language models (LLMs). OpenR unifies data acquisition, reinforcement learning training (both online and offline), and non-autoregressive deco…

展开完整文献摘录

In this technical report, we introduce OpenR, an open-source framework designed to integrate key components for enhancing the reasoning capabilities of large language models (LLMs). OpenR unifies data acquisition, reinforcement learning training (both online and offline), and non-autoregressive decoding into a cohesive software platform. Our goal is to establish an open-source platform and community to accelerate the development of LLM reasoning. Inspired by the success of OpenAI's o1 model, which demonstrated improved reasoning abilities through step-by-step reasoning and reinforcement learning, OpenR integrates test-time compute, reinforcement learning, and process supervision to improve reasoning in LLMs. Our work is the first to provide an open-source framework that explores the core techniques of OpenAI's o1 model with reinforcement learning, achieving advanced reasoning capabilities beyond traditional autoregressive methods. We demonstrate the efficacy of OpenR by evaluating it o …

卡片 5 · FactorLLM: Factorizing Knowledge via Mixture of Experts for Large Language Models

Recent research has demonstrated that Feed-Forward Networks (FFNs) in Large Language Models (LLMs) play a pivotal role in storing diverse linguistic and factual knowledge. Conventional methods frequently face challenges due to knowledge confusion stemming from their monolithic and redundant architec…

展开完整文献摘录

Recent research has demonstrated that Feed-Forward Networks (FFNs) in Large Language Models (LLMs) play a pivotal role in storing diverse linguistic and factual knowledge. Conventional methods frequently face challenges due to knowledge confusion stemming from their monolithic and redundant architectures, which calls for more efficient solutions with minimal computational overhead, particularly for LLMs. In this paper, we explore the FFN computation paradigm in LLMs and introduce FactorLLM, a novel approach that decomposes well-trained dense FFNs into sparse sub-networks without requiring any further modifications, while maintaining the same level of performance. Furthermore, we embed a router from the Mixture-of-Experts (MoE), combined with our devised Prior-Approximate (PA) loss term that facilitates the dynamic activation of experts and knowledge adaptation, thereby accelerating computational processes and enhancing performance using minimal training data and fine-tuning steps. Fact …

模型报告的实际卡片作用

卡片 1 · fact

影响的输出:April 2024 [1].

模型说明:The row provides the specific end date of the survey's coverage window, which the draft left unfinished after 'between 2015 and'.

无 Evidence

同一模型与写作位置 · 不提供检索文献片段 · 首次输出

盲评判定不可用

未输出续写正文。

模型动作:invalid

原卡片使用口径的记录

以下是此前仅比较“报告使用卡片且双方有正文”案例的诊断记录,口径与上方全样本 AI 评审不同。

有卡片组返回了卡片使用记录,但没有续写正文。因此这次不计入“有正文且报告使用卡片”的数量;原始记录仍保留在全部 280 次测试中。

文献片段是输入材料;出现于此不代表输出使用了它,也不代表它能够支持全部主张。原文与检索片段经过截取;页面没有展示模拟分数或模拟 PDF。