paper-with-me

홈 › Papers

Which Data Attributes Stimulate Math and Code Reasoning? An Investigation via Influence Functions

2025-05-26 · Siqi Kou, Qingyuan Tian, Hanwen Xu, Zihao Zeng, Zhijie Deng

Large language models (LLMs) have demonstrated remarkable reasoning capabilities in math and coding, often bolstered by post-training on the chain-of-thoughts (CoTs) generated by stronger models. However, existing strategies for curating such training data predominantly rely on heuristics, limiting generalizability and failing to capture subtleties underlying in data. To address these limitations, we leverage influence functions to systematically attribute LLMs' reasoning ability on math and coding to individual training examples, sequences, and tokens, enabling deeper insights into effective data characteristics. Our Influence-based Reasoning Attribution (Infra) uncovers nontrivial cross-domain effects across math and coding tasks: high-difficulty math examples improve both math and code reasoning, while low-difficulty code tasks most effectively benefit code reasoning. Based on these findings, we introduce a simple yet effective dataset reweighting strategy by flipping task difficulty, which doubles AIME24 accuracy from 10\% to 20\% and boosts LiveCodeBench accuracy from 33.8\% to 35.3\% for Qwen2.5-7B-Instruct. Moreover, our fine-grained attribution reveals that the sequence-level exploratory behaviors enhance reasoning performance in both math and code, and the token-level influence patterns are distinct for math and code reasoning: the former prefers natural language logic connectors and the latter emphasizes structural syntax.

📄 PDF Abstract BibTeX arXiv:2505.19949

Code (0)

등록된 구현이 없습니다.

Tasks

AttributeMath

Similar Papers 제목 키워드 기반

Quality assessment methods for perceptual video compression

2021-06-15 · Fan Zhang, David R. Bull

This paper describes a quality assessment model for perceptual video compression applications (PVM), which stimulates visual masking and distortion-artefact perception using an adaptive combination of noticeable distorti…

Video Compression

Sparse Code Formation with Linear Inhibition

2015-03-13 · Nam Do-Hoang Le

Sparse code formation in the primary visual cortex (V1) has been inspiration for many state-of-the-art visual recognition systems. To stimulate this behavior, networks are trained networks under mathematical constraint o…

Using generative AI to investigate medical imagery models and datasets

2023-06-01 · Oran Lang, Doron Yaya-Stupp, Ilana Traynis, Heather Cole-Lewis 외

AI models have shown promise in many medical imaging tasks. However, our ability to explain what signals these models have learned is severely lacking. Explanations are needed in order to increase the trust in AI-based m…

scientific discovery

AttMOT: Improving Multiple-Object Tracking by Introducing Auxiliary Pedestrian Attributes

2023-08-15 · Yunhao Li, Zhen Xiao, Lin Yang, Dan Meng 외

Multi-object tracking (MOT) is a fundamental problem in computer vision with numerous applications, such as intelligent surveillance and automated driving. Despite the significant progress made in MOT, pedestrian attribu…

AttributeMulti-Object TrackingMultiple Object TrackingObject Tracking

SynMotor: A Benchmark Suite for Object Attribute Regression and Multi-task Learning

2023-01-11 · Chengzhi Wu, Linxi Qiu, Kanran Zhou, Julius Pfrommer 외

In this paper, we develop a novel benchmark suite including both a 2D synthetic image dataset and a 3D synthetic point cloud dataset. Our work is a sub-task in the framework of a remanufacturing project, in which small e…

AttributeMulti-Task LearningregressionSegmentation