arXiv cs.AI· Kaushal Mhapsekar, Bita Aslrousta, Paula Contreras, Azam Ghanbari, Samira Mirbagher Ajorpaz·· 1 小时前AI 评分37
MOSAIC:免训练微架构优化的记忆组织搜索与反模仿交叉方法
MOSAIC: Memory-Organized Search with Anti-Imitation Crossover for Training-Free Microarchitecture Optimization
AI 导读
arXiv 论文提出 MOSAIC,一个不更新大语言模型权重的搜索控制器,通过存储以往评估的简明经验并交叉组合高分缓存替换策略来提升性能。
正文 · 原文
Abstract:Large language models can generate cache-replacement policies. The central challenge is to retain performance on workloads excluded from the search. In our adaptations of published search methods, generated code resembles established policies, with cosine similarities of 0.78-0.84. The wider comparison also shows held-out harmonic-mean instructions-per-cycle (IPC) losses of 1.0-2.4%. We present MOSAIC, a search controller that improves policies without updating language-model weights. It stores concise lessons from previous evaluations rather than repeatedly copying high-scoring code. When improvement stops, it selects two high-scoring policies whose code embeddings differ and asks the model to combine their mechanisms. Novelty prompts and model rotation support this search; controlled memory edits test how the stored lessons affect later proposals. We evaluate cache replacement using intervention-level cross-validation and a wider comparison on ten memory-intensive SPEC2006 workloads. MOSAIC reaches a 51.1% peak hit rate on the primary search workload and a 47.9% held-out mean in the intervention study. Removing crossover reduces these values by 7.8 and 21.8 percentage points, respectively, whereas the tested stronger model improves the held-out mean by 0.4 points. In the wider IPC comparison, MOSAIC has the smallest held-out gap (0.31%) and the highest held-out IPC among the evaluated LLM configurations. Adapting the same controller to data prefetching gives a 4.8% mean speedup over the LRU reference configuration. The accompanying corpus contains 10,687 generated policies with lineage and per-iteration prompt logs.
| Subjects: | Hardware Architecture (cs.AR); Artificial Intelligence (cs.AI) |
| Cite as: | arXiv:2611.31733 [cs.AR] |
| (or arXiv:2611.31733v1 [cs.AR] for this version) | |
| https://doi.org/10.48550/arXiv.2611.31733 arXiv-issued DOI via DataCite (pending registration) |
Submission history
From: Kaushal Mhapsekar [view email]
[v1]
Tue, 24 Nov 2026 00:38:05 UTC (372 KB)
来源:arXiv cs.AI · arxiv.org