paper-with-me

홈 › Papers

Unintended Misalignment from Agentic Fine-Tuning: Risks and Mitigation

2025-08-19 · Dongyoon Hahm, Taywon Min, Woogyeol Jin, Kimin Lee arxiv

Beyond simple text generation, Large Language Models (LLMs) have evolved into agentic systems capable of planning and interacting with external tools to solve complex tasks. This evolution involves fine-tuning LLMs on agent-specific tasks to enhance their proficiency. However, safety concerns are frequently overlooked during this fine-tuning process. In this work, we show that aligned LLMs can become unintentionally misaligned, leading to a higher likelihood of executing harmful tasks and a reduced tendency to refuse them when fine-tuned to execute agentic tasks. To address these safety challenges, we propose Prefix INjection Guard (PING), a simple yet effective method that prepends automatically generated natural language prefixes to agent responses, guiding them to refuse harmful requests while preserving performance on benign tasks. Specifically, we introduce an iterative approach that alternates between (1) generating candidate prefixes and (2) selecting those that optimize both task performance and refusal behavior. Experimental results demonstrate that PING significantly enhances the safety of fine-tuned LLM agents without sacrificing their effectiveness. PING consistently outperforms existing prompting approaches across diverse benchmarks in both web navigation and code generation tasks. Our analysis of internal hidden states via linear probes reveals that prefix tokens are crucial for behavior modification, explaining the performance gains. WARNING: This paper contains contents that are unethical or offensive in nature.

📄 PDF Abstract BibTeX arXiv:2508.14031

Code (0)

등록된 구현이 없습니다.

Tasks

Code GenerationText Generation

Similar Papers 제목 키워드 기반

Quantifying Trust: Financial Risk Management for Trustworthy AI Agents

2026-04-05 · Wenyue Hua, Tianyi Peng, Chi Wang, Jiaxin Pei 외 arxiv

Prior work on trustworthy AI emphasizes model-internal properties such as bias mitigation, adversarial robustness, and interpretability. As AI systems evolve into autonomous agents deployed in open environments and incre…

Adversarial Robustness

From Data to Behavior: Predicting Unintended Model Behaviors Before Training

2026-02-04 · Mengru Wang, Zhenqian Xu, Junfeng Fang, Yunzhi Yao 외 arxiv

Large Language Models (LLMs) can acquire unintended biases from seemingly benign training data even without explicit cues or malicious content. Existing methods struggle to detect such risks before fine-tuning, making po…

A Safety and Security Framework for Real-World Agentic Systems

2025-11-27 · Shaona Ghosh, Barnaby Simkin, Kyriacos Shiarlis, Soumili Nandi 외 arxiv

This paper introduces a dynamic and actionable framework for securing agentic AI systems in enterprise deployment. We contend that safety and security are not merely fixed attributes of individual models but also emergen…

Red Teaming

Steering Out-of-Distribution Generalization with Concept Ablation Fine-Tuning

2025-07-22 · Helena Casademunt, Caden Juang, Adam Karvonen, Samuel Marks 외 arxiv

Fine-tuning large language models (LLMs) can lead to unintended out-of-distribution generalization. Standard approaches to this problem rely on modifying training data, for example by adding data that better specify the …

The Path Ahead for Agentic AI: Challenges and Opportunities

2026-01-06 · Nadia Sibai, Yara Ahmed, Serry Sibaee, Sawsan AlHalawani 외 arxiv

The evolution of Large Language Models (LLMs) from passive text generators to autonomous, goal-driven systems represents a fundamental shift in artificial intelligence. This chapter examines the emergence of agentic AI s…