Category / page 47

Models & Assistants

1121 articles

Articles, page 47

921-940 of 1121
  1. GraphRAG vs. Vector RAG in Production: Architecture, Community Summaries, and Cost-Latency Trade-Offs

    Retrieval-Augmented Generation (RAG) has become the standard architecture for grounding Large Language Models in external knowledge bases. However, production implementations frequently encounter structural limits when relying entirely on naive vector search. Standard Vector RAG fragments documents into arbitrary chunks and retrieves top-k passages via cosine similarity in embedding space. While effective for localized fact retrieval, this approach struggles with global, corpus-wide synthesis an

    AI
    5 min read
  2. Sparse Autoencoders in Large Language Models: How Dictionary Learning Unpacks Superposition and Neural Monosemanticity

    Deep neural networks have long been treated as uninterpretable black boxes. In transformer language models, individual neurons in the residual stream and multilayer perceptron (MLP) layers rarely map to singular, human-understandable concepts. Instead, individual neurons exhibit polysemanticity: a single neuron might fire for Python syntax, medical terminology, and Korean dialogue without an obvious shared semantic foundation. Mechanistic interpretability research explains this phenomenon throu

    AI
    5 min read
  3. OpenAI Launches Dedicated ChatGPT for Teens with Study Modes and Model Spec Guardrails

    OpenAI has introduced ChatGPT for Teens, a dedicated environment for users aged 13 through 17 that combines educational scaffolding tools with reinforced safety constraints and parental controls. The rollout automatically routes users into the teen environment if they register as 13 to 17 years old or if OpenAI's automated age-prediction classifier estimates they fall into that demographic. Children under the age of 13 remain prohibited from the platform under OpenAI's standard terms of service

    OpenAI
    2 min read
  4. Test-Time Compute Scaling in Large Language Models: How Search, Verification, and Reasoning Chains Trade Latency for Accuracy

    Large language model performance has historically been dictated by pre-training compute scaling laws. As formalised by Kaplan et al. and Chinchilla scaling, increasing model parameters, dataset size, and pre-training FLOPs yielded predictable reductions in cross-entropy loss. During inference, however, computation remained strictly linear and deterministic: one forward pass per generated token. The emergence of inference-time reasoning architectures has introduced a third scaling axis: test-tim

    AI
    4 min read
  5. Claude Code Adds /design Command for In-Terminal UI Prototyping

    Anthropic has introduced an early preview of the /design command inside Claude Code, embedding visual UI prototyping directly into its command-line interface and desktop developer workflows. The new command bridges the gap between terminal-based code generation and visual interface design, enabling developers to draft, compare, and modify interactive user interface components before generating frontend implementation code. In-Terminal Visual Mockups The /design command allows engineers to in

    Anthropic
    1 min read
  6. LLM Observability in Production: OpenTelemetry Semantic Conventions, Distributed Tracing, and Latency Profiling

    LLM Observability in Production: OpenTelemetry Semantic Conventions, Distributed Tracing, and Latency Profiling Deploying large language models into production introduces failure modes that traditional application performance monitoring (APM) tools were never designed to diagnose. Standard web services fail with discrete HTTP error codes, predictable database timeouts, or memory leaks. In contrast, LLM applications fail through silent semantic drift, hallucinated tool parameters, unbounded prom

    AI
    6 min read
  7. In-Context Learning in Large Language Models: How Induction Heads and Attention Circuits Learn Without Weight Updates

    Autoregressive large language models demonstrate the ability to adapt to new tasks, follow few-shot demonstrations, and execute algorithmic patterns entirely within their context windows. Unlike traditional fine-tuning, in-context learning occurs at inference time with frozen model parameters, leaving weights completely unchanged ($\Delta \theta = 0$). For several years following the scaling demonstrations in GPT-3, the internal mechanism governing in-context learning remained an empirical blac

    AI
    6 min read
  8. AI Guardrails in Production: Multi-Stage Filtering, Classification Models, and the Latency Tax

    AI Guardrails in Production: Multi-Stage Filtering, Classification Models, and the Latency Tax Production deployments of large language models cannot rely solely on system prompt instructions to maintain safety, prevent prompt injection, or restrict domain scope. System prompt alignment is inherently susceptible to adversarial bypasses, context dilution, and non-deterministic instruction following. To enforce strict security, compliance, and topic boundaries, engineering teams increasingly depl

    AI
    4 min read
  9. Multi-Head Latent Attention: How Low-Rank KV Compression Scales LLM Serving

    Autoregressive transformer inference faces a fundamental hardware constraint during text generation: memory bandwidth saturation. While prefill (processing prompt tokens) is compute-bound and saturates GPU tensor cores, token-by-token generation is memory-bandwidth bound. To generate each subsequent token, the inference engine must load all prior Key and Value vectors from High Bandwidth Memory (HBM) into SRAM. As sequence lengths reach 32k, 64k, or 128k tokens and batch sizes scale, the Key-Va

    AI
    6 min read
  10. Lost in Compaction: LLM Context Compression Drops 83% of User Constraints, Penn State Study Finds

    As large language models take on longer multi-turn workflows and agentic tasks, systems increasingly rely on context compaction to summarize past conversation histories and keep prompt lengths within memory budgets. However, this compression comes at a severe cost to user control. A new study by Pennsylvania State University researchers Zhiqi Wang, Yichi Zhang, Dongwon Lee, and Yuchen Yang reveals that standard context compaction drops an average of 83 percent of user-defined operational constr

    AI
    2 min read
  11. LLM Gateways in Production: Multi-Provider Failover, Rate Limiting, and Spend Governance

    LLM Gateways in Production: Multi-Provider Failover, Rate Limiting, and Spend Governance As generative AI workloads transition from experimental prototypes to mission-critical infrastructure, direct client-to-provider API calls introduce substantial operational risk. Relying on hardcoded SDK connections to a single model provider exposes production services to unexpected rate limits, regional outages, silent breaking changes, and uncontrolled token costs. To solve these reliability and governa

    AI
    5 min read
  12. State Space Models in Large Language Models: How Mamba, S4, and Selective Recurrence Challenge Transformer Attention

    Modern large language models rely almost universally on the Transformer architecture. However, the core mechanism powering Transformers, softmax multi-head self-attention, exhibits fundamental scaling limitations. Specifically, standard self-attention requires quadratic time and memory complexity relative to sequence length during prefilling, alongside a linear memory expansion for the key-value (KV) cache during autoregressive token generation. To circumvent these computational bottlenecks, re

    AI
    6 min read
  13. Tencent Releases UI-Mate: Open-Weight Foundation GUI Agents with In-Context Demonstration Learning

    Tencent's HY Frontier team has released UI-Mate, an open-weight foundation GUI agent designed for autonomous computer operation across desktop environments. Available in 27-billion and 9-billion parameter configurations, the models pair environment-grounded reinforcement learning with an in-context demonstration pipeline that allows agents to reference structured human workflows during execution. Alongside model weights on Hugging Face, Tencent published a technical report, code repository, and

    AI
    2 min read
  14. Multi-Agent Orchestration in Production: State Machines, Swarms, and Error Cascades

    Moving large language model applications from isolated prompts to multi-agent architectures introduces distinct systemic complexities. While single-agent systems face localized points of failure, multi-agent topologies exhibit emergent dynamics such as cascading hallucinations, coordination deadlocks, and severe context bloat. Designing multi-agent systems for production environments requires selecting explicit orchestration paradigms, bounding error propagation, and enforcing durable state per

    AI
    5 min read
  15. Vector Embeddings in Large Language Models: How Contrastive Learning, Bi-Encoders, and Matryoshka Projections Map Semantic Space

    Vector Embeddings in Large Language Models: How Contrastive Learning, Bi-Encoders, and Matryoshka Projections Map Semantic Space Large language models process text as discrete tokens: integers mapped to lookup tables. While causal transformers excel at autoregressive generation by predicting the next token, generation alone does not solve the challenge of semantic search, clustering, or dense retrieval. Searching through millions of documents requires comparing sequence-level meaning in constan

    AI
    8 min read
  16. Continuous Batching in Production LLM Serving: Iteration-Level Scheduling, Chunked Prefills, and Throughput Trade-Offs

    Static batching served as the standard execution paradigm for deep learning inference across computer vision and traditional natural language processing for years. In those domains, incoming requests typically feature fixed input dimensions and deterministic execution graphs. Autoregressive large language model serving breaks every assumption underlying static batching. Input prompts vary widely in token length, output generations terminate nondeterministically upon emitting an end-of-sequence t

    LLM
    6 min read
  17. Token Sampling in Large Language Models: How Temperature, Top-k, Top-p, and Min-p Govern Generative Decoding

    Large language models are autoregressive next-token predictors. During inference, the neural network processes an input context and outputs a vector of unnormalized scores, known as logits, across every token in its vocabulary. The mathematical pipeline that converts those raw logits into a single chosen token is the sampling and decoding stage. While model architecture and pre-training weights determine what a model knows, sampling algorithms govern how that knowledge is extracted. Small chang

    AI
    7 min read
  18. AI-Drafted Bills Inundate House Legislative Counsel, Creating Bottlenecks and Statutory Flaws

    Congressional attorneys at the U.S. House Office of the Legislative Counsel (OLC) are confronting an influx of AI-generated legislative proposals, leading to review backlogs and technical errors in submitted statutory text. According to a Politico investigation citing interviews with eight current and former officials, congressional offices and external advocacy groups are increasingly turning to large language models like ChatGPT and Claude to draft proposed statutory language. However, the re

    AI
    2 min read
  19. Reinforcement Learning from Human Feedback (RLHF): How Reward Models, PPO, and KL Penalties Align LLMs

    Pre-training large language models on internet-scale text corpora equips them with general linguistic patterns, world knowledge, and broad reasoning heuristics. However, pre-training optimizes next-token prediction: $\mathbb{E}_{x \sim \mathcal{D}} [\log P_\theta(x_t \mid x_{<t})]$. A base model trained purely on next-token prediction reflects the entirety of its web corpus, reproducing hallucinations, toxic phrasing, incorrect code, and unhelpful conversational patterns. To transform an uncons

    AI
    8 min read
  20. Mind Viruses: Researchers Demonstrate Self-Propagating Prompts in Multi-Agent LLM Networks

    Researchers affiliated with Anthropic, EPFL, and Carnegie Mellon University have published empirical findings demonstrating how natural-language instructions can act as self-replicating payloads across multi-agent Large Language Model (LLM) networks. The paper, titled Mind Viruses: Self-Propagating Ideas in Multi-Agent LLM Systems, examines how autonomous agents can be persuaded to adopt and transmit goals to other agents through standard conversational interfaces rather than binary exploit code

    AI
    2 min read