Skip to content

EMNLP papers

Search EMNLP papers by title, author, or track. Open a paper’s abstract to read more.

Explore the EMNLP analysis

Search results

81–100 of 869

  • EMNLP · Main

    sEMG Typing Transcription with Conformer Encoding and Beam-Aware Large Language Model Correction

    Yuanxi Wang, Lun Shu, Yasuharu Koike

    Abstract

    Surface electromyography (sEMG) offers a promising path toward private and wearable text input, but accurate typing transcription remains challenging due to strong cross-user and cross-session variability. We propose a beam-aware sEMG typing framework that connects an improved Connectionist Temporal Classification (CTC)-based frontend with a large language model (LLM) corrector for exact recovery of the typed sequence. As a standalone sEMG decoder, our CNN-Conformer frontend achieves the best reported performance among the compared published emg2qwerty systems under the full-session frontend protocol, reaching 19.94% generic character error rate (CER) and 3.43% personalized CER. For LLM correction, we use a separate windowed hypothesis-export protocol, where the frontend’s top-10 CTC hypotheses are provided to a fine-tuned LLM together with a rank-1 baseline. Under this within-protocol comparison, the LLM reduces session-level CER from 22.53% to 19.65% in the generic setting and from 3.41% to 2.01% after personalization. A matched hybrid evaluation further confirms that the LLM also improves rank-1 outputs obtained from full-session decoding. The top-10 oracle results show that the beam contains recoverable information beyond the rank-1 output. These results demonstrate that a stronger sEMG frontend and hypothesis-aware LLM correction can work together effectively for exact sEMG typing transcription.

    Abstract source
  • EMNLP · Main

    Real Images, Worse Judgments: Evaluating Vision-Language Models on Concreteness and Imagery

    Yifan Jiang, Ruoxi Ning, Sheng Yao, Freda Shi

    Abstract

    Visual inputs are often assumed to improve language understanding in multimodal models. We examine this assumption by asking whether vision-language models (VLMs) can distinguish useful visual evidence from incidental image context in lexical judgments. We use human concreteness and imagery ratings because they span words with varying expected visual relevance, from abstract and low-imagery words to concrete and high-imagery words. We find that real-image contexts do not yield consistent gains and often hurt alignment with human ratings, most sharply when visual evidence is least relevant. Through probing and canonical correlation analysis, complemented by an attribution case study, we find that real-image contexts are associated with representational shifts and greater sensitivity to spurious visual cues, coinciding with weaker recoverability of the targeted lexical properties. We further show that instructing models to focus solely on textual content at inference time can reduce this degradation, with the clearest gains on these vulnerable subsets. Our findings suggest that current instruction-tuned VLMs need better calibration of when visual context should inform lexical judgments.

    Abstract source
  • EMNLP · Main

    Cognitive-Level Prefix-MoE Reward Modeling for Curriculum Alignment of Medical Language Models

    Hao Wang, Wendi Feng, Chun Kang, Yanting Wang, Rui Li, Lei Sha

    Abstract

    Medical language models are increasingly evaluated on open-ended clinical reasoning, where good responses must combine factual recall, evidence integration, decision making, and synthesis. However, standard reward models compress these different standards into one reward score, while medical RL with answer keys mainly rewards multiple-choice correctness. This makes it difficult to improve non-multiple-choice medical reasoning without losing performance on exam-style benchmarks. In this paper, we propose a Prefix Mixture-of-Experts Reward Model (Prefix-MoE RM), which routes each query-response pair across recall, analysis, decision, and synthesis prefix experts, softly fuses their trainable prefixes, and then predicts one reward score. The MoE structure allows different abilities to use different scoring experts to reduce reward conflicts, while continuous prefixes provide a more expressive conditioning signal than fixed hard prompts. The reward model is trained on non-multiple-choice medical preferences and then used in mixed-data curriculum GRPO, where multiple-choice prompts provide additional answer-key feedback. On held-out reward-model evaluation, Prefix-MoE RM improves pairwise accuracy from 79.8 to 93.0 over a shared RM; with the RL pipeline fixed, replacing it with a shared RM or soft expert-head MoE lowers HealthBench from 43.8 to 24.8 and 34.6, respectively. With Qwen3-8B as the policy backbone, the full system outperforms the larger Qwen3-32B base on MedXpertQA and HealthBench, while the Qwen3-32B version reaches 50.1 HealthBench and 4.55 LLMEval-Med, remaining competitive with stronger closed general models and retaining an advantage on non-multiple-choice metrics.

    Abstract source
  • EMNLP · Main

    The Mirage of Explainability: A Survey on Chain-of-Thought Faithfulness in Large Language Models

    Xi Jin, LeChen Qi, Houfeng Wang, Liangming Pan

    Abstract

    Chain-of-Thought (CoT) reasoning appears to provide explainability, leading users to trust that verbalized rationales reflect the model’s underlying computation. However, substantial evidence indicates that CoT often fails to reflect the model’s actual decision-making process, leading to a surge of research into the faithfulness of these explanations. This paper presents a comprehensive survey of CoT faithfulness. We first unify the definition of faithfulness by integrating internal alignment with external consistency and synthesize key failure phenomena, such as post-hoc rationalization and sycophancy. Furthermore, we systematize evaluation metrics, benchmarks, and critically review current mitigation strategies. We conclude by outlining open challenges and advocating for architectural innovations to achieve genuinely faithful reasoning for credible AI.

    Abstract source
  • EMNLP · Main

    Step-Wise Refusal Dynamics in Autoregressive and Diffusion Language Models

    Eliron Rahimi, Elad Hirshel, Amit LeVi, Rom Himelstein, Avi Mendelson, Chaim Baskin

    Abstract

    Diffusion language models (DLMs) have recently emerged as a competitive alternative to autoregressive (AR) models, offering parallel decoding, competitive generation quality, and initial evidence of improved jailbreak robustness. Despite this progress, the role of sampling mechanisms in shaping refusal behavior remains poorly understood. To address this gap, we present a comprehensive study of step-wise refusal dynamics. We show that diffusion remasking can promote recovery from harmful intermediate generations, provide evidence that this behavior is tied to the sampling mechanism, and demonstrate that switching from AR to diffusion sampling improves jailbreak robustness, including under fixed model weights. To capture generation dynamics not observable at the text level, we propose the Step-Wise Refusal Internal Dynamics (SRI) signal. Consistent with our text-level findings, SRI shows that recovery fails primarily under AR sampling, with these failures often appearing anomalous relative to harmless generations in the SRI space. Based on this observation, we show that SRI enables a simple jailbreak detector that does not modify inference and generalizes to unseen attacks by training only on benign SRI signals. Our evaluation shows that this detector matches or outperforms existing jailbreak detection baselines while adding negligible overhead.

    Abstract source
  • EMNLP · Main

    Making Clinical Language Models Auditable: Concept-Guided Fine-Tuning for Robust Prediction

    Jin Mu, Guanhua Chen

    Abstract

    Clinical language models can achieve strong in-hospital accuracy yet fail under deployment shifts because they exploit note-specific artifacts (e.g., templates, separators, boilerplate) that do not reflect patient state. We propose CAST (Concept-guided Artifact Suppression Tuning), an SAE-based framework for auditable clinical text classification. CAST uses Sparse Autoencoders to expose sparse, human-auditable features from intermediate Transformer activations, labels SAE latents with an LLM-assisted interpretation pipeline and ICD-10 retrieval constraints, suppresses verified artifact latents via residual subtraction during fine-tuning, and provides post-hoc perconcept attributions for auditing model decisions. On MIMIC-IV discharge-note mortality prediction, CAST improves over its corresponding fine-tuned encoder baselines and remains competitive with strong LLM baselines, while producing a feature-level audit trail of the clinical concepts that support each prediction and the artifact concepts suppressed during training.

    Abstract source
  • EMNLP · Main

    Recoverability-Controlled Safety Miscalibration in Large Language Models

    Yuwei Wang, Xingwang Liang, Yu Xie, Haotian Chi, Haijun Geng

    Abstract

    Safety-aligned language models are expected to refuse harmful requests while remaining useful for benign ones. However, because many evaluations score only the final response, they often conflate intent understanding with response-level safety behavior. To address this, we introduce RiskCueBench, a recoverability-controlled benchmark that separates these two stages by first measuring whether a model can successfully recover a high-level intent and then evaluating its safety behavior on the same prompt. RiskCueBench contains 160 latent intents and 640 abstract non-operational surface prompts across eight risk categories. The benchmark covers 25 completed model groups and 32,000 successful model outputs with final rubric-adjudicated labels. When conditioning on pairs where both surface forms are recoverable, we find that increased contextualized specificity induces a shift toward less safe behavior. Specifically, paired bootstrap estimates show that the refusal rate and global safety score decrease by 0.175 and 0.440, respectively. Furthermore, mixed effects modeling corroborates a 0.107 increase in unsafe cooperation. These results show that the safety behavior can be miscalibrated to the surface form even after the intent has been recovered, motivating safety evaluations that report response behavior conditional on semantic recoverability.

    Abstract source
  • EMNLP · Main

    Mitigating Overthinking via Interleaved System-1/2 Reasoning in Large Language Models

    Han Ding, Wei Chen, Fuzhen Zhuang

    Abstract

    Large reasoning models improve problem-solving performance by generating extended Chain-of-Thought, but often suffer from overthinking, producing unnecessarily long and redundant reasoning traces. Prior works mainly focus on directly compressing reasoning length, or selecting reasoning modes globally based on task difficulty, without accounting for the dynamic and heterogeneous nature of the reasoning process itself. This lack of consideration for inference-time diversity limits their ability to adapt reasoning strategies flexibly. To address this gap, we propose Interleaved System-1/2 Reasoning (InterSR), a cognitively inspired framework that dynamically alternates between System 1 (fast) and System 2 (slow) reasoning modes during generation. Central to InterSR is a learnable system switching signal that reflects the necessity for deeper reasoning at each intermediate step and enables fine-grained control over cognitive mode transitions. Experiments across mathematical and cross-domain benchmarks show that InterSR effectively captures internal reasoning signals to reduce token usage while maintaining strong and robust accuracy. We release our code at https://github.com/buaadh/InterSR.

    Abstract source
  • EMNLP · Main

    Subspace Alignment for Vision-Language Model Test-time Adaptation

    Zhichen Zeng, Wenxuan Bao, Xiao Lin, Ruizhong Qiu, Tianxin Wei, Xuying Ning, Yuchen Yan, Chen Luo, Monica Xiao Cheng, Jingrui He, Hanghang Tong

    Abstract

    Vision-language models (VLMs), despite their extraordinary zero-shot capabilities, are vulnerable to distribution shifts. Test-time adaptation (TTA) emerges as a predominant strategy to adapt VLMs to unlabeled test data on the fly. However, existing TTA methods heavily rely on zero-shot predictions as pseudo-labels for self-training, which can be unreliable under distribution shifts and misguide adaptation due to two fundamental limitations. First (Modality Gap), distribution shifts induce gaps between visual and textual modalities, making cross-modal relations inaccurate. Second (Visual Nuisance), visual embeddings encode rich but task-irrelevant noise that often overwhelms task-specific semantics under distribution shifts. To address these limitations, we propose SubTTA, which aligns the semantic subspaces of both modalities to enhance zero-shot predictions to better guide the TTA process. To bridge the modality gap, SubTTA extracts the principal subspaces of both modalities and aligns the visual manifold to the textual semantic anchor by minimizing their chordal distance. To eliminate visual nuisance, SubTTA projects the aligned visual features onto the task-specific textual subspace, which filters out task-irrelevant noise by constraining visual embeddings within the valid semantic span, and standard TTA is further performed on the purified space to refine the decision boundaries. Extensive experiments on various benchmarks and VLM architectures demonstrate the effectiveness of SubTTA, yielding an average improvement of 2.24% over state-of-the-art TTA methods. Our code is available at https://github.com/zhichenz98/SubTTA_EMNLP26.

    Abstract source
  • EMNLP · Main

    GPAgentBench-2K: Benchmarking Large Language Model Agents in Complex Clinical Action Space

    Boqi Chen, Xudong Liu, Yunke Ao, Heejin Do, Jianing Qiu

    Abstract

    Large Language Models (LLMs) show great potential as clinical agents, yet existing benchmarks reduce clinical workflows to static predictions or unconstrained Markov Decision Processes (MDPs) with coarse action sets. To address this, we introduce GPAgentBench-2K, the first Constrained MDP (CMDP) LLM-agent benchmark for primary-care clinical decision-making, constructed from expert-validated records of real-world GP encounters. Our environment models a full spectrum of six foundational clinical actions, imposes a topological workflow prior over the action space, and operationalizes safety-informed abstention as a first-class outcome. Evaluating 16 state-of-the-art LLMs reveals a significant performance degradation as the action space scales. Crucially, we uncover a clinical quality-safety gap: even frontier models with the highest diagnosis accuracy violate safety constraints in over half of high-risk cases. Finally, we establish a reference point using Constrained Group Relative Policy Optimization (C-GRPO), and show that while explicitly modeling constraints improves performance over unconstrained RL methods, it remains far from clinically acceptable safety.

    Abstract source
  • EMNLP · Main

    Cited but Not Causal: A Counterfactual Audit of Refusal Explanations in Aligned Language Models

    Minje Kim, Keeheon Lee, Chi-Guhn Lee

    Abstract

    When an aligned language model declines a request, it almost always states a reason. Those reasons are read as evidence about the refusal, yet whether they name what actually triggered it has not been measured. We introduce a counterfactual audit of the cited reason, removing the reason-bearing feature to test necessity and inserting it into a benign prompt to test sufficiency. The two tests partition cited reasons into four kinds: faithful, over-cited, under-specified, and confabulated. We audit 22 models from nine developers on 840 prompts pooled from seven public safety benchmarks. Across the audited refusals, 57.2% cite a reason that fails at least one test, though faithful remains the largest category for 21 of 22 models. Over-citation is highest in the models that refuse most broadly. Paired sweeps over two families’ post-training checkpoints place its rise at supervised fine-tuning, not at later preference optimization. Probes on open-weight models tie these labels to internal representations. Category rates hold under a different-family judge, and the faithful-versus-over-cited ordering holds under an own-reason audit. We release the framework, the counterfactual variants, and per-model labels.

    Abstract source
  • EMNLP · Main

    Selective State-Space Adaptation and Retrieval for Language Model Reasoning

    Atahan Dokme, Larry Heck

    Abstract

    Low-rank adaptation introduces a static learned update applied identically to every input. The update provides task-level adaptation but does not explicitly represent token-level or instance-level state variation. A family of adapters is proposed that introduces selective state-space control at two complementary granularities. At the token level, MaLoRA (Mamba-modulated low-rank adaptation) makes the adapter’s scaling factor a dynamic input-dependent function with recurrent state across tokens, in contrast to the stateless modulators of prior work. The token-level adapter improves over low-rank adaptation. On the other hand, it differentiates tokens by structural role but not by contextual relevance, which motivates placing evidence selection at the context level. At the context level, MaRA (Mamba Retrieval Adapter) tracks cross-segment reasoning state and selects the segments most relevant to the query. State-space controlled retrieval of approximately three million parameters exceeds an eight-billion-parameter dense retriever on supporting-paragraph recall. Although base models perform poorly on the task without adaptation (14 to 25 F1), MaRA recovers the evidence relevance latent in their representations. Across three frozen backbones and two multi-hop reasoning benchmarks, the end-to-end family improves reasoning accuracy on every cell of the 3-by-2 grid, by +6.4 F1 (+10.0% relative) on average over the LoRA baseline.

    Abstract source
  • EMNLP · Main

    Think, Act, Build: An Agentic Framework with Vision Language Models for Zero-Shot 3D Visual Grounding

    Haibo Wang, Zihao Lin, Zhiyang Xu, Lifu Huang

    Abstract

    3D Visual Grounding (3D-VG) localizes objects in 3D scenes via natural language descriptions. Current zero-shot Vision-Language Models (VLMs) typically rely on preprocessed 3D point clouds and pretrained 3D detectors, reducing grounding to static proposal matching. To address this, we propose “Think, Act, Build (TAB)”, a dynamic agentic framework that reformulates 3D-VG as a 2D-to-3D reconstruction paradigm operating directly on raw RGB-D streams. TAB decouples the task by leveraging 2D VLMs for complex spatial semantics and multi-view geometry for 3D structure instantiation. Guided by a specialized skill, our VLM agent dynamically invokes visual tools to track targets across 2D frames. To overcome multi-view coverage deficits inherent in strict VLM semantic tracking, we introduce Semantic-Anchored Geometric Expansion. This mechanism anchors the target in a reference video clip and uses multi-view geometry to propagate its spatial location across unobserved frames, mapping 2D visual cues to 3D coordinates. Additionally, we manually refine existing benchmarks to eliminate reference ambiguity and category errors. Extensive experiments on ScanRefer and Nr3D demonstrate that TAB, relying entirely on open-source models, significantly outperforms previous zero-shot methods and even supervised baselines.

    Abstract source
  • EMNLP · Main

    Beyond Decodability: Reconstructing Language Model Representations with an Encoding Probe

    Gaofei Shen, Martijn Bentum, Tomas Ostar Lentz, Afra Alishahi, Grzegorz Chrupała

    Abstract

    Probing is widely used to study which features can be decoded from language model representations. However, the common decoding probe approach has two limitations that we aim to solve with our new encoding probe approach: contributions of different features to model representations cannot be directly compared, and feature correlations can affect probing results. We present an Encoding Probe that reverses this direction and reconstructs internal representations of models using interpretable features. We evaluate this method on text and speech transformer models, using feature sets spanning acoustics, phonetics, syntax, lexicon, and speaker identity. Our results suggest that speaker-related effects vary strongly across different training objectives and datasets, while syntactic and lexical features contribute independently to reconstruction. These results show that the Encoding Probe provides a complementary perspective on interpreting model representations beyond decodability.

    Abstract source
  • EMNLP · Main

    Telling Incomplete Truths: Measuring Omission-Induced Misleadingness in Aligned Language Models

    Minje Kim, Keeheon Lee, Chi-Guhn Lee

    Abstract

    Aligned language models are evaluated for whether they state falsehoods and whether users prefer their answers. Neither axis asks whether an answer carries what a reader needs to decide. We name that failure mode Pragmatic Reticence and build an instrument to measure it. A generator answers a passage-and-question prompt in free form, never seeing the answer options, and a frozen reader, never seeing the passage, decides from that answer alone. A natural language inference judge scores whether the answer conveys the passage’s decision-critical sentence. Across 47 generators the median non-reasoning model reaches a critical-fact recall of 0.28, while every reasoning-tuned checkpoint exceeds 0.74 on the whole response. Supervised fine-tuning and preference optimization do not close that gap. For models that emit a reasoning trace, the recalled fact usually sits inside the trace rather than in the answer that follows it, so a deployment that hides the trace hides the recall. In those models a trace-free prompt restores it, so the omission is a format effect. An answer can be true, preferred, and still not enough to act on.

    Abstract source
  • EMNLP · Main

    Jais 2: A Family of Arabic-Centric Open Large Language Models

    Mohamed Anwar, Abed Alhakim Freihat, George Ibrahim, Mostafa Awad, Abdelrahman Sadallah, Gurpreet Gosal, Gokulakrishnan Ramakrishnan, Sarath Chandran, Biswajit Mishra, Rituraj Joshi, Ahmed Frikha, Etienne Goffinet, Abhishek Maiti, Ali El Filali, Sarah AlBarri, Samujjwal Ghosh, Rahul Pal, Parvez Mullah, Awantika Shukla, Sajid Siddiki, Samta Kamboj, Onkar Pandit, Sunil Kumar Sahu, AbdelRahman Elbadawy, Amr Mohamed, Ahmad Chamma, Evan Dufraisse, Abdelaziz Bounhar, Dani Bouch, Hadi Abdine, Guokan Shang, Fajri Koto, Yuxia Wang, Zhuohan Xie, Ali Mekky, Rania Elbadry, Sarfraz Ahmad, Momina Ahsan, Omar El Herraoui, Daniil Orel, Hasan Iqbal, Kareem Elzeky, Mervat Abassy, Kareem Elozeiri, Saadeldine Eletter, Farah Atif, Nurdaulet Mukhituly, Haonan Li, Xudong Han, Aaryamonvikram Singh, Zainul Abedien Ahmed Quraishi, Neha Sengupta, Larry Murray, Avraham Sheinin, Joel Hestness, Natalia Vassilieva, Hector Xuguang Ren, Zhengzhong Liu, Michalis Vazirgiannis, Preslav Nakov

    Abstract

    Jais 2 is a family of open-weight, Arabic-centric large language models designed for strong Arabic performance and broad cultural coverage. The family includes, to our knowledge, the largest open Arabic-centric LLM trained from scratch, with 70B parameters, alongside an efficient 8B model. A custom Arabic-centric vocabulary supports efficient training and inference, while an optimized architecture and training recipe improve compute efficiency. Jais 2 achieves the highest scores on the Open Arabic LLM Leaderboard v2 (OALL2) and AraGen v1 among the evaluated open models, while remaining competitive on English benchmarks. It also obtains strong results in Arabic poetry, dream interpretation, translation, and summarization. On the IslamicQA domain, Jais 2-70B achieves the second-highest overall average among the evaluated large open models, while attaining the highest scores on PalmX and the held-out in-house IslamicQA benchmark. We release both model sizes as open-weights on Hugging Face under a commercially permissive license. Jais 2-70B is also available as a chat application on the Web, iOS, and Android, reaching inference speeds of up to 2,000 tokens per second on Cerebras hardware.

    Abstract source
  • EMNLP · Main

    Do Large Language Models Adapt Politeness Like Humans?

    Tianfang Chen, Yuyang Yao, Liping Tang

    Abstract

    Polite language production involves balancing strategic success with local convention, but these pressures are difficult to separate in natural interaction. We therefore examine them in an artificial-language request game, where one marker increased request acceptance and another appeared more often in other speakers’ requests. Humans and LLMs completed the same task under goals to maximize acceptance, match local usage, or produce a natural and appropriate request. For both humans and LLMs, a policy-mixture model combining payoff- and exposure-sensitive policies provided the best overall predictive fit. However, their baseline behavior differed. Human baseline behavior fell between the strategy and convention conditions, suggesting sensitivity to both payoff and local usage. LLMs shifted toward local usage under the convention goal, but their baselines remained closer to the strategy condition. These results show that human and LLM behavior is sensitive to both payoff and local usage in polite production, but that LLM baselines are more payoff-oriented. Code, data, and materials are all available at https://github.com/CHENTianfang/emnlp2026-politeness.

    Abstract source
  • EMNLP · Main

    Evaluating the Hidden Costs of Personalization in Large Language Models

    Yumeng Wang, Yuchen Wu, Cheng Qian, Zhiyuan Fan, Hyeonjeong Ha, Shujin Wu, Jiayu Liu, Heng Ji, Ge Wang

    Abstract

    While Large language models (LLMs) incorporate user personalization signals to improve usability and helpfulness, they increasingly shift from providing balanced, informative responses toward optimizing for user satisfaction when conditioned on personal context such as conversation history, inferred preferences, and user profiles. Specifically, we identify three emerging risks: (1) irrelevant personalization, where models reference personal information in unnecessary contexts; (2) preference narrowing, where models reinforce informational echo chambers; and (3) sycophantic bias, where models agree excessively with user opinions. As a result, models may reference personal information in contexts where it is unnecessary, inadvertently collapse response diversity, or agree excessively with user opinions. Despite the growing use of personalization in AI assistants, there has been limited systematic evaluation of its potential side effects. To bridge this gap, we propose PRISK, a dynamic evaluation framework with automated data generation and tailored metrics that uncovers systematic limitations in current LLM personalization and how personalized information shapes its responses. Our empirical analysis across 13 LLMs demonstrates that the presence of user profiles and retrieved memory consistently exacerbates biases, resulting in an average drop of 45.9% in irrelevant personalization, 41.7% in preference narrowing and 61.7% in sycophantic bias.

    Abstract source
  • EMNLP · Main

    Beyond Output Correctness: Benchmarking and Evaluating Large Language Model Reasoning in Coding Tasks

    Yuangang Li, Justin Tian Jin Chen, Ethan Yu, David Hong, Iftekhar Ahmed

    Abstract

    Large language models (LLMs) increasingly rely on explicit reasoning to solve coding tasks, yet evaluating the quality of this reasoning remains challenging. Existing reasoning evaluators are not designed for coding, and current benchmarks focus primarily on code generation, leaving other coding tasks largely unexplored. We introduce CodeRQ-Bench, the first benchmark for evaluating LLM reasoning quality across three coding task categories: generation, summarization, and classification. Using this benchmark, we analyze 1,069 mismatch cases from existing evaluators, identify five recurring limitations, and derive four design insights for reasoning evaluation in coding tasks. Guided by these insights, we propose VERA, a two-stage evaluator that combines evidence-grounded verification with ambiguity-aware score correction. Experiments on CodeRQ-Bench show that VERA consistently outperforms strong baselines across four datasets, improving AUCROC by up to 0.26 and AUPRC by up to 0.21. We release CodeRQ-Bench at https://github.com/MrLYG/CodeRQ-Bench, supporting future investigations.

    Abstract source
  • EMNLP · Main

    Some Tokens Behave like Magnets: Revealing Linguistic Organization in the Layers of Language Models

    Andrew Liu, Devan Srinivasan, Gerald Penn

    Abstract

    We identify a special group of token vectors inside large language models (LLMs) — which we term magnetic vectors — that organize the surrounding tokens by either attracting or repelling them. Particularly, tokens pointing the same way as an attracting magnet are elongated; tokens pointing the same way as a repelling magnet are compressed. Just as physical magnets pull or push away the iron filings around them, these vectors organize their surroundings through two opposing polarities. Moreover, we identify a statistically significant pattern in linguistic category where function words consistently act as repelling magnets in early layers, and we also find magnets consistently reorganize their polarities in unique ways deeper in the model. In a further case study we find this observation may unveil a deliberate, layer-wise organization in how LLMs process language.This pattern is consistent across different LLM architectures, sizes, and layer configurations. It is also causally relevant. When the LLM is fine-tuned for a downstream task, the task-functional tokens emerge as magnets. E.g., in question answering, the answer-span tokens become uniquely repelling magnets in the final layer, geometrically carving the answer out of the surrounding context. Furthermore, removing early-layer repelling magnets devastates syntactic tasks (POS tagging accuracy drops from 91% to below 10%) while sparing semantic ones, and removing late-layer attracting magnets does the reverse. We believe this phenomenon warrants further investigation, as it opens the first probe-free path to understanding how language models geometrically organize linguistic computation across their layers.

    Abstract source