ObscuraCoder: Powering Efficient Code LM Pre-Training Via Obfuscation Grounding
Paul, Indraneil, Yang, Haoyi, Glavaš, Goran, Kersting, Kristian, Gurevych, Iryna
–arXiv.org Artificial Intelligence
Language models (LMs) have become a staple of the code-writing toolbox. Their pre-training recipe has, however, remained stagnant over recent years, barring the occasional changes in data sourcing and filtering strategies. In particular, research exploring modifications to Code-LMs' pre-training objectives, geared towards improving data efficiency and better disentangling between syntax and semantics, has been noticeably sparse, especially compared with corresponding efforts in natural language LMs. In this work, we examine grounding on obfuscated code as a means of helping Code-LMs look beyond the surface-form syntax and enhance their pre-training sample efficiency. To this end, we compile ObscuraX, a dataset of approximately 55M source and obfuscated code pairs in seven languages. Subsequently, we pre-train ObscuraCoder models, ranging in size from 255M to 2.8B parameters, on a 272B-token corpus that includes ObscuraX and demonstrate that our obfuscation-based pre-training recipe leads to consistent improvements in Code-LMs' abilities compared to both vanilla autoregressive pre-training as well as existing de-obfuscation (DOBF) objectives. ObscuraCoder demonstrates sizeable gains across multiple tests of syntactic and semantic code understanding, along with improved capabilities in multilingual code completion, multilingual code commit summarization, and multi-purpose library-oriented code generation.
arXiv.org Artificial Intelligence
Mar-27-2025
- Country:
- South America
- Brazil (0.04)
- Colombia > Meta Department
- Villavicencio (0.04)
- Oceania > Australia
- Victoria > Melbourne (0.04)
- Queensland > Brisbane (0.04)
- North America
- Dominican Republic (0.04)
- United States
- Texas > Travis County
- Austin (0.04)
- Nebraska > Lancaster County
- Lincoln (0.04)
- Louisiana > Orleans Parish
- New Orleans (0.04)
- Georgia > Fulton County
- Atlanta (0.04)
- California
- San Francisco County > San Francisco (0.14)
- San Diego County > San Diego (0.04)
- Alameda County > Berkeley (0.04)
- Arizona > Maricopa County
- Phoenix (0.04)
- Texas > Travis County
- Mexico > Mexico City
- Mexico City (0.04)
- Canada
- Quebec > Montreal (0.04)
- British Columbia > Vancouver (0.04)
- Europe
- Austria > Vienna (0.14)
- Spain > Galicia
- Madrid (0.04)
- Germany
- Hesse > Darmstadt Region
- Darmstadt (0.04)
- Bavaria > Lower Franconia
- Würzburg (0.04)
- Hesse > Darmstadt Region
- Italy > Apulia
- Bari (0.04)
- Greece > Attica
- Athens (0.04)
- Portugal > Lisbon
- Lisbon (0.04)
- Croatia > Dubrovnik-Neretva County
- Dubrovnik (0.04)
- Ireland > Leinster
- County Dublin > Dublin (0.04)
- United Kingdom
- Scotland > City of Edinburgh
- Edinburgh (0.04)
- England > West Midlands
- Birmingham (0.04)
- Scotland > City of Edinburgh
- Asia
- British Indian Ocean Territory > Diego Garcia (0.04)
- Thailand > Bangkok
- Bangkok (0.04)
- South Korea > Seoul
- Seoul (0.04)
- Singapore > Central Region
- Singapore (0.04)
- Myanmar > Tanintharyi Region
- Dawei (0.04)
- Middle East
- Jordan (0.04)
- UAE > Abu Dhabi Emirate
- Abu Dhabi (0.04)
- China > Beijing
- Beijing (0.04)
- Africa > Rwanda
- South America
- Genre:
- Research Report (0.82)
- Industry:
- Information Technology > Security & Privacy (0.67)
- Government (0.67)
- Technology: