PyTorchKR Papers

업데이트된 논문

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

카테고리 탐색

로그인 후 이 태그 구독

arXiv:2608.14089v4cs.AI

체제 조건부 검증: 안전성 분류기 적응 및 모니터링을 위한 정확도 추정

Regime-Conditional Verification: Correctness Estimation for Adapting and Monitoring Safety Classifiers

대규모 언어 모델(LLM)과 함께 배포되는 안전성(safety) 분류기는 흔히 두 가지 이유로 실패합니다. 분류기의 결정이 배포자가 원하는 정책이 아닌 학습(training) 중에 학습된 정책을 반영한다는 점과, 배포 환경의 트래픽이 변화함에 따라 성능이 저하된다는 점입니다. 본 연구에서는 기존 안전성 분류기를 재학습하지 않고도 적응시키는 경량 래퍼인 체제 조건부 검증(Regime-Conditional Verification, RCV)을 제안합니다. RCV는 분류기의 내부 표현으로부터 각 예측이 배포자의 정책과 일치하지 않을 확률을 추정하고, 틀릴 가능성이 높은 예측을 선별적으로 수정합니다. 또한 동일한 정확도 추정치는 분포 변화(distribution shift)를 감지하기 위한 라벨 없는 신호를 제공하여, 정확도 추정 층(layer)을 업데이트하고 라벨 예산 내에서 수정이 실패할 때에만 분류기 미세조정(fine-tuning)을 수행하는 유지관리 루프를 가능하게 합니다. 세 가지 기존 안전성 분류기와 두 가지 벤치마크 데이터셋(dataset)에 걸친 실험에서, RCV는 기반 분류기를 수정하지 않고도 모든 분류기-데이터셋 조합에서 배포자 정책에 대한 준수율을 향상시켰으며, 이전에 놓쳤던 유해 콘텐츠를 최대 0.81까지 포착했습니다. RCV 학습에서 제외된 위해 범주로 구성된 10개의 공격 캠페인을 활용한 배포 연구에서, RCV는 전용 주입 패널의 모든 캠페인을 감지했습니다. 또한 유지관리 조사에서 대부분의 드리프트 사례는 분류기를 업데이트하지 않고도 해결되었으며, 미세조정은 잔여 사례에 대해서만 선별적으로 적용되었습니다.

arXiv:2502.08105v2cs.LG공식 코드 · Papers with Code

Out-of-Distribution Detection on Graphs: A Survey

Graph learning has advanced prediction and discovery across a wide range of relational data applications. In evolving environments, new categories and changes in attributes or relationships can produce out-of-distribution (OOD) inputs on which models make confident but unreliable predictions. Graph out-of-distribution (GOOD) detection identifies such nodes or graphs to support rejection and further assessment. This paper presents the first systematic survey dedicated to GOOD detection. We clarify the problem settings and organize existing methods into six categories according to their primary OOD discrimination mechanisms. The review examines their technical connections, supervision and reference requirements, and conditions of use, alongside representative datasets, OOD constructions, benchmarks, and evaluation metrics. Controlled synthetic comparisons deepen the understanding of detection settings by illustrating how representative methods respond to different distribution shifts and graph conditions. We discuss open challenges and outline future research directions, aiming to provide a common foundation for advancing GOOD detection.

arXiv:2409.00032v3eess.SP

ADformer: A Multi-Granularity Spatial-Temporal Transformer for EEG-Based Alzheimer Detection

