Files
taste-skill/research/laziness/README.md
T
2026-07-08 22:48:51 +08:00

1.8 KiB

LLM Output Truncation Research

A structured analysis of why large language models produce incomplete outputs, and documented methods to restore full-fidelity generation. All findings are drawn from controlled experiments, published studies, and field-tested engineering practices.

Directory Structure

Root Causes

Analysis of the economic, architectural, and behavioral mechanisms that drive output truncation in production LLMs.

  • RLHF and Compute Economics — How reinforcement learning and cost optimization create systematic brevity bias.
  • Training Data Bias — How placeholder patterns in human-written code propagate into model outputs.
  • Cognitive Shortcuts — Empirical evidence of models taking shortcuts on complex or lengthy tasks.
  • Output Limits — Context window asymmetry and consumer-tier truncation mechanisms.

Remediation

Documented techniques for overriding default truncation behavior, ordered from parameter-level fixes to full architectural solutions.

  • Parameter Tuning — Temperature, Top-p, and Gemini thinking-level configuration.
  • Prompt Engineering — Structural prompt techniques: syntax binding, XML frameworks, and verification loops.
  • Architectural Patterns — MCP integration, lazy-loaded skills, and developer platform access.
  • Reference Prompts — Ready-to-use prompt templates for enforcing complete outputs.

Findings