mlsanityData to 14 Oct 2026

Isotropy Matters: Soft-ZCA Whitening of Embeddings for Semantic Code Search

arXiv 2411.17538 ↗First posted 26 Nov 2024cs.CLcited by 2

Not on the map. Why?

Abstract (arXiv)

Low isotropy in an embedding space impairs performance on tasks involving semantic inference. Our study investigates the impact of isotropy on semantic code search performance and explores post-processing techniques to mitigate this issue. We analyze various code language models, examine isotropy in their embedding spaces, and its influence on search effectiveness. We propose a modified ZCA whitening technique to control isotropy levels in embeddings. Our results demonstrate that Soft-ZCA whitening improves the performance of pre-trained code language models and can complement contrastive fine-tuning.

Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Builds on 8 of its 13 references that are in the map. First posted on arXiv 26 Nov 2024.

Builds on

8 of 13 references.

References · 8

  1. 2023Code Llama: Open Foundation Models for Codecited by 2,139
  2. 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,310
  3. 2019CodeSearchNet Challenge: Evaluating the State of Semantic Code Searchcited by 654
  4. 2023CodeT5+: Open Code Large Language Models for Code Understanding and Generationcited by 333
  5. 2021Whitening Sentence Representations for Better Semantics and Faster Retrievalcited by 202
  6. 2015Optimal whitening and decorrelationcited by 97
  7. 2021How Does Fine-tuning Affect the Geometry of Embedding Space: A Case Study on Isotropycited by 23
  8. 2023GenCodeSearchNet: A Benchmark Test Suite for Evaluating Generalization in Programming Language Understandingcited by 6

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 1; 2026: 1.

2 papers.