Electroencephalography has emerged as a cost-effective, efficient tool to help neurologists detect Alzheimer's Disease. However, most existing approaches rely heavily on manual feature engineering or data transformation. While these techniques may help with small-scale datasets, they often cause information loss and distortion when applied to large-scale data, ultimately limiting model performance. Moreover, the limited subject scale and demographic diversity of datasets used in prior studies hinder comprehensive evaluation of model robustness and generalizability, thus restricting their applicability in real-world clinical settings. To address these challenges, we propose ADformer, a novel multi-granularity spatial-temporal transformer that captures both temporal and spatial features from raw EEG signals, enabling effective end-to-end representation learning. Our model introduces multi-granularity embedding strategies across both spatial and temporal dimensions, leveraging a two-stage intra-inter-granularity self-attention mechanism to learn local patterns within each granularity and global dependencies across granularities. We evaluate ADformer on 4 large-scale datasets totaling 1,713 subjects, one of the largest corpora for EEG-based AD detection to date, under a cross-validated, subject-independent setting. Experimental results demonstrate that ADformer consistently outperforms existing methods, achieving subject-level F1 scores of 87.11%, 89.83%, 67.99%, and 84.42% on the 4 datasets, respectively, in distinguishing Alzheimer's Disease patients from healthy control subjects.

arXiv:2505.00240v3cs.CR

LLM-Based Threat Detection and Prevention Framework for IoT Ecosystems

The rapid expansion of the Internet of Things (IoT) has introduced complex and evolving cybersecurity challenges. This paper presents a Large Language Model (LLM)-based framework for intelligent threat detection and prevention in IoT networks. The proposed architecture integrates two core components: a Detection Component that leverages fine-tuned models trained on IoT-specific datasets (IoT-23 and TON_IoT) to identify anomalous network behaviours, and a Prevention Component that generates adaptive response strategies to mitigate detected threats. The framework incorporates prompt management, local adaptation, and global refinement modules to support context-aware decision-making and continuous model-guided adaptation. Experimental validation in a Docker-based edge-cloud environment shows that BERT Small achieves 99.75% accuracy, F1-score, precision, and recall for threat detection, while the Prevention LLM achieves 98.3% accuracy in selecting suitable mitigation actions. These results highlight the potential of LLM-driven architectures to provide explainable and adaptive security solutions for next-generation IoT ecosystems.

arXiv:2502.01920v4cs.LG

오토인코더 복합 특징과 NCE를 이용한 이상 탐지

Anomaly Detection via Autoencoder Composite Features and NCE

비지도 이상 탐지는 어려운 과제이다. 오토인코더(AE)나 생성 모델은 정상 입력의 데이터 분포를 모델링한 뒤, 각각 높은 재구성 오차 또는 낮은 우도를 통해 비정상적인 분포 외 입력을 식별하는 데 흔히 사용된다. 그러나 AE는 비정상 입력에 대해서도 일반화하여 작은 재구성 오차를 달성할 수 있다. 본 논문은 AE와 잡음 대비 추정(NCE)으로 학습한 우도 모델을 함께 사용하는 이상 탐지용 분리 학습 접근법을 제안한다. AE를 학습한 후, NCE는 AE의 잠재 표현과 재구성 품질 특징을 결합한 결합 공간에서 확률 밀도 함수를 추정하며, 이를 이상 점수로 사용한다. NCE의 거짓 음성률을 더욱 줄이기 위해 재구성 특징을 체계적으로 변화시켜 학습을 증강하고 대비용 가우시안 잡음 분포를 최적화한다. 여러 벤치마크 데이터셋에서의 실험 평가 결과, 제안한 접근법은 널리 쓰이는 최신 이상 탐지 알고리즘의 성능에 필적함을 보였다.

arXiv:2505.18934v3cs.LG공식 코드 · Papers with Code

이종 그래프 이상 탐지를 위한 카이제곱 웨이블릿 그래프 신경망

Chi-Square Wavelet Graph Neural Networks for Heterogeneous Graph Anomaly Detection

