paper-with-me

Papers

Logic Distillation: Learning from Code Function by Function for Planning and Decision-making

2024-07-28 · Dong Chen, Shilin Zhang, Fei Gao, Yueting Zhuang, Siliang Tang, Qidong Liu, Mingliang Xu

Large language models (LLMs) have garnered increasing attention owing to their powerful logical reasoning capabilities. Generally, larger LLMs (L-LLMs) that require paid interfaces exhibit significantly superior performance compared to smaller LLMs (S-LLMs) that can be deployed on a variety of devices. Knowledge distillation (KD) aims to empower S-LLMs with the capabilities of L-LLMs, while S-LLMs merely mimic the outputs of L-LLMs, failing to get the powerful logical reasoning capabilities. Consequently, S-LLMs are helpless when it comes to planning and decision-making tasks that require logical reasoning capabilities. To tackle the identified challenges, we propose a novel framework called Logic Distillation (LD). Initially, LD employs L-LLMs to instantiate complex instructions into discrete functions and illustrates their usage to establish a function base. Subsequently, based on the function base, LD fine-tunes S-LLMs to learn the logic employed by L-LLMs in planning and decision-making. During testing, LD utilizes a retriever to identify the top-$K$ relevant functions based on instructions and current states, which will be selected and invoked by S-LLMs. Ultimately, S-LLMs yield planning and decision-making outcomes, function by function. Relevant experiments demonstrate that with the assistance of LD, S-LLMs can achieve outstanding results in planning and decision-making tasks, comparable to, or even surpassing, those of L-LLMs.

📄 PDF Abstract BibTeX arXiv:2407.19405

Code (0)

등록된 구현이 없습니다.

Tasks

Decision MakingKnowledge DistillationLogical Reasoning

Methods 이 논문이 사용한 방법론

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$…
Attention 설명 없음
Knowledge Distillation A very simple way to improve the performance of almost any machine learning algorithm is to train many different models on the same data and then to average their predictions.…

Similar Papers 제목 키워드 기반

Proof-Carrying Plans: a Resource Logic for AI Planning

2020-08-10 · Alasdair Hill, Ekaterina Komendantskaya, Ronald P. A. Petrick

Recent trends in AI verification and Explainable AI have raised the question of whether AI planning techniques can be verified. In this paper, we present a novel resource logic, the Proof Carrying Plans (PCP) logic that …

IPD: Boosting Sequential Policy with Imaginary Planning Distillation in Offline Reinforcement Learning

2026-03-04 · Yihao Qin, Yuanfei Wang, Hang Zhou, Peiran Liu 외 arxiv

Decision transformer based sequential policies have emerged as a powerful paradigm in offline reinforcement learning (RL), yet their efficacy remains constrained by the quality of static datasets and inherent architectur…

Reinforcement LearningOffline RL

Plan with Code: Comparing approaches for robust NL to DSL generation

2024-08-15 · Nastaran Bassamzadeh, Chhaya Methani

Planning in code is considered a more reliable approach for many orchestration tasks. This is because code is more tractable than steps generated via Natural Language and make it easy to support more complex sequences by…

Code GenerationHallucinationRAGRetrieval-augmented Generation+1

Reinforcement Learning for Classical Planning: Viewing Heuristics as Dense Reward Generators

2021-09-30 · Clement Gehring, Masataro Asai, Rohan Chitnis, Tom Silver 외

Recent advances in reinforcement learning (RL) have led to a growing interest in applying RL to classical planning domains or applying classical planning methods to some complex RL domains. However, the long-horizon goal…

reinforcement-learningReinforcement Learning (RL)

Plan-Based Derivation of General Functional Structures in Product Design

2023-02-09 · Philipp Rosenthal, Niels Demke, Frank Mantwill, Oliver Niggemann

In product design, a decomposition of the overall product function into a set of smaller, interacting functions is usually considered a crucial first step for any computer-supported design tool. Here, we propose a new ap…