Hong Kong University of Science and Technology
A Dual-Loop Multi-Agent Framework for Controllable and Adaptive Synthetic Data Generation
Abstract
dc:description<p>Today, large language models (LLMs) are significantly expanding the practical applications of natural language processing (NLP). However, when entering data-scarce “niche verticals” such as legal case analysis, clinical medical reasoning or specialized financial tasks, even high-performance LLMs encounter challenges: a lack of labeled data, domain-specific biases, and mismatched data distributions. These issues severely limit the models’ adaptability and reasoning performance in specific domains. Although synthetic data is an effective shortcut to address these domain-specific shortcomings, existing methods often fail to strictly adhere to the specific rules and conventions of a given domain. This results in synthetic data that frequently contains structural flaws, repetitive content, or is simply off-topic.</p> <p>To address these challenges, we propose a dual-loop multi-agent framework that treats data generation as a closed-loop controlled process. Specifically, we integrate domain-specific prior knowledge and sample real-world datasets from the domain to enable the LLM to construct a clear and intuitive “factor tree” to model the variables requiring control. Next, we instruct a “Creator” to synthesize specific data based on this “factor tree”; finally, we deploy a “Critic” to perform semantic quality control on the generated content, providing continuous feedback. Based on this feedback, the system automatically refines prompts, and drives the iterative evolution of the “factor tree” structure. By running through this process, we obtain optimized prompts and use the “factor tree” to identify two core elements specific to the domain: “diversity” and “quality”. By combining these elements, we can generate synthetic datasets at scale that closely aligns with the actual data distribution in niche vertical domains. Empirical evaluations on convergence, controllability, and distributional fit suggest that this framework generates robust, domain-oriented synthetic data, which validates its value as a reliable tool for specialized tasks.</p>
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Zhang, Tianyi
- Contributors dc:contributor
-
- Li, Bo
Rights
- Language dc:language
- English
Identifiers
dc:identifier.*- Repository record dc:identifier
- http://repository.hkust.edu.hk/ir/Record/1783.1-172434