PyTorchKR Papers

최신 논문

총 1,512편
태그·기간 등 상세 필터

카테고리 탐색

로그인 후 이 태그 구독

arXiv:1805.00188공식 코드 · Papers with Code

Response Ranking with Deep Matching Networks and External Knowledge in Information-seeking Conversation Systems

Intelligent personal assistant systems with either text-based or voice-based conversational interfaces are becoming increasingly popular around the world. Retrieval-based conversation models have the advantages of returning fluent and informative responses. Most existing studies in this area are on open domain "chit-chat" conversations or task / transaction oriented conversations. More research is needed for information-seeking conversations. There is also a lack of modeling external knowledge beyond the dialog utterances among current conversational models. In this paper, we propose a learning framework on the top of deep neural matching networks that leverages external knowledge for response ranking in information-seeking conversation systems. We incorporate external knowledge into deep neural models with pseudo-relevance feedback and QA correspondence knowledge distillation. Extensive experiments with three information-seeking conversation data sets including both open benchmarks and commercial data show that, our methods outperform various baseline methods including several deep text matching models and the state-of-the-art method on response selection in multi-turn conversations. We also perform analysis over different response types, model variations and ranking examples. Our models and research findings provide new insights on how to utilize external knowledge with deep neural models for response selection and have implications for the design of the next generation of information-seeking conversation systems.

arXiv:1710.11063공식 코드 · Papers with Code

Grad-CAM++: Improved Visual Explanations for Deep Convolutional Networks

Over the last decade, Convolutional Neural Network (CNN) models have been highly successful in solving complex vision problems. However, these deep models are perceived as "black box" methods considering the lack of understanding of their internal functioning. There has been a significant recent interest in developing explainable deep learning models, and this paper is an effort in this direction. Building on a recently proposed method called Grad-CAM, we propose a generalized method called Grad-CAM++ that can provide better visual explanations of CNN model predictions, in terms of better object localization as well as explaining occurrences of multiple object instances in a single image, when compared to state-of-the-art. We provide a mathematical derivation for the proposed method, which uses a weighted combination of the positive partial derivatives of the last convolutional layer feature maps with respect to a specific class score as weights to generate a visual explanation for the corresponding class label. Our extensive experiments and evaluations, both subjective and objective, on standard datasets showed that Grad-CAM++ provides promising human-interpretable visual explanations for a given CNN architecture across multiple tasks including classification, image caption generation and 3D action recognition; as well as in new settings such as knowledge distillation.

arXiv:1805.05532공식 코드 · Papers with Code

Knowledge Distillation with Adversarial Samples Supporting Decision Boundary

Many recent works on knowledge distillation have provided ways to transfer the knowledge of a trained network for improving the learning process of a new one, but finding a good technique for knowledge distillation is still an open problem. In this paper, we provide a new perspective based on a decision boundary, which is one of the most important component of a classifier. The generalization performance of a classifier is closely related to the adequacy of its decision boundary, so a good classifier bears a good decision boundary. Therefore, transferring information closely related to the decision boundary can be a good attempt for knowledge distillation. To realize this goal, we utilize an adversarial attack to discover samples supporting a decision boundary. Based on this idea, to transfer more accurate information about the decision boundary, the proposed algorithm trains a student classifier based on the adversarial samples supporting the decision boundary. Experiments show that the proposed method indeed improves knowledge distillation and achieves the state-of-the-arts performance.

arXiv:1712.03942공식 코드 · Papers with Code

StrassenNets: Deep Learning with a Multiplication Budget

A large fraction of the arithmetic operations required to evaluate deep neural networks (DNNs) consists of matrix multiplications, in both convolution and fully connected layers. We perform end-to-end learning of low-cost approximations of matrix multiplications in DNN layers by casting matrix multiplications as 2-layer sum-product networks (SPNs) (arithmetic circuits) and learning their (ternary) edge weights from data. The SPNs disentangle multiplication and addition operations and enable us to impose a budget on the number of multiplication operations. Combining our method with knowledge distillation and applying it to image classification DNNs (trained on ImageNet) and language modeling DNNs (using LSTMs), we obtain a first-of-a-kind reduction in number of multiplications (over 99.5%) while maintaining the predictive performance of the full-precision models. Finally, we demonstrate that the proposed framework is able to rediscover Strassen's matrix multiplication algorithm, learning to multiply $2 \times 2$ matrices using only 7 multiplications instead of 8.

