mlsanityData to 7 Oct 2026

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

arXiv 2412.09280 ↗First posted 12 Dec 2024cs.CLcited by 0

Not on the map. Why?

Abstract (arXiv)

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.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 15 of its 27 references that are in the map. First posted on arXiv 12 Dec 2024.

Builds on

15 of 27 references.

References · 15

  1. 2020Language Models are Few-Shot Learnerscited by 32,199
  2. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
  3. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
  4. 2021Training Verifiers to Solve Math Word Problemscited by 9,743
  5. 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 7,916
  6. 2022Program of Thoughts Prompting: Disentangling Computation from Reasoning for Numerical Reasoning Taskscited by 1,057
  7. 2023Language Models can Solve Computer Taskscited by 371
  8. 2016Diverse Beam Search: Decoding Diverse Solutions from Neural Sequence Modelscited by 299
  9. 2024Smaug: Fixing Failure Modes of Preference Optimisation with DPO-Positivecited by 239
  10. 2023Continual Pre-training of Language Modelscited by 194
  11. 2023Rephrase and Respond: Let Large Language Models Ask Better Questions for Themselvescited by 123
  12. 2024SciAgent: Tool-augmented Language Models for Scientific Reasoningcited by 69
3 more
  1. 2024Towards Analyzing and Understanding the Limitations of DPO: A Theoretical Perspectivecited by 69
  2. 2023FinanceMath: Knowledge-Intensive Math Reasoning in Finance Domainscited by 39
  3. 2024Evaluating LLMs' Mathematical Reasoning in Financial Document Question Answeringcited by 25

Built on by

Not cited yet.