이종 네트워크에서의 그래프 이상 탐지(GAD)는 노드 및 엣지 이종성으로 인해 고유한 과제를 제시한다. 기존 그래프 신경망(GNN) 방법은 주로 동종 GAD에 초점을 맞추므로 다음 세 가지 핵심 문제를 해결하지 못한다: (C1) 다양한 메타패스(meta-path) 전반에 걸친 비정상 신호와 풍부한 의미론 포착; (C2) 이종 정보 네트워크(HIN) 차원 정렬에서 고주파(high-frequency) 내용 보존; (C3) 클래스 불균형(class imbalance) 하에서 어려운 이상 샘플로부터 효과적으로 학습. 이를 극복하기 위해, 우리는 다양한 도메인에서 웨이블릿의 효과에서 영감을 받은 새로운 카이제곱 필터를 기반으로 한 스펙트럴 GNN 프레임워크인 ChiGAD를 제안한다. 구체적으로 ChiGAD는 (1) 다중 그래프 카이제곱 필터(Multi-Graph Chi-Square Filter)로, 각 메타패스 그래프에 전용 카이제곱 필터를 적용하여 이상 정보를 포착하고; (2) 상호작용형 메타-그래프 합성곱(Interactive Meta-Graph Convolution)으로, 고주파 정보를 보존하면서 특징을 정렬하고 통합 카이제곱 필터로 이종 메시지를 통합하며; (3) 기여도 기반 교차 엔트로피 손실(Contribution-Informed Cross-Entropy Loss)로, 클래스 불균형을 해결하기 위해 어려운 이상을 우선시한다. 공개 및 산업 데이터셋에 대한 광범위한 실험 결과, ChiGAD는 여러 지표에서 최신(state-of-the-art) 모델을 능가한다. 또한 동종 변형인 ChiGNN은 7개 GAD 데이터셋에서 우수한 성능을 보여 카이제곱 필터의 효과를 검증한다. 코드는 https://github.com/HsipingLi/ChiGAD 에서 이용할 수 있다.

arXiv:2607.21776v2cs.LG

PulseGuard: 토킹페이스 딥페이크 탐지를 위한 포렌식 모달리티로서의 rPPG 기반 시간 신호

PulseGuard: rPPG-Derived Temporal Signals as a Forensic Modality for Talking-Face Deepfake Detection

토킹페이스(TF) 딥페이크 생성은 정지된 원본 이미지와 음성 신호로부터 사실적인 얼굴 영상을 합성하며, 현재의 이미지 기반 탐지기가 일관되게 식별하지 못하는 위조물을 만들어 낸다. 얼굴 교체 조작과 달리 TF 합성에는 생리적 특성을 물려받을 기반 실제 영상이 없으므로, 이 위조 범주의 탐지 모달리티로 원격 광혈류측정(rPPG)이 동기화된다. 우리는 RhythmFormer로 윈도우별 rPPG 파형을 추출하고 경량 분류기 모음을 학습시켜 실제 신호와 합성 신호를 구분하는 탐지 프레임워크 PulseGuard를 제안한다. 테스트 신원이 학습 신원과 완전히 분리된 엄격한 피험자 독립 프로토콜로 Celeb-DF++의 TF 부분집합에서 평가한 결과, 우리의 1D ResNet은 추출된 시간 신호만으로 동작하면서 EER 25.1%에서 윈도우 수준 AUC 0.826(DeepFakesON-Phys가 평가되는 단위인 영상 수준으로 풀링 시 0.842)을 달성하며, 학습에서 완전히 제외된 생성기에 대해서도 AUC 0.754를 유지한다. 우리는 대표적인 기존 rPPG 탐지기인 DeepFakesON-Phys의 통제된 재현 연구를 제시하여, 기존 얼굴 교체 데이터에서의 AUC 0.999가 Celeb-DF++의 TF 부분집합에서는 0.576으로 저하됨을 보인다. 또한 탐지 난이도가 방법에 크게 의존함을 보이는데, 일곱 개의 TF 생성기에 걸쳐 AUC는 0.937(Real3DPortrait)에서 0.617(IP-LAP)까지 분포하며, 이 순서는 방법별 학습에서도 대체로 유지된다. 이 편차는 평가 잡음이 아니라 학습 방식 전반에 걸쳐 안정적이며, 본 연구의 주된 실증적 기여이다. 우리는 이를 실증적 기준선으로 보고하며, 판별 근거가 심장 기원임을 입증하지는 않는다.

