LCO: LLM-based Constraint Optimization for Safer Agentic LLMs in Real-world Tasks
Quick Answer
This paper shows that The LLM-based Constraint Optimization (LCO) framework effectively mitigates in-context reward hacking (ICRH) in autonomous agents like GPT-4, achieving a 39% reduction in Toxicity Growth Rate and a 15.23% decrease in ICRH Occurrence Rate without model fine-tuning.
Quick Take
The LLM-based Constraint Optimization (LCO) framework effectively mitigates in-context reward hacking (ICRH) in autonomous agents like GPT-4, achieving a 39% reduction in Toxicity Growth Rate and a 15.23% decrease in ICRH Occurrence Rate without model fine-tuning.
Key Points
- LCO consists of a self-thought module and an evolutionary sampling module.
- The framework reduces ICRH without requiring fine-tuning of the LLM.
- On the tweet engagement task, LCO reduced Toxicity Growth Rate by 39%.
- In policy optimization, LCO lowered ICRH Occurrence Rate by 15.23%.
- LCO maintains task performance while enhancing safety in LLM applications.
Paper Resources
Article Content
From source RSS / original summaryarXiv:2605. 27375v1 Announce Type: new Abstract: Large Language Models (LLMs) are increasingly acting as autonomous agents, but their continuous interaction with the environment can lead to in-context reward hacking (ICRH), a phenomenon where LLMs iteratively optimize their behavior to maximize proxy objectives, inadvertently producing harmful side effects. Existing defense methods are insufficient to address this risk, as ICRH arises not from adversarial inputs but from the model's own over-optimization.
To mitigate this issue, we propose \textbf{LLM-based Constraint Optimization (LCO)}, a framework that effectively reduces ICRH without model fine-tuning. LCO consists of two modules: \textit{self-thought module}, which guides the LLM to proactively deliberate and integrate potential safety constraints before execution; and \textit{evolutionary sampling module}, which employs LLM-based crossover and mutation to constrain the model's actions within a safe solution space while maintaining task performance.
Experimental results demonstrate that LCO substantially alleviates ICRH in both output-refine and policy-refine scenarios. In particular, on the tweet engagement optimization task, LCO achieves a 39% reduction in the Toxicity Growth Rate (TGR) on GPT-4, while on the policy optimization benchmark, it reduces the ICRH Occurrence Rate by 15. 23%, demonstrating safety improvement without sacrificing task performance.
Want this in your inbox every morning?
Daily brief at your local 8am — bilingual EN/中文, free.
More from arXiv cs.CL
See more →Letting the Data Speak: Extracting Keywords from Crowdsourced Collections with AI
The study evaluates three NLP approaches—Named Entity Recognition, Keyword Extraction, and Topic Modelling—using the Their Finest Hour Online Archive to automate keyword extraction from crowdsourced WWII collections. Findings suggest that while NLP methods show promise, no single approach is sufficient, and ethical considerations in automated keyword extraction are crucial for responsible stewardship.