Agentic Adversarial QA for Improving Domain-Specific LLMs

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Grari, Vincent, Tomoiaga, Ciprian, Lamprier, Sylvain, Hashimoto, Tatsunori, Detyniecki, Marcin
Natura: Preprint
Pubblicazione: 2026
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866917284068458496
author Grari, Vincent
Tomoiaga, Ciprian
Lamprier, Sylvain
Hashimoto, Tatsunori
Detyniecki, Marcin
author_facet Grari, Vincent
Tomoiaga, Ciprian
Lamprier, Sylvain
Hashimoto, Tatsunori
Detyniecki, Marcin
contents Large Language Models (LLMs), despite extensive pretraining on broad internet corpora, often struggle to adapt effectively to specialized domains. There is growing interest in fine-tuning these models for such domains; however, progress is constrained by the scarcity and limited coverage of high-quality, task-relevant data. To address this, synthetic data generation methods such as paraphrasing or knowledge extraction are commonly applied. Although these approaches excel at factual recall and conceptual knowledge, they suffer from two critical shortcomings: (i) they provide minimal support for interpretive reasoning capabilities in these specialized domains, and (ii) they often produce synthetic corpora that are excessively large and redundant, resulting in poor sample efficiency. To overcome these gaps, we propose an adversarial question-generation framework that produces a compact set of semantically challenging questions. These questions are constructed by comparing the outputs of the model to be adapted and a robust expert model grounded in reference documents, using an iterative, feedback-driven process designed to reveal and address comprehension gaps. Evaluation on specialized subsets of the LegalBench corpus demonstrates that our method achieves greater accuracy with substantially fewer synthetic samples.
format Preprint
id arxiv_https___arxiv_org_abs_2602_18137
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Agentic Adversarial QA for Improving Domain-Specific LLMs
Grari, Vincent
Tomoiaga, Ciprian
Lamprier, Sylvain
Hashimoto, Tatsunori
Detyniecki, Marcin
Computation and Language
Artificial Intelligence
Machine Learning
Large Language Models (LLMs), despite extensive pretraining on broad internet corpora, often struggle to adapt effectively to specialized domains. There is growing interest in fine-tuning these models for such domains; however, progress is constrained by the scarcity and limited coverage of high-quality, task-relevant data. To address this, synthetic data generation methods such as paraphrasing or knowledge extraction are commonly applied. Although these approaches excel at factual recall and conceptual knowledge, they suffer from two critical shortcomings: (i) they provide minimal support for interpretive reasoning capabilities in these specialized domains, and (ii) they often produce synthetic corpora that are excessively large and redundant, resulting in poor sample efficiency. To overcome these gaps, we propose an adversarial question-generation framework that produces a compact set of semantically challenging questions. These questions are constructed by comparing the outputs of the model to be adapted and a robust expert model grounded in reference documents, using an iterative, feedback-driven process designed to reveal and address comprehension gaps. Evaluation on specialized subsets of the LegalBench corpus demonstrates that our method achieves greater accuracy with substantially fewer synthetic samples.
title Agentic Adversarial QA for Improving Domain-Specific LLMs
topic Computation and Language
Artificial Intelligence
Machine Learning
url https://arxiv.org/abs/2602.18137