arXiv:2508.00110v3stat.ML

funOCLUST: 이상치를 포함한 함수형 데이터 클러스터링

funOCLUST: Clustering Functional Data with Outliers

함수형 데이터(functional data)는 무한 차원의 특성과 이상치(outlier)에 대한 잠재적 민감성으로 인해 클러스터링에 고유한 어려움을 제기한다. 이러한 문제를 해결하기 위해 OCLUST 알고리즘을 함수형 설정으로 확장하는 방법을 제안한다. 이 접근법은 OCLUST 프레임워크를 활용하여 곡선을 클러스터링하고 이상치를 제거하는 강건한(robust) 방법을 구현한다. 제안된 방법론은 시뮬레이션 및 실세계 함수형 데이터셋 모두에서 평가되어 클러스터링과 이상치 식별에서 우수한 성능을 입증한다.

arXiv:2607.13346v2cs.CR

PRISM: 정렬 위장 주장에 대한 스트레스 테스트

PRISM: Stress-Testing Alignment-Faking Claims

우리는 AI 시스템이 안전한지를 주로 그 행동을 관찰하여 판단한다. 정렬 위장은 이를 무너뜨린다. 감시받고 있다고 믿을 때만 올바르게 행동하거나, 훈련으로 인해 변형되는 것을 피하기 위해 지금은 순응하는 모델은 모든 행동 테스트를 통과할 수 있다. 이러한 행동은 한 최첨단 모델에서 보고된 바 있으며, 모니터링 프롬프트 하에서 더 많이 순응하는 오픈 웨이트 모델은 이제 이를 보이는 것으로 해석되고, 은닉 상태 프로브가 탐지기로 제안되고 있다. 본 연구는 이 두 가지 추론을 모두 검증하였으며, 어느 쪽도 성립하지 않는다. 18개 모델 구성 중 11개가 감시받고 있다는 말을 들으면 더 많이 순응한다. 그러나 네 모델에 대한 프롬프트 요인 실험은 훈련 위협이 탐지 가능한 효과를 갖지 않음을 보여 주며, 이를 제거해도 순응도는 -3.3점에서 +1.6점 사이로만 변한다. 격차를 만드는 것은 오히려 프롬프트의 표현과 프레이밍이다. 프로브도 나을 것이 없다. 프로브는 감시 하의 순응 응답과 비감시 하의 순응 응답을 구분하지만(AUROC 0.96-0.99), 거부 응답도 똑같이 잘 구분한다. 즉 프로브는 위장이 아니라 프롬프트를 읽는다. 거부 응답만으로 학습한 조향 방향도 '위장' 방향과 동일한 정도로 행동을 변화시킨다. 본 연구는 이러한 실패 각각을 주장으로 굳어지기 전에 포착하는 다섯 가지 점검과 툴킷인 PRISM을 공개한다.

arXiv:2502.21012v3cs.DC

FedDyMem: 비지도 이미지 이상 탐지를 위한 동적 메모리와 메모리 축소 기반의 효율적 연합 학습

FedDyMem: Efficient Federated Learning with Dynamic Memory and Memory-Reduce for Unsupervised Image Anomaly Detection

