ProSwitch: Knowledge-Guided Instruction Tuning to Switch Between Professional and Non-Professional Responses

Chang Zong, Yuyan Chen, Weiming Lu, Jian Shao, Yongfeng Huang, Heng Chang, Yueting Zhuang

TL;DR

This paper introduces ProSwitch, a novel framework that enables Large Language Models (LLMs) to effectively switch between professional and non-professional response styles. By leveraging domain knowledge through multi-level instruction tuning and a comprehensive evaluation strategy, ProSwitch significantly improves style differentiation without compromising response quality, outperforming existing methods.

What Problem Does This Paper Address?

Large Language Models (LLMs) have shown great promise in various language tasks, including generating responses tailored to specific domains. However, a significant gap exists in their ability to fluidly switch between professional and non-professional communication styles, particularly within specialized fields. This is crucial for making complex information accessible to diverse audiences, from experts to the general public. Existing methods often focus solely on lexical changes or struggle to incorporate deeper domain knowledge and logical structures, leading to suboptimal style switching.

Methods

ProSwitch employs a three-phase approach:

  1. LLM-Augmented Data Preparation: This phase involves collecting domain-specific articles and concepts to create a labeled and balanced Question Answering (QA) dataset. It also includes classifying QA pairs by question type (list, summarize, yes/no, factoid) using GPT-4 and augmenting data to balance professional and non-professional responses. Domain knowledge, such as medical terminology (MeSH), is processed for evaluation.
  2. Knowledge-Guided Multi-Level Instruction Tuning: This is the core of ProSwitch. Instead of simple prompt engineering, it uses instruction tuning with prompts that incorporate knowledge at different levels of granularity. These include:
  3. Basic Instruction: Simple descriptions of professional and non-professional styles.
  4. Type-Based Instruction: Tailored instructions based on the question type.
  5. Knowledge-Enriched Instruction: Incorporating relevant article snippets as implicit knowledge to guide professional style generation. This multi-level approach aims to provide richer guidance to the LLM. The tuning is performed using LoRA (Low-Rank Adaptation), a parameter-efficient fine-tuning method.

  6. Comprehensive Evaluation: ProSwitch introduces a robust evaluation strategy that goes beyond standard metrics. It includes:

  7. Professionalism Discrimination Scores: * Terminology Hit Gap (THG): Measures the difference in the number of technical terms between professional and non-professional responses.
  8. Reasoning Step Gap (RSG): Quantifies the difference in logical structure and reasoning steps.
  9. Pro F1: A binary classification score assessing the model's ability to distinguish styles.
  10. Reference-based Quality Scores: Standard metrics like BERTScore and BLEURT are used to ensure the generated text maintains semantic similarity to references.

Datasets

  • Training Data:
    • PubMedPro: A newly constructed dataset comprising 24,000 QA pairs in both professional and non-professional styles within the medical field. It's built upon BioASQ and PubMedQA datasets.
  • IcliniqPro: A medical dialogue dataset used for evaluation, particularly for professionalism discrimination due to the absence of professional ground-truth answers.
  • TechQA: An IT technical support dataset used for domain adaptation analysis.
  • Evaluation Data: A subset of 200 questions from BioASQ and PubMedQA for the PubMedPro dataset.

Key Insights and Ideas

  • Domain Knowledge is Key: Simply mimicking lexical style isn't enough. Incorporating domain-specific terminology and understanding logical structures are crucial for true professionalism.
  • Multi-Level Instructions Matter: The granularity of instructions significantly impacts an LLM's ability to switch styles. Knowledge-enriched and type-based instructions provide more effective guidance than basic ones.
  • Specialized Models Can Underperform: Surprisingly, models specifically fine-tuned for certain domains (like ChatDoctor) or general style transfer methods (like FST) showed a decline in style switching ability compared to ProSwitch.
  • LLMs Still Have Room for Improvement: Even large, general-purpose models like GPT-4-Turbo exhibit deficiencies in this specific style-switching task, highlighting the need for targeted approaches like ProSwitch.
  • Professionalism is More Than Just Jargon: While technical terms are important (THG), the logical structure and reasoning steps (RSG) are equally, if not more, critical for identifying professional language.

Key Results

  • ProSwitch variants consistently outperformed baselines (Llama2-Chat, ChatDoctor, GPT-4-Turbo, FST, CTS) on both the PubMedPro and IcliniqPro datasets across professionalism discrimination metrics (THG, RSG, Pro F1).
  • ProSwitch-K, utilizing knowledge-enriched instructions, achieved the highest RSG score (3.84), indicating superior logical structure differentiation.
  • Human evaluation confirmed that ProSwitch models achieved higher Style Discrimination (SD) scores while maintaining Language Fluency (LF) and Accuracy (Acc). For instance, ProSwitch-K achieved an AS of 4.23 for SD.
  • Domain adaptation to the IT technical support domain using ProSwitch models trained on medical data showed promising results, indicating the transferability of the learned professionalism switching capability.

Limitations and Future Work

  • Formal Definition of Professionalism: The authors acknowledge that their definition of professionalism and style discrimination is quantitative and needs further verification.
  • Ground-Truth Data Scarcity: The reliance on massive generative data due to the lack of naturally occurring professional/non-professional labeled datasets means quality inspection is challenging.
  • Generalizability: The method's effectiveness needs to be tested in more specialized domains and with a wider variety of foundation models.
  • Future Work: The authors plan to address these limitations by exploring more robust definitions of professionalism, improving data quality, and expanding the scope of their research to other domains and LLMs.

Summary updated

BibTeX
@inproceedings{zong2025proswitch,
  author = {Chang Zong and Yuyan Chen and Weiming Lu and Jian Shao and Yongfeng Huang and Heng Chang and Yueting Zhuang},
  title = {{ProSwitch: Knowledge-Guided Instruction Tuning to Switch Between Professional and Non-Professional Responses}},
  booktitle = {IJCNLP-AACL (long Papers)},
  year = {2025},
  url = {https://openreview.net/forum?id=ar0kGJIFVD},
}
Figure