mlsanityData to 7 Oct 2026

Bidirectional Small-Granularity Search between Code and Text

arXiv 2606.07519 ↗First posted 19 Apr 2026cs.CL cs.AIcited by 0

Not on the map. Why?

Abstract (arXiv)

We introduce the novel task of bidirectional small-granularity search between code and text, where the queries are small snippets of text or code and the results are also small fragments of the opposite modality, i.e., code or text. This task establishes direct links between text in scientific publications and corresponding code segments, in support of better and faster understanding of scientific methods. We introduce a large dataset for the proposed task that includes a training partition with textual descriptions of code generated automatically using GPT-4, and three testing partitions, one in-domain and two out-of-domain (OOD) that contain manually-annotated data as well as material from other domains. We also propose a modular approach to address this task. Our approach shares an encoder across four different subtasks that learn start/end of answer spans in both directions. We show that our method achieves good results in-domain, and encouraging results OOD. This suggests that addressing this task with automatically-generated data is possible, but there is exciting future work to be done.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 24 of its 50 references that are in the map. First posted on arXiv 19 Apr 2026.

Builds on

24 of 50 references.

References · 24

  1. 2020Language Models are Few-Shot Learnerscited by 32,199
  2. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  3. 2015Rethinking the Inception Architecture for Computer Visioncited by 5,451
  4. 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
  5. 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,115
  6. 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,779
  7. 2017Billion-scale similarity search with GPUscited by 2,477
  8. 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,346
  9. 2019SuperGLUE: A Stickier Benchmark for General-Purpose Language Understanding Systemscited by 1,718
  10. 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,286
  11. 2020Domain-Specific Language Model Pretraining for Biomedical Natural Language Processingcited by 996
  12. 2021CodeXGLUE: A Machine Learning Benchmark Dataset for Code Understanding and Generationcited by 732
12 more
  1. 2019CodeSearchNet Challenge: Evaluating the State of Semantic Code Searchcited by 638
  2. 2020GraphCodeBERT: Pre-training Code Representations with Data Flowcited by 600
  3. 2021Unified Pre-training for Program Understanding and Generationcited by 361
  4. 2022Text and Code Embeddings by Contrastive Pre-Trainingcited by 358
  5. 2022UniXcoder: Unified Cross-Modal Pre-training for Code Representationcited by 355
  6. 2020Unsupervised Translation of Programming Languagescited by 262
  7. 2021The GEM Benchmark: Natural Language Generation, its Evaluation and Metricscited by 239
  8. 2020IntelliCode Compose: Code Generation Using Transformercited by 225
  9. 2020Does label smoothing mitigate label noise?cited by 204
  10. 2020Learning Dense Representations of Phrases at Scalecited by 91
  11. 2021SynCoBERT: Syntax-Guided Multi-Modal Contrastive Pre-Training for Code Representationcited by 63
  12. 2021Bridging Pre-trained Models and Downstream Tasks for Source Code Understandingcited by 27

Built on by

Not cited yet.