Temporal Text Classification with Large Language Models

· Source: Paper Index on ACL Anthology · Field: Technology & Digital — Artificial Intelligence & Machine Learning, Natural Language Processing · Depth: Expert, short

Summary

Nishat Raihan and Marcos Zampieri conducted the first systematic evaluation of Large Language Models (LLMs) for Temporal Text Classification (TTC), which involves estimating text publication dates based on linguistic changes. Their study, presented at the 6th International Conference on Natural Language Processing for the Digital Humanities in July 2026, assessed leading proprietary models like Claude 3.5, GPT-4o, and Gemini 1.5, alongside open-source alternatives including LLaMA 3.2, Gemma 2, Mistral, and Nemotron 4. They utilized three historical corpora, two in English and one in Portuguese, testing zero-shot, few-shot prompting, and fine-tuning settings. Results indicate proprietary LLMs perform well, particularly with few-shot prompting. While fine-tuning significantly improves open-source models, they still do not match the performance of proprietary LLMs for TTC tasks.

Key takeaway

For NLP Engineers developing historical text analysis systems, consider proprietary LLMs like Claude 3.5 or GPT-4o for Temporal Text Classification, especially when few-shot prompting is feasible. If open-source models are necessary, prioritize fine-tuning LLaMA 3.2 or Gemma 2 to improve accuracy, though anticipate they may not fully match proprietary model performance. Evaluate the trade-offs between cost, data privacy, and performance for your specific application.

Key insights

Proprietary LLMs excel at Temporal Text Classification, especially with few-shot prompting, outperforming fine-tuned open-source models.

Principles

Method

The study systematically evaluated proprietary and open-source LLMs on Temporal Text Classification using three historical corpora. It tested zero-shot, few-shot prompting, and fine-tuning settings to assess performance.

In practice

Topics

Best for: Research Scientist, AI Scientist, NLP Engineer, Machine Learning Engineer

Related on AIssential

Open in AIssential →

Editorial summary, takeaway, and curation by AIssential. Original article published by Paper Index on ACL Anthology.