arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2512.00039cs.NIcs.AIcs.CL
收藏

LM4Opt-RA: 一种带有结构化排序的多候选LLM框架,用于自动化网络资源分配

LM4Opt-RA: A Multi-Candidate LLM Framework with Structured Ranking for Automating Network Resource Allocation

School of Computing(计算机学院);Queen’s University(女王大学)

Tasnim Ahmed, Siana Rizwan, Naveed Ejaz, Salimur Choudhury

AI总结:

LM4Opt-RA通过结构化排序机制和多种提示策略,提升网络资源分配优化的LLM性能,实现优于基线模型的数学评估成绩。

摘要:

在大型语言模型(LLM)的进步基础上,我们可以解决需要细致上下文理解的复杂分析和数学推理任务。一个典型的复杂任务是建模网络资源分配优化,这超出了将自然语言输入转化为数学方程或线性规划(LP)、整数线性规划(ILP)和混合整数线性规划(MILP)模型的范围。然而,现有的基准和数据集无法处理这种问题的复杂性,包括动态环境、相互依赖的变量和异构约束。为了解决这一差距,我们引入了一个经过精心挑选的数据集,包含50个资源分配优化问题,这些问题被表述为LP、ILP和MILP。然后我们评估了各种参数数量的知名开源LLM的性能。为了增强现有的基于LLM的方法,我们引入了LM4Opt RA,一种多候选框架,它应用了多种提示策略,如直接提示、少量样本提示和思考链,结合结构化排序机制来提高准确性。我们发现了人类判断与自动评分(如ROUGE、BLEU或BERT分数)之间的差异。然而,人类评估是耗时的,并且需要专业知识,这使得在完全自动化的端到端框架中不切实际。为了量化LLM生成的响应与真实值之间的差异,我们引入了LLM辅助数学评估(LAME),这是一种专门用于数学表述的自动化指标。使用LM4Opt-RA,Llama-3.1-70B实现了0.8007的LAME分数,显著优于其他模型,随后是Llama-3.1-8B。虽然基线LLM表现出相当的潜力,但它们仍然落后于人类专家;我们提出的方法在LAME和其他指标上都超过了这些基线。

英文摘要:

Building on advancements in Large Language Models (LLMs), we can tackle complex analytical and mathematical reasoning tasks requiring nuanced contextual understanding. A prime example of such complex tasks is modelling resource allocation optimization in networks, which extends beyond translating natural language inputs into mathematical equations or Linear Programming (LP), Integer Linear Programming (ILP), and Mixed-Integer Linear Programming (MILP) models. However, existing benchmarks and datasets cannot address the complexities of such problems with dynamic environments, interdependent variables, and heterogeneous constraints. To address this gap, we introduce NL4RA, a curated dataset comprising 50 resource allocation optimization problems formulated as LP, ILP, and MILP. We then evaluate the performance of well-known open-source LLMs with varying parameter counts. To enhance existing LLM based methods, we introduce LM4Opt RA, a multi candidate framework that applies diverse prompting strategies such as direct, few shot, and chain of thought, combined with a structured ranking mechanism to improve accuracy. We identified discrepancies between human judgments and automated scoring such as ROUGE, BLEU, or BERT scores. However, human evaluation is time-consuming and requires specialized expertise, making it impractical for a fully automated end-to-end framework. To quantify the difference between LLM-generated responses and ground truth, we introduce LLM-Assisted Mathematical Evaluation (LAME), an automated metric designed for mathematical formulations. Using LM4Opt-RA, Llama-3.1-70B achieved a LAME score of 0.8007, outperforming other models by a significant margin, followed closely by Llama-3.1-8B. While baseline LLMs demonstrate considerable promise, they still lag behind human expertise; our proposed method surpasses these baselines regarding LAME and other metrics.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