Lightweight constraint aware retrieval augmented question answering for machining process planning
Liguo Chen, Xinru Li, Mingya Wang, Chunhui Liu
Key points
From the paper's conclusion- These findings indicate that explicit checklists and inexpensive deterministic output revision can improve reference coverage and internal rule consistency of RAG outputs for machining process planning at low computational cost, offering an inspectable, trustworthy-AI-oriented alternative to additional model calls.
Abstract
Machining process planning requires technical answers that respect locating datums, operation sequences, machining allowances, and process capability. This study presents Lite-CRAG, a lightweight constraint-aware retrieval-augmented generation (RAG) method for Chinese machining questions. It targets a persistent weakness of RAG outputs in manufacturing: fluent answers that omit required engineering content or violate domain constraints. The method combines character-bigram TF-IDF retrieval with intent-triggered checklists and deterministic verification followed by up to three local revision rounds, and revision requires no additional language-model call. A knowledge base of 303 entries grouped into 37 documents supported evaluation on 53 questions across five machining categories. All methods used Gemma 3 4B for generation and Qwen3 4B for automated reference-answer assessment; answer accuracy denotes acceptance under an automated reference-coverage rubric rather than expert judgement. Lite-CRAG achieved 83.0% answer accuracy and a 13.2% rule-detected violation rate, compared with 71.7% and 50.9% for Naive-RAG, which used the same retriever. Ablation showed that bounded local revision accounted for the larger effect: removing it reduced accuracy to 71.7% and increased the violation rate to 43.4%, whereas removing checklist injection yielded 81.1% and 18.9%. These findings indicate that explicit checklists and inexpensive deterministic output revision can improve reference coverage and internal rule consistency of RAG outputs for machining process planning at low computational cost, offering an inspectable, trustworthy-AI-oriented alternative to additional model calls.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- CNCGEN: A Dataset and Framework for Machining Process Planning and Toolpath Generation from B-rep ModelsarXiv · 2026
- MillBill: A Machining Agent with Geometric FeedbackarXiv · 2026
- Influence of geometric-process representation explicitness on transformer-based NC code generationThe International Journal of Advanced Manufacturing Technology · 2026
- MechRAG: a multimodal large language model for mechanical engineeringCommunications Engineering · 2025
- CP-Agent: A Harness-Engineered Agent for Crystal Plasticity Simulation WorkflowsarXiv · 2026
- CRAFT: Corrective and Robust Multi-Agent Framework for Text-to-Parametric CADarXiv · 2026