LLMコードのセキュリティ欠陥、「仕様を先に書く」だけで全モデル改善 — 4年間ほぼ変わらなかった問題に267語の前置文が効く
DRANK

10月1日、Sandeep Dhuriが「Specification Before Generation: A Pre-Registered, Five-Model Paired Evaluation of a Specification Frame for LLM-Generated Code in Money, Time, Idempotency, and Access Tasks」と題した論文をarXivに公開した。LLMが生成するコードのセキュリティ欠陥を、プロンプトに仕様書(スペシフィケーション)を前置するだけで大幅に削減できることを、5モデル比較実験で示した研究だ。

by @tf_official
Related Topics: AI Security AI Code Generator