The Flow

Your AI & Data Science News Aggregator

New here? The Flow reads AI and machine-learning sources and writes a short summary of every story, so you can skim the day in a minute. Search by meaning, not just keywords — and get it as one email each morning.

Full-text keyword search

Filter by tag:

Filter by tag
Simon Willison
22h ago

datasette-maplibre 0.1a0

The article announces the release of the Datasette geospatial plugin "datasette-maplibre" version 0.1a0. It integrates the MapLibre GL library with the OpenFreeMap vector map server, adding features such as SVG previews of GeoJSON shapes that switch to WebGL previews when scrolled into view. A demo built with Pyodide and WebAssembly demonstrates the plugin’s capabilities in Datasette Lite, showing both GeoJSON shapes and latitude/longitude points on a single map.

Simon Willison
22h ago

datasette 1.0a43

The release of Datasette 1.0a43 marks 53% progress toward the 1.0 milestone, introducing streaming support for output renderers and new Response.stream() for plugins. It includes security fixes, a redesigned row page JSON, a copy-schema web component, pretty‑printed JSON columns, and a new DatasetteModal.confirm() utility. Additional enhancements feature CSS multi‑page view transitions that make navigation feel more like a single‑page application, supported in Safari and Chrome with Firefox support planned.

Simon Willison
22h ago

datasette 0.65.6

The article announces the release of Datasette version 0.65.6. It notes that a minor security fix was backported from a later release, addressing an issue where a database registered with a route different from its name could be downloaded by unauthorized users. The update is tagged as a security improvement for the Datasette project.

OpenAI Blog
1d ago

Our new blog for science

The OpenAI science blog introduces a new platform dedicated to sharing scientific insights. It focuses on publishing recent discoveries, practical methodologies, and firsthand narratives from researchers who employ AI to propel scientific progress.

Towards Data Science
1d ago

A Practitioner's Guide to 6 Agentic GraphRAG Patterns

The article explains how autonomous agents can transform static knowledge graphs into dynamic Context Graphs that retain information about decisions, user intent, and operational history. It outlines six specific Agentic GraphRAG patterns that practitioners can use to implement these living knowledge structures. The guide focuses on practical application, showing how to make knowledge graphs more responsive and context-aware.

By Partha Sarkar
Towards Data Science
1d ago

Computing Effective Dimension for Quantum ML Models in PyTorch

The article discusses methods for computing the effective dimension of quantum machine learning models implemented in PyTorch, covering both local and global variants. It explains techniques such as Fisher estimation, epsilon‑ball sampling, and log‑space stability, and provides practical PennyLane code examples along with a time‑series experiment.

By Adrian Panasiewicz
Sebastian Raschka
1d ago

Understanding Positional Embeddings in Modern LLMs

The article titled "Understanding Positional Embeddings in Modern LLMs" explores the mechanisms by which large language models encode the positions of tokens within input sequences. It delves into the various methods used to represent token positions, highlighting how these embeddings influence model behavior and performance.

By Sebastian Raschka, PhD
Simon Willison
1d ago

datasette-apps 0.4a0

Datasette Apps are sandboxed HTML and JavaScript applications that run inside Datasette and can execute SQL queries against your data. The 0.4a0 release introduces support for linking via URL fragments, allowing apps to receive and use these fragments. It also reports supported URL schemes back to the Datasette Agent, enabling apps to link to each other—for example, one app can display record details while another searches records and links to those details.

Simon Willison
1d ago

datasette-llm 0.1a11

The release of datasette-llm 0.1a11 introduces support for OpenAI‑compatible endpoints, allowing Datasette to use locally hosted LLMs such as those run with LM Studio, Ollama, or llama.cpp. Users can configure Datasette to connect to these models via a simple JSON configuration and run the server with uvx, enabling a local Datasette Agent powered by the chosen model. The update expands the plugin’s flexibility by enabling integration with any LLM that follows the OpenAI web protocol.

Simon Willison
2d ago

datasette-vega 0.7

