本文提出 CLAA,用有监督对比损失训练 transformer 以检测 API 评论方面,并在 Stack Overflow 数据和开发者研究中验证其优于 SOTA。
摘要:
我们提出了一种名为 CLAA 的新颖方法,用于 API 评论中的 API 方面检测,该方法利用以有监督对比损失目标函数训练的 transformer 模型。我们通过性能分析和影响分析评估 CLAA。在性能分析方面,我们使用了一个从 Stack Overflow 收集的开发者讨论基准数据集,并将结果与使用最先进 transformer 模型获得的结果进行比较。实验表明,对比学习能够显著提升 transformer 模型在检测 Performance、Security、Usability 和 Documentation 等方面时的性能。在影响分析方面,我们开展了实证研究和开发者研究。在随机选取并人工标注的 200 条在线评论上,CLAA 达到 92% 的准确率,而 SOTA 基线达到 81.5%。根据涉及 10 名参与者的开发者研究,使用“Stack Overflow + CLAA”提高了 API 选择过程中的准确率和信心。复现包:https://github.com/disa-lab/Contrastive-Learning-API-Aspect-ASE2023
英文摘要:
We present a novel approach - CLAA - for API aspect detection in API reviews that utilizes transformer models trained with a supervised contrastive loss objective function. We evaluate CLAA using performance and impact analysis. For performance analysis, we utilized a benchmark dataset on developer discussions collected from Stack Overflow and compare the results to those obtained using state-of-the-art transformer models. Our experiments show that contrastive learning can significantly improve the performance of transformer models in detecting aspects such as Performance, Security, Usability, and Documentation. For impact analysis, we performed empirical and developer study. On a randomly selected and manually labeled 200 online reviews, CLAA achieved 92% accuracy while the SOTA baseline achieved 81.5%. According to our developer study involving 10 participants, the use of 'Stack Overflow + CLAA' resulted in increased accuracy and confidence during API selection. Replication package: https://github.com/disa-lab/Contrastive-Learning-API-Aspect-ASE2023
Contrastive variational information bottleneck for aspect-based sentiment analysis
Shenzhen Institutes of Advanced Technology, Chinese Academy of Sciences(中国科学院深圳先进技术研究院);University of Chinese Academy of Sciences(中国科学院大学);Harbin Institute of Technology (Shenzhen)(哈尔滨工业大学(深圳))
FCKT: Fine-Grained Cross-Task Knowledge Transfer with Semantic Contrastive Learning for Targeted Sentiment Analysis
School of Artificial Intelligence, Beihang University, China(北京航空航天大学人工智能学院);School of Computer Science and Engineering, Beihang University, China(北京航空航天大学计算机科学与工程学院);Xidian University, China(西安电子科技大学);Zhongguancun Laboratory, China(中关村实验室)
Enhancing Topic Interpretability for Neural Topic Modeling through Topic-wise Contrastive Learning
Peking University(北京大学);Software Engineering Institution(软件工程研究院);Key Lab of High Confidence Software Technologies, Ministry of Education(高可信软件技术重点实验室(教育部));Center on Frontiers of Computing Studies(计算机前沿研究中心);National Engineering Research Center of Software Engineering(国家软件工程工程研究中心)
Deep Contrastive One-Class Time Series Anomaly Detection
Beihang University(北京航空航天大学);University of New South Wales(新南威尔士大学);Hangzhou Innovation Institute, Beihang University(北京航空航天大学杭州创新研究院);China University of Geosciences in Beijing(中国地质大学(北京))
SimCLF: A Simple Contrastive Learning Framework for Function-level Binary Embeddings
Army Engineering University of PLA(中国人民解放军陆军工程大学);National Computer Network and Information Security Management Center(国家计算机网络与信息安全管理中心);Shanghai Jiao Tong University(上海交通大学);University Of Science & Technology Beijing(北京科技大学)
Towards Graph Contrastive Learning: A Survey and Beyond
Peking University(北京大学);University of International Business and Economics(对外经济贸易大学);University of California, Los Angeles(加利福尼亚大学洛杉矶分校);University of Kansas(堪萨斯大学);Chinese Academy of Sciences(中国科学院);Nankai University(南开大学)
SupReMix: Supervised Contrastive Learning for Medical Imaging Regression with Mixup
Yong Loo Lin School of Medicine, National University of Singapore(杨潞龄医学院,新加坡国立大学);National University of Singapore(新加坡国立大学);Duke University(杜克大学);ETH Zurich(苏黎世联邦理工学院)
Non-Contrastive Self-supervised Learning for Utterance-Level Information Extraction from Speech
Johns Hopkins University(约翰斯·霍普金斯大学)
在最近的研究中,自我监督的预训练模型在迁移学习中往往优于监督的预训练模型。特别地,话语级语音表示的自监督学习(SSL)可以用于需要话语内的一致属性(说话者、语言、情感和年龄)的区别性表示的语音应用中。现有的帧级自监督语音表示,例如,wav 2 vec可以用作具有池化的话语级表示,但是模型通常很大。也有SSL技术来学习话语级表示。最成功的方法之一是对比方法,该方法需要负采样:选择替代样本与当前样本(锚点)进行对比。然而,这并不能确保所有阴性样本属于与没有标签的锚点类不同的类。本文采用一种非对比的自监督方法来学习话语级嵌入。我们将DINO(Distillation with NO Labels)从计算机视觉应用到语音。与对比方法不同,DINO不需要负采样。我们将DINO与以监督方式训练的x向量进行了比较。当转移到下游任务(说话人验证,语音情感识别(SER)和阿尔茨海默病检测)时,DINO的表现优于x-vector。我们研究了迁移学习过程中几个方面的影响,例如将微调过程划分为步骤,块长度或增强。在微调过程中,首先调整最后一个仿射层,然后整个网络一次性超过微调。使用较短的块长度,尽管它们生成更多样化的输入,但并不一定提高性能,这意味着每个应用程序需要至少具有特定长度的语音片段才能获得更好的性能。增强对SER有帮助。
LAMP: Learnable Meta-Path Guided Adversarial Contrastive Learning for Heterogeneous Graphs
University of New South Wales(新南威尔士大学);Yonsei University(延世大学);RIKEN AIP(理化学研究所人工智能项目);Mohamed bin Zayed University of Artificial Intelligence(穆罕默德·本·扎耶德人工智能大学)
NumCoKE: Ordinal-Aware Numerical Reasoning over Knowledge Graphs with Mixture-of-Experts and Contrastive Learning
State Key Laboratory of Cyberspace Security Defense(网络空间安全防御国家重点实验室);School of Cyber Security, University of Chinese Academy of Sciences(中国科学院大学网络安全学院);Department of Information Science, Tsinghua University(清华大学信息学院)