LifeIR at the NTCIR-18 Lifelog-6 Task

Jiahan Chen, Da Li, Keping Bi · DOI

Abstract

As personal digital archives grow through the use of wearable devices, retrieving specific moments from thousands of hours of data presents a significant challenge. This paper details the LifeIR team's approach to the NTCIR-18 Lifelog-6 Lifelog Semantic Access Task (LSAT). We propose a multi-stage automated pipeline that integrates Contrastive Language-Image Pretraining (CLIP), Large Language Models (LLMs) for query enhancement, and Multimodal LLMs (MLLMs) for high-precision reranking. Our methodology treats lifelogs as continuous temporal events rather than isolated snapshots, resulting in a significant performance increase, nearly doubling the baseline Mean Average Precision (mAP).

Introduction

The "needle in a haystack" problem is a defining characteristic of modern lifelogging. With the ubiquity of GoPros and smartwatches, individuals generate massive, unstructured datasets. The NTCIR-18 Lifelog-6 dataset, for instance, contains over 725,000 images spanning 18 months. Finding a specific memory—such as "the time I photographed a specific meal in a specific cafe"—requires overcoming data heterogeneity, temporal fragmentation, and the inherent vagueness of human search queries.

Traditional keyword-based retrieval often fails to capture the visual nuances and sequential context of human life. To address this, the LifeIR team developed a pipeline that leverages the semantic understanding of LLMs and the visual reasoning capabilities of MLLMs to bridge the gap between user intent and raw image data.

Methodology

Our proposed system consists of a five-stage pipeline designed to progressively refine search results from a massive candidate pool to a highly precise set of relevant moments.

1. Data Cleaning and Pre-processing

Lifelogging data is often noisy, containing numerous blurry or low-quality images caused by camera movement. We implemented an "edge weight summation" method to automatically detect and discard over 120,000 low-quality images. This pre-processing step ensures that the retrieval models focus on high-information content, reducing computational overhead and false positives.

2. CLIP-based Initial Retrieval

We utilized the CLIP (Contrastive Language-Image Pretraining) model to establish a shared embedding space for text and images. This allows for an initial "best guess" ranking by calculating the cosine similarity between the query vector and the image vectors in the dataset.

3. Query Rewriting via LLM

Standard retrieval models often struggle with brief, underspecified queries. Recognizing that CLIP performs optimally with descriptive, natural language fragments, we employed ChatGPT to expand short query titles into detailed, first-person descriptions. For example, a query like "Photographing meals" was rewritten into: "I’m taking a photo of my meal, aiming my camera or phone at it, with the food clearly visible on the table."

4. Event-based Candidate Set Expansion

Lifelogging data is inherently chronological. A single relevant image is usually part of a larger activity or "event." We expanded our candidate sets by incorporating images immediately preceding and following a high-confidence "hit." This temporal expansion acknowledges that a user's memory of an event often encompasses the minutes surrounding a specific action.

5. MLLM-based Posterior Filtering

In the final stage, we utilized Qwen2-VL, a sophisticated Multimodal Large Language Model, to act as a secondary judge. While CLIP is efficient for broad retrieval, Qwen2-VL provides the "slow reasoning" necessary to filter out false positives. The model evaluates the top candidates against the expanded query to ensure the visual content strictly matches the user's semantic intent.

Experimental Setup

The system was evaluated using the NTCIR-18 Lifelog-6 dataset, which includes:

  • 725,000+ images from a single GoPro wearer over 18 months.
  • Rich Metadata: Including timestamps, GPS locations, and visual concepts.
  • 26 Search Topics: Divided into 13 "ad-hoc" (general) and 13 "known-item" (specific) queries.

Results and Discussion

Our team submitted several iterations of the system (LSAT01 through LSAT06), demonstrating the incremental value of each module:

  • Baseline (LSAT01): Using only query rewriting and CLIP, the system achieved a Mean Average Precision (mAP) of 0.1492.
  • With MLLM Filtering (LSAT03): The addition of the Qwen2-VL reranker improved the mAP to 0.1905, a 27.6% increase.
  • Final Pipeline (LSAT06): The full pipeline, including multi-round event expansion, achieved our best performance with an mAP of 0.2652 and a Recall@10 of 0.2617.

These results highlight the necessity of combining "fast" retrieval (CLIP) with "slow" reasoning (MLLMs). The semantic gap remains a challenge; for instance, models still struggle with fine-grained actions like "putting away a Christmas tree" versus simply "seeing a Christmas tree." However, the use of LLMs as "translators" between human memory and machine embeddings proved highly effective.

Conclusion

The LifeIR pipeline demonstrates that treating lifelogs as a series of semantic events rather than a collection of individual images is crucial for effective retrieval. Future work will focus on upgrading underlying embedding models to capture finer visual details and developing more robust event modeling techniques that are less dependent on perfectly clean metadata.

Summary updated

BibTeX
@inproceedings{chen2025lifeir,
  author = {Jiahan Chen and Da Li and Keping Bi},
  title = {{LifeIR at the NTCIR-18 Lifelog-6 Task}},
  booktitle = {NTCIR},
  year = {2025},
  url = {https://openreview.net/forum?id=kcf2I2sqfB},
}
Figure