Papers · organized/paper_cards

论文

101 张论文卡片 · RAG 检索增强 · OA 绿色

开放获取 全部 绿色 · 724
条目R2:RAG over Thinking Traces — 思维痕迹检索改善推理任务(arXiv 2605.03344v2)
arXiv:2605.03344 RAG 检索增强 方法 OA · 绿色 被引 2 · S2

结果表明,思维轨迹是推理任务的有效检索语料;将其转换为结构化、紧凑化或诊断式表征后,可释放出更强的增益。The results suggest that thinking traces are an effective retrieval corpus for reasoning tasks, and transforming them into structured, compact, or diagnostic representations unlocks even stronger gains.

7. SCAR: Semantic Continuity-Aware Retrieval for Efficient Context Expansion
7. SCAR:面向高效上下文扩展的语义连续性感知检索
arXiv:2606.16661 RAG 检索增强 方法 OA · 绿色 被引 0 · S2 + OpenAlex

本文提出 SCAR(Semantic Continuity-Aware Retrieval),一种自适应检索策略,通过权衡查询-邻居相关性与结构连续性惩罚来选择性扩展相邻分块,由此得到近似尺度不变的决策规则,无需重新校准即可跨 embedding 模型迁移。SCAR (Semantic Continuity-Aware Retrieval), an adaptive retrieval policy that selectively expands neighboring chunks by weighing query-neighbor relevance against a structural continuity penalty, is proposed, yielding an approximately scale-invariant decision rule that transfers across embedding models without recalibration.

5. VideoRAG & V-RAGBench
5. VideoRAG 与 V-RAGBench
arXiv:2606.13141 RAG 检索增强 评测集 OA · 绿色 被引 0 · S2 + OpenAlex

本文提出 V-RAGBench——一个由 ⟨query, evidence chunk, answer⟩ 三元组构成的基准,可对检索与生成进行忠实且解耦的评估;同时提出 CARVE,一种在多种配置下并行运行检索器、并通过分块自适应重排序为每个分块挑选最优配置的简易方法。V-RAGBench is introduced, a benchmark of $\langle$ query, evidence chunk, answer$\rangle$ triplets that enables faithful, decoupled evaluation of retrieval and generation, and CARVE, a simple method that runs parallel retrievers across configurations and employs chunk-adaptive reranking to identify the winning configuration for each chunk.

3. PathRouter: Aligning Rewards with Retrieval Quality in Agentic Graph RAG
3. PathRouter:在 Agentic Graph RAG 中将奖励与检索质量对齐
arXiv:2606.16409 RAG 检索增强 方法 OA · 绿色 被引 0 · S2 + OpenAlex

本文提出 PathRouter,一种面向 agentic GraphRAG 的路径感知训练框架,沿答案正确性与证据路径重叠度联合评估每条轨迹,归纳出四类轨迹并采用差异化 GRPO 优势缩放,抑制捷径式强化同时保留证据寻求行为。This work presents PathRouter, a path-aware training framework for agentic GraphRAG that jointly evaluates each trajectory along answer correctness and evidence-path overlap, yielding four trajectory categories with differentiated GRPO advantage scaling that suppresses shortcut reinforcement while preserving evidence-seeking behavior.

2. DIVERGE: Diversity-Enhanced RAG
2. DIVERGE:多样性增强的 RAG
arXiv:2602.00238 RAG 检索增强 方法 Open MIND OA · 绿色 被引 1 · S2

本文提出 Diverge,一种即插即用的 agentic RAG 框架,通过迭代式、反思引导的多视角探索以及多样性感知检索支持来改善多样性—质量权衡,并引入用于刻画开放域问答中多样性—质量权衡的评估指标。Diverge is proposed, a plug-and-play agentic RAG framework that improves the diversity--quality trade-off through iterative, reflection-guided exploration of diverse viewpoints and diversity-aware retrieval support, and introduces evaluation metrics for characterizing the diversity-quality trade-off in open-ended question answering.

4.5 Efficient RAG with Intent-Aware Retrieval and Semantics-Preserving Chunking
4.5 面向意图感知检索与语义保持切分的高效 RAG(⭐⭐⭐⭐)
arXiv:2606.01240 RAG 检索增强 方法 OA · 绿色 被引 0 · S2 + OpenAlex

