Papers
Topics
Authors
Recent
Gemini 2.5 Flash
Gemini 2.5 Flash
110 tokens/sec
GPT-4o
56 tokens/sec
Gemini 2.5 Pro Pro
44 tokens/sec
o3 Pro
6 tokens/sec
GPT-4.1 Pro
47 tokens/sec
DeepSeek R1 via Azure Pro
28 tokens/sec
2000 character limit reached

On Robustness of Prompt-based Semantic Parsing with Large Pre-trained Language Model: An Empirical Study on Codex (2301.12868v3)

Published 30 Jan 2023 in cs.CL

Abstract: Semantic parsing is a technique aimed at constructing a structured representation of the meaning of a natural-language question. Recent advancements in few-shot LLMs trained on code have demonstrated superior performance in generating these representations compared to traditional unimodal LLMs, 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 LLMs 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 LLM of code, \codex. Our results demonstrate that the state-of-the-art (SOTA) code-LLMs 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.

User Edit Pencil Streamline Icon: https://streamlinehq.com
Authors (7)
  1. Terry Yue Zhuo (32 papers)
  2. Zhuang Li (69 papers)
  3. Yujin Huang (18 papers)
  4. Fatemeh Shiri (14 papers)
  5. Weiqing Wang (54 papers)
  6. Gholamreza Haffari (141 papers)
  7. Yuan-Fang Li (90 papers)
Citations (44)

Summary

We haven't generated a summary for this paper yet.