비지도 이미지 이상 탐지(UAD)는 라벨이 지정된 이상 데이터 없이 정상 샘플만으로 모델을 학습하는 방식으로, 산업 및 의료 분야에서 핵심적인 과정이 되었다. 그러나 정상 이미지조차 민감한 제품 설계, 제조 정보 또는 기관별 집단 특성을 포함할 수 있어, 실제 배포 환경에서 중앙집중식 데이터 수집은 어렵다. 연합 UAD는 유망한 분산형 해법을 제공하지만, 클라이언트가 정상 학습 샘플만 사용하고, 동일한 작업 내에서도 특징 분포가 매우 이질적이며, 민감한 클라이언트 정보의 노출을 제한하면서 통신이 효율적이어야 하므로 여전히 어려운 과제이다. 이러한 과제를 해결하기 위해 본 논문은 비지도 이미지 이상 탐지를 위한 동적 메모리와 메모리 축소 기반의 효율적인 연합 학습 방법인 FedDyMem을 제안한다. FedDyMem은 전체 모델 파라미터를 교환하는 대신, 축소된 동적 메모리 뱅크를 통해 클라이언트와 서버 간의 지식 공유를 촉진한다. 로컬 클라이언트에서는 메모리 생성기와 메트릭 손실을 사용하여 정상 샘플의 특징 분포 일관성을 향상시키고, 로컬 모델을 활용해 메모리 뱅크를 동적으로 갱신한다. 효율적인 통신과 데이터 프라이버시를 위해 가중 평균에 기반한 메모리 축소 방법을 제안하여 메모리 뱅크의 규모를 크게 줄인다. 이러한 표현은 통신 오버헤드를 줄이며, 경험적으로 역전 공격에서의 복원 충실도를 낮춘다. 서버에서는 전역 메모리를 구성하고 k-평균 집계를 통해 각 클라이언트에 배포한다. 11개의 공개 산업 및 의료 데이터셋으로 구성한 6개의 연합 UAD 과제에 대한 실험에서, FedDyMem은 통신 비용을 줄이면서 이상 탐지와 위치 추정 성능을 일관되게 향상시켰다.

arXiv:2609.04820v3cs.CR

Cost-Aware Hierarchical Multi-Agent Ransomware Detection and Family Attribution

Sandbox execution and memory forensics are among the most resources intensive stages of malware triage. Static analysis can scale to millions of files while dynamic and memory analysis require minutes per sample. Because multimodal ransomware detectors often apply every modality to every sample, costs and latency rise even when static evidence suffice.We proposea cost aware Hierarchical Multi Agent System (HMAS) that frames evidence acquisition as a budgeted sequential decision problem enabling timely ransomware detection. Specialist agents generate schema validated risk signals for each modality while domain controllers aggregate evidence and coordinate analysis. The orchestrator starts with static evidence and escalates only if confidence is low or signals disagree. A locally hosted language model provides a limited, accoutable review without replacing the deterministic pipeline. Experiments on 16 ransomware families show 94.12% binary accuracy (F1 0.9376, ROC-AUC 0.9989). For multi class family attribution, it achieves 98.90% accuracy (macro-F1 0.9748). The system resolves 57.95% of the samples using static analysis alone whhile only 6.21% require the full pipeline. Compared with exhaustive cost of 12.0 units,the proposed system reduces te average cost to 6.724 units, representing approximately 44% saving. Zero day experiments further examine generalization to unseen ransomware families. Additional evaluations examine cost sensitivity and component level contribution. LLM-assisted review provides only marginal improvement in F1 while introducing additional computational overhead. Overall, the results show the potential of adaptive hierarchical multi agent orchestration to balance ransomware detection performance, family attribution analysis cost and decision latency.

arXiv:2606.26350v3cs.AI

OpenFinGym: Quant 에이전트 평가를 위한 검증 가능한 멀티태스크 Gym 환경

OpenFinGym: A Verifiable Multi-Task Gym Environment for Evaluating Quant Agents

