paper-with-me

Papers

Reflection-Driven Control for Trustworthy Code Agents

2025-12-22 · Bin Wang, Jiazheng Quan, Xingrui Yu, Hansen Hu, Yuhao, Ivor Tsang arxiv

Contemporary large language model (LLM) agents are remarkably capable, but they still lack reliable safety controls and can produce unconstrained, unpredictable, and even actively harmful outputs. To address this, we introduce Reflection-Driven Control, a standardized and pluggable control module that can be seamlessly integrated into general agent architectures. Reflection-Driven Control elevates "self-reflection" from a post hoc patch into an explicit step in the agent's own reasoning process: during generation, the agent continuously runs an internal reflection loop that monitors and evaluates its own decision path. When potential risks are detected, the system retrieves relevant repair examples and secure coding guidelines from an evolving reflective memory, injecting these evidence-based constraints directly into subsequent reasoning steps. We instantiate Reflection-Driven Control in the setting of secure code generation and systematically evaluate it across eight classes of security-critical programming tasks. Empirical results show that Reflection-Driven Control substantially improves the security and policy compliance of generated code while largely preserving functional correctness, with minimal runtime and token overhead. Taken together, these findings indicate that Reflection-Driven Control is a practical path toward trustworthy AI coding agents: it enables designs that are simultaneously autonomous, safer by construction, and auditable.

📄 PDF Abstract BibTeX arXiv:2512.21354

Code (0)

등록된 구현이 없습니다.

Tasks

Code Generation

Similar Papers 제목 키워드 기반

Adaptive Memory and Reflection Multi-Agent System for Medical Question Answering

2026-08-19 · Pradeep Murugesan, Luoxiao Yang, Xueli Chen, Xinqi Fan arxiv

Accurate and responsible medical question answering (QA) is important in healthcare, where complex cases require factual knowledge and nuanced reasoning. Existing medical QA systems, typically based on single-agent archi…

Question Answering

VeriOS: Query-Driven Proactive Human-Agent-GUI Interaction for Trustworthy OS Agents

2025-09-09 · Zheng Wu, Heyuan Huang, Xingyu Lou, Xiangmou Qu 외 arxiv

With the rapid progress of multimodal large language models, operating system (OS) agents become increasingly capable of automating tasks through on-device graphical user interfaces (GUIs). However, most existing OS agen…

AgentSpec: Understanding Embodied Agent Scaffolds Through Controlled Composition

2026-06-12 · Jixuan Chen, Jianzhi Shen, Haoqiang Kang, Zhi Hong 외 arxiv

LLM agents are increasingly built not as single model calls, but as scaffolded systems that combine reasoning, memory, reflection, action execution, and learning. While such scaffolds often improve performance, they are …

Symbiotic Agents: A Novel Paradigm for Trustworthy AGI-driven Networks

2025-07-23 · Ilias Chatzistefanidis, Navid Nikaein arxiv

Large Language Model (LLM)-based autonomous agents are expected to play a vital role in the evolution of 6G networks, by empowering real-time decision-making related to management and service provisioning to end-users. T…

ParamMem: Augmenting Language Agents with Parametric Reflective Memory

2026-02-26 · Tianjun Yao, Yongqiang Chen, Yujia Zheng, Pan Li 외 arxiv

Self-reflection enables language agents to iteratively refine solutions, yet often produces repetitive outputs that limit reasoning performance. Recent studies have attempted to address this limitation through various ap…

Multi-hop Question AnsweringMathematical ReasoningCode Generation