Agentic Pipelines Meet Retrieval-Augmented ICL: A Zero-Training Approach to Mental Health Modeling

· Source: Paper Index on ACL Anthology · Field: Technology & Digital — Artificial Intelligence & Machine Learning, Robotics & Autonomous Systems, Mental Health & Psychological Support · Depth: Expert, medium

Summary

A novel system for the CLPsych 2026 shared task employs retrieval-augmented in-context learning (RAG-ICL) with frozen Large Language Models, requiring no fine-tuning. Its central component is a five-agent pipeline designed for Task 3.1 sequence summarization. This pipeline includes two rule-based agents for detecting change type (Switch/Escalation) and direction (improvement/deterioration), an LLM-based DynamicsExtractor for structured ABCD analysis, a SummaryWriter that grounds prose in retrieved gold exemplars, and a Validator for structural constraint enforcement. The pipeline underwent iterative refinement across three submissions, utilizing NLI-based candidate reranking and per-sentence contradiction reduction. For Tasks 1.1 and 1.2, the system uses a single LLM call combining static and RAG-retrieved examples, while Task 2 employs an auto-tuned prompt to identify change moments. The system achieved 1st place in Task 1.2 (RMSE 0.917) and Task 3.1 (score rank average 4.00), 3rd in Task 1.1 (F1 0.420), and 8th in Task 2 (F1 0.466).

Key takeaway

For NLP Engineers developing mental health text analysis systems, consider adopting agentic pipelines with retrieval-augmented in-context learning. This zero-training approach with frozen LLMs achieved top ranks in CLPsych 2026 tasks, demonstrating high performance without the overhead of fine-tuning. You can decompose complex tasks into specialized agents and refine outputs using NLI-based reranking to enhance accuracy and structural integrity. This strategy offers a robust and efficient alternative to traditional fine-tuning.

Key insights

Agentic pipelines combined with RAG-ICL can achieve top performance in mental health text analysis without LLM fine-tuning.

Principles

Method

A five-agent pipeline performs sequence summarization by detecting change, extracting structured dynamics, writing grounded prose, and validating constraints, refined via NLI reranking.

In practice

Topics

Best for: AI Scientist, NLP Engineer, Research Scientist

Related on AIssential

Open in AIssential →

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