Evaluating and Improving Usability of LLM Chat Products
LLM chat products are often labeled hard to use even when inference capacity is ample. This article traces that gap to latency, context handling, reliability, and interaction cost, outlines a measurable evaluation framework, and describes production-oriented optimizations without changing the original technical conclusions.
Why “hard to use” is a common complaint about LLM products
As large-model applications spread, a counterintuitive pattern appears: abundant compute does not automatically produce good user reputation. Many teams have enough inference resources and a sizable user base, yet products are still tagged as hard to use. Usability is a composite of engineering details, not a function of a single resource investment.
Negative user experience usually maps to observable technical issues:
- Slow time to first token: Waiting too long from submit to the first token breaks the sense of immediacy.
- Context misunderstanding: Multi-turn chats drop earlier constraints and answer the wrong question.
- Hallucination and unreliability: Output looks plausible but is factually wrong, which erodes trust.
- High interaction cost: Users must rewrite prompts repeatedly to get an acceptable result.
Technical causes of poor usability
1. Latency structure
Chat experience is highly sensitive to delay. Request time typically comprises queueing, prefill, and decode. Time to first token (TTFT) is dominated by queueing and prefill; overall generation speed is driven by decode. Poor scheduling or batching configuration makes the product feel laggy.
2. Weak context management
Multi-turn dialogue concatenates history, system constraints, and the current input into the context window. Overlong context or crude truncation makes the model forget key constraints—“getting dumber” as the chat continues. A sound approach is layered context: keep system-level instructions, summarize history, and retain the most recent turns precisely.
3. Insufficient generation reliability
Hallucination comes from probabilistic continuation, not fact retrieval. For high-accuracy work, inject external knowledge with retrieval-augmented generation (RAG) and verify critical claims instead of relying on model memory alone.
A quantitative usability evaluation framework
Subjective feel must become measurable. Build evaluation along three dimensions:
- Performance: TTFT, tokens per second, end-to-end latency, error rate.
- Quality: Task completion rate, factual consistency, human or automatic scores.
- Interaction: Average rewrite count, conversation turns, abandonment rate.
Illustrative evaluation code
The following pseudocode shows a minimal offline evaluation loop for batch latency and quality measurement:
def evaluate(assistant, test_cases):results = []for case in test_cases:start = time.perf_counter()first_token_time = Nonetokens = []for tok in assistant.stream(case.prompt, context=case.history):if first_token_time is None:first_token_time = time.perf_counter() - starttokens.append(tok)total_time = time.perf_counter() - startresults.append({"ttft": first_token_time, # time to first token"total": total_time, # end-to-end latency"tps": len(tokens) / total_time, # output tokens per second"quality": score(case.expected, "".join(tokens)),})return aggregate(results) # summarize as percentiles and means
Focus on percentiles (for example P50 and P95), not only the mean: tail latency is what users complain about most.
Production-oriented optimization paths
- Scheduling and batching: Reasonable batching and priority queues reduce queue time and improve TTFT.
- Layered context and summarization: Compress history with summaries and inject facts via retrieval to balance length and accuracy.
- Streaming and feedback: Stream tokens early, with interrupt and regenerate, to reduce wait anxiety.
- Observability: Use logging, monitoring and alerts, and tracing to collect the metrics above and locate tail issues; experiment data and analysis can be stored in object storage, and training and inference can run on a container platform to close the loop.
Conclusion
“Hard to use” is not a compute problem. It is the combined effect of latency, context, reliability, and interaction design. Turning complaints into metrics and running an evaluate–diagnose–optimize loop is the right way to keep improving chat UX. Supporting capabilities from Baidu AI Cloud (such as monitoring and alerting, logging, and container platforms) can help enterprises run this evaluation and optimization flow in production.
