EMNLP papers
Search EMNLP papers by title, author, or track. Open a paper’s abstract to read more.
Explore the EMNLP analysisSearch results
881–900 of 1,560
- EMNLP · Findings
RCR-Router:Role-Conditioned Context Routing for Resource-Efficient Multi-Agent LLM Systems
Jun Liu, Pu Zhao, Zhenglun Kong, Wenbin Zhang, Fan Yang, Peiyan Dong, Changdi Yang, Wuzhe Fan, Tianqin Li, Hao Tang, Geng Yuan, Wei Niu, Joannah Nanjekye, Xue Lin, Dong Huang, Yanzhi Wang
Abstract
Large language model (LLM) agents are increasingly organized into multi-agent systems for complex reasoning and decision-making tasks. However, scaling such systems can substantially increase inference cost, especially when multiple agents repeatedly process overlapping or role-irrelevant context. Many existing multi-agent frameworks focus on orchestration and role specialization, but still rely on full-context sharing or static context routing, leading to redundant token consumption, increased runtime, and inefficient memory utilization. We present Role-Conditioned Context Routing (RCR), an execution-time layer that allocates role-relevant shared-memory items to agents under token budgets. Given a structured shared memory and a set of role-specialized agents, RCR selectively routes task-relevant memory items to each agent according to its role, optional task-stage metadata, and token budget. RCR integrates role-conditioned relevance scoring, token-budgeted memory selection, and iterative memory updates to reduce redundant context exposure during multi-agent execution. Experiments on multi-hop QA, embodied reasoning (ALFWorld), and web-based decision-making (WebShop) show that RCR reduces token usage by 35% on average and runtime by 38% on average relative to Full-Context, while maintaining or improving task performance.
Abstract source - EMNLP · Findings
Cultural (In)Competence: Investigating Culture-Specific Stereotype Detection Capabilities of LLMs
Maximilian Spliethöver, Jannes Lötfering, Dominik Bachmann, Alexander Espig, Willem Zuidema, Katrin Schulz, Henning Wachsmuth
Abstract
Stereotypes are subjective constructs that are mediated by the cultural context in which they are viewed. Successfully modeling them thus also requires cultural competence. When using large language models (LLMs) for stereotype-related tasks, such as their detection, it is therefore crucial that models can access relevant cultural knowledge and adjust responses accordingly. Since LLMs have shown disparities in what cultural knowledge is available to them, their capacity regarding stereotypes may also be disparate across languages and cultural contexts (e.g., for non-English languages or for non-US contexts). In this paper, we systematically investigate the effectiveness of LLMs for culture-specific stereotype detection across three factors: (1) the prompting language, (2) the instruction tuning language, and (3) the fine-tuning dataset size. We conduct experiments for US, Dutch, and Chinese cultural contexts. Our results suggest that LLMs do not reliably account for cultural contexts and overpredict the presence of stereotypes. Non-English prompts seem to improve consideration of cultural context and thus lead to more effective predictions. Moreover, we find that additional instruction tuning reduces false-positive rates and that training data size moderates detection effectiveness non-monotonically.
Abstract source - EMNLP · Findings
DataKernelBench: Can LLMs Optimize Database Queries on GPUs?
Gokul Karthik Kumar, Yotam Perlitz, Corey Lammie, Andrea Giovannini, Katja Hose
Abstract
GPUs increasingly accelerate database systems, but query-specific peak performance still often relies on hand-written kernels. Existing LLM kernel benchmarks focus on machine learning operators, leaving irregular, heterogeneous, data-movement-heavy database-style operators untested. We introduce **DataKernelBench**, which translates SQL into validated PyTorch **TorchPlan** programs and evaluates LLMs that optimize either the core tensor-bounded snippet or the full query in CUDA or Triton through execution-guided repair. Across ten proprietary and open-weight models on **TPC-H SF10** with an H100 GPU, the strongest full-query CUDA configuration achieves **2.11× speedup over ‘torch.compile‘** at full pass rate. We find that higher-performing implementations commonly use kernel fusion and execution-strategy changes, stronger models benefit most from full-query specialization, and workload context matters more than hardware context. To handle data larger than GPU memory, we extend TorchPlan with Dask-cuDF for on-demand partition loading on **TPC-H SF100** with four H100 GPUs, achieving **2.54×** speedup.**Project page:** https://kerneldf.github.io/datakernelbench
Abstract source - EMNLP · Findings
Self-Evaluation Is Already There: Eliciting Latent Judge Calibration in Base LLMs with Minimal Data
XiuYu Zhang, Yi Shan, Junfeng Fang, Zhenkai Liang
Abstract
Large language models are increasingly evaluated by other models, raising a natural question: can a model predict how a judge will score its own output? We find that the ability is largely present before any targeted training: prompted few-shot, a base model already predicts an external judge’s multi-attribute quality scores on open-ended responses well above chance across three benchmarks. We introduce Self-Evaluation Elicitation (SEE), a method that surfaces this latent ability through a short cycle comprising a calibration-coupled reinforcement learning phase that improves the answer and predicts the judge, followed by a masked distillation phase that sharpens the prediction while leaving the answer untouched. From 160 unique examples, roughly 31× fewer than a reinforcement learning baseline, SEE improves held-out calibration across three benchmarks while preserving answer quality. The elicited self-evaluation is sharply localized within the model’s own token distribution and stable across judges it was never trained against, indicating a transferable notion of quality rather than a single judge’s preference. These results reframe judge-aligned self-evaluation as a problem of elicitation rather than acquisition.
Abstract source - EMNLP · Findings
FedLing: Linguistic-Structure-Aware Federated Learning for Fair Multilingual LLM Adaptation
Xiaorui Luo, Hongbo Yin, Ziyu Chen, Yin Zhang
Abstract
Multilingual large language models (LLMs) exhibit substantial performance disparities across languages, with low-resource languages often lagging far behind high-resource ones. Federated learning (FL) offers a privacy-preserving path for decentralized multilingual adaptation, but existing methods typically aggregate client updates without explicitly modeling structural differences across languages, inducing gradient interference, amplifying negative transfer, and further disadvantaging underrepresented languages. We introduce FedLing, a linguistic-structure-aware federated learning framework. FedLing performs typology-conditioned spectral routing of client LoRA updates, decomposing them into linguistically transferable consensus subspaces and language-specific divergence subspaces. Unlike posterior-only decomposition methods that require accumulated training history to estimate transferability, FedLing explicitly mixes a round-one energy prior with typology-conditioned empirical subspace alignment through a single coefficient ρ. A continuous typological isolation score further prevents negative transfer for languages without close federation neighbors, and a reciprocal fairness proxy adapts upload bandwidth toward underperforming languages. Experiments across 40 languages show that FedLing consistently improves multilingual adaptation: +7.9 average ROUGE-L and +11.6 ROUGE-L on low-resource languages over FedAvg, with 52% variance reduction and 35% upload savings. The advantage is largest in cold-start and data-scarce regimes, validating the combination of energy-based cold-start routing and typology-conditioned posterior alignment.
Abstract source - EMNLP · Findings
Unveiling Sentiment Representations in Code-LLMs
Yongyi Ji, Fuxiang Chen, Jaegul Choo, Seung-Won Hwang, Lu Liu
Abstract
This paper examines whether Code-LLMs encode latent sentiment representations and how these influence generation behavior. Using probing methods, we show that sentiment information is linearly separable in hidden states. Through activation steering, we demonstrate that manipulating sentiment-aligned directions systematically affects both output tone and downstream task performance. Notably, negative sentiment consistently reduces correctness, while positive effects are weaker and less consistent. Ablation and error analyses indicate these changes are not due to random perturbations but reflect meaningful behavioral shifts, including reduced confidence. These findings suggest that affective latent directions act as unintended control signals in Code-LLMs, with measurable impact on downstream task performance quality. Our study highlights the need to better understand and control such latent factors when deploying Code-LLMs.
Abstract source - EMNLP · Findings
DVBench: Benchmarking MLLMs for Understanding Dynamic Charts and Narratives in Data Videos
Bomiao Wang, Zekai Shao, Jiexiang Lan, Xiaoliang Fu, Xingchen Zeng, Siming Chen
Abstract
While MLLMs have made significant strides in chart comprehension and video understanding, current evaluations largely isolate these capabilities, leaving a critical gap in understanding temporally evolving structured visual information. To address this gap, we introduce **DVBench**, a benchmark for evaluating MLLMs on data videos, a storytelling medium that integrates dynamic charts with structured narratives. We decompose data video understanding into five dimensions. DVBench comprises 300 real-world data videos and 1,000 human-verified QA pairs curated through a rigorous semi-automated pipeline. Extensive evaluations of nine MLLMs show that Gemini-3.1-Pro achieves the best overall performance, while Kimi-k2.5 is the strongest open-source model. We further identify two notable phenomena: open-source model performance does not scale strictly with parameter size, and narrative proficiency does not guarantee visual capability. Fine-grained analyses and ablation studies further reveal dimension-specific weaknesses and the effects of frame configurations and subtitle inputs, informing future MLLM development. DVBench is publicly available at https://bomiaowang.github.io/DVBench/.
Abstract source - EMNLP · Findings
When Tools Hurt LLM Reasoning: State-Dependent Belief Revision under External Evidence
Yufeng Zhao, Junnan Liu, Hongwei Liu, Dongsheng Zhu, Yuan Shen, Songyang Zhang, Kai Chen
Abstract
Tool use is often assumed to monotonically improve reasoning, where external evidence is expected to help when relevant and be ignored when irrelevant. We show that this assumption fails in a state-dependent way. Across benchmarks with Python and Wikipedia tools, external evidence reliably helps when initial beliefs are weak, but can flip already-correct answers when those beliefs are strong. We frame this as a misallocation of revision authority, arguing that deferring to external evidence is suboptimal when internal support for the correct answer surpasses the tool’s expected output quality. This predicts that harm should concentrate on high-confidence no-tool cases. We test this prediction with threshold localization, wrong-trace audits, and a same-clue intervention showing that revision framing changes the damage caused by misleading evidence. These findings suggest that mixed no-tool/tool-assisted inference should arbitrate authority rather than privilege tool evidence by default. As a minimal demonstration, we introduce CASE, a label-free controller that selects between no-tool and tool-assisted trajectories using answer-state certainty and improves over existing confidence-based arbitration baselines.
Abstract source - EMNLP · Findings
Pruning the Unsurprising: Efficient LLM Reasoning via First-Token Surprisal
Wenhao Zeng, Chao Hu, Yaoning Wang, Yuling Shi, Chengcheng Wan, Hongyu Zhang, Xiaodong Gu
Abstract
Large Reasoning Models (LRMs) have demonstrated remarkable capabilities by scaling up the length of Chain-of-Thought (CoT). However, excessively long reasoning traces pose substantial challenges for training cost and inference latency. While various CoT compression approaches have emerged to address this challenge, they face inherent trade-offs: token-level methods often disrupt syntactic and logical coherence, while step-level methods based on perplexity fail to reliably capture the logically critical reasoning steps because of the dilution of logical information. In this paper, we propose ASAP (Anchor-guided, SurprisAl-based Pruning), a novel coarse-to-fine framework for CoT compression. ASAP first performs anchor-guided pruning to preserve the core reasoning structure, which efficiently reduces the search space for subsequent processing. Leveraging the insight that logical branching choices are concentrated at the onset of reasoning steps, it then enables logic-aware pruning by selecting logically essential reasoning steps based on a novel first-token surprisal metric. Finally, ASAP distills these concise CoTs into target models so they can generate efficient reasoning traces at inference time. Experiments across math and code benchmarks show that ASAP preserves competitive accuracy while substantially reducing generated tokens, latency, and training cost, with additional validation on Qwen3 confirming its cross-model applicability.
Abstract source - EMNLP · Findings
Can Post-Training Turn LLMs into Good Medical Coders? An Empirical Study of Generative ICD Coding
Ziqing Wang, Weihao Li, Shijie Chen, Yuan Luo, Kaize Ding
Abstract
Automated International Classification of Diseases (ICD) coding is a core medical-coding task for billing, epidemiology, and clinical decision support. Generative large language models (LLMs) are often reported as weak medical coders, but this finding mainly comes from inference-time settings such as prompting, retrieval, reranking, or tool use; the role of task-specific post-training has received limited systematic study. We present a controlled empirical study of post-training for generative ICD coding, comparing discriminative baselines with LLM coders across prompting, supervised fine-tuning (SFT), and reinforcement learning (RL) under a common protocol and metric set. To our knowledge, this is the first comprehensive controlled study of post-training for generative ICD prediction. We further introduce Progressive Hint Injection (PHI), a diagnostic missed-code curriculum within Group Relative Policy Optimization (GRPO) training. Our results show that prompting-only evaluation substantially underestimates the potential of LLMs for ICD coding. SFT provides the main capability jump, GRPO further improves code-set prediction beyond SFT, and PHI provides targeted gains on macro-level performance. These findings suggest that the main bottleneck is not the generative formulation alone, but how the model is adapted and optimized for full-taxonomy recall. We release our code, data splits, and checkpoints at https://anonymous.4open.science/r/LLM4ICD.
Abstract source - EMNLP · Findings
ProActIS: Boosting LLMs’ Proactive Information Seeking in Dynamic Clinical Workflows with a Lightweight Exam Proposer
Ruiyang Zhang, Yushi Feng, Liang Peng, Lequan Yu
Abstract
Large language models (LLMs) have shown strong promise as clinical reasoning agents, yet most benchmarks assume complete evidence availability before reasoning begins. However, real clinical practice unfolds through dynamic clinical workflows with progressive disclosure of patient evidence, requiring clinicians to decide what evidence to acquire next from partial and evolving patient states. This mismatch exposes a bottleneck in proactive evidence acquisition for LLM-based clinical agents. To address this gap, we introduce **ProActIS**, a lightweight state-conditioned examination proposer for proactive evidence acquisition. Given an evolving patient state, ProActIS ranks standardized laboratory, microbiology, and radiology examinations, together with STOP, through structured patient-state decomposition and action-card encoding. We construct an MIMIC-IV benchmark with 81,960 hospital admissions and 860,099 turn-level patient-state/examination pairs, using explicit diagnosis/result filtering and retrospective leakage sensitivity analysis over 129 standardized examination actions plus STOP (130 actions). On full-bank next-examination ranking, ProActIS achieves 0.6028 Recall@1, 0.8868 Recall@5, and 0.7258 MRR, substantially outperforming frequency and LLM baselines. In LLM-assisted dynamic workflows, ProActIS substantially improves benchmark-level evidence coverage and documented-trajectory alignment for downstream agents, with downstream diagnostic accuracy approaching the corresponding all-information controls.
Abstract source - EMNLP · Findings
How Useful are LLMs for Grammar Engineering? Cantonese ParGram Resources and Controlled Experimental Evaluation with English Baselines
Chit-Fung Lam
Abstract
This paper presents new Cantonese ParGram resources and evaluates LLMs for knowledge-driven grammar engineering within a controlled experimental paradigm. Using Cantonese ParGram resources as gold standards, with corresponding English baselines, we investigate whether OpenAI’s gpt-oss-120b and GPT-5.4 can generate machine-processable grammars from sentences and target formal structures under systematically varied prompting conditions. GPT-5.4 outperformed gpt-oss-120b, while grammars generated from target formal structures generally outperformed those generated from sentences. Although both models could generate locally plausible phrase-structure rules, lexical entries, and templates, they often struggled to coordinate interacting formal constraints, especially in multi-construction settings. The results characterize both the capabilities and limitations of current LLMs for potential integration into AI-assisted expert workflows: LLMs may support intermediate stages of grammar development, but human linguistic expertise remains central to analysis, validation, and refinement. The study also contributes new Cantonese symbolic grammatical resources.
Abstract source - EMNLP · Findings
Feedback as a Guide: Enhancing LLM Comprehension of Modern Chinese Poetry
Shanshan Wang, Derek F. Wong, Jiebo Luo, Jingming Yao, Lidia S. Chao
Abstract
The performance of large language models (LLMs) on poetry-related tasks has drawn increasing attention from researchers. Since understanding of poetry is fundamental to all poetry-related tasks, enhancing LLMs’ comprehension of poetry is crucial for advancing this field. In this study, we propose a novel method to improve LLMs’ comprehension of modern Chinese poetry. This method utilizes feedback from reliable LLM evaluators as guidance to enhance other LLMs’ understanding of poetry in specific dimensions. To identify reliable LLM evaluators, we evaluate the initial performance of several mainstream LLMs on poetry comprehension tasks and further refine their evaluation capabilities until they approach human (expert) performance. These reliable LLMs are then employed as evaluators to simulate poet’s perspective in assessing the poetry comprehension of other LLMs, providing reasons and suggestions for improvement. Experimental results show that our method effectively enhances LLMs’ comprehension of poetry across multiple dimensions.
Abstract source - EMNLP · Findings
Candidate Pool Design for Safer Preference-Based Post-Training of LLM Companion Chatbots
Yuzhe Bai, Jia Cheng, Yunzhe Liu
Abstract
Preference-based post-training aligns LLM chatbots with user preferences, but companion chatbots pose a subtle safety problem: responses that feel warm, validating, and useful can also increase Social Risk by encouraging one-sided validation, conflict escalation, sycophancy, or AI dependence. We study an upstream data-design choice that occurs before preference optimization, namely which candidate responses are allowed to compete for positive/negative labels. Using 4,500 realistic Chinese help-seeking prompts from 1,500 personas, we compare three response sources: Engaged replies from support-conditioned companion prompts, Neutral replies from a general assistant, and Guarded replies emphasizing boundaries and de-escalation. We build AI-feedback preference data under support-maximizing, risk-minimizing, and risk-bounded support targets, then post-train Qwen3.5-9B with DPO and KTO, using SFT as a diagnostic imitation baseline. Results show that the same target can teach different behaviors because candidate pools induce different positive/negative geometries in support-risk space. Engaged-only pairs provide weak positive/negative support contrast; Engaged-Guarded pairs create a larger gap but tie higher support to higher risk; and Engaged-Neutral pairs produce a more favorable geometry under support maximization, yielding +0.43 Supportiveness and -0.23 Social Risk with KTO. Mechanistic analysis suggests that this success does not transfer to the risk-bounded target because the constraint separates positive and negative regions, reverses the support margin, and removes the exploitable support-aligned direction. A Neutral-only control succeeds because within-source variation preserves usable margins in the low-risk region. These findings show that safer post-training for LLM companion chatbots depends not only on losses or rewards, but also on the candidate pools and label geometry that define the learning signal. Code is available at https://github.com/Ameeeeeeeeeeeeee/Safer-Pools.
Abstract source - EMNLP · Findings
Do Multimodal LLMs See Before They Read? Diagnosing Contextual Sycophancy
Yi-Cheng Lai, Hen-Hsen Huang
Abstract
External text can override conflicting image evidence in multimodal large language models, a failure we call multimodal contextual sycophancy. We introduce a 998-case diagnostic that independently varies visual evidence, commonsense priors, and external text, and probe when this failure arises by moving the information boundary around a context-blind visual witness. On abnormal images paired with Gemini-generated false text, GPT-5.1 scores 7.9% under joint conditioning, 49.7% when the context-blind witness report is scored directly, 63.7% under a matched two-call witness–arbiter pipeline that exposes the witness to the text, and 84.2% under System-2 Visual Arbitration (S2VA), which withholds the text from the witness. Across six models, S2VA improves over the direct witness report by 19.7–44.1 points, with all paired 95% confidence intervals excluding zero. The best information boundary is not uniform: textual context scaffolds some models, and a GPT-4o-regenerated subset changes the relative ordering of joint conditioning, Witness-Only, and S2VA. Contextual sycophancy is therefore sensitive to when text is introduced, as well as to the model and context source.
Abstract source - EMNLP · Findings
Code-A1: Adversarial Evolving of Code LLM and Test LLM via Reinforcement Learning
Aozhe Wang, Yuchen Yan, Nan Zhou, Zhengxi Lu, Hong Zhao, Yao Fu, Weihao Jiang, Weiming Lu, Jun Xiao, Yueting Zhuang, Yongliang Shen
Abstract
Reinforcement learning for code generation relies on verifiable rewards from unit test pass rates. Yet high-quality test suites are scarce, existing datasets offer limited coverage, and static rewards fail to adapt as models improve. Recent self-play methods unify code and test generation in a single model, but face an inherent dilemma: white-box access leads to self-collusion where the model produces trivial tests for easy rewards, yet black-box restriction yields generic tests that miss implementation-specific bugs. We introduce Code-A1, an adversarial co-evolution framework that jointly optimizes a Code LLM and a Test LLM with opposing objectives. The Code LLM is rewarded for passing more tests, while the Test LLM is rewarded for exposing more defects. This architectural separation eliminates self-collusion risks and safely enables white-box test generation, where the Test LLM can inspect candidate code to craft targeted adversarial tests. We further introduce a Mistake Book mechanism for experience replay and a composite reward balancing test validity with adversarial difficulty. Experiments on Qwen2.5-Coder models demonstrate that Code-A1 achieves code generation performance matching or exceeding models trained on human-annotated tests, while significantly improving test generation capability.
Abstract source - EMNLP · Findings
HarnessBridge: Learnable Bidirectional Controller for LLM Agent Harness
Xiaoxuan Wang, Haixin Wang, Alexander K Taylor, Jason Cong, Yizhou Sun, Wei Wang
Abstract
Large language models are increasingly deployed as agents for long-horizon tasks, yet their performance is shaped not only by model capability and environment design, but also by the harness that mediates agent–environment interaction. Existing harnesses are largely manually engineered, making them difficult to scale as trajectories grow longer and interactions become more complex. In this work, we ask whether harness engineering can be formulated as an end-to-end learnable generation problem. We introduce HarnessBridge, a lightweight learnable harness policy that parameterizes the agent–environment interface as a bidirectional projection. HarnessBridge learns two bidirectional projections: observation projection, which distills raw trajectories into compact, decision-relevant states, and action projection, which converts proposed actions into executable transitions or trajectory-grounded rejections. We train HarnessBridge on a harness supervision dataset via unified instruction tuning. On Terminal-Bench 2.0 and SWE-bench Verified, HarnessBridge matches or surpasses strong specialized harnesses while substantially reducing token usage and trajectory length, and generalizes from smaller generators to larger commercial models. Our code is released at: https://anonymous.4open.science/r/HarnessBridge-6CDC.
Abstract source - EMNLP · Findings
Predicting LLM Training and Inference Runtime: A Survey of Methods, Datasets, and Open Challenges
Kangda Wei, Ziqian Bi, Ashish Molakalapalli, Haonan Duan, Xiaowei Zou, Vincent Du, Alex Carter, Ruihong Huang
Abstract
Large language models have become the dominant workload in modern GPU clusters, driving unprecedented demand for compute during both training and inference. Yet GPU clusters typically operate at only 30–50% utilization, largely because schedulers rely on user-provided runtime estimates that are notoriously inaccurate. Running thousands of LLM inference requests through shared datacenters further compounds this underutilization. Accurate runtime prediction is a key enabler of LLM efficiency: it supports shortest-job-first scheduling, backfilling, dynamic resource allocation, and cost-aware instance selection, while providing NLP practitioners with reliable completion estimates for training runs and serving latency guarantees. However, LLM workloads pose unique prediction challenges: attention complexity scales quadratically with sequence length, autoregressive decoding produces variable-length outputs, and 3D parallelism creates intricate performance interactions. This survey systematically reviews runtime prediction methods with emphasis on LLM training and inference workloads, presenting a feature taxonomy, analyzing design choices of existing prediction methods, surveying public datasets and highlighting their limitations. We identify applications critical to LLM efficiency and key open challenges including generalization to rapidly evolving model architectures and hardwares.
Abstract source - EMNLP · Findings
Do LLMs Exhibit Coherent Knowledge Structures in Mathematical Reasoning? A Perspective from Knowledge Space Theory
Peng Cui, Heejin Do, Mrinmaya Sachan
Abstract
Human knowledge is inherently structured and interdependent: mastery of a concept requires prior mastery of its prerequisites, a principle formalized by Knowledge Space Theory (KST). While LLMs achieve strong performance on complex reasoning tasks, it remains unclear whether they exhibit coherent, human-like knowledge structure. We introduce a KST-grounded framework for evaluating LLM knowledge structure in mathematical reasoning, using it as a normative framework to analyze whether LLM behavior adheres to principled knowledge dependencies. Evaluating eight open- and closed-source LLMs against real human learners, we find that (1) LLMs do not adhere to human knowledge structure—they frequently violate knowledge dependencies and fail to leverage related knowledge provided in context to improve performance on dependent questions; (2) LLMs do not share a consistent knowledge structure among themselves, as reflected by low overlap in their knowledge distributions. Furthermore, these structural deficiencies remain largely invisible to accuracy-based and LLM-as-judge evaluations. Together, our results provide behavioral evidence that current LLMs knowledge does not follow a human-like structure.
Abstract source - EMNLP · Findings
Reliable Proof Generation with LLMs via Analogical Retrieval and Symbolic Verification: A Case Study in Euclidean Geometry
Oren Sultan, Eitan Stern, Dafna Shahaf
Abstract
Large language models (LLMs) struggle with formal domains that require rigorous logical deduction and symbolic reasoning, such as mathematical proof generation. We propose a neuro-symbolic approach centered on the hypothesis that structurally analogous problems often admit similar proofs. As a proof-of-concept, we focus on SAT-level geometry problems. Our approach is two-fold: (1) We retrieve analogous problems and use their proofs to guide the LLM, and (2) a formal verifier evaluates the generated proofs and provides feedback, helping the model fix incorrect proofs.Our complete pipeline substantially improves proof accuracy across model families, achieving 68%-96% accuracy compared with 10%-44% for LLM-only baselines that use neither analogy retrieval nor verifier feedback. When comparing against models with the same verifier feedback and inference budget, analogical guidance improves accuracy from 88% to 96% for GPT-5, 78% to 86% for Claude Sonnet 4.6, 72% to 86% for Gemini-Flash-2.5, and 52% to 80% for OpenAI o1. More broadly, shifting to LLMs that generate provably correct conclusions has the potential to dramatically improve their reliability, accuracy and consistency, unlocking complex tasks and critical real-world applications that require trustworthiness.
Abstract source