Saved in:
Bibliographic Details
Main Authors: Pawar, Pranav, Jain, Dhwaj, Gupta, Varun, Dedhia, Kaustav, Kale, Dashrath, Dhekane, Sudhir
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2509.07238
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866916942069104640
author Pawar, Pranav
Jain, Dhwaj
Gupta, Varun
Dedhia, Kaustav
Kale, Dashrath
Dhekane, Sudhir
author_facet Pawar, Pranav
Jain, Dhwaj
Gupta, Varun
Dedhia, Kaustav
Kale, Dashrath
Dhekane, Sudhir
contents This paper presents a practical investigation into fine-tuning model parameters for mathematical reasoning tasks through experimenting with various configurations including randomness control, reasoning depth, and sampling strategies, careful tuning demonstrates substantial improvements in efficiency as well as performance. A holistically optimized framework is introduced for five state-of-the-art models on mathematical reasoning tasks, exhibiting significant performance boosts while maintaining solution correctness. Through systematic parameter optimization across Qwen2.5-72B, Llama-3.1-70B, DeepSeek-V3, Mixtral-8x22B, and Yi-Lightning, consistent efficiency gains are demonstrated with 100% optimization success rate. The methodology achieves an average 29.4% reduction in computational cost and 23.9% improvement in inference speed across all tested models. This framework systematically searches parameter spaces including temperature (0.1-0.5), reasoning steps (4-12), planning periods (1-4), and nucleus sampling (0.85-0.98), determining optimal configurations through testing on mathematical reasoning benchmarks. Critical findings show that lower temperature regimes (0.1-0.4) and reduced reasoning steps (4-6) consistently enhance efficiency without compromising accuracy. DeepSeek-V3 achieves the highest accuracy at 98%, while Mixtral-8x22B delivers the most cost-effective performance at 361.5 tokens per accurate response. Key contributions include: (1) the first comprehensive optimization study for five diverse SOTA models in mathematical reasoning, (2) a standardized production-oriented parameter optimization framework, (3) discovery of universal optimization trends applicable across model architectures, and (4) production-ready configurations with extensive performance characterization.
format Preprint
id arxiv_https___arxiv_org_abs_2509_07238
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Systematic Optimization of Open Source Large Language Models for Mathematical Reasoning
Pawar, Pranav
Jain, Dhwaj
Gupta, Varun
Dedhia, Kaustav
Kale, Dashrath
Dhekane, Sudhir
Machine Learning
Artificial Intelligence
This paper presents a practical investigation into fine-tuning model parameters for mathematical reasoning tasks through experimenting with various configurations including randomness control, reasoning depth, and sampling strategies, careful tuning demonstrates substantial improvements in efficiency as well as performance. A holistically optimized framework is introduced for five state-of-the-art models on mathematical reasoning tasks, exhibiting significant performance boosts while maintaining solution correctness. Through systematic parameter optimization across Qwen2.5-72B, Llama-3.1-70B, DeepSeek-V3, Mixtral-8x22B, and Yi-Lightning, consistent efficiency gains are demonstrated with 100% optimization success rate. The methodology achieves an average 29.4% reduction in computational cost and 23.9% improvement in inference speed across all tested models. This framework systematically searches parameter spaces including temperature (0.1-0.5), reasoning steps (4-12), planning periods (1-4), and nucleus sampling (0.85-0.98), determining optimal configurations through testing on mathematical reasoning benchmarks. Critical findings show that lower temperature regimes (0.1-0.4) and reduced reasoning steps (4-6) consistently enhance efficiency without compromising accuracy. DeepSeek-V3 achieves the highest accuracy at 98%, while Mixtral-8x22B delivers the most cost-effective performance at 361.5 tokens per accurate response. Key contributions include: (1) the first comprehensive optimization study for five diverse SOTA models in mathematical reasoning, (2) a standardized production-oriented parameter optimization framework, (3) discovery of universal optimization trends applicable across model architectures, and (4) production-ready configurations with extensive performance characterization.
title Systematic Optimization of Open Source Large Language Models for Mathematical Reasoning
topic Machine Learning
Artificial Intelligence
url https://arxiv.org/abs/2509.07238