paper-with-me

홈 › Papers

Agent-FLAN: Designing Data and Methods of Effective Agent Tuning for Large Language Models

2024-03-19 · Zehui Chen, Kuikun Liu, Qiuchen Wang, Wenwei Zhang, Jiangning Liu, Dahua Lin, Kai Chen, Feng Zhao

Open-sourced Large Language Models (LLMs) have achieved great success in various NLP tasks, however, they are still far inferior to API-based models when acting as agents. How to integrate agent ability into general LLMs becomes a crucial and urgent problem. This paper first delivers three key observations: (1) the current agent training corpus is entangled with both formats following and agent reasoning, which significantly shifts from the distribution of its pre-training data; (2) LLMs exhibit different learning speeds on the capabilities required by agent tasks; and (3) current approaches have side-effects when improving agent abilities by introducing hallucinations. Based on the above findings, we propose Agent-FLAN to effectively Fine-tune LANguage models for Agents. Through careful decomposition and redesign of the training corpus, Agent-FLAN enables Llama2-7B to outperform prior best works by 3.5\% across various agent evaluation datasets. With comprehensively constructed negative samples, Agent-FLAN greatly alleviates the hallucination issues based on our established evaluation benchmark. Besides, it consistently improves the agent capability of LLMs when scaling model sizes while slightly enhancing the general capability of LLMs. The code will be available at https://github.com/InternLM/Agent-FLAN.

📄 PDF Abstract BibTeX arXiv:2403.12881

Code (1)

internlm/agent-flan 공식 구현

Tasks

Hallucination

Similar Papers 제목 키워드 기반

The Flan Collection: Designing Data and Methods for Effective Instruction Tuning

2023-01-31 · Shayne Longpre, Le Hou, Tu Vu, Albert Webson 외

We study the design decisions of publicly available instruction tuning methods, and break down the development of Flan 2022 (Chung et al., 2022). Through careful ablation studies on the Flan Collection of tasks and metho…

Compact and Robust Deep Learning Architecture for Fluorescence Lifetime Imaging and FPGA Implementation

2022-09-07 · Zhenya Zang, Dong Xiao, Quan Wang, Ziao Jiao 외

This paper reported a bespoke adder-based deep learning network for time-domain fluorescence lifetime imaging (FLIM). By leveraging the l1-norm extraction method, we propose a 1-D Fluorescence Lifetime AdderNet (FLAN) wi…

Quantization

FlanEC: Exploring Flan-T5 for Post-ASR Error Correction

2025-01-22 · Moreno La Quatra, Valerio Mario Salerno, Yu Tsao, Sabato Marco Siniscalchi

In this paper, we present an encoder-decoder model leveraging Flan-T5 for post-Automatic Speech Recognition (ASR) Generative Speech Error Correction (GenSEC), and we refer to it as FlanEC. We explore its application with…

Automatic Speech RecognitionAutomatic Speech Recognition (ASR)DecoderSentence+2

Beyond Scaling: Predicting Patent Approval with Domain-specific Fine-grained Claim Dependency Graph

2024-04-22 · Xiaochen Kev Gao, Feng Yao, Kewen Zhao, Beilei He 외

Model scaling is becoming the default choice for many language tasks due to the success of large language models (LLMs). However, it can fall short in specific scenarios where simple customized methods excel. In this pap…

Protecting Federated Learning from Extreme Model Poisoning Attacks via Multidimensional Time Series Anomaly Detection

2023-03-29 · Edoardo Gabrielli, Dimitri Belli, Zoe Matrullo, Vittorio Miori 외

Current defense mechanisms against model poisoning attacks in federated learning (FL) systems have proven effective up to a certain threshold of malicious clients. In this work, we introduce FLANDERS, a novel pre-aggrega…

Anomaly DetectionFederated LearningModel PoisoningTime Series+1