Articles
Technical articles on AI, language models, data science and computer vision.
Suggested reading order4 articles
All articles
1–10 / 72Monte Carlo Simulations: Mathematical Foundations, Randomness, and Advanced Computational Methods
Monte Carlo, QMC, MCMC and advanced methods, with random-number streams, error analysis and analytical examples of dependence in manufacturing tolerances.
Ambient SFT: Temperature Matching for Data-Efficient Language Model Fine-Tuning
A technical review of Ambient SFT's temperature-matching objective, its relationship to SFT and distillation, reported benchmarks and the frozen teacher's training overhead.
DeepCrossAttention: Dynamic Residual Routing Across Transformer Layers
An architectural review of DeepCrossAttention through GRN-v3 and k-DCA, covering Q/K/V routing, original experimental results, convergence and memory cost.
How Do LLMs Work? Tokenization, Attention and Transformer Architecture
From tokens versus words to attention and KV caching: how language models process text, and what that means for context limits, latency and inference cost.
Embeddings and Semantic Search: Measuring Text Similarity
Choosing embedding models, similarity measures and search indexes, with product codes, multilingual queries and retrieval metrics such as Recall@k as practical tests.
RAG Architecture: Answering Questions with Enterprise Documents
Document ingestion, chunking, authorised retrieval and answer generation in one workflow, separating search failures from evidence use and business-decision errors.
Chunking, Hybrid Search and Reranking for RAG
From chunk size and overlap to BM25, vector retrieval and cross-encoders: a controlled-experiment framework for improving a RAG retrieval pipeline.
LLM Fine-Tuning: Choosing Between LoRA, QLoRA and RAG
Separating fresh-information needs from behavioural adaptation, then comparing LoRA and QLoRA through data quality, independent evaluation and total operating cost.
Evaluating LLMs: Correctness, Grounding and Hallucinations
Expert reference sets, evidence support, structured outputs and model-based judges, separating failure types that disappear inside a single aggregate quality score.
AI Agent Design: Tool Calling, State and Workflows
When a fixed workflow is sufficient, and how tool contracts, state, retries and human approval can support safe execution when an agent is actually needed.