mirror of
https://github.com/agentscope-ai/ReMe.git
synced 2026-11-29 00:38:33 +00:00
Some checks are pending
CI / Python packages / Build and verify distributions (push) Waiting to run
CI / Python quality / GitHub Actions (push) Waiting to run
CI / Python quality / Pre-commit (push) Waiting to run
CI / Python tests / Unit Tests - py3.11 (push) Waiting to run
CI / Python tests / Unit Tests - py3.12 (push) Waiting to run
CI / Python tests / Unit Tests - py3.13 (push) Waiting to run
CI / Python tests / Unit Tests - py3.14 (push) Waiting to run
CI / ReMe Studio / Studio checks (push) Waiting to run
CI / Windows / CLI smoke - py3.11 (push) Waiting to run
Deploy / Documentation / Build documentation (push) Waiting to run
Deploy / Documentation / deploy (push) Blocked by required conditions
CI and Release / Docker / Build and test / amd64 (push) Waiting to run
CI and Release / Docker / Build and test / arm64 (push) Waiting to run
CI and Release / Docker / Publish multi-platform tags (push) Blocked by required conditions
Security / CodeQL / Analyze javascript-typescript (push) Waiting to run
Security / CodeQL / Analyze python (push) Waiting to run
* docs: organize multimodal benchmark reports and expand results * docs: clarify multimodal evaluation methods and simplify charts * docs: explain MobileMem history variant and metric averaging * docs: update multimodal reproduction results and compatibility references * docs: retain baseline adaptations and fix repository section links * fix(docs): preserve configuration source links in mirrored pages * test(docs): share reproduction table assertions --------- Co-authored-by: jinli.yl <jinli.yl@alibaba-inc.com>
110 lines
5.7 KiB
Markdown
110 lines
5.7 KiB
Markdown
# ReMe Image on MemLens-128K / 256K
|
|
|
|
Evaluate ReMe Image on MemLens's official 195-question memory-agent subset.
|
|
Each length uses its own full histories; every question has an isolated workspace.
|
|
|
|
The [MemLens-256K evaluation report](docs/en/evaluation.md) covers four-model results,
|
|
the fixed 189/195-question comparison and method settings.
|
|
|
|
## Run
|
|
|
|
```bash
|
|
pip install -e ".[as]" -e plugins/memlens -e plugins/memlens-judge
|
|
export MEMLENS_DATA=/path/to/MEMLENS
|
|
export EXPERIMENT_DIR=/path/to/new-experiment
|
|
python -m benchmark.memlens.run --model qwen3.8-max --context-length 256k
|
|
```
|
|
|
|
Supply `LLM_API_KEY` and `LLM_BASE_URL` through the environment, outside Git.
|
|
The dataset directory contains `dataset_128k.json`, `dataset_256k.json`,
|
|
`agent_subset_195.json` and `release_images/`. Select 128K with
|
|
`--context-length 128k`; `--limit-scenes 1 --output /path/to/separate-experiment`
|
|
runs one complete history. Concurrency is configured in `config.yaml`.
|
|
|
|
## Evaluation
|
|
|
|
Original text, timestamps, Image IDs and interleaved image bytes go to native
|
|
Auto Memory. Supplied BLIP captions and answer annotations are not inputs.
|
|
BM25 indexes daily notes, digest notes and original session transcripts.
|
|
Each question starts a fresh 30-iteration Agent with `search`, `read` and
|
|
`read_image`; no embedding or auto-tagging is used.
|
|
|
|
| Setting | Memory / compression | Answer |
|
|
| --- | --- | --- |
|
|
| Model | Selected candidate | Same candidate |
|
|
| Thinking / temperature / streaming | On / 0 / off | On / 0 / off |
|
|
| Output budget | 65,536 | 16,384 |
|
|
| Model context size | 200,000 | 400,000 |
|
|
|
|
The [candidate preset](../../plugins/memlens/src/reme_memlens/benchmark.yaml)
|
|
retains 30 Agent iterations, context trigger/reserve ratios 0.8/0.1, a
|
|
50,000-token tool-result limit and 4,096-image retention. Native requests use
|
|
three retries, a 60-second delay and a 600-second HTTP timeout; nested retries
|
|
are disabled. The runner does not repair model outputs.
|
|
|
|
The independent [MemLens Judge](../../plugins/memlens-judge/README.md) uses the
|
|
official category/subtype-specific binary accuracy protocol, Qwen3.8-Max by default,
|
|
thinking off, temperature 0 and 256 output tokens. SubEM and F1 follow the
|
|
official code. Reference answers, question categories and subtypes enter only scoring.
|
|
`JUDGE_MODEL_NAME` overrides the judge model independently of the candidate.
|
|
`settings.json` records the effective judge model, generation parameters and
|
|
protocol after plugin defaults and environment expansion, without credentials.
|
|
|
|
## Results
|
|
|
|
`<output>/memlens-<length>/<model>/` contains settings and summary JSON.
|
|
`reme_image/scenes/<scene>/` retains ingestion responses, a native workspace,
|
|
answers, judgments, metrics and coverage status. The workspace's `mem_session/`
|
|
contains native Agent JSONL trajectories. Existing output groups are not overwritten.
|
|
|
|
New runs use usage policy `successful-http-requests-v2`: usage includes observed
|
|
successful HTTP requests in memory/answer scopes, including compression and requests
|
|
completed before a later Job or history failure. Each scope is counted once.
|
|
Judge requests and unsuccessful HTTP attempts are excluded. This is measured request
|
|
usage, not a full-sample cost estimate or provider billing total. Unknown counters
|
|
remain `null`; `records` and per-counter `coverage` show how many requests were measured.
|
|
Expected, scored and unscored question counts make coverage gaps explicit.
|
|
|
|
Technical failures are coverage gaps; valid empty or iteration-limit answers are scored.
|
|
Failure artifacts retain the failed Response before validation and record the stage,
|
|
scene/session/question IDs, sanitized error chain and traceback locations without locals.
|
|
These artifacts omit credentials, request headers, raw configuration and image data.
|
|
Failed responses use separate `diagnostics/*-response.json` files; `answer.json` continues to
|
|
indicate a successful answer Job and retains the original prediction. Per-scope
|
|
`diagnostics/*-usage.json` receipts survive direct exceptions and cancellation, while
|
|
`status.json.memory_complete` records successful ingestion and indexing independently.
|
|
Cleanup errors retain scores and usage, increment `cleanup_error_count`, and cause
|
|
a nonzero CLI exit even when all questions were scored.
|
|
Historical reports using selected successful Job/history usage retain their original
|
|
values and scope; they are not rewritten under the new policy.
|
|
|
|
## Sources and license
|
|
|
|
[Dataset](https://huggingface.co/datasets/xiyuRenBill/MEMLENS);
|
|
[official code](https://github.com/xrenaf/MEMLENS/tree/77f3ab9a52fa2d6a17978e2dffe80438a4ecced2).
|
|
The dataset retains its own data/image terms. Adapted query and metric code carries
|
|
the following upstream notice:
|
|
|
|
```text
|
|
MIT License
|
|
|
|
Copyright (c) 2026 Xiyu Ren, Zhaowei Wang, and the MemLens Authors
|
|
|
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
of this software and associated documentation files (the "Software"), to deal
|
|
in the Software without restriction, including without limitation the rights
|
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
copies of the Software, and to permit persons to whom the Software is
|
|
furnished to do so, subject to the following conditions:
|
|
|
|
The above copyright notice and this permission notice shall be included in all
|
|
copies or substantial portions of the Software.
|
|
|
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
SOFTWARE.
|
|
```
|