arXiv:2505.13878v4cs.LG공식 코드 · Papers with Code

InfiFPO: 대규모 언어 모델에서 선호 최적화를 통한 암시적 모델 융합

InfiFPO: Implicit Model Fusion via Preference Optimization in Large Language Models

모델 융합은 경량 학습(training) 방법을 통해 서로 다른 강점을 지닌 여러 대규모 언어 모델(LLM)을 더욱 강력한 하나의 통합 모델로 결합합니다. 모델 융합에 관한 기존 연구들은 주로 지도 미세조정(SFT)에 집중되어 있으며, LLM 성능 향상의 중요한 단계인 선호 정렬(PA)은 대체로 탐구되지 않은 상태로 남아 있습니다. WRPO와 같은 PA 단계의 소수 기존 융합 방법들은 소스 모델의 확률 정보를 버리고 응답 출력만을 활용하여 과정을 단순화합니다. 이러한 한계를 해결하기 위해, 본 논문에서는 암시적 모델 융합을 위한 선호 최적화 방법인 InfiFPO를 제안합니다. InfiFPO는 직접 선호 최적화(DPO)의 참조 모델을 시퀀스 수준에서 다중 소스 확률을 종합하는 융합 소스 모델로 대체하여, 기존 연구의 복잡한 어휘 정렬 문제를 우회하는 동시에 확률 정보를 유지합니다. 또한 확률 클리핑과 최대 마진(max-margin) 융합 전략을 도입함으로써, 피벗 모델이 소스 모델로부터 지식을 효과적으로 증류하는 동시에 인간 선호에 정렬할 수 있도록 합니다. 널리 사용되는 11개 벤치마크(benchmark)에 대한 종합적인 실험 결과, InfiFPO가 기존의 모델 융합 및 선호 최적화 방법들을 지속적으로 능가함을 입증했습니다. Phi-4를 피벗 모델로 사용했을 때, InfiFPO는 11개 벤치마크에서의 평균 성능을 79.95에서 83.33으로 향상시켜 수학, 코딩 및 추론 작업에서의 역량을 크게 개선했습니다.

arXiv:2502.03979v3cs.SD공식 코드 · Papers with Code

차원 및 범주형 모델 전반의 통합 음악 감정 인식을 향하여

Towards Unified Music Emotion Recognition across Dimensional and Categorical Models

음악 감정 인식(MER)에서 가장 중요한 과제 중 하나는 감정 라벨이 범주형(예: 행복, 슬픔) 라벨과 차원형(예: valence-arousal) 라벨을 포함하여, 감정 표현 방식 측면에서 데이터셋마다 이질적일 수 있다는 점에서 기인합니다. 본 논문에서는 이 두 가지 유형의 라벨을 결합하여 여러 데이터셋에서 학습될 수 있는 통합 멀티태스크 학습 프레임워크를 제안합니다. 이 프레임워크는 음악적 특징(즉, 조(key) 및 코드)과 MERT 임베딩을 결합한 효과적인 입력 표현을 사용합니다. 또한, 개별 데이터셋에서 학습된 교사 모델의 지식을 학생 모델로 전이하기 위해 지식 증류를 적용하여 여러 태스크에 걸친 일반화 능력을 향상시킵니다. 제안된 프레임워크를 검증하기 위해 MTG-Jamendo, DEAM, PMEmo, EmoMusic을 포함한 다양한 데이터셋에서 광범위한 실험을 수행했습니다. 실험 결과에 따르면 음악적 특징의 포함, 멀티태스크 학습, 지식 증류가 성능을 크게 향상시키는 것으로 나타났습니다. 특히 본 모델은 MTG-Jamendo 데이터셋에서 MediaEval 2021 대회의 최고 성능 모델을 포함한 최신(SOTA) 모델들을 능가합니다. 본 연구는 범주형 및 차원형 감정 라벨을 하나의 통합 프레임워크로 결합할 수 있게 하여 데이터셋 전반의 학습을 가능하게 함으로써 MER 분야에 유의미한 기여를 합니다.

arXiv:2505.12912v2cs.CV공식 코드 · Papers with Code

균일성 우선: 이미지 손상에 대응하는 비전-언어 모델의 균일성 인식 테스트 시점 적응

