Context Language Models 论文:让模型像编辑文件一样改写上下文
Y'all this is a sexy paper; context language models
一篇名为 Context Language Models 的论文提出让模型像编辑文件一样实时编辑自身上下文,作者称这能提升长任务表现、改善上下文管理与计算效率。
| Paper linky - Context Language Models The central idea of the paper is incredibly simple. Give a model the ability to edit its context on-the-go like a file has major benefits on task performance, context management (memory) and even computational efficiency (both wall clock and total flops). Their paper shows mostly benefits and relatively small downsides. You can try it out as a plugin for pi! In short, pros and consPros:
Cons:
Some more contextThe approach works by modifying the harness to allow access to the context as a file. A model is allowed to edit the context as it would any other file. They've tested the approach on models as small as qwen3.6 9b, as well as on qwen3.8 27b and claude sonnet 4.6. Out-of-the-box, meaning just a small addition to the system prompt and tools to edit the context as a file, task performance, context management and efficiency measures remain approximately the same or improve by a little bit. The smaller qwen3.6 9b model in particular lost a little bit of efficiency, suggesting it works better on larger (smarter) models. Performance can be massively improved with RL training, which the authors also did. Wanna try it out?You can try it out right now if you use pi
FinLet me know how it goes! Last, I also consulted this video by "Prompt Engineering" on YouTube in addition to the paper: https://www.youtube.com/watch?v=Bgtr1Ue40Jo submitted by /u/Combinatorilliance[link] [留言] |
来源:r/LocalLLaMA · reddit.com