In this paper, our goal is to represent text embeddings as sketches for three main reasons. First, to visualize text representation and to explore their potential their potential for AI explainability. Second, to investigate the potential benefits of the sketch-based representation for information retrieval. Third, to explore their potential for reasoning, drawing inspiration from the concept of mental imagery. We propose a sketch-based visual grounding framework that transforms text representations into visual topographic sketches. Our approach aims to emphasis the semantics content encoded in the text embeddings through the corresponding sketch. Evaluations are conducted on the MS-COCO dataset to examine the utility of these sketches for text retrieval. The comparative study of SBERT and Sketch-based method reveals that SBERT retains an advantage in strict top-1 retrieval accuracy while achieving comparable performance to the sketch-based method in top-5 retrieval. A cascaded approach combining SBERT and the sketch-based method outperforms SBERT alone, suggesting that the Sketch-based representation could offer significant potential for information retrieval if trained directly on text.
Figures & tables
Figure 1: Sketches generated for two similar captions.(Left) ”The plate is filled with meat and vegetables.”, (Right) A piece of chicken diced potatoes and some broccoli on a plate.”
Figure 2: Sketches generated for the captions ”a man is running in house”, ”a man is running in the garden”, ”a man is running in the street”
Figure 3: Sketches generated for the captions ”a girl is running in house”, ”a boy is running in the garden”, ”An elderly man is running down the street.”
Figure 4: Sketches generated for the captions ”a dog is running in house”, ”a dog is running in the garden”, ”a dog is running down the street.”
Figure 5: Sketches generated for the captions ”A white plate topped with meat and vegetables.”, ”A close-up of a plate of food with meat and veggies.”, ”A meal consisting of meat, broccoli, and other vegetables on a plate.”, ”A plate with meat and green vegetables on it.”, ”Some food that is on a white plate.”
Figure 6: Sketches generated for the caption original and respectively for a Lexical perturbation, Syntactic Reordering, Typo and Noise Perturbation, Partial Omission.
N (queries)
Metric
SBERT (pure)
Ours (Sketches), training groups
1k
10k
20k
30k
500
P@1
67.20
33.60
51.00
53.80
61.60
P@5
86.20
60.00
81.20
85.20
84.20
1000
P@1
55.60
21.60
37.60
44.30
45.70
P@5
80.80
43.50
69.70
74.50
75.70
5000
P@1
36.42
9.74
18.80
22.80
24.04
Table 1: Caption-to-caption retrieval precision (%) on MS-COCO. N is the number of evaluated groups, which equals the number of queries; the gallery contains the remaining captions of these N groups. Sketches are trained on 1 k, 10 k, 20 k or 30 k groups. The best sketch result in each row is in bold.
Method
Top-1
Top-5
MRR@10
SBERT
35.71±0.59
58.23±0.96
45.36±0.59
Sketch
22.25±0.82
45.62±0.82
32.24±0.78
Latent (semantic encoder only)
23.83±0.81
46.87±0.90
33.68±0.83
Untrained sketch (control)
4.87±0.23
14.07±0.16
8.91±0.18
Threshold cascade SBERT → Sketch
35.71±0.59
58.23±0.96
45.36±0.59
Fusion SBERT + Sketch
36.30±0.94
59.59±0.92
46.23±0.75
Table 2: Test retrieval performance (%), mean ± std over 5 seeds, 7,000 test queries per seed.
Comparison
Top-1
Top-5
MRR@10
Fusion (Sketch) − SBERT
+0.59 (2/5, p=0.045 )
+1.36 (5/5, p<0.001 )
+0.87 (4/5, p=0.007 )
Fusion (Latent) − SBERT
+0.40 (1/5, p=0.063 )
+1.15 (5/5, p<0.001 )
+0.69 (5/5, p=0.006 )
Fusion (untrained) − SBERT
−0.01 (0/5, p=0.80 )
−0.04 (0/5, p=0.54 )
−0.00 (0/5, p=0.97 )
Cascade − SBERT
+0.00 (0/5)
+0.00 (0/5)
+0.00 (0/5)
Fusion (Sketch) − Fusion (Latent)
+0.19 (2/5, p=0.33 )
+0.21 (1/5, p=0.12 )
+0.17 (2/5, p=0.24 )
Table 3: Paired gains in points (mean over 5 seeds), with the number of seeds whose 95% group-bootstrap interval excludes zero and the p -value of the t -test on per-seed gains.
Fine-grained image retrieval via hand-drawn sketches or textual descriptions remains a critical challenge due to inherent modality gaps. While hand-drawn sketches capture complex structural contours, they lack color and texture, which text effectively provides despite omitting spatial contours. Motivated by the complementary nature of these modalities, we propose the Sketch and Text Based Image Retrieval (STBIR) framework. By synergizing the rich color and texture cues from text with the structural outlines provided by sketches, STBIR achieves superior fine-grained retrieval performance. First, a curriculum learning driven robustness enhancement module is proposed to enhance the model's robustness when handling queries of varying quality. Second, we introduce a category-knowledge-based feature space optimization module, thereby significantly boosting the model's representational power. Finally, we design a multi-stage cross-modal feature alignment mechanism to effectively mitigate the challenges of cross modal feature alignment. Furthermore, we curate the fine-grained STBIR benchmark dataset to rigorously validate the efficacy of our proposed framework and to provide data support as a reference for subsequent related research. Extensive experiments demonstrate that the proposed STBIR framework significantly outperforms state of the art methods.
Siyuan Wang, Hanchen Gao, Guangming Zhu +5
Xidian University · First Aircraft Design Institute
Reasoning-intensive retrieval requires text representations to capture not only semantic similarity, but also the reasoning needed to determine relevance under a given retrieval instruction. Existing reasoning-enhanced embedding models improve retrieval by incorporating reasoning information into dense representations, yet their supervision is typically dominated by the final retrieval objective. As a result, latent reasoning trajectories may learn shortcut reasoning patterns that preserve retrieval performance without producing meaningful incremental retrieval gains. We propose Retrieval Grounding Latent Reasoning (RGLT), a latent reasoning framework for dense retrieval that explicitly connects intermediate latent transitions with retrieval improvements. RGLT performs non-autoregressive reasoning in hidden space through an instruction-conditioned latent reasoning trajectory constructed from silent tokens. It combines process-supervised explicit-to-implicit distillation with retrieval-grounded supervision, using stage-wise CoT reconstruction to shape intermediate latent states and retrieval-effect credit to optimize incremental retrieval gains across the latent reasoning trajectories. Experiments on reasoning-intensive retrieval benchmarks show that RGLT consistently outperforms strong baselines while preserving efficient embedding inference.
Gang Zhou, Xiongxi Yu, Hu Tian +5
School of Artificial Intelligence, Beijing University of Posts and Telecommunications · Meituan LongCat Interaction Team · School of Management Science and Engineering, Central University of Finance and Economics +1
Dense retrieval enables effective semantic matching, yet the semantic factors underlying its relevance scores remain opaque. Sparse autoencoders (SAEs) support feature-level explanations by decomposing dense embeddings into sparse semantic features. However, the document semantics underlying a retriever's relevance scores may not be sufficiently explicit in the embeddings to be recovered as interpretable SAE features. We introduce Xetrieval, a framework for explaining dense retrieval through feature elicitation. Feature Elicitors make retrieval-relevant aspects of document meaning more explicit through auxiliary views, facilitating their identification as interpretable SAE features. A shared sparse dictionary learns from these varied representations to express query--document relations through describable features. We assess their influence on relevance scores through interventions on the original document embeddings. Experiments show that Xetrieval yields more interpretable features than an SAE baseline and identifies feature sets with a stronger influence on the retriever's scores. Task-level feature modulation further demonstrates more effective retrieval steering. These findings highlight the value of feature elicitation for relevance attribution and retrieval steering.
Zhixin Cai, Jun Bai, Yang Liu +7
School of Computer Science and Engineering, Beihang University · State Key Laboratory of General Artificial Intelligence, BIGAI