arXiv:2611.06402cs.CLNov 2026

Manuscript Offprint

arXiv:2611.06402

Interpretable Text Embeddings Based on Hierarchical Questions

Kohei Oda, Po-Min Chuang, Kiyoaki Shirai, Natthawut Kertkeidkachorn

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

Abstract

QA-based text embeddings represent texts as vectors consisting of 1/0 answers to yes/no questions. Although these embeddings provide detailed information for interpretation and achieve high task performance, they often require humans to examine a large number of questions. Furthermore, the relationship between the number of questions and the appropriate level of question granularity has not been sufficiently studied. To address these challenges, we propose a method for constructing hierarchical questions for text embeddings. As the hierarchy deepens, questions become more specific and their number increases. During interpretation, we reduce the number of questions that humans need to examine by replacing questions at deeper levels with aligned questions at shallower levels. The question hierarchy is constructed through recursive clustering, contrastive prompting, and question alignment. Experimental results on general-purpose tasks show that our method improves interpretability while maintaining task performance. It is also found that, when only a limited number of questions are available, questions at shallower levels tend to achieve higher task performance than those at deeper levels, even with the same number of questions.

1 Introduction

Text embeddings, which represent sentences, paragraphs, and documents as vectors, are fundamental to a wide range of natural language processing (NLP) applications, such as information retrieval (Thakur et al., 2021) and enhancing the generative capabilities of large language models (LLMs) (Lewis et al., 2021). For this reason, methods for obtaining high-quality text embeddings have been extensively studied (Reimers and Gurevych, 2019; Gao et al., 2021; Morris and Rush, 2025). However, these embeddings remain difficult to interpret, making it challenging for humans to

Figure

Figure 1: Overview of QA-based text embeddings and interpreting each embedding.

understand which semantic aspects contribute to the similarity or dissimilarity between two texts. This lack of interpretability is particularly critical in high-stakes domains, such as legal and medical applications, where transparent NLP systems are highly desirable (McInerney et al., 2023).

To develop interpretable text embeddings, various methods have been proposed (Wang et al., 2025; Anand et al., 2026; Shin and Kim, 2026). In particular, QA-based text embeddings (Benara et al., 2024; Sun et al., 2025; Tang et al., 2026) shown in Figure 1 (a) are highly interpretable because each dimension of an embedding corresponds to a yes/no question and represents its binary (1/0) answer. While conventional QA-based text embeddings represent texts using answers to relatively detailed questions, they tend to require a large number of questions for human interpretation. Furthermore, it remains unclear how many questions are needed and how specific they should be for general-purpose tasks.

This study organizes questions used for text em-beddings into a hierarchical structure, where more specific questions are allocated at the lower levels. This approach has two advantages. First, it can flexibly change the number of dimensions of embeddings, i.e., the number of questions. It is preferable, since the optimal number of dimensions may differ across downstream tasks for which the text embeddings are applied. Second, it can alleviate the burden on humans to interpret text embeddings. Instead of reading all questions, a human can refer to a small number of general questions, as illustrated in Figure 1 (b), where the specific questions q1,q2q_1, q_2, and q4q_4 are summarized by the general question q9q_9.

To generate questions of varying granularity, as shown in Figure 2, we recursively apply the question-generation framework proposed by Sun et al. (2025), which combines clustering of large-scale text corpora with contrastive prompting. Contrastive prompting generates highly discriminative questions, and recursive clustering is expected to result in questions at shallower levels summarizing questions at deeper levels. The alignment between a question at a given level and a question at the preceding level is determined based on their entailment relationship.

Experiments on three tasks, semantic textual similarity (STS) (Agirre et al., 2012), text clustering (Aggarwal and Zhai, 2012), and information retrieval (Thakur et al., 2021) show that our method substantially improves the Pareto front between embedding performance and cognitive load. Our analysis also shows that questions become more specific at deeper levels of the hierarchy, and that aligned questions have an entailment relation with high probability. We further find that, when only a limited number of questions are available, questions at shallower levels produce better text embeddings than questions randomly selected at deeper levels.