Saved in:
Bibliographic Details
Main Authors: Xue, Yawen, Tsunokake, Masaya, Koreeda, Yuta, Amin, Ekant Muljibhai, Sumiyoshi, Takashi, Sogawa, Yasuhiro
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2510.00482
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866916982342811648
author Xue, Yawen
Tsunokake, Masaya
Koreeda, Yuta
Amin, Ekant Muljibhai
Sumiyoshi, Takashi
Sogawa, Yasuhiro
author_facet Xue, Yawen
Tsunokake, Masaya
Koreeda, Yuta
Amin, Ekant Muljibhai
Sumiyoshi, Takashi
Sogawa, Yasuhiro
contents Agentic large language models (LLMs) have become prominent for autonomously interacting with external environments and performing multi-step reasoning tasks. Most approaches leverage these capabilities via in-context learning with few-shot prompts, but this often results in lengthy inputs and higher computational costs. Agent fine-tuning offers an alternative by enabling LLMs to internalize procedural reasoning and domain-specific knowledge through training on relevant data and demonstration trajectories. While prior studies have focused on general domains, their effectiveness in specialized technical microdomains remains unclear. This paper explores agent fine-tuning for domain adaptation within Hitachi's JP1 middleware, a microdomain for specialized IT operations. We fine-tuned LLMs using JP1-specific datasets derived from domain manuals and distilled reasoning trajectories generated by LLMs themselves, enhancing decision making accuracy and search efficiency. During inference, we used an agentic prompt with retrieval-augmented generation and introduced a context-answer extractor to improve information relevance. On JP1 certification exam questions, our method achieved a 14% performance improvement over the base model, demonstrating the potential of agent fine-tuning for domain-specific reasoning in complex microdomains.
format Preprint
id arxiv_https___arxiv_org_abs_2510_00482
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Agent Fine-tuning through Distillation for Domain-specific LLMs in Microdomains
Xue, Yawen
Tsunokake, Masaya
Koreeda, Yuta
Amin, Ekant Muljibhai
Sumiyoshi, Takashi
Sogawa, Yasuhiro
Computation and Language
Agentic large language models (LLMs) have become prominent for autonomously interacting with external environments and performing multi-step reasoning tasks. Most approaches leverage these capabilities via in-context learning with few-shot prompts, but this often results in lengthy inputs and higher computational costs. Agent fine-tuning offers an alternative by enabling LLMs to internalize procedural reasoning and domain-specific knowledge through training on relevant data and demonstration trajectories. While prior studies have focused on general domains, their effectiveness in specialized technical microdomains remains unclear. This paper explores agent fine-tuning for domain adaptation within Hitachi's JP1 middleware, a microdomain for specialized IT operations. We fine-tuned LLMs using JP1-specific datasets derived from domain manuals and distilled reasoning trajectories generated by LLMs themselves, enhancing decision making accuracy and search efficiency. During inference, we used an agentic prompt with retrieval-augmented generation and introduced a context-answer extractor to improve information relevance. On JP1 certification exam questions, our method achieved a 14% performance improvement over the base model, demonstrating the potential of agent fine-tuning for domain-specific reasoning in complex microdomains.
title Agent Fine-tuning through Distillation for Domain-specific LLMs in Microdomains
topic Computation and Language
url https://arxiv.org/abs/2510.00482