paper-with-me

홈 › Papers

Octo-planner: On-device Language Model for Planner-Action Agents

2024-06-26 · Wei Chen, Zhiyuan Li, Zhen Guo, Yikang Shen

AI agents have become increasingly significant in various domains, enabling autonomous decision-making and problem-solving. To function effectively, these agents require a planning process that determines the best course of action and then executes the planned actions. In this paper, we present an efficient on-device Planner-Action framework that separates planning and action execution into two distinct components: a planner agent based on Phi-3 Mini, a 3.8 billion parameter LLM optimized for edge devices, and an action agent using the Octopus model for function execution. The planner agent first responds to user queries by decomposing tasks into a sequence of sub-steps, which are then executed by the action agent. To optimize performance on resource-constrained devices, we employ model fine-tuning instead of in-context learning, reducing computational costs and energy consumption while improving response times. Our approach involves using GPT-4 to generate diverse planning queries and responses based on available functions, with subsequent validations to ensure data quality. We fine-tune the Phi-3 Mini model on this curated dataset, achieving a 97\% success rate in our in-domain test environment. To address multi-domain planning challenges, we developed a multi-LoRA training method that merges weights from LoRAs trained on distinct function subsets. This approach enables flexible handling of complex, multi-domain queries while maintaining computational efficiency on resource-constrained devices. To support further research, we have open-sourced our model weights at \url{https://huggingface.co/NexaAIDev/octopus-planning}. For the demo, please refer to \url{https://www.nexa4ai.com/octo-planner}.

📄 PDF Abstract BibTeX arXiv:2406.18082

Code (0)

등록된 구현이 없습니다.

Tasks

Computational EfficiencyIn-Context LearningLanguage ModelingLanguage Modelling

Methods 이 논문이 사용한 방법론

Attention 설명 없음
Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…
Layer Normalization Unlike batch normalization, Layer Normalization directly estimates the normalization statistics from the summed inputs…
Absolute Position Encodings Absolute Position Encodings are a type of position embeddings for [Transformer-based models] where positional encodings are…
BPE Byte Pair Encoding, or BPE, is a subword segmentation algorithm that encodes rare and unknown words as sequences of subword units. The intuition is that various word…
Label Smoothing Label Smoothing is a regularization technique that introduces noise for the labels. This accounts for the fact that datasets may have mistakes in them, so maximizing the…
Position-Wise Feed-Forward Layer 설명 없음
Dropout Dropout is a regularization technique for neural networks that drops a unit (along with connections) at training time with a specified probability $p$ (a common value is…

Similar Papers 제목 키워드 기반

Conversational Disease Diagnosis via External Planner-Controlled Large Language Models

2024-04-04 · Zhoujian Sun, Cheng Luo, Ziyi Liu, Zhengxing Huang

The development of large language models (LLMs) has brought unprecedented possibilities for artificial intelligence (AI) based medical diagnosis. However, the application perspective of LLMs in real diagnostic scenarios …

Active LearningDecision MakingDiagnosticMedical Diagnosis+2

Distilling On-device Language Models for Robot Planning with Minimal Human Intervention

2025-06-20 · Zachary Ravichandran, Ignacio Hounie, Fernando Cladera, Alejandro Ribeiro 외

Large language models (LLMs) provide robots with powerful contextual reasoning abilities and a natural human interface. Yet, current LLM-enabled robots typically depend on cloud-hosted models, limiting their usability in…

Small Language Model

Task Planning in Robotics: an Empirical Comparison of PDDL-based and ASP-based Systems

2018-04-23 · Yuqian Jiang, Shiqi Zhang, Piyush Khandelwal, Peter Stone

Robots need task planning algorithms to sequence actions toward accomplishing goals that are impossible through individual actions. Off-the-shelf task planners can be used by intelligent robotics practitioners to solve a…

Robot Task PlanningTask Planning

Hindsight Planner: A Closed-Loop Few-Shot Planner for Embodied Instruction Following

2024-12-27 · Yuxiao Yang, Shenao Zhang, Zhihan Liu, Huaxiu Yao 외

This work focuses on building a task planner for Embodied Instruction Following (EIF) using Large Language Models (LLMs). Previous works typically train a planner to imitate expert trajectories, treating this as a superv…

Instruction Following

Building a Stable Planner: An Extended Finite State Machine Based Planning Module for Mobile GUI Agent

2025-05-20 · Fanglin Mo, Junzhe Chen, Haoxuan Zhu, Xuming Hu

Mobile GUI agents execute user commands by directly interacting with the graphical user interface (GUI) of mobile devices, demonstrating significant potential to enhance user convenience. However, these agents face consi…

Task Planning