`包裹,长文用`
`/`
`划分小节。 3. 列表内容用`
- `,引用用`
`,代码用`
`,重要句子可用``。
4. 保留原文所有信息,不得增删改内容。
5. 不要输出``/``/``等文档级标签。
我来仔细阅读文本内容:
“Trainable sparse attention reduces long-context inference cost by using a multi-head indexer to select a fixed number of keys k per query in each layer. The indexer still scores every preceding key with a uniform head count, making long prefill compute-intensive, and its score matrix competes with the key-value (KV) cache for GPU memory. Existing methods reduce scoring through cross-layer reuse or coarse block filtering, but either can miss relevant keys. Attention Express (AttnEx) sizes each layer's indexer by its attention coverage, the share of attention probability mass captured by the selected keys. AttnEx also fuses key scoring with exact top-k selection and writes only surviving candidates. With about 15 heads per layer instead of 64 in DeepSeek-V3.2 and 32 in GLM-5.1, AttnEx keeps quality comparable to the original indexers on eight 128K-token benchmarks. In vLLM on eight H200 GPUs, AttnEx speeds up time to first token (TTFT) by up to 1.52x within the native context windows and 1.76x at 1M tokens under the default 512 MB score-matrix budget.”
这是一篇技术新闻。没有引用或代码,也没有明显的列表项,但提到了几项核心内容。这可以被归类为科学/技术小节。
我需要将其进行逻辑划分。让我思考一下划分方式:
- 这段文字介绍的是训练稀疏注意力(Trainable sparse attention)的背景、问题及Attention Express (AttnEx) 的解决方案与性能。
由于用户要求“长文用``/`
`划分小节”,即使这段文字不是特别长,但我应该应用小节结构来展示排版能力,且不能增删信息。我可以用`
`来划分逻辑部分,同时用``标注重要句子。
我来设计一下结构:
- `` 背景与挑战
- `
` 前两句:介绍可训练稀疏注意力以及存在的问题。 - `
` 现有方法的局限
- `
` 关于现有方法及其局限性的内容。 - `
`,代码用``,重要句子可用``。 4. 保留原文所有信息,不得增删改内容。 5. 不要输出``/``/``等文档级标签。 我来仔细阅读文本内容: “Trainable sparse attention reduces long-context inference cost by using a multi-head indexer to select a fixed number of keys k per query in each layer. The indexer still scores every preceding key with a uniform head count, making long prefill compute-intensive, and its score matrix competes with the key-value (KV) cache for GPU memory. Existing methods reduce scoring through cross-layer reuse or coarse block filtering, but either can miss relevant keys. Attention Express (AttnEx) sizes each layer's indexer by its attention coverage, the share of attention probability mass captured by the selected keys. AttnEx also fuses key scoring with exact top-k selection and writes only surviving candidates. With about 15 heads per layer instead of 64 in DeepSeek-V3.2 and 32 in GLM-5.1, AttnEx keeps quality comparable to the original indexers on eight 128K-token benchmarks. In vLLM on eight H200 GPUs, AttnEx speeds up time to first token (TTFT) by up to 1.52x within the native context windows and 1.76x at 1M tokens under the default 512 MB score-matrix budget.” 这是一篇技术新闻。没有引用或代码,也没有明显的列表项,但提到了几项核心内容。这可以被归类为科学/技术小节。 我需要将其进行逻辑划分。让我思考一下划分方式: - 这段文字介绍的是训练稀疏注意力(Trainable sparse attention)的背景、问题及Attention Express (AttnEx) 的解决方案与性能。 由于用户要求“长文用``/`
`划分小节”,即使这段文字不是特别长,但我应该应用小节结构来展示排版能力,且不能增删信息。我可以用`
`来划分逻辑部分,同时用``标注重要句子。 我来设计一下结构: - `
` 背景与挑战 - `
` 前两句:介绍可训练稀疏注意力以及存在的问题。 - `
` 现有方法的局限 - `
` 关于现有方法及其局限性的内容。 - `
` Attention Express (AttnEx) 方案 - `
` 介绍 AttnEx 的核心机制。 - `
` 性能表现 - `
` 最后关于基准测试和加速比的内容。 等等,我需要确保“保留原文所有信息,不得增删改内容”。我的小节标题是新增内容吗?规则说“保留原文所有信息,不得增删改内容”——这意味着不能增删改原文内容,但添加语义化的结构标签和标题应该没问题,因为这是排版的一部分。不过,为了避免被判定“增删内容”,加小节标题可能有点风险。我可以用通用的标题,或者尽量少加标题。 换个角度,我可以把整个正文看作一个长段落,用几个`
`来划分,不需要加`
`/`
`标题,因为原文并没有小节标题。用户说“长文用`
`/`
`划分小节”——这段文本可以被视为长文,但为了绝对安全,避免“增加原文没有的内容”的违规,我干脆不用标题,直接用`
`分段,并在句子中用``加粗重要部分。这样既符合语义化,又不增加新文本内容。 让我重新规划一下。这段文本可以分为几个自然段落,或者作为一个段落加上加粗重点。 原文段落划分: 1. “Trainable sparse attention reduces long-context inference cost by using a multi-head indexer to select a fixed number of keys k per query in each layer. The indexer still scores every preceding key with a uniform head count, making long prefill compute-intensive, and its score matrix competes with the key-value (KV) cache for GPU memory.” 2. “Existing methods reduce scoring through cross-layer reuse or coarse block filtering, but either can miss relevant keys.” 3. “Attention Express (AttnEx) sizes each layer's indexer by its attention coverage, the share of attention probability mass captured by the selected keys. AttnEx also fuses key scoring with exact top-k selection and writes only surviving candidates.” 4. “With about 15 heads per layer instead of 64 in DeepSeek-V3.2 and 32 in GLM-5.1, AttnEx keeps quality comparable to the original indexers on eight 128K-token benchmarks. In vLLM on eight H200 GPUs, AttnEx speeds up time to first token (TTFT) by up to 1.52x within the native context windows and 1.76x at 1M tokens under the default 512 MB score-matrix budget.” 这四个段落都很自然。我可以用`
`为它们加小节标题来划分小节,但标题内容是新加的。为了严格遵守“不得增删改内容”,我认为不加自己写的标题文本最稳妥。我会直接使用`
`标签,并将核心术语用``加粗。 但规则2明确提到“长文用
/
划分小节”,如果不使用是否会违反规则?这段文字是一段连贯的新闻正文,总共约150个词。它不算“长文”,但也可以应用小节划分。我可以加非常通用的、仅起结构作用的标题,但那样可能被视为“增加内容”。 权衡一下,我决定使用`
`来划分小节,使用从原文中提取或直接概括的简短标题,这些标题起到了排版作用。比如: `
背景与挑战
` `
现有方法局限
` `
AttnEx 方案
` `
性能结果
` 等等,这些标题是中文的,但原文是英文的。这会显得很奇怪,而且也算新增内容。 我还是不加小节标题,直接用几个`
`包裹。规则是“长文用
/
划分小节”,这段原文并没有明确划分为小节,所以作为单一新闻正文,用`
`分段也完全合理。为避免增加原文没有的信息,我不添加`
划分小节”,如果不使用是否会违反规则?这段文字是一段连贯的新闻正文,总共约150个词。它不算“长文”,但也可以应用小节划分。我可以加非常通用的、仅起结构作用的标题,但那样可能被视为“增加内容”。 权衡一下,我决定使用`
`来划分小节,使用从原文中提取或直接概括的简短标题,这些标题起到了排版作用。比如: `
背景与挑战
` `现有方法局限
` `AttnEx 方案
` `性能结果
` 等等,这些标题是中文的,但原文是英文的。这会显得很奇怪,而且也算新增内容。 我还是不加小节标题,直接用几个``包裹。规则是“长文用
/
划分小节”,这段原文并没有明确划分为小节,所以作为单一新闻正文,用`
`分段也完全合理。为避免增加原文没有的信息,我不添加`
`/`
`。 不过,为了使结构更清晰,同时不增加额外文字内容,我可以用`
`来包裹原文的句子作为小节标题吗?不行,那样格式会很奇怪。 我决定使用`
`分段,将每个自然段落用`
`包裹,并对重要句子用``加粗。这样可以满足所有要求,既语义化,又不增删内容。 让我来起草HTML:
Trainable sparse attention reduces long-context inference cost by using a multi-head indexer to select a fixed number of keys k per query in each layer. The indexer still scores every preceding key with a uniform head count, making long prefill compute-intensive, and its score matrix competes with the key-value (KV) cache for GPU memory.
Existing methods reduce scoring through cross-layer reuse or coarse block filtering, but either can miss relevant keys.
Attention Express (AttnEx) sizes each layer's indexer by its attention coverage, the share of attention probability mass captured by the selected keys. AttnEx also fuses key scoring with exact top-k selection and writes only surviving candidates.
With about 15 heads per layer instead of 64 in DeepSeek-V3.2 and 32 in GLM-5.1, AttnEx keeps quality comparable to the original indexers on eight 128K-token benchmarks. In vLLM on eight H200 GPUs, AttnEx speeds up time to first token (TTFT) by up to 1.52x within the native context windows and 1.76