atlas

Research map / Large language models / Instruction and fine-tuning

SWIFT: A Scalable Lightweight Infrastructure for Fine-Tuning

AAAI 2025 · Large language models › Instruction and fine-tuning · approach: Fine-tuning generalization and delta compression · 40 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Presents SWIFT, an open-source one-stop ModelScope framework for pre-training, fine-tuning, alignment, RFT, quantization, inference, and evaluation of LLMs and MLLMs, with agent fine-tuning experiments on ToolBench.

Problem

Existing LLM/MLLM training frameworks support only a limited set of models and techniques, lacking support for new models and end-to-end post-training workflows, making fine-tuning hard for developers.

Approach

A unified, extensible training infrastructure that standardizes data formats, model templates, and tuners across pure-text and multi-modal LLMs, and integrates post-training steps (quantization, export, inference, deployment, evaluation) in one framework, with loss-scale weighting for agent fine-tuning.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Fine-tune with LoRA on ToolBench and AgentFlanQwen2-7B-Instruct · ToolBench in-domainAct.EM: 54.74 -> 56.97Helped
Fine-tune with full-parameter training on ToolBench and AgentFlanQwen2-7B-Instruct · ToolBench in-domainAct.EM: 54.74 -> 60.01Helped
Fine-tune with LoRA on ToolBench and AgentFlanQwen2-7B-Instruct · ToolBench out-of-domainAct.EM: 57.67 -> 58.91Helped
Fine-tune with full-parameter training on ToolBench and AgentFlanQwen2-7B-Instruct · ToolBench out-of-domainAct.EM: 57.67 -> 60.14Helped
Fine-tune with LoRA on ToolBench and AgentFlanLLaMA3-8B-Instruct · ToolBench in-domainAct.EM: 36.17 -> 44.73Helped
Fine-tune with LoRA on ToolBench and AgentFlanLLaMA3-8B-Instruct · ToolBench out-of-domainAct.EM: 34.21 -> 49.56Helped
Add loss-scale (ablation)LLaMA3-8B-Instruct LoRA · ToolBench in-domainAct.EM: 55.71 -> 58.15Helped
Add loss-scale (ablation)LLaMA3-8B-Instruct LoRA · ToolBench out-of-domainAct.EM: 55.55 -> 59.43Helped
Add loss-scale (ablation)LLaMA3-8B-Instruct LoRA · ToolBench in-domainHallu Rate: 4.85 -> 1.57Helped
Add loss-scale (ablation)LLaMA3-8B-Instruct LoRA · ToolBench out-of-domainHallu Rate: 5.26 -> 2.56Helped
Use LoRA+ instead of LoRAQwen-7B-Chat tuner benchmark · Tuner benchmarkEval loss: 1.01 -> 0.98Helped
Use LISA instead of full-parameter trainingQwen-7B-Chat tuner benchmark · Tuner benchmarkMemory: 73.53 -> 31.11Helped

Surprising findings

Limitations

Experimental setup

Datasets: ToolBench AgentFlan MSAgent-Pro MS-Agent alpaca-en firefly-train-1.1M llava-instruct-150k refcoco/refcocog

Benchmarks: ToolBench (in-domain) ToolBench (out-of-domain)

Metrics: Plan.EM Act.EM Hallucination rate Avg.F1 ROUGE-L training loss memory (GiB) speed (samples/s)

Baselines: LLaMA-Factory FireFly FastChat Axolotl LMFlow GPT-4

Builds on: PEFT TRL Transformers Megatron vLLM

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy