TELLER: LLM 추론을 위한 비침습적 교차 계층 근본 원인 분석
TELLER: Non-intrusive Cross-Layer Root-Cause Analysis for LLM Inference
한국어 초록
대규모 언어 모델(LLM) 추론(inference)은 오프라인 워크로드에서 지속적으로 운영되는 소프트웨어 서비스로 발전했으나, 단일 요청이 추론 엔진, Python/C++ 백엔드, 호스트 CUDA API, GPU 커널, 분산 통신 전반에 걸쳐 있어 근본 원인 분석(root-cause analysis)은 여전히 어렵습니다. 기존 프로파일러는 가공되지 않은 타임라인만을 노출하며, 로그 기반 진단은 교차 계층(cross-layer) 실행 시맨틱과 요청 수준의 구조를 놓치는 경우가 많습니다. 본 논문에서는 비침습적 트레이스 및 로그 인지형 LLM 추론 근본 원인 분석 프레임워크인 TELLER를 제안합니다. TELLER는 먼저 모델(model) 바이너리를 수정하지 않고 NVTX/CUPTI 트레이스와 서비스 로그를 수집한 다음, 요청별 호출 체인 트리를 재구성하고 해당 실행 단계에 로그 라인을 정렬합니다. 저자들은 부모-자식 구조, 시간적 순서, 통신 관계를 보존하는 의존성 인지 인과적-컨텍스트 슬라이스와, 이러한 슬라이스를 부모, 깊이, 지속 시간 속성을 갖는 간결한 구조적 토큰(token) 시퀀스로 압축하는 TPE(Trace Pair Encoding) 토크나이저를 도입합니다. 이러한 표현을 바탕으로 TELLER는 수치적 후보 국소화와 비정상 단계를 공동으로 예측하고 의심스러운 연산자를 국소화하며 자연어 설명을 생성하는 멀티모달 근본 원인 모델을 결합합니다. 다중 노드(node) GPU 추론 워크로드에 대한 실험은 명확한 압축-정확도 트레이드오프를 보여줍니다. 적절한 크기의 TPE 어휘는 단계별 트레이스 길이를 80% 이상 줄이면서 수평적(노드 간 통신) 및 수직적(노드 내 실행 스택) 관점 모두에서 최고의 전반적 성능을 달성하는 반면, 과도한 압축은 진단 품질을 크게 저하시킵니다. 낮은 결함 사전 확률, 강화된 베이스라인, 모달리티 절제 연구, 설명 품질 검증 및 트레이싱 오버헤드 하에서의 추가 분석은 TELLER가 LLM 추론 근본 원인 분석(RCA)을 위한 실용적인 선별(triage) 및 증거 국소화 기반을 제공함을 입증합니다.
원문 초록
Large language model (LLM) inference has evolved from an offline workload into a continuously operated software service, yet root-cause analysis remains difficult because a single request spans the inference engine, Python/C++ backend, host CUDA APIs, GPU kernels, and distributed communication. Existing profilers expose raw timelines, while log-based diagnosis often misses cross-layer execution semantics and request-level structure. We present TELLER, a non-intrusive Trace- and Log-aware LLM inference Root-cause analysis framework. TELLER first collects NVTX/CUPTI traces and service logs without modifying model binaries, then reconstructs per-request call-chain trees and aligns log lines with the corresponding execution steps. We introduce a dependency-aware causal-context slice that preserves parent-child structure, temporal order, and communication relations, and a Trace Pair Encoding (TPE) tokenizer that compresses such slices into compact structural token sequences with parent, depth, and duration attributes. On top of these representations, TELLER combines numeric candidate localization with a multimodal root-cause model that jointly predicts abnormal steps, localizes suspicious operators, and generates natural-language explanations. Experiments on multi-node GPU inference workloads show a clear compression-accuracy trade-off: a moderate TPE vocabulary reduces per-step trace length by more than 80% while achieving the best overall performance on both horizontal (cross-node communication) and vertical (within-node execution stack) views, whereas more aggressive compression substantially degrades diagnosis quality. Further analyses under low-fault priors, strengthened baselines, modality ablations, explanation-quality checks, and tracing overhead show that TELLER provides a practical triage and evidence-localization substrate for LLM inference RCA.
제출 이력
확인된 버전만 표시합니다. 전체 제출 이력은 arXiv 원문에서 확인하세요.
- arXiv:2608.01975v1제출 시각 미확인
함께 살펴볼 논문
공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.
공통 태그로 연결된 공개 논문이 아직 없습니다.
토론
이 논문과 연결된 포럼 글이 아직 없습니다.