paper-with-me

Papers

Type-Aware Retrieval-Augmented Generation with Dependency Closure for Solver-Executable Industrial Optimization Modeling

2026-03-03 · Y. Zhong, R. Huang, M. Wang, Z. Guo, YC. Li, M. Yu, Z. Jin arxiv

Automated industrial optimization modeling requires reliable translation of natural-language requirements into solver-executable code. However, large language models often generate non-compilable models due to missing declarations, type inconsistencies, and incomplete dependency contexts. We propose a type-aware retrieval-augmented generation (RAG) method that enforces modeling entity types and minimal dependency closure to ensure executability. Unlike existing RAG approaches that index unstructured text, our method constructs a domain-specific typed knowledge base by parsing heterogeneous sources, such as academic papers and solver code, into typed units and encoding their mathematical dependencies in a knowledge graph. Given a natural-language instruction, it performs hybrid retrieval and computes a minimal dependency-closed context, the smallest set of typed symbols required for solver-executable code, via dependency propagation over the graph. We validate the method on two constraint-intensive industrial cases: demand response optimization in battery production and flexible job shop scheduling. In the first case, our method generates an executable model incorporating demand-response incentives and load-reduction constraints, achieving peak shaving while preserving profitability; conventional RAG baselines fail. In the second case, it consistently produces compilable models that reach known optimal solutions, demonstrating robust cross-domain generalization; baselines fail entirely. Ablation studies confirm that enforcing type-aware dependency closure is essential for avoiding structural hallucinations and ensuring executability, addressing a critical barrier to deploying large language models in complex engineering optimization tasks.

📄 PDF Abstract BibTeX arXiv:2603.03180

Code (0)

등록된 구현이 없습니다.

Tasks

Domain Generalization

Similar Papers 제목 키워드 기반

Retrieval-Augmented Generation for Predicting Cellular Responses to Gene Perturbation

2026-03-07 · Andrea Giuseppe Di Francesco, Andrea Rubbi, Pietro Liò arxiv

Predicting how cells respond to genetic perturbations is fundamental to understanding gene function, disease mechanisms, and therapeutic development. While recent deep learning approaches have shown promise in modeling s…

Text Retrieval

Rethinking Retrieval-Augmented Generation as a Cooperative Decision-Making Problem

2026-02-21 · Lichang Song, Ting Long, Yi Chang arxiv

Retrieval-Augmented Generation (RAG) has demonstrated strong effectiveness in knowledge-intensive tasks by grounding language generation in external evidence. Despite its success, many existing RAG systems are built base…

ImportSnare: Directed "Code Manual" Hijacking in Retrieval-Augmented Code Generation

2025-09-09 · Kai Ye, Liangcai Su, Chenxiong Qian arxiv

Code generation has emerged as a pivotal capability of Large Language Models(LLMs), revolutionizing development efficiency for programmers of all skill levels. However, the complexity of data structures and algorithmic l…

Code Generation

Typed-RAG: Type-aware Multi-Aspect Decomposition for Non-Factoid Question Answering

2025-03-20 · Donggeon Lee, Ahjeong Park, Hyeri Lee, Hyeonseo Nam 외

Non-factoid question-answering (NFQA) poses a significant challenge due to its open-ended nature, diverse intents, and the need for multi-aspect reasoning, which renders conventional factoid QA approaches, including retr…

Question AnsweringRAGRetrievalRetrieval-augmented Generation

DyG-RAG: Dynamic Graph Retrieval-Augmented Generation with Event-Centric Reasoning

2025-07-16 · Qingyun Sun, Jiaqi Yuan, Shan He, Xiao Guan 외 arxiv

Graph Retrieval-Augmented Generation has emerged as a powerful paradigm for grounding large language models with external structured knowledge. However, existing Graph RAG methods struggle with temporal reasoning, due to…

Answer Generation