paper-with-me

Papers

Probing Semantic Grounding in Language Models of Code with Representational Similarity Analysis

2022-07-15 · Shounak Naik, Rajaswa Patil, Swati Agarwal, Veeky Baths

Representational Similarity Analysis is a method from cognitive neuroscience, which helps in comparing representations from two different sources of data. In this paper, we propose using Representational Similarity Analysis to probe the semantic grounding in language models of code. We probe representations from the CodeBERT model for semantic grounding by using the data from the IBM CodeNet dataset. Through our experiments, we show that current pre-training methods do not induce semantic grounding in language models of code, and instead focus on optimizing form-based patterns. We also show that even a little amount of fine-tuning on semantically relevant tasks increases the semantic grounding in CodeBERT significantly. Our ablations with the input modality to the CodeBERT model show that using bimodal inputs (code and natural language) over unimodal inputs (only code) gives better semantic grounding and sample efficiency during semantic fine-tuning. Finally, our experiments with semantic perturbations in code reveal that CodeBERT is able to robustly distinguish between semantically correct and incorrect code.

📄 PDF Abstract BibTeX arXiv:2207.07706

Code (0)

등록된 구현이 없습니다.

Methods 이 논문이 사용한 방법론

CodeBERT 설명 없음

Similar Papers 제목 키워드 기반

Blind to Position, Biased in Language: Probing Mid-Layer Representational Bias in Vision-Language Encoders for Zero-Shot Language-Grounded Spatial Understanding

2025-09-27 · Na Min An, Inha Kang, Minhyun Lee, Hyunjung Shim arxiv

Vision-Language Encoders (VLEs) are widely adopted as the backbone of zero-shot referring image segmentation (RIS), enabling text-guided localization without task-specific training. However, prior works underexplored the…

Image SegmentationImage Retrieval

Probing Representations Learned by Multimodal Recurrent and Transformer Models

2019-08-29 · Jindřich Libovický, Pranava Madhyastha

Recent literature shows that large-scale language modeling provides excellent reusable sentence representations with both recurrent and self-attentive architectures. However, there has been less clarity on the commonalit…

Image RetrievalLanguage ModelingLanguage ModellingMachine Translation+5

The Curious Case of Visual Grounding: Different Effects for Speech- and Text-based Language Encoders

2025-09-19 · Adrian Sauter, Willem Zuidema, Marianne de Heer Kloots arxiv

How does visual information included in training affect language processing in audio- and text-based deep learning models? We explore how such visual grounding affects model-internal representations of words, and find su…

Visual Grounding

A Computational Audit of Demographic Association Encoding in ClinicalBERT Language Predictions

2026-06-12 · Kehinde Temitayo Soetan arxiv

Transformer-based clinical language models are increasingly integrated into high-stakes clinical decision support pipelines, yet the computational mechanisms through which demographic associations encoded in medical docu…

Self-Aware Knowledge Probing: Evaluating Language Models' Relational Knowledge through Confidence Calibration

2026-01-26 · Christopher Kissling, Elena Merdjanovska, Alan Akbik arxiv

Knowledge probing quantifies how much relational knowledge a language model (LM) has acquired during pre-training. Existing knowledge probes evaluate model capabilities through metrics like prediction accuracy and precis…