本文提出名为 InSemRAG 的 RAG 框架,通过迭代检索—校验机制及两个支撑模块——意图感知检索器(IAR)与语义保持切分(SPC)——应对上述挑战。This work proposes a RAG framework, termed InSemRAG, that addresses these challenges via an iterative retrieve-and-check mechanism with two supporting modules, an intention-aware retriever (IAR) and semantics-preserving chunking (SPC).

4.2 MRAgent:Memory is Reconstructed, Not Retrieved
4.2 MRAgent:记忆是被重构而非被检索的(⭐⭐⭐⭐⭐)
arXiv:2606.06036 RAG 检索增强 方法 OA · 绿色 被引 3 · S2

MRAgent,一种将联想记忆图与主动重构机制相结合的框架,将 LLM 推理直接融入记忆访问,确保记忆检索能动态适配推理上下文,同时避免无约束扩展引发的组合爆炸。MRAgent, a framework that combines an associative memory graph with an active reconstruction mechanism that integrates LLM reasoning directly into memory access, ensuring that memory retrieval is dynamically adapted to the reasoning context while avoiding combinatorial explosion caused by unconstrained expansion.

1️⃣2️⃣ arXiv · RAGPerf: End-to-End RAG Benchmarking Framework(⭐⭐⭐ 参考)
arXiv · RAGPerf:端到端 RAG 基准测试框架(⭐⭐⭐ 参考)
arXiv:2603.10765 RAG 检索增强 评测集 OA · 绿色 被引 1 · S2

提出一个面向 RAG 的 AI 系统基准测试(RAGPerf)框架,用于刻画 RAG pipeline 的系统行为,并证明其引入的性能开销可忽略不计。The design and implementation of a RAG-based AI system benchmarking (RAGPerf) framework for characterizing the system behaviors of RAG pipelines is presented and it is shown that RAGPerf incurs negligible performance overhead.

6. Understanding the Behaviors of Environment-aware Information Retrieval
理解环境感知信息检索的行为
arXiv:2606.16817 RAG 检索增强 方法 ACL 2026 OA · 绿色 被引 0 · S2 + OpenAlex

本文首次系统分析了 LLM 如何通过强化学习(RL)学习针对不同 retriever 调整 query 表述策略,并揭示 RL 能有效教会 LLM 根据特定 retriever 特性定制 query。This work presents the first systematic analysis of how LLMs can learn to adapt their query formulation strategies for different retrievers via reinforcement learning (RL), and reveals that RL effectively teaches an LLM to tailor its queries to specific retriever characteristics.

2. AI Engineering Blueprint for On-Premises RAG(arXiv:2604.01395)
本地化部署 RAG 的 AI 工程蓝图(arXiv:2604.01395)
arXiv:2604.01395 RAG 检索增强 方法 OA · 绿色 被引 0 · S2 + OpenAlex

本文旨在应对常见挑战并简化 RAG 与既有企业基础设施的集成,提出一套面向可扩展本地化部署企业 RAG 方案的综合性 AI 工程蓝图。This paper aims to address the gap in comprehensive on-premises RAG implementation frameworks by presenting a comprehensive AI engineering blueprint for scalable on-premises enterprise RAG solutions to address common challenges and streamline the integration of RAG into existing enterprise infrastructure.

8. When Iterative RAG Beats Ideal Evidence
当迭代式 RAG 超越理想证据
arXiv:2601.19827 RAG 检索增强 应用落地 Open MIND OA · 绿色 被引 2 · S2

总体而言,分阶段检索的影响往往超过"理想证据存在"本身;本文为专业科学场景下 RAG 系统的部署与诊断提供了实践指导,并为构建更可靠、可控的迭代式检索-推理框架奠定了基础。This is the first controlled, mechanism-level diagnostic evaluation of whether synchronized iterative retrieval and reasoning can surpass even an idealized static upper bound (Gold Context) RAG, and practical guidance for deploying and diagnosing RAG in specialized scientific settings.

4. DCD (Domain–Collection–Document)
4. DCD(Domain–Collection–Document)
arXiv:2604.07590 RAG 检索增强 方法 OA · 绿色 被引 0 · S2 + OpenAlex

引入 D(Domain-Collection-Document),一种面向领域的设计,用于在不修改底层语言模型的前提下组织 RAG 系统中的知识并控制查询处理。D (Domain-Collection-Document), a domain-oriented design to structure knowledge and control query processing in RAG systems without modifying the underlying language model, is introduced.

3. Tail-Aware Adaptive-k (TAA-k)
3. Tail-Aware Adaptive-k(TAA-k)
arXiv:2606.11907 RAG 检索增强 方法 OA · 绿色 被引 0 · S2 + OpenAlex

提出 Tail-Aware Adaptive-k(TAA-k),一个无需训练、通过局部验证策略将 EVT 落地的框架,检索质量接近 oracle,相较全局 EVT 方法获得数量级的效率提升,并在不同 embedding 模型和压缩维度下保持稳健。Tail-Aware Adaptive-k (TAA-k), a training-free framework that operationalizes EVT through a localized validation strategy, is proposed, which achieves near-oracle retrieval quality with orders-of-magnitude efficiency gains over global EVT methods, while maintaining robustness across embedding models and compression dimensions.

核心信息
arXiv:2604.16548 RAG 检索增强 方法 OA · 绿色 被引 12 · S2

分析表明,鲁棒的长期记忆(Long-Term Memory)安全无法仅在 retrieval 或执行阶段后置加固,而必须在最初就以存储阶段的溯源、版本化与策略感知的 retention 为基础进行锚定。This analysis indicates that robust Long-Term Memory security cannot be retrofitted at retrieval or execution time alone, but must be anchored in storage-time provenance, versioning, and policy-aware retention from the outset.

条目D1:SIFT — 利用注意力不变性加速RAG Prefill(arXiv 2606.09441,2026-06)
arXiv:2606.09441 RAG 检索增强 方法 OA · 绿色 被引 1 · S2

提出 SIFT:Selective-Index For Fast Compute of RAG Prefill by Exploiting Attention Invariance,离线处理文档并提取每个文档中高分注意力的细粒度位置,以两个紧凑的位向量存储这些高分位置。SIFT: Selective-Index For Fast Compute of RAG Prefill by Exploiting Attention Invariance is proposed, which processes documents offline and extracts fine-grained locations of high attention scores for each document and stores locations of high scores in the form of two compact bit vectors.

条目A3:From Standalone LLMs to Integrated Intelligence — Compound AI Systems 综述
条目A3:From Standalone LLMs to Integrated Intelligence — Compound AI Systems 综述
arXiv:2506.04565 RAG 检索增强 综述 OA · 绿色 被引 9 · S2

本综述界定了 CAIS 的概念,提出基于组件角色与编排策略的多维分类体系,并分析四种基础范式:Retrieval-Augmented Generation (RAG)、LLM Agents、Multimodal LLMs (MLLMs) 与 Orchestration。This survey defines the concept of CAIS, proposes a multi-dimensional taxonomy based on component roles and orchestration strategies, and analyzes four foundational paradigms: Retrieval-Augmented Generation (RAG), LLM Agents, Multimodal LLMs (MLLMs), and Orchestration.

8. TrustMargin:RAG 答案级仲裁框架
arXiv:2606.08397 RAG 检索增强 方法 OA · 绿色 被引 0 · S2 + OpenAlex

提出 TRUSTMARGIN,一种免训练、即插即用的仲裁层,利用模型自身的似然对两个候选进行打分,在不微调、无需外部评判或额外生成的情况下,在直接回答与 RAG 之间进行选择。TRUSTMARGIN is proposed, a training-free, plug-and-play arbitration layer that scores the two existing candidates with the model's own likelihoods and selects between Direct and RAG without fine-tuning, external judges, or additional generation.

6. LLM Research Papers: The 2026 List (Jan–May) — Sebastian Raschka
LLM 研究论文:2026 年清单(1—5 月)— Sebastian Raschka
arXiv:2601.21204 RAG 检索增强 方法 Open MIND OA · 绿色 被引 12 · S2

本工作将 embedding 缩放作为正交于稀疏度缩放的强有力维度加以探索,并推出 LongCat-Flash-Lite,一个从零训练的 68.5B 参数、约 30 亿激活参数的模型,不仅超越参数等量级的 MoE 基线,还对同规模现有模型展现出卓越竞争力。This work explores embedding scaling as a potent, orthogonal dimension for scaling sparsity and introduces LongCat-Flash-Lite, a 68.5B parameter model with ~3B activated trained from scratch that not only surpasses parameter-equivalent MoE baselines but also exhibits exceptional competitiveness against existing models of comparable scale.

5️⃣ arXiv · Is Agentic RAG Worth It? An Experimental Comparison of RAG Approaches(⭐⭐⭐⭐ 高优先级)
5️⃣ arXiv · Agentic RAG 是否值得?RAG 方法的实验对比(⭐⭐⭐⭐ 高优先级)
arXiv:2601.07711 RAG 检索增强 评测集 OA · 绿色 被引 4 · S2

基于实证对 "Enhanced" 与 "Agentic" RAG 范式进行评估,为真实场景中选取最有效的 RAG 设计(兼顾性能与成本)提供指导。An empirically driven evaluation of the "Enhanced" and "Agentic" RAG paradigms is conducted, offering guidance on selecting the most effective RAG design for real-world applications, considering both performance and costs.

12. SoK: Agentic RAG(arXiv 2603.07379,ACL 2026)
12. SoK:Agentic RAG(arXiv 2603.07379,ACL 2026)
arXiv:2603.07379 RAG 检索增强 观点 Open MIND OA · 绿色 被引 6 · S2

本文将 Agentic 检索-生成循环形式化为有限时域部分可观测马尔可夫决策过程,显式建模其控制策略与状态转移,并构建了全面的分类体系与模块化架构分解,按规划机制、检索编排、记忆范式与工具调用行为对系统进行分类。This paper formalizes agentic retrieval-generation loops as finite-horizon partially observable Markov decision processes, explicitly modeling their control policies and state transitions, and develops a comprehensive taxonomy and modular architectural decomposition that categorizes systems by their planning mechanisms, retrieval orchestration, memory paradigms, and tool-invocation behaviors.

Systems 补充候选
arXiv:2606.01751 RAG 检索增强 方法 OA · 绿色 被引 0 · S2 + OpenAlex

SarseX 模型无关、无需训练,并与 Prefix Cache 兼容,可为多轮对话、检索增强生成 (RAG) 和 Agent 工作流等常见在线服务场景提供统一支持。SarseX is model-agnostic, training-free, and compatible with Prefix Cache, and it provides unified support for common online serving scenarios including multi-round chat, retrieval-augmented generation (RAG), and agent workflows.

4.1 LogicalRAG:把 Agentic RAG 的重点从“更重 backend”转向“更强 retrieval control”
arXiv:2605.27123 RAG 检索增强 方法 OA · 绿色 被引 3 · S2

本文提出一个 Agentic RAG 框架,使 LLM 能够使用逻辑表达式构建检索意图,同时将检索后端简化为基于倒排索引的系统,并表明将检索过程锚定在逻辑查询上可显著降低生成响应中的幻觉。This paper proposes an agentic RAG framework that enables LLMs to formulate retrieval intents using logical expressions while simplifying the retrieval backend to an inverted-index-based system, and shows that anchoring the retrieval process in logical queries substantially reduces hallucinations in generated responses.

MMAgent-R$^2$: Learning to Rerank and Reject for Agentic mRAG
MMAgent-R$^2$:面向 Agentic mRAG 的重排序与拒答学习
arXiv:2607.07383 RAG 检索增强 方法 OA · 绿色 被引 0 · S2 + OpenAlex

提出 MMAgent-R$^2$,一种将视觉重排序与主动拒答作为内部验证机制的 Agentic mRAG 框架,并通过 GRPO 训练实现外部检索、内部验证与答案生成的联合优化。MMAgent-R$^2$, an agentic mRAG framework that integrates visual reranking and active rejection as its internal verification mechanism, is proposed and achieves joint optimization of external retrieval, internal verification, and answer generation via GRPO training.

Interpretable Uncertainty for Adaptive Retrieval and Reasoning in Question Answering
问答中面向自适应检索与推理的可解释不确定性
arXiv:2607.07380 RAG 检索增强 方法 OA · 绿色 被引 0 · S2 + OpenAlex

提出一种基于不确定性感知框架的自适应问答方法,通过 LLM 内部表征中区分知识不足与知识歧义/冲突的显式信号,在单次前向传播中即可由隐状态高效估计。This work proposes an uncertainty-aware framework for adaptive QA based on explicit signals derived from LLM internal representations that distinguish between knowledge insufficiency and knowledge ambiguity or conflict, and efficiently estimate these from hidden states in a single forward pass.

