← All IntelIntel / article
Plas
- Source
- ernie.baidu.com
- Publisher
- Baidu
- Author
- Baidu editorial sitemap
- Date
Why it matters
A pluggable sparse attention layer cut by up to 48% on ~113K-token inputs with under 1 point accuracy change, a pattern for cheaper long- inference on existing models.
Key takeaways · AI-distilled
- Baidu's PLAS splits a long input into blocks and uses a small learnable module to pick only the most relevant blocks for , instead of comparing every token with every other token.
- PLAS is added to an already trained model without changing its original weights, which Baidu says keeps the model's existing knowledge intact.
- On InfiniteBench inputs averaging about 113K tokens, Baidu reports ERNIE-4.5-21B-A3B gained 48% QPS and 36% decode speed, while the 300B-A47B model gained 23% QPS and 33% decode speed.
- Baidu's accuracy checks show small shifts: on Ruler 128K the 21B model went from 25.48 to 25.05 and the 300B model from 58.18 to 57.85, with LongBenchV2 nearly unchanged.
- The update only covers the -Paddle versions of the two ERNIE 4.5 models served with FastDeploy, enabled through an attention-backend environment variable and a PLAS config flag.
Terms in this piece · Glossary
- attention — The mechanism that lets a model weigh which earlier words matter for the word it's currently processing — the core operation of a transformer.
- Latency — The time between asking for a result and having it, including the model's generation time, tool calls, retries and any queueing.
- time to first token — The delay between sending a model request and receiving the first piece of its response.
- Context and context window — Context is the information available for a generation; the context window is the capacity available to hold it.
Read the source ernie.baidu.com
More from Baidu editorial sitemap
Recommended reads

