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

Institutions

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
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

Lightweight constraint aware retrieval augmented question answering for machining process planning

Chunhui Liu, Liguo Chen, Mingya Wang, Xinru Li
Frontiers in Mechanical Engineering
Topic Modeling
article

Lightweight constraint aware retrieval augmented question answering for machining process planning

Chunhui Liu, Liguo Chen, Mingya Wang, Xinru Li
article en

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.

Frontiers in Mechanical EngineeringVol. 12
Chinese People's Liberation Army (CN), Shandong Huayu University of Technology (CN)
Topic Modeling
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon