PyTorchKR Papers

최신 논문

총 2편
태그·기간 등 상세 필터

카테고리 탐색

로그인 후 이 태그 구독

arXiv:2610.03383v1cs.AI

CVE2AP: 대규모 언어 모델을 통한 PDDL 인코딩 공격 경로 자동 생성

CVE2AP: Automated Generation of PDDL-Encoded Attack Paths via Large Language Models

공격 경로(Attack Path, AP) 모델링은 사이버 보안 분석의 핵심으로, 취약점 활용(exploitation), 공격 진행 과정 및 잠재적 영향에 대한 자동화된 추론을 위해 AP를 정형화되고 기계 검증 가능한 표현으로 인코딩하는 데 기획 도메인 정의 언어(PDDL)가 널리 채택되어 왔습니다. 그러나 기존의 AP 모델링 방식은 주로 전문가 주도의 수동 구축에 의존하여 확장성이 제한되고 빠르게 진화하는 사이버 위협의 속도를 따라잡는 데 한계가 있습니다. 대규모 언어 모델(LLM)은 방대한 사전학습 지식과 추론 능력을 바탕으로 위협 인텔리전스를 해석하고 정형 표현으로 변환할 수 있어 유망한 대안으로 꼽힙니다. 본 논문에서는 자연어 CVE(Common Vulnerability Exposure) 설명으로부터 PDDL 인코딩 공격 경로를 자동 생성하는 LLM 기반 접근 방식인 CVE2AP를 제안합니다. CVE2AP는 구조화된 프롬프팅을 활용하며, 플래너(planner)가 보고한 구문 및 해결 가능성 오류를 사용해 생성된 경로를 반복적으로 개선하는 오류 피드백 메커니즘을 통합합니다. 다양한 LLM과 생성 구성을 대상으로 체계적인 실증 평가를 수행하여 토큰(token) 소비량 및 생성 시간과 함께 구문적, 해결 가능성, 의미론적 차원에 걸친 생성 품질을 평가했습니다. 실험 결과, CVE2AP는 고품질의 PDDL 인코딩 공격 경로를 효과적으로 생성하여 LLM-as-expert 평가 기준 최대 86.9%의 구문 정확도, 78.6%의 해결 가능성, 93.1%의 의미론적 정확도를 달성함을 보여줍니다. 또한 GPT-5.5가 최적의 품질-비용 절충안을 제공하며 오류 피드백이 가장 일관된 품질 향상을 이끌어냄을 확인했습니다.

arXiv:2606.29700v1cs.AI

Toward Secure and Reliable PDDL Formalization of Large Language Models with Planner-in-the-Loop Feedback

Planning often requires symbolic specifications that are both executable and verifiable. For large language models deployed in autonomous or decision-support systems, failures in such formalization may lead to unverifiable decisions, execution failures, or unsafe downstream behavior. We present NL-PDDL-Bench, a multi-domain benchmark for natural-language-to-PDDL specification construction with planner-verified executability and controlled difficulty scaling by object count. We further propose a planner-in-the-loop framework that uses validator and planner diagnostics to revise non-executable specifications through localized edits. Building on this infrastructure, we develop a planner-grounded optimization recipe that combines parameter-efficient Low-Rank Adaptation supervised fine-tuning, offline planner-derived preference pairs for Direct Preference Optimization, and inference-time planner-in-the-loop repair, without requiring online planner calls during training. We also provide a unified evaluation suite for parseability, solvability, specification similarity, and outcome-aware plan-level consistency against planner references. Experiments on representative model families show substantial gains in planner success and plan-level agreement, with improved robustness under difficulty scaling and cross-domain variation. These results highlight the value of externally verifiable formalization for reliable deployment of LLMs in safety- or security-sensitive planning systems. Code and data are available at: https://github.com/ibasicplan/NL-PDDL-Bench