20260625:很多新内容

This commit is contained in:
2026-06-25 14:08:47 +08:00
parent 91fac5b6fc
commit 6021dea160
375 changed files with 19263 additions and 251 deletions

View File

@@ -0,0 +1,41 @@
---
title: "Per-Index Time Decay"
created: 2026-06-24
updated: 2026-06-24
type: concept
tags: ["information-retrieval", "agent-memory", "decay", "elasticsearch"]
sources:
- "[[atlas-agent-memory-architecture-2026]]"
---
# Per-Index Time Decay
Per-Index Time Decay 是 Atlas 记忆系统中每个索引使用独立衰减策略的设计episodic 按 timestamp 衰减semantic 按 last_used_at 衰减并受 use_count boostprocedural 豁免衰减1.0)。
## 衰减函数
Gauss 衰减 + offset 平坦区 + use_count boost
```
decay = exp(-pow(max(days - offset, 0) / scale, 2) * log(sqrt(2)))
// semantic 额外: decay *= 1 + log10(1 + use_count) * use_count_boost
// procedural: decay = 1.0
```
## 关键参数
| 参数 | 默认值 | 含义 |
|------|--------|------|
| DECAY_SCALE | 1825d (~5年) | 衰减半衰期,客服应收紧至 60-180d |
| DECAY_OFFSET | 180d | 平坦区offset 内 doc 乘数 1.0 |
| USE_COUNT_BOOST | 0.2 | use_count=10 → ~1.21x, =100 → ~1.40x |
## 设计原则
信息的衰减驱动力是它有多频繁被需要,不是它有多旧。
- semantic 用 last_used_at 而非 timestamp一个三年前的稳定偏好如果一直在被用到不应衰减
- procedural 豁免衰减:操作流程不因时间失效
## 参考
- [[atlas-agent-memory-architecture-2026]]
- [[agent-memory-taxonomy]]