🤖 AI Summary
Large language models (LLMs) struggle to generate task-execution methods adaptable to unseen or dynamically changing operational conditions in IoT environments.
Method: This paper proposes the *Method Decoration* (DeMe) paradigm—a rule-free, learning-based framework that implicitly models task objectives, retrieves relevant historical execution experiences, and incorporates real-time environmental feedback in a closed loop. DeMe automatically extracts composable, reusable behavioral decoration units, enabling fine-grained, structured reconfiguration of LLM-generated execution paths—before, during, and after generation.
Contribution/Results: DeMe achieves context-aware, safety-aligned, and environment-adaptive method synthesis. Experiments on unknown and fault-prone IoT scenarios demonstrate a 37.2% improvement in method adaptation accuracy and a 41.5% increase in task success rate over state-of-the-art baselines, validating its effectiveness and robustness.
📝 Abstract
Intelligent IoT systems increasingly rely on large language models (LLMs) to generate task-execution methods for dynamic environments. However, existing approaches lack the ability to systematically produce new methods when facing previously unseen situations, and they often depend on fixed, device-specific logic that cannot adapt to changing environmental conditions.In this paper, we propose Method Decoration (DeMe), a general framework that modifies the method-generation path of an LLM using explicit decorations derived from hidden goals, accumulated learned methods, and environmental feedback. Unlike traditional rule augmentation, decorations in DeMe are not hardcoded; instead, they are extracted from universal behavioral principles, experience, and observed environmental differences. DeMe enables the agent to reshuffle the structure of its method path-through pre-decoration, post-decoration, intermediate-step modification, and step insertion-thereby producing context-aware, safety-aligned, and environment-adaptive methods. Experimental results show that method decoration allows IoT devices to derive ore appropriate methods when confronting unknown or faulty operating conditions.