The article announces the release of datasette‑vega 0.7, the first update to Datasette’s longest‑unused plugin since July 2018. The update adds compatibility with the latest Datasette alphas and includes cosmetic tweaks for better integration with Datasette Lite, which now supports JavaScript plugins. A live demo is linked in the README to showcase the plugin’s functionality on Datasette Lite.

Towards Data Science
2d ago

How to Build a Markov Chain in Python With NumPy

The article "How to Build a Markov Chain in Python With NumPy" offers a step‑by‑step guide that covers transition matrices, the Chapman–Kolmogorov equation, and stationary distributions. It uses a three‑state writing example to illustrate how to construct and analyze a Markov chain in Python with NumPy.

By Ananya Bhattacharyya
arXiv AI
2d ago

FoMEMO: Towards Foundation Models for Expensive Multi-objective Optimization

FoMEMO is a foundation model designed for expensive multi-objective optimization. It transforms the problem into preference-wise aggregated posterior learning tasks, allowing scalable pre-training on vast synthetic datasets without extensive real-world experiments. At inference, the model uses observed trajectories and user preferences to perform in-context posterior prediction and optimize acquisition functions, achieving strong generalization without further training.

By Yiming Yao, Fei Liu, Liang Zhao, Xi Lin, Yilu Liu, Qingfu Zhang
arXiv AI
2d ago

A model of errors in transformers

The paper presents a quantitative model explaining how small errors in transformer attention accumulate to cause incorrect predictions on deterministic tasks such as arithmetic and repetitive token processing. It reduces the complex behavior of large language models to two key parameters—an elementary noise rate and the number of plausible erroneous tokens—derived from an effective field theory perspective. Extensive experiments on Gemini 2.5 Flash, Gemini 2.5 Pro, and DeepSeek R1 confirm the model’s predictions, while also identifying some deviations and offering prompt‑design strategies to lower error rates.

By Suvrat Raju, Praneeth Netrapalli
arXiv AI
2d ago

Shannon observables: A scalable approach to information decomposition

The paper introduces Shannon observables, a new framework that captures key properties of high‑order information processing while being computable from Shannon entropies and scalable to large systems. It demonstrates how these observables clarify ambiguities in multivariate information‑theoretic measures and applies the framework to error‑correcting codes, deep learning models, and human brain magnetoencephalography data, revealing distinct encoding regimes, layer‑wise signatures, and cortical information‑transfer patterns.

By Aaron J. Gutknecht, Fernando E. Rosas, David A. Ehrlich, Abdullah Makkeh, Pedro A. M. Mediano, Michael Wibral
arXiv AI
2d ago

Constrained Bilevel Reinforcement Learning via Approximate Lower-Level Responses

The paper investigates constrained bilevel reinforcement learning where the lower-level problem is a constrained Markov decision process with a parameterized policy. Because the lower-level solution map can be set‑valued and non‑Lipschitz, the authors define the upper‑level objective as the expected loss of a policy returned by a fixed stochastic lower‑level algorithm, called the approximate response. They propose a gradient estimator that randomizes reward and constraint values during lower‑level training, yielding an unbiased estimate without differentiating through lower‑level updates, and prove lower‑level reward and feasibility guarantees, upper‑level stationarity, and a total sample complexity of ×O(δℓ⁻⁶εo⁻²), which simplifies to ×O(ε⁻⁸) when δℓ=εo=ε.

By Naman Saxena, Vaneet Aggarwal
Simon Willison
2d ago

datasette-cluster-map 0.19

The article announces the release of datasette-cluster-map version 0.19, a long‑standing Datasette plugin that now supports Datasette 1.0a42. It relies on the new datasette‑leaflet plugin to request OpenStreetMap tiles with a referrer header, and includes a map of California PG&E power plants that also showcases Datasette’s newly redesigned facets.

Simon Willison
2d ago

datasette-leaflet 0.3

The release of datasette-leaflet 0.3 addresses a policy issue with OpenStreetMap’s tile server. Previously, Datasette table pages sent a Referrer-Policy: no-referrer header, causing tile requests to violate OpenStreetMap’s requirement for a referrer. The new plugin now sets the referrer policy on tile requests to strict-origin-when-cross-origin, sending only the host while omitting the full page path.

Showing 1-20 of 667