대규모 사전 학습 언어 모델을 이용한 프롬프트 기반 의미 구문 분석의 견고성: Codex에 대한 실증 연구
On Robustness of Prompt-based Semantic Parsing with Large Pre-trained Language Model: An Empirical Study on Codex
한국어 초록
의미 구문 분석은 자연어 질문의 의미를 구조화된 표현으로 구성하는 기법이다. 최근 코드로 학습된 퓨샷 언어 모델은 다운스트림 과제로 학습된 전통적인 단일 모달 언어 모델보다 이러한 표현을 생성하는 데 우수한 성능을 보였다. 이러한 발전에도 불구하고, 기존의 미세조정된 신경 의미 구문 분석기는 자연어 입력에 대한 적대적 공격에 취약하다. 더 작은 의미 구문 분석기의 견고성은 적대적 학습으로 향상시킬 수 있음이 알려져 있으나, 이 접근법은 상당한 계산 자원과 도메인 내 의미 구문 분석 데이터에 대한 고비용의 사람 주석을 필요로 하므로 실제 환경의 대규모 언어 모델에는 적용하기 어렵다. 본 논문은 프롬프트 기반의 대규모 코드 언어 모델인 \codex의 적대적 견고성에 대한 최초의 실증 연구를 제시한다. 연구 결과, 최신(SOTA) 코드 언어 모델이 정교하게 만들어진 적대적 예제에 취약함을 확인하였다. 이 문제를 해결하기 위해, 상당량의 레이블 데이터나 막대한 계산 자원 없이도 견고성을 향상시키는 방법을 제안한다.
원문 초록
Semantic parsing is a technique aimed at constructing a structured representation of the meaning of a natural-language question. Recent advancements in few-shot language models trained on code have demonstrated superior performance in generating these representations compared to traditional unimodal language models, which are trained on downstream tasks. Despite these advancements, existing fine-tuned neural semantic parsers are susceptible to adversarial attacks on natural-language inputs. While it has been established that the robustness of smaller semantic parsers can be enhanced through adversarial training, this approach is not feasible for large language models in real-world scenarios, as it requires both substantial computational resources and expensive human annotation on in-domain semantic parsing data. This paper presents the first empirical study on the adversarial robustness of a large prompt-based language model of code, \codex. Our results demonstrate that the state-of-the-art (SOTA) code-language models are vulnerable to carefully crafted adversarial examples. To address this challenge, we propose methods for improving robustness without the need for significant amounts of labeled data or heavy computational resources.
제출 이력
확인된 버전만 표시합니다. 전체 제출 이력은 arXiv 원문에서 확인하세요.
- arXiv:2301.12868v4제출 시각 미확인
함께 살펴볼 논문
공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.
Parameter Efficient Fine Tuning Llama 3.1 for Answering Arabic Legal Questions: A Case Study on Jordanian Laws
Induced Model Matching: Restricted Models Help Train Full-Featured Models
Developing Question-Answering Models in Low-Resource Languages: A Case Study on Turkish Medical Texts Using Transformer-Based Approaches
Customising General Large Language Models for Specialised Emotion Recognition Tasks
Boosting Zero-Shot Human-Object Interaction Detection with Vision-Language Transfer
A character-based steganography using masked language modeling
토론
이 논문과 연결된 포럼 글이 아직 없습니다.