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

241–260 of 421

  • EMNLP · Findings

    EntropyPrune: Matrix Entropy Guided Visual Token Pruning for Multimodal Large Language Models

    Yahong Wang, Juncheng Wu, Zhangkai Ni, Chengmei Yang, Yihang Liu, Longzhen Yang, Yuyin Zhou, Ying Wen, Lianghua He

    Abstract

    Multimodal large language models (MLLMs) incur substantial inference cost due to the processing of hundreds of visual tokens per image. Although token pruning has proven effective for accelerating inference, determining when and where to prune remains largely heuristic. Existing approaches typically rely on static, empirically selected layers, which limit interpretability and transferability across models. In this work, we introduce a matrix-entropy perspective and identify an ”Entropy Collapse Layer”(ECL), where the information content of visual representations exhibits a sharp and consistent drop, which provides a principled criterion for selecting the pruning stage. Building on this observation, we propose EntropyPrune, a novel matrix-entropy-guided token pruning framework that quantifies the information value of individual visual tokens and prunes redundant ones without relying on attention maps. Moreover, to enable efficient computation, we exploit the spectral equivalence of dual Gram matrices, reducing the complexity of entropy computation and yielding up to a 64x theoretical speedup. Extensive experiments on diverse multimodal benchmarks demonstrate that EntropyPrune consistently outperforms established competitive pruning methods in both accuracy and efficiency. On LLaVA-1.5-7B, our method achieves a 57.7% reduction in FLOPs while preserving 98.8% of the original performance. Furthermore, EntropyPrune generalizes effectively to high-resolution and video-based models, highlighting the strong robustness and scalability in practical MLLM acceleration.

    Abstract source
  • EMNLP · Findings

    Reverse Probing: Supervised Token-level Uncertainty Quantification for Large Language Models in Clinical Text

    Bushi Xiao, Sarvesh Soni, Daisy Zhe Wang

    Abstract

    As large language models are increasingly deployed for clinical text, ensuring they can reliably signal their own uncertainty becomes critical. Most existing uncertainty quantification (UQ) methods are designed for open-domain generation and cannot localize uncertainty at the token or span level in long clinical text. We propose Reverse Probing, the first uncertainty quantification framework specialized for clinical summarization, which estimates token-level uncertainty directly from pre-existing clinical summaries. Rather than sampling new outputs, Reverse Probing treats the text as a probe into the model’s internal state, extracting uncertainty features from four categories of signals. We evaluate Reverse Probing on two expert-annotated clinical datasets and outperform eight adapted baselines, achieving up to 4\times higher AUPRC while running over 15\times faster than sampling-based methods. Feature analysis reveals that the log-logit difference induced by the source record and the neighborhood context are the most consistent predictors across all models. This study offers interpretable insights into how models internally respond to unsupported clinical content.

    Abstract source
  • EMNLP · Findings

    SMRC: Aligning Large Language Models with Student Reasoning for Mathematical Error Correction

    BiaoJie Zeng, Min Zhang, Juan Zhou, Fengrui Liu, Ruiyang Huang, YU Song, Xin Lin

    Abstract

    Large language models (LLMs) often make reasoning errors when solving mathematical problems, and how to automatically detect and correct these errors has become an important research direction. However, existing approaches mainly focus on self-correction within the model, which falls short of the “teacher-style” correction required in educational settings, i.e., systematically guiding and revising a student’s problem-solving process. To address this gap, we propose SMRC (Student Mathematical Reasoning Correction), a novel method that aligns LLMs with student reasoning. Specifically, SMRC formulates student reasoning as a multi-step sequential decision problem and introduces Monte Carlo Tree Search (MCTS) to explore optimal correction paths. To reduce the cost of the annotating process-level rewards, we leverage breadth-first search (BFS) guided by LLMs and final-answer evaluation to generate reward signals, which are then distributed across intermediate reasoning steps via a back-propagation mechanism, enabling fine-grained process supervision. Additionally, we construct a benchmark for high school mathematics, MSEB (Multi-Solution Error Benchmark), consisting of 158 instances that include problem statements, student solutions, and correct reasoning steps. We further propose a dual evaluation protocol centered on solution accuracy and correct-step retention, offering a comprehensive measure of educational applicability. Experiments demonstrate that SMRC significantly outperforms existing methods on two public datasets (ProcessBench and MR-GSM8K) and our MSEB in terms of effectiveness and overall performance.

    Abstract source
  • EMNLP · Findings

    Time Travel Engine: Ordered Temporal Geometry Enables Era-Level Historical Steering in Large Language Models

    Jingmin An, Wei Liu, Qian Wang, Fang Fang

    Abstract

    Large language models compress centuries of discourse into fixed parameters, yet how they organize historical variation and whether this organization shapes generation remain unclear. We introduce the Time Travel Engine (TTE), a framework that compares geometric accounts of era-conditioned residual states and tests their behavioral accessibility under fixed prompts. Across six decoder language models in Chinese and English, broad eras repeatedly form ordered trajectories, although their exact spacing varies across model–language settings. Steering along these trajectories shifts both historical register and access to period-compatible knowledge, while adjacent anchors support local interpolation. Epistemic effects partly survive style removal, linking temporal steering to knowledge access beyond surface register. Across Chinese and English, partially alignable trajectories reveal corresponding chronological relations whose geometric realization remains language-specific. Together, ordered temporal geometry offers a testable account of how static language models organize diachronic variation, linking internal structure to historical register and access to period-compatible knowledge. Code and datasets: https://github.com/LilTiger/Time-Travel-Engine.

    Abstract source
  • EMNLP · Findings

    Some Emotions Run Deeper: Layer-wise Probing and Causal Intervention in Large Language Models

    Tian Fang, Gaël Guibon, Davide Buscaldi

    Abstract

    Emotion is expressed in text along a wide spectrum, from surface lexical cues to inferences entangled with content. Most layer-wise analyses of emotion in LLMs use a single corpus, leaving open whether the depth at which emotion becomes accessible is a property of the model or also of the text source. We investigate this across three datasets spanning different degrees of explicitness and contextualization in emotion expression (Twitter posts, Reddit comments, and autobiographical narratives) and eight 1B–9B open-weight LLMs from the Llama, Qwen, and Granite families. We combine layer-wise probing with offline feature scaling and online forward interventions, transfer analyses, and an early-exit classifier. We find that (i) the best probing layer shifts systematically across corpora, from input-adjacent layers to over half model depth, and this ordering persists after matching label-by-length-bin distributions; (ii)across the evaluated settings, forward-pass interventions on probe-selected bands reduce test accuracy by 5–6 points more than same-width random bands (q < 0.01); (iii) selected bands transfer across datasets and emotion categories, suggesting partially shared affective information rather than strictly per-emotion substrates; and (iv) probe-selected early-exit representations outperform full-depth exits by 6.9 percentage points on average.

    Abstract source
  • EMNLP · Findings

    Regulated Reflection for Efficient Reasoning in Large reasoning language models

    Mingqu Wang, Xinjie Xu, Yinan Zou, Qi Ye

    Abstract

    Large reasoning language models (LRLMs) achieve strong performance on complex reasoning tasks by generating long chain-of-thought trajectories, but such long-form reasoning also increases token consumption and latency. Existing inference-time methods that do not fine-tune the target LRLM optimize long reasoning through budgeting, early exit, uncertainty control, or reflection suppression, but they often treat reflection as a local signal rather than as a factor shaping the reasoning trajectory. In this paper, we identify unregulated reflection as a source of inefficient reasoning and characterize two failure modes: Trajectory Drift, where intermediate reflection opens weakly related branches that restart, reorient, or detour from the current path, and Verification Saturation, where answer-adjacent reflection repeatedly checks or restates an already-emerged provisional answer. To address these issues, we propose Regulated Reflection Decoding (RRD), an inference-time framework that requires no fine-tuning or parameter updates to the target LRLM and treats reflection events as online control points. RRD combines Trajectory Drift Suppression (TDS), which guides intermediate reasoning toward validated continuation branches, and Redundant Verification Suppression (RVS), which suppresses redundant verification when the provisional answer is sufficiently reliable. Experiments on multiple reasoning benchmarks show that RRD reduces reasoning length while preserving or improving accuracy, yielding a stronger accuracy-efficiency trade-off than direct inference and representative inference-time baselines.

    Abstract source
  • EMNLP · Findings

    Beyond Factual Knowledge: Benchmarking and Learning Step-Level Procedural Rule Reasoning in Large Language Models

    Bohan Yu, Pengfei Cao, Chen Han, Chenxi Zhou, Zhiheng Zhang, Zhiyang Xie, Wenhao Teng, Xiangwen Liao, Jun Zhao, Kang Liu

    Abstract

    Large language models (LLMs) excel at text understanding and generation, yet still struggle to reliably understand and apply externally provided procedural rules at scale. To evaluate this capability, we introduce RuleWorld, a large-scale benchmark that reformulates rules as globally reusable abstract units rather than instance-specific facts. In RuleWorld, several scenarios, including single-rule, parallel multi-rule, and multi-hop reasoning, are settled for comprehensive evaluation. We further propose DynaRule, an end-to-end framework that injects the given rules into the KV cache and turns retrieval into an internal, learnable, step-wise process. Specifically, DynaRule employs Stacked Step-Level Attention Training with a special <search> token to enable dynamic rule re-attention and updating during inference. In this way, the model can re-attend to the most relevant rules at each step, dynamically replacing outdated ones to support more stable multi-step reasoning. Experiments on RuleWorld show that existing LLMs face challenges under large rule pools, while DynaRule improves average QA accuracy by up to 19 points and achieves over 85% Recall@1 at 10K rules, outperforming strong baselines by large margins.

    Abstract source
  • EMNLP · Findings

    SpeechJBB: Probing Safety Alignment and Comprehension in Large Audio Language Models under Code-Switched Speech

    Virginia Ceccatelli, Yejin Jeon, David Ifeoluwa Adelani

    Abstract

    Large audio language models (LALMs) are increasingly deployed in real-world applications, yet their safety alignment is still primarily evaluated on monolingual, text-based harmful prompts. This leaves their generalizability under multilingual and spoken settings, particularly code-switched speech, largely underexplored. To address this gap, we introduce SpeechJBB, an audio jailbreak dataset for benchmarking state-of-the-art LALMs across five European languages: English, French, German, Italian, and Spanish, as well as code-switched variants combining pairs of these languages. The extent of safety weaknesses is further probed by introducing an augmented setting where phonologically plausible pseudo-words are inserted around safety-critical terms to simulate localized obfuscation. Across models, code-switched harmful audio yields substantially high jailbreak success rates (JSR), with non-English monolingual and non-English code-switched pairs exhibiting the highest attack success. Pseudo-word insertion monotonically reduces refusal as insertion density increases, even though models rarely attribute harmful meaning to the inserted tokens. Comprehension benchmarks show that these failures are not reducible to multilingual misunderstanding, as several models with strong ASR, spoken language understanding, and spoken reasoning performance are among the most vulnerable.

    Abstract source
  • EMNLP · Findings

    HierDiff: Enhancing Large Language Models for Commit Message Generation with Hierarchical Diff Information

    Jinrui Sun, Tong Jia, Minghua He, Ying Li

    Abstract

    Commit messages are vital artifacts that summarize changes to facilitate software maintenance, debugging, and evolution tracking. However, existing Commit Message Generation (CMG) methods rely solely on code diffs and overlook higher-level architectural dependency diff information. To address this limitation, we propose HierDiff, a framework using architectural diffs to complement code diffs for improved commit generation. Through this framework, we further construct HierCMD, a new dataset that incorporates architectural diffs alongside much longer code diffs. Building on this resource, we develop HierDiff-6.7B, a lightweight CMG model trained via multi-stage hierarchical diff learning. To enable more rigorous evaluation, we additionally extend the existing MCMD-New-Test benchmark by incorporating architectural diff information, resulting in MCMD-New-TestX. Experimental results on MCMD-New-TestX and HierCMD demonstrate that HierDiff-6.7B achieves state-of-the-art performance in CMG, even surpassing the renowned closed-source model GPT-4o by 2.1% to 29.8% across four evaluation metrics. We release the data and code at: https://anonymous.4open.science/r/HierDiff/.

    Abstract source
  • EMNLP · Findings

    Mechanistic Interpretability for Understanding Language Abilities in Large Language Models: A Survey

    Xufeng Duan, Zhaoqian Yao, Xinyu Zhou, Zihao Fu, Beijia Kan, Yibo Wang, Bei Xiao, Hengyuan Zhang, Xuemei Tang, Ercong Nie, Zhenguang Cai

    Abstract

    Large Language Models (LLMs) exhibit strong performance across language tasks, raising the question of whether this success reflects linguistic abstraction or reliance on surface-level statistical patterns. This survey reviews recent advances in mechanistic interpretability (MI) for analyzing candidate internal mechanisms underlying linguistic competence in LLMs. We trace the shift from model-agnostic analyses to transformer-specific methods and summarize core approaches including probing, neuron- and circuit-level analysis, and causal interventions. Synthesizing empirical findings, we argue that current evidence supports an intermediate view: LLMs appear to use reusable mechanisms for some grammatical behaviors, while these mechanisms remain frequency-conditioned, distributed, and only partially understood. We further review interpretability studies of multilingual models, highlighting evidence for both language-specific and shared representations. Finally, we outline open challenges in scalability, benchmarking, and ethics, and discuss directions toward a more cautious mechanistic account of language in LLMs.

    Abstract source
  • EMNLP · Findings

    Benchmarking Large Language Models for Adaptive Information Acquisition and Diagnosis with Sequentially Revealed Inpatient Records

    Huawei Feng, Dongsheng Shi, Linlin Wang

    Abstract

    While recent medical benchmarks for Large Language Models (LLMs) have begun to incorporate clinical temporality, they still overlook a key reality: clinical evidence is encountered incrementally, requiring repeated decisions between reviewing the next available record and committing to a prediction. To address this issue, we introduce [<https://github.com/hwfengcs/INA-Bench>] , a benchmark for Inpatient Note Acquisition that evaluates LLMs’ ability to make acquire-or-predict decisions using sequentially revealed real-world Chinese inpatient records. In this benchmark, each case sequentially reveals up to three note blocks: an admission note, a first-course summary, and a daily-progress summary. After each block, the model under evaluation must either request the next block or predict one or more later documented follow-up actions (laboratory, imaging, pathology, or consultation). Surgery and discharge records are withheld for label construction and boundary checks only. is built from 8,986 de-identified inpatient records collected from two tertiary teaching hospitals, with patient-disjoint and temporal evaluation splits. Representative LLMs exhibit diverse acquire-or-predict behaviors. For example, DeepSeek-chat improves action micro-F1 by +0.102 and +0.074 on the patient-disjoint and temporal splits, respectively, while reading fewer note blocks, though the gains weaken under temporal drift.

    Abstract source
  • EMNLP · Findings

    Contextual Causality with Large Language Models: A Survey

    Yiheng Zhao, Jun Yan, Chengming Hu

    Abstract

    Understanding contextual causality is critical for large language models (LLMs), as it enables them to accurately identify causal relations in specific situations and support more reliable decision-making. Despite its significance, a systematic exploration of contextual causality with LLMs is still lacking. To fill this gap, we present a comprehensive survey on this topic. In this survey, we first propose a taxonomy of contextual causality, consisting of semantic, intervention, and counterfactual causality, and characterize each category by its core causal question, required model capabilities, representative tasks, and practical uses in causality analysis. We then analyze existing studies and discuss their key limitations. Finally, we examine the gaps between current benchmarks and real-world needs and outline promising directions for future research. Our goal is to clarify the research landscape of contextual causality with LLMs, emphasize its importance, and highlight promising future directions.

    Abstract source
  • EMNLP · Findings

    Can Large Language Models Uncover the Structure of Social Opinions?

    Chongrui Ye, Yuxiang Liu, Haofei Yu, Jiayu Liu, Jiaxuan You

    Abstract

    Understanding how opinions on different issues evolve together is essential for modeling collective intelligence, yet this remains underexplored due to the absence of standardized benchmarks. We introduce the concept of an opinion graph, where nodes represent social opinions on real-world events (e.g., presidential elections, stock predictions) and edges capture pairwise relationships between them. Building on this, we present OpinionBench, a continuously evolving benchmark derived from multiple live prediction markets, designed to evaluate whether large language models (LLMs) can uncover the latent structure within evolving social opinions. OpinionBench employs an scalable and automated graph construction and labeling pipeline, which assigns edge labels using time-series co-movement, semantic similarity, and metadata, followed by human validation. Experiments show that (1) LLMs consistently outperform baselines in identifying opinion correlations across domains, and (2) LLMs can recover the underlying graph structure through edge prediction. OpinionBench provides a challenging testbed for assessing LLMs’ ability to capture complex patterns of social opinion co-evolution.

    Abstract source
  • EMNLP · Findings

    Chain-of-Alpha: Unleashing the Power of Large Language Models for Alpha Mining in Quantitative Trading

    Lang Cao

    Abstract

    Alpha factor mining is a fundamental task in quantitative trading, aimed at discovering interpretable signals that can predict asset returns beyond systematic market risk. While traditional methods rely on manual formula design or heuristic search with machine learning, recent advances have leveraged Large Language Models (LLMs) for automated factor discovery. However, existing LLM-based alpha mining approaches remain limited in terms of automation, generality, and efficiency. In this paper, we propose Chain-of-Alpha, a novel, simple, yet effective and efficient LLM-based framework for fully automated formulaic alpha mining. Our method features a dual-chain architecture, consisting of a Factor Generation Chain and a Factor Optimization Chain, which iteratively generate, evaluate, and refine candidate alpha factors using only market data, while leveraging backtest feedback and prior optimization knowledge. The two chains work synergistically to enable high-quality alpha discovery without human intervention and offer strong scalability. Extensive experiments on real-world Chinese A-share and US S P 500 benchmarks demonstrate that Chain-of-Alpha outperforms existing baselines across multiple metrics, presenting a promising direction for LLM-driven quantitative research.

    Abstract source
  • EMNLP · Findings

    RuleWeaver: Benchmarking Rule-Centered Scenario Reasoning for Large Language Models

    Bohan Yu, Shi-Yang Li, Pengfei Cao, Jun Zhao, Kang Liu

    Abstract

    Large language models (LLMs) are increasingly applied to specialized domains, where effective use of domain expertise often requires reasoning over complex rules in concrete scenarios. However, existing benchmarks only partially evaluate this capability, as they either focus on output-level instruction constraints or overlook the distinct roles that rules play in scenario reasoning. To address these gaps, this paper introduces RuleWeaver, a benchmark construction framework for evaluating rule-centered scenario reasoning. RuleWeaver starts from corpus-derived IF-THEN Meta Rules, progressively augments them into complex rules, and composes these rules into rule-centered scenario QA instances. Beyond final-answer correctness, RuleWeaver further supports process-level evaluation through rubric-based answer quality, rule recall, and rule precision. Experiments on 11 representative LLMs show that current models still struggle with complex rule-centered scenario reasoning, with even the best-performing model achieving only around 50% of the maximum rubric score.

    Abstract source
  • EMNLP · Findings

    Epistemic Familiarity is Associated With Belief Stability in Large Language Models

    Samantha Dies, Courtney Maynard, Germans Savcisens, Tina Eliassi-Rad

    Abstract

    Large language models (LLMs) are widely used as information sources, yet small changes in semantic assumptions can destabilize their beliefs. We introduce P-StaT (Perturbation Stability of Truth), a framework for evaluating belief stability under matched semantic perturbations in both representational and behavioral settings. Across 21 LLMs and three domains, we compare perturbations involving familiar Fictional statements against synthetically generated and unfamiliar Synthetic statements. Unfamiliar Synthetic perturbations generally induce greater epistemic instability than familiar Fictional perturbations, with behavioral belief retraction rates frequently exceeding 50%. Finally, exploratory clustering analyses reveal recurring themes among retracted statements, including ambiguity, technical terminology, and obscure concepts. These results show that epistemic familiarity is systematically associated with stability under semantic reframing, suggesting that stability-based analyses can complement accuracy-based benchmarks when evaluating LLM robustness and reliability. Code and data are available at https://github.com/samanthadies/P-StaT.

    Abstract source
  • EMNLP · Findings

    Evaluating Criterion-Conditioned Behaviour of Large Language Models in Content Moderation

    Danting Zhang, Bei Peng, Robert Loftin

    Abstract

    Large language models (LLMs) demonstrate strong performance on standard content moderation benchmarks. However, these benchmarks often aggregate multiple moderation criteria into a single label, making it unclear whether models can disentangle them and reliably apply each criterion when making decisions. To study whether LLMs exhibit criterion-conditioned behaviour, we introduce Diagnostic Evaluation of COntent (DECO), a criterion-independent factorisation of content that enables controlled, criterion-level evaluation. We also introduce pairwise evaluation to compare model outputs across different criteria for the same input. Across four moderation datasets and four LLMs, we find that strong benchmark performance can hide substantial failures at the criterion level. Models struggle most when correct decisions depend not on overall harmfulness, but on the specific aspect of the content that the criterion requires them to assess. Our results highlight a key limitation of current content moderation benchmarks: strong performance on aggregated labels does not provide sufficient evidence that LLMs can reliably evaluate content with respect to individual moderation criteria. These findings call for the development of evaluation methods that explicitly measure criterion-conditioned behaviour.

    Abstract source
  • EMNLP · Findings

    Counterfactual Sensitivity Regularization for Trace-Sensitive Reasoning in Large Language Models

    Sanjeda Akter, Ibne Farabi Shihab, Anuj Sharma

    Abstract

    Large language models can produce correct final answers with reasoning traces that are incomplete, inconsistent, or weakly coupled to the answer. We study whether training can increase this coupling in structured reasoning domains. We introduce Counterfactual Sensitivity Regularization (CSR), a training objective that creates verifier-approved counterfactual edits to reasoning traces, such as changing an arithmetic operator or a logical relation, and penalizes models when the answer distribution remains unchanged after an edit that should change the computation. We evaluate this behavior with Counterfactual Outcome Sensitivity (COS), the fraction of originally correct examples on which a validity-breaking trace edit changes the final answer. Because COS is aligned with the CSR objective by construction, we report it jointly with counterfactual target accuracy, target coverage, and null-edit preservation, and alongside evidence collected outside the training loop: natural-unfaithfulness audits, external formal verification, input contrast sets, and trace-dependence probes. Across arithmetic, formal logic, multi-hop question answering, and biomedical QA, CSR substantially improves edit sensitivity while incurring small accuracy trade-offs. The gains are largest in domains where the edited operators can be identified and verified reliably; performance degrades as verifier precision falls. These results support CSR as a practical regularizer for trace-sensitive reasoning, not as a complete solution to explanation faithfulness.

    Abstract source
  • EMNLP · Findings

    AFRILANGTUTOR: Advancing Language Tutoring and Culture Education in Low-Resource Languages with Large Language Models

    Tadesse Destaw Belay, Shahriar Kabir Nahin, Israel Abebe Azime, Ocean Monjur, Marek Rei, Chris Biemann, Shamsuddeen Hassan Muhammad, Seid Muhie Yimam, Anshuman Chhabra

    Abstract

    How can language learning systems be developed for languages that lack sufficient training resources? This challenge is increasingly faced by developers across the African continent who aim to build AI systems capable of understanding and responding in local languages. To address this gap, we introduce AFRILANGDICT, a collection of 194.7K African language-English dictionary entries designed as seed resources for generating language-learning materials, enabling us to automatically construct large-scale, diverse, and verifiable student–tutor question–answer interactions suitable for training AI-assisted language tutors. Using AFRILANGDICT, we build AFRILANGEDU, a dataset of 78.9K multi-turn training examples for Supervised Fine-Tuning (SFT) and Direct Preference Optimization (DPO). Using AFRILANGEDU, we train language tutoring models collectively referred to as AFRILANGTUTOR. We fine-tune two multilingual LLMs: Llama-3-8B-IT and Gemma-3-12B-IT on AFRILANGEDU across 10 African languages and evaluate their performance. Our results show that models trained on AFRILANGEDU consistently outperform their base counterparts, and combining SFT and DPO yields substantial improvements, with gains ranging from 1.8% to 15.5% under LLM-as-a-judge evaluations across four criteria.

    Abstract source
  • EMNLP · Findings

    MemGuard: Preventing Memory Contamination in Long-Term Memory-Augmented Large Language Models

    Hyeonjeong Ha, Jeonghwan Kim, Cheng Qian, Jiayu Liu, William M. Campbell, Yue Wu, Yuji Zhang, Kathleen McKeown, Dilek Hakkani-Tür, Heng Ji

    Abstract

    Memory-augmented large language models extend reasoning beyond a fixed context window by maintaining long-term memory across interactions. However, existing memory systems often collapse stable user facts, episodic events, and behavioral rules into a shared space, allowing functionally distinct memories to be retrieved and used as interchangeable evidence. We identify this failure mode as heterogeneous memory contamination, where context-specific events become overgeneralized claims, or semantically relevant but functionally incompatible memories mislead generation. To this end, we introduce MemGuard, a type-aware memory framework that preserves functional memory boundaries during memory construction and retrieval. It assigns each memory an explicit functional role at write time, maintains relations across type-isolated memories, and selectively composes evidence only from necessary memory types, reducing contamination from irrelevant or functionally incompatible evidence. Across hallucination and long-horizon conversation benchmarks, MemGuard improves memory reliability by up to 28.27% while retrieving up to 5.8x fewer memory tokens than prior methods. These results suggest that reliable long-term reasoning depends on principled organization and selective use of heterogeneous memory.

    Abstract source