DynaKRAG: A Unified Framework for Learnable Evidence Control in Multi-Hop Retrieval-Augmented Generation
DynaKRAG:面向多跳检索增强生成的可学习证据控制统一框架
arXiv:2607.06507 RAG 检索增强 方法 OA · 绿色 被引 0 · S2 + OpenAlex

提出 DynaKRAG,将多跳证据获取建模为针对原子证据操作的状态条件控制,并展示了在演化证据状态下协同检索、诊断与缺口定向获取的优势。DynaKRAG is introduced, which formulates multi-hop evidence acquisition as state-conditioned control over atomic evidence operations, and demonstrates the benefit of coordinating retrieval, diagnosis, and gap-directed acquisition under an evolving evidence state.

Code-Level Cost Function Generation for Spatial Image Steganography Using RAG-Enhanced Large Language Models
基于 RAG 增强 LLM 的空域图像隐写术代码级代价函数生成
arXiv:2607.05868 RAG 检索增强 方法 OA · 绿色 被引 0 · S2 + OpenAlex

提出一种新颖的进化系统,专注于利用 RAG 增强的 LLM 自动生成空域隐写的代码级代价函数;该方法在隐写安全性上一致优于现有自动设计方法,同时提高了平均代码执行率并降低了搜索成本。A novel evolutionary system focused on exploiting Retrieval-Augmented Generation enhanced LLMs for the automatic code-level generation of spatial steganography cost functions, which consistently achieves higher steganographic security than existing automatically designed methods and increases the average code execution rate while reducing the search cost.

Improving Access to Historical Archives with Real-time RAG-based Systems
基于实时 RAG 系统提升历史档案的可访问性
arXiv:2607.03440 RAG 检索增强 方法 OA · 绿色 被引 0 · S2 + OpenAlex

该工作提出了一个端到端的档案处理与检索框架,将大语言模型(LLM)集成到档案流程中,并证明将 LLM 与成熟的文档处理与检索流程相结合,可将数字图书馆从静态存储库提升为可交互、可语义检索的档案系统。This work presents an end-to-end archival processing and retrieval framework that integrates large language models (LLMs) into the archival pipeline and demonstrates that integrating LLMs with established document processing and retrieval pipelines can elevate digital libraries from static repositories to interactive, semantically searchable archival systems.

Taste-aware music retrieval from audio embeddings
基于音频嵌入的品味感知音乐检索
arXiv:2607.03296 RAG 检索增强 评测集 OA · 绿色 被引 1 · S2

将预测的味觉空间作为基于内容的检索索引,对 309 项条目池的排序比 CLAP-text 基线(处于随机水平)忠实得多;ridge probes 与 audio-bandstop knockout 在已记载的声-味对应关系上读出了最强表征。Operationalised as a content-based retrieval index, the predicted taste space ranks a 309-item pool far more faithfully than a CLAP-text baseline, which sits at chance; ridge probes and an audio-bandstop knockout read the strongest representations against documented sound-taste correspondences.

When Classic Cache Policies Fail: Learning-Augmented Replacement for Semantic Retrieval Buffers
当经典缓存策略失效时:面向语义检索缓冲区的学习增强替换
arXiv:2607.00394 RAG 检索增强 方法 OA · 绿色 被引 1 · S2

本文提出 SOLAR,一种学习增强框架,从 regret 累积中推导修改时机,并基于隐式检索反馈的贝叶斯在线学习进行内容选择,实现与缓存大小和时域无关的常数竞争比。SOLAR is proposed, a learning-augmented framework that derives modification timing from regret accumulation and content selection from Bayesian online learning over implicit retrieval feedback and achieves a constant competitive ratio, independent of cache size and horizon.

Know Your Source: A Public Knowledge Store for Media Background Checks
Know Your Source:面向媒体事实核查的公共知识库
arXiv:2607.02383 RAG 检索增强 方法 OA · 绿色 被引 0 · S2 + OpenAlex

提出 MEDIAREF:源自网络文档的公共知识库,支持跨 200 个媒体来源、可复现且低成本的 MBC 生成评估;给出可复现的构建与更新方法,并系统评测主流 LLM 在 MBC 生成任务上的表现。MEDIAREF, a publicly available knowledge store of web-sourced documents that enables reproducible, low-cost evaluation of MBC generation across 200 media sources, is introduced, describing a reproducible methodology for constructing and updating the collection, and assessing widely used LLMs on the MBC generation task.

