Period-LLM: Extending the Periodic Capability of Multimodal Large Language Model

Yuting Zhang, Hao Lu, Qingyong Hu, Yin Wang, Kaishen Yuan, Xin Liu, Kaishun Wu · DOI

TL;DR

This paper introduces Period-LLM, a novel multimodal large language model designed to excel at understanding periodic phenomena across various data types like text, video, and physiological signals. It tackles the limitations of current models in temporal reasoning and handling conflicting periodicities by employing an "easy-to-hard" generalization strategy and a unique "Resisting Logical Oblivion" optimization technique, demonstrating superior performance on periodic tasks.

What Problem Does This Paper Address?

Many natural phenomena, from weather patterns to human heartbeats, exhibit periodic or quasi-periodic behavior. Understanding these patterns is crucial for applications like forecasting, health monitoring, and analyzing human activity. While Multimodal Large Language Models (MLLMs) have shown promise in processing diverse data, they often struggle with periodic tasks. This is due to several key challenges:

  1. Lack of Temporal Modeling: MLLMs may not inherently capture the sequential and cyclical nature of periodic data.
  2. Conflicting Periodicities: Distinguishing between short-term and long-term periodicities can be difficult.
  3. Spatial Pseudo-Temporal Information Leakage: Models might incorrectly latch onto numerical information present in visuals rather than truly understanding the underlying periodic patterns.
  4. Absence of Specific Supervision: Existing datasets often lack explicit supervision for counting periodic actions, leading to models that can describe an action but not quantify its repetitions.

This paper aims to bridge this gap by developing an MLLM specifically equipped to handle these periodic tasks effectively.

Methods

Period-LLM introduces several key innovations:

  • Easy-to-Hard Generalization Paradigm: The model is trained progressively, starting with simpler text-based periodic tasks (like counting repeated words) and gradually moving to more complex visual and multimodal tasks (like video action counting and physiological signal analysis). This allows the model to build a robust understanding of periodicity incrementally.
  • Resisting Logical Oblivion (RLO) Optimization Strategy: This novel technique addresses the conflict between learning new semantic information and retaining previously acquired periodic reasoning abilities. It dynamically adjusts gradient update weights for different feature channels, ensuring that channels previously focused on logical reasoning are not overwritten by new semantic learning, thus preserving periodic understanding.
  • Instruction Generation for Periodic Tasks: The authors developed methods to generate diverse question-and-answer datasets for periodic tasks. This includes using GPT-4 to create text-based repetitive word counting questions and adapting this approach for multimodal data by integrating annotations, captions, and frequency information.

The overall framework involves a visual encoder and projector for video, combined with text features from a word embedding layer, all fed into a large language model. Gradient optimization is then applied to the LLM's output features, specifically targeting channels that need enrichment.

Datasets

The paper utilizes and contributes to several datasets:

  • Countix-QA: A video repetition counting dataset derived from Kinetics, used for training and evaluation.
  • rPPG-QA: A collection of five rPPG (remote photoplethysmography) face video datasets (VIPL-HR, PURE, UBFC-rPPG, V4V, and BUAA-MIHR) for physiological signal analysis.
  • RotNIST-QA: A dataset based on MNIST for studying rotational invariance.
  • Drive-QA: GPS trajectory data of taxis in Beijing.
  • Radar-QA: A dataset utilizing radar vital sign recordings.

The authors also describe a process for generating new question-and-answer pairs for periodic tasks, particularly for text-only instructions and multimodal instructions, which can be seen as a contribution to benchmark creation.

Key Insights and Ideas

  • Progressive Learning is Key: The "easy-to-hard" generalization approach is crucial. Starting with text allows LLMs to leverage their inherent strengths before tackling more complex multimodal periodic reasoning.
  • Preserving Periodic Reasoning is Hard: Standard fine-tuning can lead to "logical oblivion," where models forget their periodic reasoning skills when learning new semantic information. The RLO strategy is a clever way to mitigate this.
  • Periodic Tasks are Ubiquitous: The paper highlights the broad applicability of periodic analysis across diverse domains, from weather to health, underscoring the importance of developing models that can handle them.
  • Unified Framework for Modalities: Period-LLM demonstrates that a single model architecture can be adapted to understand periodicity across text, video, and even physiological signals, suggesting a path towards more generalizable multimodal AI.

Key Results

Period-LLM demonstrates significant improvements over existing MLLMs on periodic tasks:

  • Quantitative Superiority: On the Countix-QA dataset, Period-LLM achieved a lower Mean Absolute Error (MAE) of 3.77 compared to the baseline of 4.30, and an improved CIDEr score from 0.661 to 0.810. For rPPG-QA, the MAE was reduced from 15.45 to 13.78.
  • Cross-Modal Performance: The model also showed strong performance on other modalities like RotNIST-QA (lowest MAE of 1.50 and RMSE of 2.75) and Drive-QA (lowest MAE of 28.71).
  • Faster Convergence: The RLO strategy led to a significantly faster decline in loss values compared to baseline fine-tuning, indicating more efficient learning.
  • Qualitative Success: Examples show Period-LLM accurately identifying repetitive actions in videos (e.g., "two pull ups") and determining physiological signals like heart rate (e.g., "75 beats per minute").

Limitations and Future Work

  • Limitations: The paper acknowledges the challenge of balancing periodic reasoning with semantic alignment. While RLO helps, it's an ongoing area of research. The "easy-to-hard" paradigm relies on the availability of suitable simpler tasks for pre-training.
  • Future Work: The authors suggest extending Period-LLM's capabilities to handle more nuanced and less structured periodic tasks. They also aim to explore its application to additional domains where periodicity is a critical factor. Further refinement of the model's capabilities and expanding its application to new modalities are also envisioned.

Summary updated

BibTeX
@inproceedings{zhang2025period,
  author = {Yuting Zhang and Hao Lu and Qingyong Hu and Yin Wang and Kaishen Yuan and Xin Liu and Kaishun Wu},
  title = {{Period-LLM: Extending the Periodic Capability of Multimodal Large Language Model}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2025},
  doi = {10.1109/cvpr52734.2025.02722},
}
Figure