ELLMPEG:一种基于边缘的代理LLM视频处理工具
ELLMPEG: An Edge-based Agentic LLM Video Processing Tool
AI总结:
ELLMPEG是一种基于边缘的代理LLM视频处理工具,通过整合工具感知的检索增强生成与迭代自我反思,实现本地生成和验证FFmpeg和VVenC命令,提升视频处理效率和准确性。
摘要:
大型语言模型(LLMs)作为生成式AI系统如ChatGPT的基础,正在许多领域和应用中产生变革,包括多媒体,使内容生成、分析和交互更加先进。然而,基于云的LLM部署面临三个关键限制:高计算和能源需求、远程处理带来的隐私和可靠性风险以及持续的API费用。最近在代理AI方面的进展,尤其是在结构化推理和工具使用方面,提供了一种更好地利用开放和本地部署工具和LLM的方法。本文提出了ELLMPEG,一种具有边缘能力的代理LLM框架,用于自动化生成视频处理命令。ELLMPEG集成了工具感知的检索增强生成(RAG)与迭代自我反思,以在边缘端直接生成和本地验证可执行的FFmpeg和VVenC命令,从而消除对外部云API的依赖。为了评估ELLMPEG,我们收集了一个专门的提示数据集,包含480个多样化的查询,涵盖不同类别的FFmpeg和VVenC编码器(VVenC)命令。我们验证了命令生成的准确性,并基于命令的有效性、每秒生成的token数、推理时间和能源效率评估了四个开源LLM。我们还执行了生成的命令以评估其运行时的正确性和实际适用性。实验结果表明,当Qwen2.5与ELLMPEG框架结合使用时,平均命令生成准确率为78%,无持续的API费用,优于所有其他开源模型在FFmpeg和VVenC数据集上的表现。
英文摘要:
Large language models (LLMs), the foundation of generative AI systems like ChatGPT, are transforming many fields and applications, including multimedia, enabling more advanced content generation, analysis, and interaction. However, cloud-based LLM deployments face three key limitations: high computational and energy demands, privacy and reliability risks from remote processing, and recurring API costs. Recent advances in agentic AI, especially in structured reasoning and tool use, offer a better way to exploit open and locally deployed tools and LLMs. This paper presents ELLMPEG, an edge-enabled agentic LLM framework for the automated generation of video-processing commands. ELLMPEG integrates tool-aware Retrieval-Augmented Generation (RAG) with iterative self-reflection to produce and locally verify executable FFmpeg and VVenC commands directly at the edge, eliminating reliance on external cloud APIs. To evaluate ELLMPEG, we collect a dedicated prompt dataset comprising 480 diverse queries covering different categories of FFmpeg and the Versatile Video Codec (VVC) encoder (VVenC) commands. We validate command generation accuracy and evaluate four open-source LLMs based on command validity, tokens generated per second, inference time, and energy efficiency. We also execute the generated commands to assess their runtime correctness and practical applicability. Experimental results show that Qwen2.5, when augmented with the ELLMPEG framework, achieves an average command-generation accuracy of 78 % with zero recurring API cost, outperforming all other open-source models across both the FFmpeg and VVenC datasets.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。