Uniformity First: Uniformity-aware Test-time Adaptation of Vision-language Models against Image Corruption

대조적 언어-이미지 사전학습(CLIP)과 같은 사전학습된 비전-언어 모델은 뛰어난 일반화 능력을 보여 왔으며, 이를 통해 제로샷 분류를 비롯한 다양한 응용이 가능해졌다. 그러나 비전-언어 모델은 입력 샘플이 학습 샘플과 큰 차이를 보이는 분포 변화(distribution shift)를 다루는 데에는 여전히 어려움을 겪는다. 우리는 CLIP이 날씨, 조명, 노이즈와 같은 센서 조건으로 인해 발생하는 현실적인 분포 변화의 일종인 이미지 손상(image corruption)에 특히 취약함을 발견했다. 이미지 손상은 예기치 않게 발생하며 그 유형이 매우 다양하기 때문에, 미세조정을 위해 테스트 분포에서 새로운 데이터셋을 수집하는 것은 비용이 매우 크다. 따라서 우리는 레이블이 없는 테스트 데이터로 테스트 분포에 즉각적으로 적응할 수 있는 제로샷 분류의 테스트 시점 적응(test-time adaptation, TTA)을 연구한다. CLIP을 위한 기존 TTA 방법은 주로 분포 변화를 해결하기 위해 이미지 및 텍스트 임베딩이나 예측을 수정하는 데 초점을 맞춘다. 이러한 방법은 분포 외(out-of-distribution)나 입력 이미지의 서로 다른 렌디션(rendition)과 같은 도메인 변화에는 적응할 수 있지만, 이미지 손상처럼 도메인 변화를 넘어서는 분포 변화에는 적응하지 못한다. 우리는 정보량과 관련된 이미지 임베딩의 균일성(uniformity)이 도메인 변화와 그 밖의 분포 변화를 구분하는 핵심 요인임을 발견했다. 이미지 손상에 대한 적응을 가능하게 하기 위해, 우리는 균일성 인식 정보 균형 TTA(uniformity-aware information-balanced TTA, UnInfo)라는 새로운 방법을 제안한다. 분포 변화를 해결하기 위해 균일성 인식 신뢰도 최대화, 정보 인식 손실 균형 조정, 그리고 지수 이동 평균(EMA) 교사 모델로부터의 지식 증류를 도입한다. 실험을 통해 UnInfo가 균일성 측면에서 정보를 보존함으로써 이미지 손상 상황에서의 정확도를 향상시킴을 보인다. 코드는 https://github.com/kzkadc/uninfo 에서 확인할 수 있다.

arXiv:2505.12781v5cs.CL공식 코드 · Papers with Code

토큰 하나가 1,000토큰 이상의 가치: Low-Rank Clone을 통한 효율적 지식 증류

A Token is Worth over 1,000 Tokens: Efficient Knowledge Distillation through Low-Rank Clone

고성능 소형 언어 모델(SLM) 학습은 더 큰 교사 모델로부터 지식 증류와 가지치기를 적용하더라도 여전히 비용이 많이 든다. 기존 연구는 종종 세 가지 핵심 과제에 직면한다: (1) 하드 가지치기로 인한 정보 손실, (2) 표현의 비효율적 정렬, (3) 특히 Feed-Forward Network(FFN)에서 나오는 정보가 풍부한 활성화의 미활용. 이를 해결하기 위해 우리는 강력한 교사 모델과 행동적 등가를 목표로 SLM을 구성하는 효율적인 사전학습 방법인 Low-Rank Clone(LRC)을 제안한다. LRC는 교사 가중치를 압축하여 소프트 가지치기를 가능하게 하고, FFN 신호를 포함해 학생 활성화를 교사와 정렬하는 활성화 클론을 함께 수행하는 일련의 저랭크 투영 행렬을 학습한다. 이 통합 설계는 명시적 정렬 모듈 없이도 지식 전이를 극대화한다. 오픈소스 교사 모델(예: Llama-3.2-3B-Instruct, Qwen2.5-3B/7B-Instruct)에 대한 광범위한 실험에서 LRC는 수조 토큰으로 학습된 최신 모델과 동등하거나 이를 능가하며, 200억 토큰만 사용해 1,000배 이상의 학습 효율을 달성한다. 코드와 모델 체크포인트는 https://github.com/CURRENTF/LowRankClone 및 https://huggingface.co/collections/JitaiHao/low-rank-clone-lrc-6828389e96a93f1d4219dfaf 에서 이용할 수 있다.

