AI RESEARCH

XSearch: Explainable Code Search via Concept-to-Code Alignment

arXiv CS.AI

ArXi:2605.16046v1 Announce Type: cross Semantic code search has been widely adopted in both academia and industry. These approaches embed natural-language queries and code snippets into a shared embedding space and retrieve results based on vector similarity. Despit strong performance on benchmark datasets, they often suffer from poor explainability and generalization. Retrieved code may appear semantically similar yet miss critical functional requirements of the query, while providing no explanation of why the result was retrieved.