Saved in:
Bibliographic Details
Main Authors: Li, Wenjun, Chen, Changyu, Varakantham, Pradeep
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2406.10479
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866909592033689600
author Li, Wenjun
Chen, Changyu
Varakantham, Pradeep
author_facet Li, Wenjun
Chen, Changyu
Varakantham, Pradeep
contents Large language models (LLMs) have demonstrated impressive task-solving capabilities through prompting techniques and system designs, including solving planning tasks (e.g., math proofs, basic travel planning) when sufficient data is available online and used during pre-training. However, for planning tasks with limited prior data (e.g., blocks world, advanced travel planning), the performance of LLMs, including proprietary models like GPT and Gemini, is poor. This paper investigates the impact of fine-tuning on the planning capabilities of LLMs, revealing that LLMs can achieve strong performance in planning through substantial (tens of thousands of specific examples) fine-tuning. Yet, this process incurs high economic, time, and computational costs for each planning problem variation. To address this, we propose Clustering-Based Maximum Diversity Sampling (CMDS), which selects diverse and representative data to enhance sample efficiency and the model's generalization capability. Extensive evaluations demonstrate that CMDS-l, a baseline method combining CMDS with language embeddings, outperforms random sampling. Furthermore, we introduce a novel algorithm, CMDS-g, which encodes planning task instances with their graph representations into the embedding space. Empirical results show that CMDS-g consistently outperforms baseline methods across various scales and multiple benchmark domains.
format Preprint
id arxiv_https___arxiv_org_abs_2406_10479
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Unlocking Large Language Model's Planning Capabilities with Maximum Diversity Fine-tuning
Li, Wenjun
Chen, Changyu
Varakantham, Pradeep
Artificial Intelligence
Large language models (LLMs) have demonstrated impressive task-solving capabilities through prompting techniques and system designs, including solving planning tasks (e.g., math proofs, basic travel planning) when sufficient data is available online and used during pre-training. However, for planning tasks with limited prior data (e.g., blocks world, advanced travel planning), the performance of LLMs, including proprietary models like GPT and Gemini, is poor. This paper investigates the impact of fine-tuning on the planning capabilities of LLMs, revealing that LLMs can achieve strong performance in planning through substantial (tens of thousands of specific examples) fine-tuning. Yet, this process incurs high economic, time, and computational costs for each planning problem variation. To address this, we propose Clustering-Based Maximum Diversity Sampling (CMDS), which selects diverse and representative data to enhance sample efficiency and the model's generalization capability. Extensive evaluations demonstrate that CMDS-l, a baseline method combining CMDS with language embeddings, outperforms random sampling. Furthermore, we introduce a novel algorithm, CMDS-g, which encodes planning task instances with their graph representations into the embedding space. Empirical results show that CMDS-g consistently outperforms baseline methods across various scales and multiple benchmark domains.
title Unlocking Large Language Model's Planning Capabilities with Maximum Diversity Fine-tuning
topic Artificial Intelligence
url https://arxiv.org/abs/2406.10479