arXiv:2406.17538v4cs.CV공식 코드 · Papers with Code

Three-Stream Temporal-Shift Attention Network Based on Self-Knowledge Distillation for Micro-Expression Recognition

Micro-expressions are subtle facial movements that occur spontaneously when people try to conceal real emotions. Micro-expression recognition is crucial in many fields, including criminal analysis and psychotherapy. However, micro-expression recognition is challenging since micro-expressions have low intensity and public datasets are small in size. To this end, a three-stream temporal-shift attention network based on self-knowledge distillation is proposed in this paper. Firstly, to address the low intensity of muscle movements, we utilize learning-based motion magnification modules to enhance the intensity of muscle movements. Secondly, we employ efficient channel attention modules in the local-spatial stream to make the network focus on facial regions that are highly relevant to micro-expressions. In addition, temporal shift modules are used in the dynamic-temporal stream, which enables temporal modeling with no additional parameters by mixing motion information from two different temporal domains. Furthermore, we introduce self-knowledge distillation into the micro-expression recognition task by introducing auxiliary classifiers and using the deepest section of the network for supervision, encouraging all blocks to fully explore the features of the training set. Finally, extensive experiments are conducted on five publicly available micro-expression datasets. The experimental results demonstrate that our network outperforms other existing methods and achieves new state-of-the-art performance. Our code is available at https://github.com/GuanghaoZhu663/SKD-TSTSAN.

arXiv:2412.08949v4cs.CV공식 코드 · Papers with Code

튜닝된 역방향 지식 증류: 크로스모달 튜너를 활용한 멀티모달 산업 이상 탐지 향상

Tuned Reverse Distillation: Enhancing Multimodal Industrial Anomaly Detection with Crossmodal Tuners

멀티모달 산업 이상 탐지에서 기존 지식 증류(KD) 기반 방법들이 융합된 특징으로 교사 표현을 생성할 때 단일 모달리티에만 존재하는 이상을 포착하지 못하는 문제를 해결하기 위해, 각 모달리티에 독립 브랜치를 할당하는 Multi-branch 설계와 Crossmodal Filter·Amplifier로 구성된 Crossmodal Tuner를 도입한 Tuned Reverse Distillation(TRD)을 제안한다. MVTec-3D AD, Eyecandies 등 멀티모달 AD 데이터셋 실험에서 기존 최첨단 방법 대비 우수한 이상 탐지 및 위치 추정 성능을 달성함을 검증하였다.

arXiv:2506.23921v5cs.CL공식 코드 · Papers with Code

대규모 언어 모델에서 진실의 트릴레마

The Trilemma of Truth in Large Language Models

LLM 내부 확률적 지식의 진위를 탐칭하는 기존 방법의 세 가지 결함 있는 가정을 분석하고, 다중 인스턴스 학습(MIL)과 conformal prediction을 결합한 sAwMIL로 진술을 참·거짓·둘 다 아님으로 분류하는 다중 클래스 탐칭 프레임워크를 제안한다. 16개 오픈소스 LLM 평가에서 일반 탐칭은 신뢰 가능하고 전이 가능한 진위 방향을 제공하지 못하며, 진실과 거짓은 대칭적으로 인코딩되지 않고 참·거짓과 구별되는 제3의 신호가 존재함을 확인했다.

arXiv:2410.02548v4stat.ML공식 코드 · Papers with Code

지역 Flow Matching 생성 모델

Local Flow Matching Generative Models

확산 과정의 변분적 관점에서 Flow Matching(FM)을 단계적으로 분해한 지역 Flow Matching(LFM)을 제안하며, 각 단계의 FM 서브모델이 더 가까운 분포를 보간해 더 작은 모델로 효율적 학습이 가능하다. 생성 분포와 실제 데이터 분포 사이 $χ^2$-발산에 대한 이론적 보장을 제시하고, 표·이미지 비조건부 생성과 로봇 조작 정책 조건부 생성에서 FM과 경쟁력 있는 성능을 보였으며 단계적 구조는 지식 증류로 생성 가속에도 적합하다.