paper-with-me

홈 › Papers

Learning to Solve Domain-Specific Calculation Problems with Knowledge-Intensive Programs Generator

2024-12-12 · Chengyuan Liu, Shihang Wang, Lizhi Qing, Jun Lin, Ji Zhang, Fei Wu, Kun Kuang

Domain Large Language Models (LLMs) are developed for domain-specific tasks based on general LLMs. But it still requires professional knowledge to facilitate the expertise for some domain-specific tasks. In this paper, we investigate into knowledge-intensive calculation problems. We find that the math problems to be challenging for LLMs, when involving complex domain-specific rules and knowledge documents, rather than simple formulations of terminologies. Therefore, we propose a pipeline to solve the domain-specific calculation problems with Knowledge-Intensive Programs Generator more effectively, named as KIPG. It generates knowledge-intensive programs according to the domain-specific documents. For each query, key variables are extracted, then outcomes which are dependent on domain knowledge are calculated with the programs. By iterative preference alignment, the code generator learns to improve the logic consistency with the domain knowledge. Taking legal domain as an example, we have conducted experiments to prove the effectiveness of our pipeline, and extensive analysis on the modules. We also find that the code generator is also adaptable to other domains, without training on the new knowledge.

📄 PDF Abstract BibTeX arXiv:2412.09280

Code (0)

등록된 구현이 없습니다.

Tasks

Math

Similar Papers 제목 키워드 기반

Build AI Assistants using Large Language Models and Agents to Enhance the Engineering Education of Biomechanics

2025-11-19 · Hanzhi Yan, Qin Lu, Xianqiao Wang, Xiaoming Zhai 외 arxiv

While large language models (LLMs) have demonstrated remarkable versatility across a wide range of general tasks, their effectiveness often diminishes in domain-specific applications due to inherent knowledge gaps. Moreo…

Enhancing Open-Domain Task-Solving Capability of LLMs via Autonomous Tool Integration from GitHub

2023-12-28 · Bohan Lyu, Xin Cong, Heyang Yu, Pan Yang 외

Large Language Models (LLMs) excel in traditional natural language processing tasks but struggle with problems that require complex domain-specific calculations or simulations. While equipping LLMs with external tools to…

Can Large Language Models Solve Engineering Equations? A Systematic Comparison of Direct Prediction and Solver-Assisted Approaches

2026-01-05 · Sai Varun Kodathala, Rakesh Vunnam arxiv

Transcendental equations requiring iterative numerical solution pervade engineering practice, from fluid mechanics friction factor calculations to orbital position determination. We systematically evaluate whether Large …

KD3A: Unsupervised Multi-Source Decentralized Domain Adaptation via Knowledge Distillation

2020-11-19 · Hao-Zhe Feng, Zhaoyang You, Minghao Chen, Tianye Zhang 외

Conventional unsupervised multi-source domain adaptation (UMDA) methods assume all source domains can be accessed directly. This neglects the privacy-preserving policy, that is, all the data and computations must be kept…

Domain AdaptationKnowledge DistillationMulti-Source Unsupervised Domain AdaptationPrivacy Preserving+1

Using Large Language Model to Solve and Explain Physics Word Problems Approaching Human Level

2023-09-15 · Jingzhe Ding, Yan Cen, Xinyuan Wei

Our work demonstrates that large language model (LLM) pre-trained on texts can not only solve pure math word problems, but also physics word problems, whose solution requires calculation and inference based on prior phys…

Few-Shot LearningHigh School PhysicsLanguage ModelingLanguage Modelling+3