arXiv Computation and Language

Language, Not Code Abstraction: Natural-language Training Shapes Brain-aligned Geometry

The study compares language-trained and code-trained GPT‑2‑small models on their alignment with human brain activity. Models trained on natural language (TinyStories) consistently outperform those trained on programming languages or machine code on two brain‑correlation benchmarks, achieving higher correlation scores and more brain‑like representational geometry. Updating only the embedding layer with English data further improves alignment for code models, suggesting that natural‑language exposure shapes neural correspondence more effectively.

arXiv Machine Learning
Oct 3

Beyond Linear Concepts: Discovering and Aligning Non-Linear Concept Manifolds in Large Language Models

The paper extends mechanistic interpretability of large language models by modeling concepts as low‑dimensional non‑linear manifolds rather than linear subspaces. It introduces a concept‑based alignment (CBA) score to compare these manifolds across layers and models, revealing block structures in intermediate layers, a shift from syntax‑dominated to mixed syntactic‑semantic concepts, and training‑dependent multilingual sharing. The study also shows that alignment patterns differ across model families and training stages, with adjacent stages aligning more closely than distant ones.

By Tido Specht, Elias Benedict Krey, Nils Neukirch, Nils Strodthoff
arXiv AI
Oct 31

Rethinking Pre-pretraining

The study evaluates synthetic pre‑pretraining (PPT) across four curricula and three training regimes, finding that allocating compute to PPT never outperforms pure natural‑language training in compute‑matched experiments. Even when natural language data are scarce, repeated epochs over a small natural‑language corpus beat all synthetic curricula on validation loss, and no consistent downstream accuracy advantage is observed. The authors note that PPT gains are sensitive to weight initialization and that models tend to forget PPT knowledge during subsequent natural‑language training, suggesting limited benefits for PPT as a distinct training stage.

By Alexander Stern, Tim Rockt\"aschel, Acyr Locatelli, Laura Ruis
arXiv AI
Aug 26

Evaluating Language Models on Cross-Language Code Functional Equivalence

The paper introduces PolyHuman, a dataset of human-written programs in C++, Java, and Python, to test whether large language models can judge functional equivalence across languages. Using this dataset, the authors evaluate several open-weight and proprietary LLMs, finding that models struggle more with harder problems, show language-specific biases, and rely partly on superficial similarity cues. They also observe run‑to‑run instability in GPT‑o4‑mini, concluding that current LLMs do not reliably capture functional equivalence within or across programming languages.

By Hui Sun, Anderson Uch\^oa, Rohit Gheyi, Wesley K. G. Assun\c{c}\~ao
arXiv Computation and Language
Sep 11

Augustinian BabyLM: What Ostensive Definition Can and Cannot Teach a Small Language Model

The paper introduces an experiment where a small masked language model (DeBERTa) is initialized with visual embeddings for tokens that correspond to image regions, following St. Augustine’s ostensive definition of word learning. The visual initialization leaves a measurable imprint that persists through training, yet it does not improve performance on most BabyLM benchmarks that test abstract grammatical knowledge. However, the seeded models show a consistent advantage in zero‑shot object‑property tasks and in a custom Visual‑Property Swap benchmark that probes color, material, size, and shape knowledge, with the advantage confined to the seeded words and transferable to newly seeded words.

By Lisa Bylinina
arXiv AI
Aug 18

Invariant Pretraining for Robust Code Representations

arXiv:2608. 15412v1 Announce Type: cross Abstract: Encoder-based code representation models remain widely deployed for discriminative tasks such as clone detection and code classification, where their small size and low inference cost are decisive.

By Yifeng He, Yundi Xu, Christopher Castro Gaw Gonzalo, Zili Wang, Hao Chen
arXiv Computation and Language
Sep 1

Manac\'a-1B: An Open, Reproducible Brazilian-Portuguese Language Model and a Tokenizer-Aware, Paired Evaluation

Manacá-1B is a 1.72‑billion‑parameter, open decoder‑only language model trained from scratch for Brazilian Portuguese, released with a fully containerized, reproducible training pipeline and complete logs. The authors evaluate it against nine open baselines on four Portuguese benchmarks, reporting standard errors and paired significance tests, and find that Manacá-1B outperforms smaller models on LAMBADA‑PT while remaining competitive on commonsense completion. They also uncover a tokenizer‑related evaluation pitfall that can drastically lower accuracy and provide a simple fix, releasing all code, logs, and corrected tokenizer for full reproducibility.

By Bruno Leonardo Santos Menezes, Carlos Leonardo Souza Cardoso, Fabio Andre Machado Porto
arXiv AI
Oct 31

Rethinking Neural Thickets Without Weight Perturbations

The paper revisits the Neural Thickets hypothesis, which claims that pretrained language models contain dense neighborhoods of task‑specific experts that can be accessed via random Gaussian weight perturbations. The authors reproduce the reported gains but demonstrate that similar improvements can be achieved by perturbing only a single decoder block or by keeping the model frozen and adding a random bias to its output logits. They propose the Perturb‑Select‑Vote (PSV) framework, which generates perturbed predictors, selects high‑performing ones on a small validation set, and aggregates their predictions, showing that output diversity, selection, and voting can explain the gains without relying on nearby weight‑space experts. PSV also improves vision tasks under domain shift, especially with logit perturbations, and offers a simple, training‑free alternative to full‑weight perturbation ensembles.

By Nicolas Dufour, Elouan Gard\`es, Amil Dravid, Patrick P\'erez, Loic Landrieu