CheckRLM: Effective Knowledge-Thought Coherence Checking in Retrieval-Augmented Reasoning
CheckRLM:基于检索增强推理的知识-思维一致性校验
arXiv:2607.02262 RAG 检索增强 方法 OA · 绿色 被引 0 · S2 + OpenAlex

CheckRLM:通过 RAG 及时校验并修正事实错误的框架,有效提升推理过程的可靠性,大幅超越现有基线。CheckRLM is a framework that improves the reliability of the reasoning process through Retrieval-Augmented Generation (RAG) by timely checking and correcting factual errors, and substantially outperforms existing baselines.

Towards Developing a Multimodal Chat Assistant for University Stakeholders: RAG-based Approach
面向大学利益相关者的多模态聊天助手开发:基于 RAG 的方法
arXiv:2607.01115 RAG 检索增强 方法 OA · 绿色 被引 0 · S2 + OpenAlex

本文提出基于检索增强生成的多模态大学聊天机器人,将 LLM 与语义检索相结合,从以学校为中心的资源(如大学手册)中生成基于上下文的回复。This work presents the multimodal university chatbot with retrieval-augmented generation, which combines the large language model with semantic retrieval to produce context-based responses from institution-centric resources, such as the university handbook.

Logit-Contribution Scoring Identifies Non-Literal Retrieval Heads
Logit 贡献度评分识别非字面意义检索头
arXiv:2607.01002 RAG 检索增强 方法 OA · 绿色 被引 0 · S2 + OpenAlex

提出 Logit 贡献度评分(LOCOS),一种可感知写入的检测器,通过将每个注意力头的 OV 电路输出投影到答案 token 的去嵌入方向进行打分,在单次前向传播中对比 needle 与非 needle 源位置。Logit-Contribution Scoring (LOCOS) is introduced, a write-aware detector that scores each head by the projection of its OV-circuit output onto the answer-token unembedding direction, contrasting needle and off-needle source positions in a single forward pass.

AutoMem: Automated Learning of Memory as a Cognitive Skill
AutoMem:将记忆作为认知技能的自动化学习
arXiv:2607.01224 RAG 检索增强 方法 OA · 绿色 被引 1 · S2

仅启用记忆(不修改模型的任务-动作行为)即可将基础 Agent 性能提升约 2–4 倍,使 32B 开源权重模型具备与 Claude Opus 4.5、Gemini 3.1 Pro Thinking 等前沿系统相竞争的能力。Opting memory alone--without modifying the model's task-action behavior--improved the base agent's performance ~2x-4x, bringing a 32B open-weight model competitive with frontier systems such as Claude Opus 4.5 and Gemini 3.1 Pro Thinking.

Scaling Laws for Grid-Based Approximate Nearest Neighbor Search in High Dimensions
高维场景下基于网格的近似最近邻搜索的标度律
arXiv:2607.01283 RAG 检索增强 方法 OA · 绿色 被引 0 · S2 + OpenAlex

结果表明,在重建频繁或高维场景中(如 multiprobe grid 等)基于网格的方法可能具有竞争力,因为这些场景下索引成本与维度鲁棒性决定性能。The results suggest that grid-based methods such as multiprobe grid may be competitive in rebuild-heavy or high-dimensional settings where indexing cost and dimensional robustness dictate performance.

AdaTrans: Automated C to Rust Transformation via Error-Adaptive Repair
AdaTrans:通过错误自适应修复实现 C 到 Rust 的自动化转换
arXiv:2606.31706 RAG 检索增强 方法 OA · 绿色 被引 0 · S2 + OpenAlex

AdaTrans 是一个通过三大核心机制解决 C 代码到 Rust 自动转换的框架:策略驱动的检索增强生成(RAG)机制,用于将编译器错误映射到具体修复;错误分层转换策略(ESTS),可根据错误类型自适应调整行为;以及多阶段验证流水线,以确保可编译性与功能等价性。AdaTrans is a framework that addresses the automated transformation of C code to Rust through three core mechanisms: a Strategy-Driven Retrieval-Augmented Generation (RAG) mechanism to map compiler errors to specific repairs, an Error-Stratified Transformation Strategy (ESTS) that adapts its behavior based on error types, and a multi-stage validation pipeline to ensure both compilability and functional equivalence.