Feasibility study of extracting specialized code capabilities from large language modelsOn Extracting Specialized Code Abilities from Large Language Models: A Feasibility Study
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.