paper-with-me

Papers

Demo: SGCode: A Flexible Prompt-Optimizing System for Secure Generation of Code

2024-09-11 · Khiem Ton, Nhi Nguyen, Mahmoud Nazzal, Abdallah Khreishah, Cristian Borcea, NhatHai Phan, Ruoming Jin, Issa Khalil, Yelong Shen

This paper introduces SGCode, a flexible prompt-optimizing system to generate secure code with large language models (LLMs). SGCode integrates recent prompt-optimization approaches with LLMs in a unified system accessible through front-end and back-end APIs, enabling users to 1) generate secure code, which is free of vulnerabilities, 2) review and share security analysis, and 3) easily switch from one prompt optimization approach to another, while providing insights on model and system performance. We populated SGCode on an AWS server with PromSec, an approach that optimizes prompts by combining an LLM and security tools with a lightweight generative adversarial graph neural network to detect and fix security vulnerabilities in the generated code. Extensive experiments show that SGCode is practical as a public tool to gain insights into the trade-offs between model utility, secure code generation, and system cost. SGCode has only a marginal cost compared with prompting LLMs. SGCode is available at: https://sgcode.codes/.

📄 PDF Abstract BibTeX arXiv:2409.07368

Code (0)

등록된 구현이 없습니다.

Tasks

Code GenerationGraph Neural Network

Methods 이 논문이 사용한 방법론

Graph Neural Network 설명 없음

Similar Papers 제목 키워드 기반

ADOPT: Adaptive Dependency-Guided Joint Prompt Optimization for Multi-Step LLM Pipelines

2025-12-31 · Minjun Zhao, Xinyu Zhang, Shuai Zhang, Deyang Li 외 arxiv

Multi-step LLM pipelines can solve complex tasks, but jointly optimizing prompts across steps remains challenging due to missing step-level supervision and inter-step dependency. We propose ADOPT, an adaptive dependency-…

Dynamic Embeddings with Task-Oriented prompting

2024-05-17 · Allmin Balloccu, Jack Zhang

This paper introduces Dynamic Embeddings with Task-Oriented prompting (DETOT), a novel approach aimed at improving the adaptability and efficiency of machine learning models by implementing a flexible embedding layer. Un…

Audio-free Prompt Tuning for Language-Audio Models

2023-09-15 · Yiming Li, Xiangdong Wang, Hong Liu

Contrastive Language-Audio Pretraining (CLAP) is pre-trained to associate audio features with human language, making it a natural zero-shot classifier to recognize unseen sound categories. To adapt CLAP to downstream tas…

Optimizing LLM-Based Multi-Agent System with Textual Feedback: A Case Study on Software Development

2025-05-22 · Ming Shen, Raphael Shu, Anurag Pratik, James Gung 외

We have seen remarkable progress in large language models (LLMs) empowered multi-agent systems solving complex tasks necessitating cooperation among experts with diverse skills. However, optimizing LLM-based multi-agent …

Optimizing Machine Translation through Prompt Engineering: An Investigation into ChatGPT's Customizability

2023-08-02 · Masaru Yamada

This paper explores the influence of integrating the purpose of the translation and the target audience into prompts on the quality of translations produced by ChatGPT. Drawing on previous translation studies, industry p…

Machine TranslationMarketingPrompt EngineeringTranslation