llm-agents digital-twin ontology-grounded qwen3-32b manufacturing-ai semantic-drift aiopts tool-architectures
Abstract
Large language model (LLM)-based AI agents are increasingly deployed in manufacturing environments for analytics, quality management, and decision support. These agents demonstrate statistical fluency with domain terminology but lack grounded understanding of operational semantics -- the relational structure that connects equipment identifiers, process parameters, failure codes, and regulatory constraints within a specific production context. This paper identifies and formalizes the semantic training gap: a structural disconnect between how AI systems acquire domain vocabulary through training and how manufacturing operations define meaning through ontological relationships. We demonstrate that this gap causes operationally incorrect outputs even when model responses are linguistically precise, and that in multi-agent configurations it produces a compounding failure mode we term semantic drift. To close this gap, we present an architecture that embeds manufacturing ontology directly into the AI tool layer as a typed relational configuration, enforcing semantic constraints at runtime rather than relying on model training. The architecture is formalized as a three-operation interface contract -- resolve, contextualize, annotate -- with invariants enforced by an AIOps orchestration layer. In a controlled experiment across six industry configurations (72 tool invocations using Qwen3-32B), unconstrained tool parameters produced a 43% hallucination rate for domain identifiers; ontology-grounded parameters reduced this to 0%. We validate the approach through a digital twin analytics platform demonstrating that a single codebase with domain-specific ontology configurations eliminates tool-call hallucination and achieves cross-domain configurability without application code changes.
한국어 요약
📋 한 줄 요약
**[AI 에이전트 / 산업 AI]** 제조 환경 LLM 에이전트의 의미적 학습 격차(semantic training gap)를 정의하고, 온톨로지를 도구 계층에 직접 임베딩하여 도메인 식별자 환각률을 43%에서 0%로 줄이는 아키텍처를 제안한다.
🎯 핵심 기여도
- LLM 에이전트가 도메인 어휘는 습득하지만 운영적 의미 구조(장비 식별자, 공정 파라미터, 고장 코드 간 관계)는 파악하지 못하는 "의미적 학습 격차"를 형식적으로 정의
- 다중 에이전트 구성에서 의미 오류가 누적되는 "의미적 표류(semantic drift)" 실패 모드 식별
- resolve, contextualize, annotate 3가지 연산으로 구성된 인터페이스 계약을 통해 제조 온톨로지를 도구 계층에 임베딩하는 아키텍처 제시
- Qwen3-32B를 6개 산업 구성에서 72회 도구 호출로 평가하여 환각률을 43% → 0%로 감소시킴을 실증
💡 핵심 아이디어
모델 학습으로 도메인 의미를 가르치는 대신, 온톨로지를 타입화된 관계형 설정으로 도구 계층에 명시적으로 박아 넣어 런타임에 의미 제약을 강제한다. 이렇게 하면 모델은 그대로 두고 도구 인터페이스만 도메인별로 바꿔도 호환되며, 환각이 구조적으로 불가능해진다.
🔬 기술적 접근법
- **모델/방법론**: Qwen3-32B를 LLM으로 활용한 AIOps 오케스트레이션 레이어 위에 도메인 온톨로지를 타입화된 관계형 설정으로 주입
- **핵심 기법**: resolve(식별자 매핑) / contextualize(맥락 부여) / annotate(주석 부여) 세 가지 연산을 인터페이스 계약으로 정형화하고 런타임에 불변식 검증
📊 주요 결과
- 비제약 도구 파라미터: 도메인 식별자 환각률 43%
- 온톨로지 기반 파라미터: 환각률 0% (Fisher 정확검정 p < 10^-12)
- 동일 코드베이스로 도메인별 온톨로지만 교체하여 교차 도메인 구성 가능성을 디지털 트윈 분석 플랫폼으로 검증
💭 의의 및 한계
**의의**: 산업 환경에서 LLM의 정확한 도메인 적용을 모델 재학습 없이 구성 가능한 도구 계층으로 해결한다는 점에서, 제조·의료 등 고신뢰 분야의 에이전트 배포 패턴을 제시한다. **한계**: 온톨로지 정의 자체가 수작업 부담이며, 6개 산업 구성과 단일 모델(Qwen3-32B)에 한정된 검증 범위로 일반화 가능성은 추가 검증이 필요하다.
🚀 실용적 활용
- MES/ERP/SCADA와 결합되는 제조 AI 에이전트의 도구 계층 설계 표준
- 의료, 금융 등 고규제 산업에서 LLM 호출의 도메인 정합성 강제 메커니즘
- 멀티 에이전트 시스템에서 도메인 어휘 표류를 막는 런타임 가드레일 구현