LightMem icon indicating copy to clipboard operation
LightMem copied to clipboard

Metric Details on LoCoMo and LongMemEval

Open hexuan21 opened this issue 9 months ago • 2 comments

Thanks the authors for their great work!

I'm a bit confused about the token cost and runtime reported in Table2 and Table3, Section5.1 mentioned that the time and token cost corresponds to construction stage and "all averaged across the entire dataset". E.g. mem0 on LoCoMo (GPT-4o-mini as backbone): runtime is 4432.87s, tokens is 1639.93k.

And LoCoMom has 10 conversation samples and each sample has avg of 9k tokens conv history and ~180 QA pairs.

May I ask does this mean mem0 takes this time and cost to build the memory bank for one conversation sample of LoCoMo (1/10)? And does this understanding also correct for LongMemEval-s?

hexuan21 avatar Feb 15 '26 05:02 hexuan21

Thank you for your careful observation and great question!

Yes, your understanding is absolutely correct!

In the paper (Table 2 & Table 3), all metrics including runtime and token costs are reported as per-sample averages. This means the reported costs represent the average cost to build the memory bank for one conversation sample in the dataset.

This same reporting approach applies to both LoCoMo and LongMemEval.

In contrast, the GitHub README reports total costs across the entire dataset. For example, if you want to convert our README metrics to the paper's per-sample format, you would divide by the number of samples in the dataset.

We appreciate you pointing this out and will add clearer documentation in the README to avoid confusion. Please let us know if you have any further questions!

Xubqpanda avatar Feb 15 '26 14:02 Xubqpanda

Got it! Thanks for your quick reply!

hexuan21 avatar Feb 15 '26 21:02 hexuan21