Towards Data Science

How to Solve Issues When You Nest Measures While Overwriting the Same Filter

The article explains how to handle problems that arise when creating a new DAX measure based on an existing one while attempting to overwrite a filter that the nested measure already applies. It discusses the common scenario of reusing measures and the complications that can occur when the same filter is modified in the outer measure. The post provides guidance on resolving these issues to ensure correct calculation results.

Towards Data Science
4d ago

When All You Have Are Decoders, Every Decision Looks Like Generation

The article titled "When All You Have Are Decoders, Every Decision Looks Like Generation" discusses the misconception that every decision-making process requires a decoder and that generation is not inherently a decision. It highlights that not every decision needs a decoder and clarifies the distinction between generation and decision-making. The piece was originally published on Towards Data Science.

By Lambert Leong
Towards Data Science
May 29

RAG Is Burning Money — I Built a Cost Control Layer to Fix It

Most RAG systems are optimized for answer quality, not cost—and that blind spot gets expensive fast. In this article, I break down a production-ready cost control layer combining semantic caching, query routing, token budgeting, and circuit breaking, achieving an 85% reduction in LLM costs without sacrificing answer quality.

By Emmimal P Alexander
arXiv Machine Learning
Sep 2

Reading the Gate, Not the Interference: Output-Side Interference Measurement Does Not Track Merge Collapse

The paper investigates why task‑arithmetic merging fails by measuring the exact layerwise activation cross‑term of a factorial ledger. It shows that this cross‑term is largely transported and amplified by each block, is regenerated by untouched marginal paths, and varies monotonically with the displacement angle, yet it does not predict merge collapse. The study finds that behavioural performance is decoupled from the cross‑term, and that collapse is driven by marginal displacements rather than the cross‑term, which is only a bystander.

By Chencheng Zhu