RAG-HAR+ outperforms RAG-HAR on four of six datasets: USC-HAD,
MHEALTH, HHAR and Skoda and remains competitive on PAMAP2 and
GOTOV, while preserving the training-free retrieval-augmented
design.
F1-score (%) across HAR benchmarks
| Dataset |
Best prior baseline |
RAG-HAR |
RAG-HAR+ |
Δ |
| USC-HAD |
62.80 (Triplet LSTM) |
58.63 |
60.12 |
+1.49 |
| PAMAP2 |
90.40 (Triplet LSTM) |
91.12 |
90.60 |
−0.52 |
| MHEALTH |
96.47 (ADFE) |
96.74 |
98.19 |
+1.45 |
| GOTOV |
79.40 (ALAE-TAE) |
79.92 |
75.97 |
−3.95 |
| HHAR |
59.25 (Enhanced CPC) |
59.86 |
61.02 |
+1.16 |
| Skoda |
94.80 (ALAE-TAE) |
95.21 |
97.74 |
+2.53 |
Bold indicates the best F1 for that dataset. RAG-HAR+ achieves
these results with 97.7% less online LLM usage.
Where the accuracy comes from
For RAG-HAR, blue bars indicate retrieval F1 and red bars the
final F1 after LLM classification. For RAG-HAR+, blue bars show
the F1 achieved through retrieved-neighbour majority voting, and
the stacked red segments the additional gain contributed by the
Ambiguity Resolver Agent.
Key finding: In RAG-HAR+, retrieval alone
achieves most of the final F1 score. The blue bars show the
retrieval-only F1, obtained by majority voting over the
retrieved neighbours before any LLM call. In RAG-HAR, this score
was much lower than the final F1, so every sample had to be sent
to the LLM. By contrast, the adaptive feature groups in RAG-HAR+
improve retrieval-only F1 by 3.8–19.0 points.
For example, from 82.9% to 98.1% on MHEALTH, making retrieval
reliable for most windows. The Ambiguity Resolver Agent then
adds only the remaining 0.1–3.3 points, with
the largest gains on USC-HAD and HHAR.
This stronger retrieval is still enabled by LLM reasoning, but
that reasoning is moved to the
offline feature-group design stage. The
Retrieval Designer Agent uses the LLM once per dataset, reducing
the need for repeated per-sample calls during inference. As a
result, the cost no longer scales with the total number of test
samples, but mainly with the number of ambiguous predictions.