CogGuard:边缘智能服务中基于认知与操作画像的主动预警
CogGuard: Cognitive and Operational Profiling for Proactive Warning in Edge Intelligent Services
AI总结:
提出CogGuard框架,通过解耦离线LLM画像构建与在线SLM评分预测,结合前缀对齐KV缓存重用和长度感知分布式微调,实现边缘智能服务的主动预警,在教育和操作任务上降低构建时间48%、微调时间19%。
摘要:
主动预警是边缘智能服务的一项重要能力,系统需在严格的延迟和隐私约束下预测主体能否成功完成即将到来的任务。这种预测依赖于从历史交互日志中提取的长期静态属性和短期动态状态。近期的大语言模型(LLM)为从这些日志构建结构化画像提供了强大的长上下文推理能力,但现有解决方案在边缘部署时面临两个挑战:(1)画像方法通常具有领域特异性,缺乏跨服务场景的可复用抽象;(2)在异构边缘集群上微调对齐模型时,由于输入序列长度的差异,同步开销较高。为应对这些挑战,我们提出了CogGuard,一个面向边缘智能服务的主动预警框架。CogGuard通过共享的静态-动态画像到评分流水线,将离线基于LLM的画像构建与在线基于小语言模型(SLM)的评分预测解耦,并在两个代表性场景中实例化:教育表现预警和操作任务结果预警。为高效构建画像,我们设计了场景特定的画像方法,并采用前缀对齐的KV缓存重用以减少重复编码开销。为进行边缘端模型对齐,我们提出了一种具有对比正则化的长度感知分布式微调策略,以缓解异构集群上的工作负载不平衡。在教育和操作数据集上的实验表明,CogGuard将画像构建时间最多减少48%,分布式微调时间减少19%,同时在100分量表预警任务上分别达到13.4和5.9的MAE。在最大的教育场景中,与最强基线相比,CogGuard将预测误差降低了15.4%。
英文摘要:
Proactive warning is an important capability for edge intelligent services, where the system predicts whether a subject will successfully complete an incoming task under strict latency and privacy constraints. Such prediction depends on both long-term static attributes and short-term dynamic states derived from historical interaction logs. Recent Large Language Models (LLMs) offer strong long-context reasoning for constructing structured profiles from these logs, but existing solutions face two challenges for edge deployment: (1) profiling methods are typically domain-specific and lack a reusable abstraction across service scenarios, and (2) fine-tuning alignment models on heterogeneous edge clusters incurs high synchronization overhead due to the variance in input sequence lengths. To address these challenges, we propose CogGuard, a proactive-warning framework for edge intelligent services. CogGuard decouples offline LLM-based profile construction from online Small Language Model (SLM)-based score prediction through a shared static-dynamic profile-to-score pipeline, and instantiates it in two representative scenarios: educational performance warning and operational task outcome warning. For efficient profile construction, we design scenario-specific profiling methods with prefix-aligned KV-cache reuse to reduce repeated encoding overhead. For edge-side model alignment, we propose a length-aware distributed fine-tuning strategy with contrastive regularization to mitigate workload imbalance on heterogeneous clusters. Experiments on education and operation datasets show that CogGuard reduces profile construction time by up to 48% and distributed fine-tuning time by 19%, while achieving MAEs of 13.4 and 5.9, respectively, on 100-point-scale warning tasks. In the largest educational setting, CogGuard reduces prediction error by 15.4% compared with the strongest baseline.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。