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

381–400 of 581

  • EMNLP · Findings

    MedMT-Bench: Can LLMs Memorize and Understand Long Multi-Turn Conversations in Medical Scenarios?

    Lin Yang, Yuancheng Yang, Xu Wang, Changkun Liu, Haihua Yang

    Abstract

    Large Language Models (LLMs) have demonstrated impressive capabilities across various specialist domains and have been integrated into high-stakes areas such as medicine. However, as existing medical-related benchmarks rarely stress-test the long-context memory, interference robustness, and safety defense required in practice. To bridge this gap, we introduce MedMT-Bench, a challenging medical multi-turn instruction following benchmark that simulates the entire diagnosis and treatment process. We construct the benchmark via scene-by-scene data synthesis refined by manual expert editing, yielding 400 test cases that are highly consistent with real-world application scenarios. Each test case has an average of 22 rounds (maximum of 52 rounds), covering 5 types of difficult instruction following issues. For evaluation, we propose an LLM-as-judge protocol with instance-level rubrics and atomic test points, validated against expert annotations with a human-LLM agreement of 91.94%. We test 17 frontier models, all of which underperform on MedMT-Bench, with the best model reaching 66.75%. MedMT-Bench can be an essential tool for driving future research towards safer and more reliable medical AI. The benchmark is available in https://github.com/hiyyc/MedMT-Bench.

    Abstract source
  • EMNLP · Findings

    How Order-Sensitive Are LLMs? OrderProbe for Deterministic Structural Reconstruction

    Zhaolu Kang, Yingjie He, Kehan Jiang, Leqi Zheng, Jiachen Qian, Qianyuan Zhang, Chunlei Meng, Yujie Feng, Yuan Wang, Stephen Dou, Aming Wu, Pengxiang Zhao, Jiaxin Liu, Guansu Wang, Zeyu Zhang, Zeyu Wang, Lei Wang, Qishi Zhan, Xiaomin He, Meisheng Zhang, Jianyuan Ni, Richeng Xuan

    Abstract

    Large language models (LLMs) excel at semantic understanding, yet their ability to reconstruct internal structure from scrambled inputs remains underexplored. Sentence-level restoration is difficult to evaluate automatically because scrambled sentences often admit multiple valid reorderings. We introduce OrderProbe, a deterministic benchmark for structural reconstruction using fixed four-character expressions in Chinese, Japanese, and Korean, which have a unique canonical order and thus support exact-match scoring. We further propose a diagnostic framework that evaluates models beyond recovery accuracy, including Semantic Accuracy, Logical Validity, Structural Consistency, Robustness, and Information Density. Experiments on twelve widely used LLMs show that structural reconstruction remains difficult even for frontier systems: zero-shot recovery frequently falls below 35%. We also observe a consistent gap between meaning-oriented generation and exact structural reconstruction, suggesting that structural robustness is not an automatic byproduct of semantic competence.

    Abstract source
  • EMNLP · Findings

    RegioZH: Unveiling Comprehension Disparities across Regional Chinese Varieties in LLMs

    Weihua Zheng, Wu Kui, Thong T. Doan, Lin Jingxia, AiTi Aw, Nancy F. Chen, Roy Ka-Wei Lee

    Abstract

    Current evaluations often treat Chinese varieties as monolithic, obscuring failures for regional users. We introduce RegioZH, a 2,607-item multiple-choice benchmark for regional lexical reasoning across Mainland China, Taiwan, Hong Kong, Singapore, and Malaysia. Built by region-specific annotators and expert-validated, it targets localized idioms, slang, code-mixing, politeness conventions, and sociocultural expressions. Zero-shot results on eleven LLMs show large disparities, including a 29.4-point average accuracy gap between Taiwan and Singapore. Persona and structured chain-of-thought prompts for five models yield selective gains, suggesting that some errors stem from retrieval or framing rather than only missing knowledge. Representation, attention, calibration, and surface-feature analyses show a dissociation between marker attention and semantic grounding, overconfident forced-choice errors, and localized lexical density as a consistent difficulty predictor. Qualitative analysis finds terminology misunderstandings, sociocultural inference gaps, and cross-regional semantic divergence. RegioZH demonstrates that apparent Chinese proficiency can mask uneven understanding across regional varieties, motivating intra-language robustness evaluation alongside multilingual generalization.

    Abstract source
  • EMNLP · Findings

    PeLA: Prompt-Enhanced Logit Adaptation for Personality-Trait Steering in LLMs

    Haoxuan Kou, Wenxuan Wang, Zirui Liu, Jiaxing Shen

    Abstract

    Large language models (LLMs) are increasingly used in long-running user-facing applications where responses may need to maintain a consistent interaction style. Prompting is easy to reuse but often weak, while fine-tuning and representation interventions can be stronger but are typically model-specific. We present PeLA, Prompt-Enhanced Logit Adaptation, a parameter-efficient framework for Big Five personality-trait steering. PeLA keeps the base LLM frozen, uses a personality prompt to specify the desired trait direction, and applies a learned logit adapter during decoding. The adapter contributes a base-relative residual controlled by a token-position gate, refining the prompt-conditioned distribution only when intervention is useful. Because the control module operates in output-token space, it can be reused across models with identical tokenizer vocabularies and token-id order. On open-ended PersonalityBench questions, PeLA improves macro-average target-direction scores over a strong Personality Prompt baseline on Qwen3-8B and Qwen2.5-7B, while cross-size experiments demonstrate tokenizer-compatible transfer within both the Qwen3 and Llama-3.2 families after validation-based scale calibration. PeLA narrows the gap to model-specific steering while preserving a frozen base model.

    Abstract source
  • EMNLP · Findings

    The Illusion of \textit{What If}: Evaluating the Breakdown of Counterfactual Reasoning in LLMs

    Yucheng Wang, Yuetian Du, Zhengyi Liu, Rongyu Zhang, Bing Zhao, Boyu Yang, Ming Kong, Lin Qu, hu Wei, Jie Liu, Qiang Zhu

    Abstract

    Counterfactual reasoning requires models to reason beyond the observed world and explain how altered conditions propagate through downstream consequences. Existing benchmarks largely target bounded settings with fixed variables or single gold outcomes, overlooking open-domain scenarios requiring causal-process evaluation. To this end, we present \textbf{WhatIfBench}, a diagnostic benchmark for open-domain, open-form, long-horizon counterfactual causal reasoning, containing 220 what-if questions across STEM, HSS, and Hybrid scenarios. To evaluate free-form responses, we further propose \textbf{PRISM}, which first converts each natural-language explanation into a Response-Derived Semantic Causal Graph of events, states, and mechanisms. On top of this graph, PRISM then jointly applies a Process Metric assessing graph-level causal validity and a Rubric Metric assessing answer-level explanatory adequacy. Evaluating six frontier LLMs with this framework, we find that WhatIfBench remains far from saturated: even the strongest model reaches only a 64.62% final score. Further analysis reveals persistent causal gaps, premise drift, and topology fragmentation, suggesting that fluent counterfactual narratives often mask fragile causal processes. The benchmark, code, and evaluation scripts are available at https://github.com/zju-gt/WhatIfBench.

    Abstract source
  • EMNLP · Findings

    Learning Solvability Boundaries in LLMs: Improving Reasoning, Detecting Unsolvability, and Calibrating Refusal

    Dengyun Peng, Qiguang Chen, Bofei Liu, Jiannan Guan, Libo Qin, Zheng Yan, Jinhao Liu, Jianshu Zhang, Wanxiang Che

    Abstract

    Reasoning alignment usually assumes each query has a determinate answer, rewarding models for reaching it and penalizing or ignoring failures. This assumption breaks on flawed queries with missing information or contradictory constraints, causing models to hallucinate invalid answers or over-refuse difficult valid tasks. We study this failure mode as solvability boundary learning: separating input-side answerability defects from model-side inability on well-posed tasks. To address this, we introduce UnsolvableQA, a verifier-backed multi-domain benchmark built with deterministic checks and audited math verification, and UnsolvableRL, an alignment framework that decouples reasoning, unsolvability detection, and capability-calibrated refusal. UnsolvableRL yields over 85% unsolvability detection on Qwen3-4B while improving solvable accuracy from 43.4% to 69.4%, with a +35.4-point solvable-accuracy gain on Llama3-8B. Diagnostic tuning further distinguishes missing-information defects from constraint conflicts and transfers to interactive clarification, improving Detail Recovery from 47.8% to 60.7% for Llama3-8B. Ablations reveal Capability Collapse: refusal penalties degrade detection without unsolvable data, but act as a rigor regularizer when such data are included.

    Abstract source
  • EMNLP · Findings

    Decoupled Analysis-Judging: An Automated Creativity Evaluator Using LLMs in Complex Multi-step Creativity Tasks

    Xiangyu Wang, Jin Wu, Xiaoyu Li, Chanjin Zheng, Yifeng Zhou

    Abstract

    Automated evaluation of creativity tasks remains challenging for LLM-as-a-Judge, as LLM is susceptible to biases such as verbosity bias and leniency bias. Such limitations are particularly evident in Contextually-Grounded and Procedurally-Structured Tasks (CGPST), a complex multi-step creativity task where inter-step dependencies, highly subjectivity, and wide scoring ranges lead to more unstable and biased judgments. Existing approaches either rely on task-specific training or directly apply LLM-as-a-Judge, both of which struggle to ensure reliable evaluation under such complexity. To bridge these gaps, we propose **CreaEval**, an automated **crea**tivity **eval**uator for CGPST that decouples typical LLM-as-a-Judge into analysis and judging. Correspondingly, CreaEval involves two critical phases: **Memory-augmented Analysis**, a SoT-LLM converts multi-step responses into structured evaluation evidence, incorporating cross-step memory; and **Evidence-based Judging**, a Judge-LLM uses the extracted evidence for judging without accessing raw responses. Comprehensive experiments on CGPST show that CreaEval achieves an average human-LLM agreement of 0.64 (QWK) on CGPST, improving over the second-best baseline (supervised training) by 0.17. The code is available at https://anonymous.4open.science/r/CreaEval-0058/.

    Abstract source
  • EMNLP · Findings

    Can LLMs Access their World Knowledge for Event Prediction?

    Zijun Wu, Zhitian Zhang, Hossein Hajimirsadeghi, Nikita Dvornik, Alexander Pashevich

    Abstract

    Recent work has questioned whether large language models (LLMs) can be useful for temporal event prediction. Despite vast pretrained world knowledge, LLMs often underperform simpler specialized models. We ask whether this knowledge is truly inaccessible, or whether current methods fail to present event prediction in a form LLMs can use. We argue for the latter and show that LLMs become effective event forecasters when the interface is designed around two choices. The first grounds each event in a natural-language description, and the second separates event semantics from the prediction space to prevent semantic bias from label associations. To test this, we introduce DescribeEvent, a benchmark of ~150K events across seven datasets and six domains with event-level descriptions. We find that capable LLMs substantially benefit from descriptions and symbolic labels, outperforming description-free variants and non-LLM baselines, while weaker models gain little. These results suggest that accessing LLM world knowledge for event prediction is an interface problem, and that event descriptions offer a practical way to elicit the knowledge LLMs already encode.

    Abstract source
  • EMNLP · Findings

    ProtSynGen: Knowledge Graph-Guided Open-Ended Data Synthesis for Protein LLMs

    Yifan Xu, Ying Lv, Gang Xu, Jianpeng Ma

    Abstract

    The performance of large language models (LLMs) depends critically on the quality of their instruction-tuning data. For protein LLMs, existing instruction-tuning datasets are typically derived from structured protein annotations through template-based or label-guided generation. Although these datasets capture important biological facts, their construction paradigms often lead to two limitations: instruction homogenization and reasoning superficiality. The former refers to questions concentrating around repetitive forms and narrow topics; the latter to answers relying on shallow annotation lookup rather than evidence-rich biological reasoning. To address these limitations, we propose ProtSynGen, a knowledge graph-guided open-ended data synthesis framework for protein LLMs. ProtSynGen integrates structured protein databases with unstructured scientific literature into a protein-centric knowledge graph, and uses hierarchical graph sampling to guide LLMs in generating open-ended QAs across atomic, aggregated, and complex reasoning scenarios. Experiments show that ProtSynGen produces instruction-tuning data with broader topic coverage, richer reasoning depth, and stronger quality metrics than existing protein LLM instruction datasets. Models trained on ProtSynGen data further achieve superior performance on open-ended protein QA benchmarks, consistently outperforming baseline methods across atomic, aggregated, and complex reasoning scenarios.

    Abstract source
  • EMNLP · Findings

    Reinforcing Step-level Reasoning for Effective Self-Correction in LLMs

    Duc Anh Vu, Nhat M. Hoang, Do Xuan Long, Cong-Duy T Nguyen, Ponhvoan Srey, Anh Tuan Luu

    Abstract

    Achieving effective self-correction, where models verify and correct their own mistakes, remains a fundamental challenge for large language models (LLMs). In this work, we propose Self-Fix Step-DPO (SFS-DPO), a reinforcement learning based, two-stage framework for step-level self-verification and self-correction. The first stage strengthens step-level reasoning via step-level preference optimization, while the second stage explicitly trains models to self-verify and self-correct. We further introduce a teacher-assisted variant, SFS-DPO-R, which incorporates explanatory rationales for error verification to provide stronger corrective signals. Comprehensive in-domain and out-of-domain evaluations across multiple LLMs demonstrate that SFS-DPO and SFS-DPO-R consistently outperform prior step-level training baselines. Our analysis further reveals improvements in self-correction frequency and effectiveness, highlighting the importance of strengthening step-level reasoning for robust performance.

    Abstract source
  • EMNLP · Findings

    In-Context Neurofeedback: Can LLMs Control Their Internal Representations through Privileged Access?

    Koshiro Aoki, Ryota Takatsuki, Gouki Minegishi, Yusuke Haruki, Daisuke Kawahara

    Abstract

    Whether large language models (LLMs) can control their own internal representations matters for both machine metacognition and AI safety. A recent study applied neurofeedback to LLMs and claimed that they can control their internal representations. However, the reported control may rely on superficial mechanisms rather than genuine internal access because the control targets in that study are not privileged, meaning that a third party can infer them from the prompt. We redesign the neurofeedback paradigm for LLMs so that the control target satisfies the privileged access requirement, which is closer to neurofeedback experiments in human cognitive neuroscience. Under this stricter setting, the models do not demonstrate reliable control over privileged internal representations, suggesting that previously reported control cannot exclude the possibility that it relies on superficial mechanisms. Our results indicate that rigorous assessments of metacognition in LLMs require evaluation methods that demand privileged access.

    Abstract source
  • EMNLP · Findings

    Estimating Uncertainty from Reasoning: A Large-Scale Study of Multi- and Crosslingual MCQA Performance in LLMs

    Andrea Alfarano, Andrea Bacciu, Saab Mansour, Amin Mantrach, Marcello Federico

    Abstract

    Uncertainty estimation (UE) enables LLM-powered systems to recognize when to abstain, yet existing research has predominantly focused on English. We present the first large-scale evaluation of UE methods across 22 languages, spanning high-, mid-, and low-resource settings. Using two human-curated Q A datasets, we compare open and closed box UE methods (nine in total) across different model sizes and architectures while eliciting long-form reasoning, avoiding LLM-as-a-judge and embedding-based scoring, which can introduce evaluation noise. We report three main actionable findings. First, we find that prompting models to reason in English while keeping questions in low-resource languages substantially improves UE performance, suggesting that comprehension of low-resource languages is largely intact, and that the reliability bottleneck lies in generation rather than understanding. Second, prompting models to reason in English closes the UE performance gap between low and high-resource languages, demonstrating that generation language matters more than the question language. Third, the choice of UE method should depend on model scale: at smaller scales, open-box probability-based methods outperform alternatives; at larger scales, closed-box self-verbalized uncertainty becomes superior. Finally, we provide an analysis of threshold selection for selective prediction, offering guidance on calibrating abstention in multilingual settings. We publish our code to support further research in multilingual UE. Our code available in Anonymous Github[https://anonymous.4open.science/r/Cross-and-Multilingual-Uncertainty-Estimation-7976/].

    Abstract source
  • EMNLP · Findings

    Can LLMs Compress Wireless Signals? Physics-Informed Prompting for Training-Free Signal Compression

    Yiwei Wang, Lixiang Lian, Sijie Ji

    Abstract

    Wireless signals are a unique form of time-series data that encode rich physical characteristics of the propagation environment. As large volumes of signals are continuously generated in wireless sensing systems, efficient compression is essential for scalable transmission under limited system resources. However, wireless signals exhibit strong variability across environments and time, making it difficult to design universal compression schemes that generalize across domains while preserving the physical fidelity required for accurate reconstruction and sensing. Meanwhile, recent advances in large language models (LLMs) have demonstrated remarkable reasoning and adaptation capabilities across diverse modalities and domains. This raises an intriguing question: can LLMs compress wireless signals in a training-free manner while preserving physical fidelity? To the best of our knowledge, this problem remains unexplored. To answer this question, we propose a physics-informed prompting framework for training-free wireless signal compression. The framework incorporates environmental context and scenario-specific knowledge as physical priors in the prompt. We further introduce a dictionary module with self-learned patterns to stabilize inference and a key prompt module to align the semantics between the LLMs used for compression and reconstruction. Extensive experiments demonstrate that the proposed framework achieves high-fidelity reconstruction under cross-domain settings, highlighting the promise of physics-informed prompting as a new paradigm for processing and compressing low-level physical signals.

    Abstract source
  • EMNLP · Findings

    Distilling Multimodal Evolution with Adaptive Anchors for Cloud-Edge Collaborative MLLMs

    Chunyun Zhang, Qilong Song, Chaoran Cui, Shuai Gong, Fujun Yang, Wenna Wang, Peiguang Lin

    Abstract

    Cloud-edge collaboration provides a practical paradigm for deploying MLLMs on resource-constrained devices, where compact edge-side models are improved with supervision from stronger cloud-side models. However, existing cloud-edge distillation methods mainly rely on pseudo labels or static feature alignment, overlooking how the teacher progressively transforms multimodal inputs into answers. In this paper, we propose A^2-MED, Adaptive Anchor-Guided Multimodal Evolution Distillation for cloud-edge MLLMs. Our key idea is to organize the teacher’s layer-wise multimodal evolution into functional stages through adaptive teacher-side anchoring, and transfer the resulting stage-wise evolution as process-level supervision. Specifically, we adaptively identify functional anchors from the teacher according to layer-wise indicators of cross-modal binding, semantic integration, and answer prediction, and then project these anchors to the student to establish corresponding functional stages. Under these teacher-defined stages, we align teacher-student anchor states and distill inter-stage multimodal evolution relations, enabling the student to learn how the teacher progressively transforms multimodal inputs into answers. Experiments on A-OKVQA and VizWiz show that our method consistently improves over representative cloud-edge and distillation baselines, with further analyses validating the effectiveness of adaptive anchors and evolution distillation.

    Abstract source
  • EMNLP · Findings

    The Struggle Between Continuation and Refusal: A Mechanistic Analysis of the Continuation-Triggered Jailbreak in LLMs

    Yonghong Deng, Zhen Yang, Ping Jian, Xinyue Zhang, Zhongbin Guo, Chengzhi Li, Junxi Yin

    Abstract

    With the rapid advancement of large language models (LLMs), the safety of LLMs has become a critical concern. Despite significant efforts in safety alignment, current LLMs remain vulnerable to jailbreaking attacks. However, the root causes of such vulnerabilities are still poorly understood, necessitating a rigorous investigation into jailbreak mechanisms across both academic and industrial communities. In this work, we focus on a continuation-triggered jailbreak phenomenon, whereby simply relocating a continuation-triggered instruction suffix can substantially increase jailbreak success rates. To uncover the intrinsic mechanisms of this phenomenon, we conduct a comprehensive mechanistic interpretability analysis at the level of attention heads. Through causal interventions and activation scaling, we show that this jailbreak behavior primarily arises from an inherent competition between the model’s intrinsic continuation drive and the safety defenses acquired through alignment training. Furthermore, we perform a detailed behavioral analysis of the identified safety-critical attention heads, revealing notable differences in the behaviors of safety heads across different model architectures. Grounded in these mechanistic findings, we propose Head Competition Steering (HCS), a mechanistically grounded inference-time strategy that explicitly leverages the competition between safety heads and continuation heads to suppress harmful generation, and further distill its behavioral signal into a student model via knowledge distillation, achieving inference-time safety improvements without additional computational overhead.

    Abstract source
  • EMNLP · Findings

    Alignment by Stereotyping: How LLMs Sacrifice Individual Distinctiveness for Cultural Adaptation

    Qishuai Zhong, Zongmin Li, Siqi Fan, Aixin Sun

    Abstract

    Large language models are increasingly deployed for personalized interaction, and demographic conditioning via user profiles is a widely adopted strategy for cultural adaptation. We ask whether this approach genuinely serves individual users or achieves accuracy by erasing individual distinctiveness. Studying seven models including frontier GPT-5.1 on the World Values Survey, we find that demographic profiles improve value alignment accuracy for most models, but at a systematic cost to individuality. That is, models pull responses toward demographic group centroids rather than preserving individual differences, a behavioral pattern we term alignment by stereotyping. Permutation tests (10,000 permutations, six demographic attributes, seven models) certify that top-performing models compress individuals far above the human baseline; within-family scaling amplifies this tradeoff while degrading intrinsic cultural understanding. Using a synthetic dialogue dataset validated on real human-chatbot conversations from PRISM (Kirk et al., 2024), we further show that distributing demographic signals across conversational turns partially suppresses prototype retrieval compared to compact demographic labels, a finding validated on real conversations via PRISM but requiring replication at larger scale.

    Abstract source
  • EMNLP · Findings

    Forget-to-Focus: Targeted Unlearning for Domain Specialization in LLMs

    Chaitali Bhattacharyya, Shinhyoung Jang, Seohyun Kim, Junyoung Lee, Yeseong Kim

    Abstract

    Supervised fine-tuning is the standard approach for adapting pretrained large language models to specialized domains, yet it treats the pretrained checkpoint as a fixed and neutral initialization. In practice, pretrained models encode broad general-domain priors that can conflict with target-domain learning. We propose Forget-to-Focus (F2F), a two-stage domain-specialization framework that first applies controlled unlearning to reshape the pretrained checkpoint and then performs ordinary supervised fine-tuning from the resulting initialization. A key challenge is deciding what to forget. We introduce NG-DS, a neuron-guided data selection method that identifies pretraining-dominant and domain-dominant feed-forward neurons, then selects forget examples that strongly activate the former while weakly activating the latter. This model-aware forget set directs unlearning toward pretraining-like behavior while reducing the risk of erasing target-domain-relevant knowledge.We evaluate F2F on five LLM backbones spanning 0.6B-72B parameters across coding, medical question answering, and mathematical reasoning. F2F consistently improves over standard SFT and adaptation baselines. Across coding, medical QA, and mathematical reasoning, F2F consistently improves over standard tuning. On HumanEval, it improves over SFT by +13.84 for Qwen3-0.6B, +7.86 for LLaMA3.1-8B, and +10.14 for LLaMA2-13B. On PubMedQA, it improves Qwen3-0.6B from 62.60 to 80.50, showing that targeted preparatory forgetting provides a better initialization for tuning.

    Abstract source
  • EMNLP · Findings

    Are LLMs Ready to Assist Physicians? PhysAssistBench for Interactive Doctor-Patient-EHR Assistance

    Tianming Du, Peijie Yu, Sihan Shang, Danli Shi, My Linh Nguyen, Shengbo Gao, Guangyuan Li, Yinghong Yu, Yan Jiang, Qianlong Zhao, Behzad Bozorgtabar, Shaoxiong Ji, Jiazhen Pan, Daniel Rueckert, Jiancheng Yang

    Abstract

    The most plausible near-term role of medical LLMs is to assist rather than replace physicians, yet current evaluations often test isolated capabilities: clinical knowledge, EHR system interaction, or patient communication. Physician assistance instead requires coordinating these capabilities within the same interaction, where physicians issue underspecified requests, patients describe symptoms ambiguously, and EHR systems demand precise tool use. We introduce PhysAssistBench, a benchmark for interactive doctor-patient-EHR assistance. Built from real MIMIC-IV cases, PhysAssistBench uses a scalable pipeline to construct agentic patients: interactive, record-grounded agents that turn static EHR records into multi-turn clinical scenarios while preserving clinical factuality. PhysAssistBench provides a curated evaluation set of 1,296 manually reviewed and physician-validated turns. Experiments with leading LLMs show that current models remain unreliable in this setting, struggling to infer physician intent, clarify vague patient descriptions, formulate grounded EHR queries, and integrate evidence across sources. These results expose a key bottleneck for clinical LLMs: reliable assistance requires coordination across knowledge, communication, and systems, not isolated gains in any of them.

    Abstract source
  • EMNLP · Findings

    AdaR: A Framework for Equipping LLMs with Adaptive Reasoning

    Zhejian Lai, Xiang Geng, Zhijun Wang, Yang Bai, Jiahuan Li, Rongxiang Weng, Jingang Wang, Xuezhi Cao, Xunliang Cai, Shujian Huang

    Abstract

    Mathematical reasoning is a primary indicator of large language models’ (LLMs) intelligence. However, existing LLMs exhibit failures in robustness and generalization. This paper attributes these deficiencies to spurious reasoning, wherein generated reasoning traces are driven by superficial correlations, leading models to blindly reproduce memorized patterns from the training data. To address this challenge, we propose the AdaR framework to equip LLMs with adaptive reasoning, wherein models establish correct correlations between query templates and reasoning processes. AdaR automatically synthesizes logically equivalent queries by varying variable values and trains models using Reinforcement Learning with Verifiable Rewards (RLVR) to penalize spurious logic while encouraging adaptive logic. To ensure data quality, we extract the problem-solving logic from the original query, generate the corresponding answer through code execution, and then apply a sanity check. Experimental results demonstrate that AdaR achieves substantial improvements in mathematical reasoning while maintaining high data efficiency. Furthermore, even advanced LLMs still exhibit deficiencies in robustness and generalization, which our work effectively mitigates.

    Abstract source
  • EMNLP · Findings

    Syntax-Aware Detection of Training Data Contamination in Code LLMs

    Jiazheng Zhang, Cheng Liu, Long Cheng, Xiaowei Li, Huawei Li

    Abstract

    Despite rapid advances in Code LLMs, their training datasets are often opaque due to proprietary and competitive concerns. Since many evaluation benchmarks are open-source and widely available online, models may unintentionally train on them, leading to data contamination that compromises evaluation validity. Reliable techniques for detecting whether a code snippet appears in a model’s training data are therefore essential. Compared with natural language, code contamination detection presents two unique challenges. First, code tokens from different syntactic categories contribute unequally to contamination signals, making uniform token treatment ineffective. Second, models trained on semantically equivalent code variants can evade detectors based solely on text matching. To address these challenges, we propose a syntax-aware framework that explicitly models token-type contributions. With a lightweight supervised detector trained on few labels, it captures contamination signals efficiently. Experiments across 8 Code LLMs, 2 languages, and 4 code transformations show absolute AUC gains of 8–10% for pretraining data detection and 15–20% for fine-tuning data detection, with AUC exceeding 90% on most fine-tuned tasks. Our work demonstrates that syntax-aware modeling is essential for trustworthy Code LLM evaluation.

    Abstract source