paper-with-me

홈 › Papers

Text-to-Code Generation with Modality-relative Pre-training

2024-02-08 · Fenia Christopoulou, Guchun Zhang, Gerasimos Lampouras

Large pre-trained language models have recently been expanded and applied to programming language tasks with great success, often through further pre-training of a strictly-natural language model--where training sequences typically contain both natural and (linearised) programming language. Such approaches effectively map both modalities of the sequence into the same embedding space. However, programming language keywords (e.g. "while") often have very strictly defined semantics. As such, transfer learning from their natural language usage may not necessarily be beneficial to their code application and vise versa. Assuming an already pre-trained language model, in this work we investigate how sequence tokens can be adapted and represented differently, depending on which modality they belong to, and to the ultimate benefit of the downstream task. We experiment with separating embedding spaces between modalities during further model pre-training with modality-relative training objectives. We focus on text-to-code generation and observe consistent improvements across two backbone models and two test sets, measuring pass@$k$ and a novel incremental variation.

📄 PDF Abstract BibTeX arXiv:2402.05783

Code (0)

등록된 구현이 없습니다.

Tasks

Code GenerationLanguage ModelingLanguage ModellingText-to-Code GenerationTransfer Learning

Methods 이 논문이 사용한 방법론

Focus 설명 없음

Similar Papers 제목 키워드 기반

Modality Forcing for Scalable Spatial Generation

2026-06-11 · Bardienus Pieter Duisterhof, Deva Ramanan, Jeffrey Ichnowski, Justin Johnson 외 arxiv

Text-to-image (T2I) models contain rich spatial priors. Synthesizing photorealistic, cluttered scenes requires an understanding of geometry, including perspective and relative scale. Prior works adapt T2I models to lever…

Image Generation

Unified Text-Image Generation with Weakness-Targeted Post-Training

2026-01-07 · Jiahui Chen, Philippe Hansen-Estruch, Xiaochuang Han, Yushi Hu 외 arxiv

Unified multimodal generation architectures that jointly produce text and images have recently emerged as a promising direction for text-to-image (T2I) synthesis. However, many existing systems rely on explicit modality …

multimodal generationImage Generation

LLMs Need Encoders for Semantic IDs Too

2026-05-29 · Xiangyi Chen, Zelun Wang, Xinyi Li, Yi-Ping Hsu 외 arxiv

Multimodal LLMs use dedicated encoders to bridge non-language modalities (vision encoders for images, depth models for audio codec tokens) because raw token embeddings alone cannot capture modality-specific structure. We…

From Association to Generation: Text-only Captioning by Unsupervised Cross-modal Mapping

2023-04-26 · Junyang Wang, Ming Yan, Yi Zhang, Jitao Sang

With the development of Vision-Language Pre-training Models (VLPMs) represented by CLIP and ALIGN, significant breakthroughs have been achieved for association-based visual tasks such as image classification and image-te…

DecoderImage Captioningimage-classificationImage Classification+4

The ReprGesture entry to the GENEA Challenge 2022

2022-08-25 · Sicheng Yang, Zhiyong Wu, Minglei Li, Mengchen Zhao 외

This paper describes the ReprGesture entry to the Generation and Evaluation of Non-verbal Behaviour for Embodied Agents (GENEA) challenge 2022. The GENEA challenge provides the processed datasets and performs crowdsource…

DecoderGesture GenerationRepresentation LearningRhythm