Lightweight constraint aware retrieval augmented question answering for machining process planning
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.
Authors
- Chunhui Liu (ORCID: https://orcid.org/0009-0008-0156-7830)
- Liguo Chen (ORCID: https://orcid.org/0000-0002-1874-6519)
- Mingya Wang
- Xinru Li (ORCID: https://orcid.org/0009-0005-1971-3443)
Institutions
- Chinese People's Liberation Army (CN)
- Shandong Huayu University of Technology (CN)
Publication Details
- Journal
- Frontiers in Mechanical Engineering
- Published
- 2026-11-27
- DOI
- https://doi.org/10.3389/fmech.2026.2031288
- Primary Topic
- Topic Modeling
- Type
- article
- Field-Weighted Citation Impact
- 0.00