Skip to content

Feasibility study of extracting specialized code capabilities from large language modelsOn Extracting Specialized Code Abilities from Large Language Models: A Feasibility Study

arXiv· arXiv:2303.03012· ICSE 2024· Zongjie Li, Chaozheng Wang, Pingchuan Ma, Chaowei Liu, Shuai Wang, Daoyuan Wu, Cuiyun Gao, Yang Liu·Indexed by this site · 18 days ago· Originally publishedAttacks
AI summary

Researchers evaluated the feasibility of extracting specialized code capabilities such as code synthesis and code translation from commercial black-box large language models. The study used multiple query schemes including zero-shot, in-context learning, and chain of thought, and designed response checks to improve outputs. Results show that under a reasonable number of queries, an attacker can use a medium-scale backbone model to train specialized code behavior similar to the target LLM. The authors summarize the threat posed by imitation attacks and point out an attack surface that can be used to generate adversarial code samples.

Read originalICSE 2024