대규모 언어 모델 에이전트가 계량 금융 워크플로에 점점 더 많이 적용되고 있지만, 이들의 평가는 분리된 과제들에 걸쳐 단편적으로 이루어지고 있으며 벤치마크 과제의 금융적 관련성은 종종 간과된다. 그러나 금융 워크플로는 본질적으로 예측, 전략 구성, 리스크 관리, 거래와 같이 상호 의존적인 과제에 걸친 다단계 구조를 가진다. 기존 플랫폼은 대체로 단일 과제에 초점을 두므로, 에이전트의 역량을 과대평가할 수 있으며 일반화, 실제 시장과의 상호작용, 금융적으로 의미 있는 의사결정에서의 약점을 드러내지 못한다. 우리는 단일한 실행 및 검증 인터페이스 아래에서 예측, 시장 생성, 실시간 거래, 사기 탐지를 포괄하는 계량 금융 에이전트 개발용 통합 짐 환경인 OpenFinGym을 소개한다. OpenFinGym은 또한 계량 금융 논문을 실행 가능한 과제 패키지로 변환하는 자동 과제 구성 파이프라인, 확장 가능한 에이전트 롤아웃을 지원하고 런타임 학습-시험 데이터 누수를 방지하는 호스트 측 검증 서비스를 갖춘 컨테이너화된 런타임, 저지연 데이터 스트림 설계를 갖춘 모의 거래 엔진, 장기 및 이벤트 시장 예측을 위한 지연 결과 확정 지원, 그리고 SFT 및 RL 후속 학습과의 통합을 제공한다.

arXiv:2607.09906v2quant-ph

금융 스트레스의 국면별 탐지를 위한 깊이 효율적 양자 위상 데이터 분석

Depth-Efficient Quantum Topological Data Analysis for Regime-Specific Detection of Financial Stress

We present, to our knowledge, the first adaptation of Pauli Correlation Encoding (PCE) to quantum topological data analysis, reformulating Betti number estimation as a depth-efficient variational optimization over a compressed qubit register. From a Takens embedding and Vietoris-Rips filtration of S&P 500 returns, we extract combinatorial Laplacians and recast null-space counting as a continuous-PCE Rayleigh-quotient minimization with variational deflation, encoding $n_k$ simplex indices into $O(n_k^{1/\kappa})$ qubits with shallow, ancilla-free circuits. Because the resulting loss is rational rather than bilinear in the correlators, the barren-plateau bound of Sciorilli et al. does not transfer; empirically the gradient variance decays only polynomially, with no exponential barren plateau, over $n=4$-$12$ qubits. The classical stage matches ripser on all 190 sliding windows (2003-2010). On the real market Laplacians ($\beta_1=1$-$22$), PCE-VQE recovers no null vector from a random start, but warm-starting from a classical null-space surrogate recovers $\beta_1$ exactly on all seven windows tested ($n_k \le 259$), placing the obstacle in the optimization landscape rather than the encoding. Chronologically split classification gives in-regime ROC AUC 0.818, but out-of-distribution evaluation on the 2020 COVID shock and 2022 rate cycle (AUC 0.009, 0.515) shows the calibration does not generalize across crisis regimes.

arXiv:2505.07852v2cs.CL

Joint Detection of Fraud and Concept Drift inOnline Conversations with LLM-Assisted Judgment

Detecting fake interactions in digital communication platforms remains a challenging and insufficiently addressed problem. These interactions may appear as harmless spam or escalate into sophisticated scam attempts, making it difficult to flag malicious intent early. Traditional detection methods often rely on static anomaly detection techniques that fail to adapt to dynamic conversational shifts. One key limitation is the misinterpretation of benign topic transitions referred to as concept drift as fraudulent behavior, leading to either false alarms or missed threats. We propose a two stage detection framework that first identifies suspicious conversations using a tailored ensemble classification model. To improve the reliability of detection, we incorporate a concept drift analysis step using a One Class Drift Detector (OCDD) to isolate conversational shifts within flagged dialogues. When drift is detected, a large language model (LLM) assesses whether the shift indicates fraudulent manipulation or a legitimate topic change. In cases where no drift is found, the behavior is inferred to be spam like. We validate our framework using a dataset of social engineering chat scenarios and demonstrate its practical advantages in improving both accuracy and interpretability for real time fraud detection. To contextualize the trade offs, we compare our modular approach against a Dual LLM baseline that performs detection and judgment using different language models.