Manuscript Offprint

arXiv:2610.20162

Gap Detection: Mitigating Homogenization through Demand and Defensibility

Xucheng Yu, Haibo Jin, Xiaoqi Wang, Runze Kong, Haohan Wang

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Xucheng Yu

University of Illinois Urbana-Champaign

xy63@illinois.edu

Xiaoqi Wang

Fudan University

maichann9106@gmail.com

Haibo Jin

University of Illinois Urbana-Champaign

haibo@illinois.edu

Runze Kong

University of Michigan, Ann Arbor

runzekog22@outlook.com

Haohan Wang

University of Illinois Urbana-Champaign

haohanw@illinois.edu

ABSTRACT

Language models often produce semantically similar answers to open-ended questions, even when many plausible alternatives exist. Generating useful alternatives requires identifying both what the query calls for and what existing responses already cover. We introduce Gap Detection, a framework that searches for relevant but unoccupied directions in a shared text embedding space. Its objective, GapScore, combines query relevance (Demand) with dissimilarity to the nearest existing item (Defensibility). The framework optimizes this product on the unit sphere, maps candidate directions to concept words with a language model, and uses task-specific filtering and constrained prompting to turn those concepts into text. On five curated topics and 90 INFINITY-CHAT queries, the reported mean relative reductions in output Collision are 12.8% and 10.8%, respectively. We also instantiate the framework for generative engine optimization over four product markets and for iterative synthetic-data augmentation. In the latter setting, with 100 training examples per method, Gap Detection reduces Collision from 0.324 to 0.298 relative to undirected accumulation and increases the Vendi Score from 27.16 to 29.20; the accuracy difference is one example on a 40-example test set. Component ablations expose the trade-off between semantic separation and relevance, while also showing that better direction scores do not uniformly yield better downstream metrics. These results support explicit gap search as a practical mechanism for diversifying content, with task validity checked separately from geometric novelty.

1 INTRODUCTION

Open-ended questions invite multiple reasonable answers, yet language models frequently return variations of the same idea. A request for a metaphor about time, for example, can repeatedly elicit familiar images such as rivers or weaving. This pattern has been documented within and across models using INFINITY-CHAT, a collection of real-world open-ended queries (Jiang et al., 2025). Reference-free diversity metrics such as the Vendi Score likewise quantify the small effective number of semantic modes in such sets (Friedman & Dieng, 2023). For a user seeking alternative perspectives, lexical variation is insufficient: answers must differ in substance while continuing to address the question.

This problem suggests a distinction between sampling another answer and identifying an answer that is missing. Changing the decoding distribution can alter which tokens are sampled, but it does not explicitly represent the semantic content already covered by a collection of responses. Existing diversity-aware methods such as Maximal Marginal Relevance (MMR) trade query relevance against redundancy when reranking a fixed candidate set (Carbonell & Goldstein, 1998); learning-to-rank methods likewise score those candidates (Liu, 2009). Neither formulation searches unoccupied semantic space. Conversely, maximizing distance from previous responses alone can produce irrelevant concepts. A useful method must therefore keep new content connected to the user's demand while avoiding the nearest existing answer.

To address this problem, we introduce Gap Detection, a framework for discovering and realizing unoccupied semantic directions. Given a query and an occupied content set, the framework embeds both in a shared vector space (Mikolov et al., 2013), then searches for directions with high GapScore: the product of Demand (query relevance) and Defensibility (separation from the nearest occupied item). Directions are selected sequentially and added to the occupied set, so later searches account explicitly for earlier coverage.

A high-scoring vector, however, is not yet a usable answer. Gap Detection bridges this gap through language-based realization. Embedding retrieval supplies a short list of words near a discovered direction; Qwen selects concepts that can answer the query, and a second filter checks their contextual plausibility. A text generator then uses these concepts while being prompted to avoid frequent concepts and sentence patterns in existing responses. Finally, the generated text is evaluated for novelty and repetition. The geometric search identifies where to explore, while the mapping and validation stages determine whether the proposed direction can be expressed as meaningful content.

The same relevance–coverage distinction appears beyond open-ended answering. In generative engine optimization (GEO), a candidate position should address user needs while differing from competitors' claims; GEO work shows that supplied content can affect which sources a generative engine cites (Aggarwal et al., 2024). Recursive training on generated data can reduce diversity (Shumailov et al., 2024; Alemohammad et al., 2024), whereas retaining real and synthetic data can alter that trajectory (Gerstgrasser et al., 2024). We study these as separate instantiations of the same objective, with setting-specific inputs, validity checks, and evaluation criteria.

Experiments examine both the effectiveness and the limits of this design. The reported mean relative Collision reduction is 12.8% over five curated topics and 10.8% over 90 open-ended queries. Additional experiments vary the source of the occupied responses and the model used to realize new directions. In four product markets, discovered positions receive citations in a controlled generative-engine simulation. In a small sentiment-data experiment, directed augmentation improves diversity relative to an accumulation baseline at the same final sample count. Ablations show that the product objective improves its intended relevance–separation score, but the full pipeline does not dominate every output-level metric.

Our contributions are threefold:

• A coverage-aware objective. We formulate gap discovery as joint optimization of Demand and Defensibility relative to an explicit occupied set.

• A search-to-text pipeline. We combine spherical optimization, language-model concept mapping, and task-specific validation so that a geometric direction is tested before it is accepted as content.

• A cross-setting evaluation. We evaluate the pipeline across open-ended generation, GEO positioning, and synthetic-data augmentation, reporting component trade-offs alongside aggregate gains. Appendix A provides the geometric existence result, conditional optimization results, and their proofs; the main text focuses on how the method operates and what the experiments establish.

References (63)