← Nathan Bosch
← latest·

2026-07-04

Daily Digest

Pharma & Drug Discovery

The through-line here is that biomedicine is starting to benefit less from inventing yet another bespoke model class, and more from importing mature foundation-model patterns—sparse compute, self-supervised pretraining, and modality-aware architectures—into the messy realities of temporal and high-resolution biological data. The bottleneck is shifting from raw representational capacity to systems questions: how to allocate compute selectively, preserve domain structure, and make large models operationally useful across pathology, longitudinal assays, and spatiotemporal readouts without collapsing under cost, distribution shift, or weak interpretability.

Large Models for Time Series and Spatio-Temporal Data: A Survey and Outlook

Ming Jin, Qingsong Wen, Yuxuan Liang, Chaoli Zhang · openalex

Large-model techniques are converging on time-series and spatio-temporal problems: transformer-based architectures, large-scale self-supervised pretraining, and multimodal fusion are now the default levers. The current gaps are practical—efficient long-range attention, robust time/space positional encodings, domain transfer, causal/interpretability metrics, and evaluation benchmarks—rather than a lack of model ideas. For you this is actionable: instead of bespoke sequence models, consider fine-tuning foundation backbones on MD trajectories, longitudinal assays, or sensor grids, but budget for memory-efficient attention, careful temporal augmentation, and domain-specific pretraining data. The survey’s curated datasets and implementations are a ready-made shortcut for prototyping; prioritize models with locality-aware encodings and inference optimizations to cut fine-tune and serving cost while improving cross-domain transfer.

A deep learning framework for efficient pathology image analysis

Peter Neidlinger, Tim Lenz, Sebastian Foersch, Chiara Maria Lavinia Loeffler · openalex

EAGLE introduces a practical, pathologist-inspired architecture that separates cheap, task‑agnostic tile selection from expensive per-tile encoding, yielding a >99% reduction in compute and a 2.27 s per-slide inference time while improving accuracy up to 23% across 43 cancer tasks. For ML and drug‑discovery pipelines this matters because it makes large‑scale slide inference and interactive review feasible without heavy GPU farms, enables auditable tile-level explanations for biomarker validation, and provides unified embeddings that simplify slide search and multi‑omics integration. Architecturally, the selector+encoder pattern is a transferable, inference‑efficient design (think sparse preselection/saliency + heavy encoder) worth adopting in other high‑resolution domains. Remaining practical checks: cross‑scanner/stain robustness, external validation and regulatory auditability.

World News

The common thread today is institutional brittleness: Europe is confronting hard-security risk from Russia, the UK is advertising weaker political cohesion and soft-power ambition, and extreme heat is turning climate stress from a long-dated policy problem into an immediate operational one. In parallel, the AI-authorship story underlines a broader epistemic issue — when trust, provenance and governance are all under strain, the real risk is not any single headline but a world in which states, markets and institutions have less margin for error and less agreement on what counts as credible evidence.

Celtic nations begin to plan for breakup of UK in event of Reform election win

Rory Carroll and Lisa O’Carroll in Belfast · guardian

Celtic leaders are actively planning for a rapid break-up scenario if Nigel Farage’s Reform UK gains power, warning a Farage-led government or strong Reform opposition could trigger hasty Irish-unification votes and hardline immigration measures that alienate Scotland, Wales and Northern Ireland. For you: this raises near-term political and regulatory risk for UK assets, London-based startups and cross-border collaboration—worth factoring into portfolio country-risk assessments, hiring/expansion contingency plans, and any timelines that assume stable UK governance.

Could the next great novel be written by AI (and would you even be able to tell)?

David Shariatmadari · guardian

You can’t reliably spot AI prose by eye — common heuristics (clichés, em dashes, the ‘rule of three’) are shared by humans and models, and both detectors and lay judgments frequently misclassify legitimate human writing. That uncertainty feeds paranoia, false accusations and shaky editorial/legal claims, so treat automated screening and instinctive “AI here” calls as weak evidence rather than proof of authorship.

Polish PM warns critical months ahead in face of Russian threat

bbc_world

Poland's PM warns of ‘critical months’ and is preparing for multiple contingencies amid reported threats from Russia. Expect higher NATO/Polish readiness, accelerated EU defense spending and elevated regional risk premia — implications for European markets, energy security, and supply‑chain resilience that could feed through to portfolio volatility and macro forecasts you track.

Overseas education project for women and girls axed by UK after two years

Sarah Johnson · guardian

UK has cancelled SHEFE, a £45m programme intended to keep 1 million girls in higher education across Africa, Asia and the Middle East, pulling the tender after two years. That decision shrinks UK soft power and the long-term pipeline of trained international talent and research collaborators, risks further pressure on university revenues from overseas students, and signals sustained aid cuts that could impair future global partnerships relevant to UK biotech/AI research ecosystems.

Brutal heat cancels Fourth of July events, from DC to Philadelphia

bbc_world

A sustained 38°C heat wave has forced cancellations across major Northeastern US cities, exposing acute stress on urban cooling, power grids and outdoor labor. Expect short-term disruptions to transport and logistics, upward pressure on energy and insurance costs, and another climate-risk datapoint to fold into portfolio tail‑risk assessments and urban/infrastructure resilience planning.

France records 2,025 excess deaths at peak of heatwave as Europe braces for more extreme weather

bbc_world

France saw roughly 2,025 excess deaths at the peak of a recent heatwave, with forecasters warning of more extreme temperatures across Europe in the coming days. This is another signal of accelerating climate risk — expect recurring public‑health strain, higher energy demand and transport/supply‑chain disruptions, and increased operational stress on labs and urban infrastructure; worth factoring into regional portfolio exposure and resilience plans for facilities and workforce scheduling.

AI & LLMs

The through-line today is that capability is increasingly being won in the interfaces around the model — memory, retrieval structure, indexing, and a few high-leverage circuits — rather than by brute-force scaling alone. That is good news for anyone trying to ship smaller, cheaper systems, but it also sharpens the security story: the same fine-grained access points that make models more controllable and efficient are becoming new leakage and attack surfaces, from logits to weight geometry to specialized retrieval heads. A second implication is that “model quality” is fragmenting into separable competencies that can be trained, audited, and optimized independently: memory policy, long-context synthesis, search, robustness, and provenance. For production AI, especially in regulated or IP-sensitive domains, that pushes the frontier away from monolithic model choice and toward system design — deciding which capabilities to externalize, which to compress, and which to lock down.

DuoMem: Towards Capable On-Device Memory Agents via Dual-Space Distillation

Peyman Hosseini, Ondrej Bohdal, Ahmed Alajrami, Andrea Maracani · hf_daily_papers

DuoMem shows a practical route to turn large-model procedural skills into tiny, fast agents by distilling along two axes: context-space (precomputed teacher memories prepended to student input) and parameter-space (LoRA adapters fine-tuned on teacher trajectories). On ALFWorld a 4B student jumps from 4.3% to 77.9% success—close to a 72B teacher’s 87.1%—while adding <10M trainable params, only a few MB of offline memories, and running >3x faster in wall-clock. Ablations indicate both axes are complementary. For infrastructure and product teams this is attractive: it shifts expensive computation offline into compact memory + tiny adapters, lowering latency, cost, and hardware needs for real-time on-device agents. Caveat: depends on quality of teacher trajectories and retrieval; generalization beyond benchmark environments still needs validation.

Contrastive Decoding Diffing (CDD): recovering verbatim finetuning data from logits alone, no weight access needed[R]

reddit_ml

A contrastive-decoding diffing (CDD) technique demonstrates that verbatim fine‑tuning data can be recovered using only logit-level (grey‑box) access — no weights, activations, or probe corpora required — and it outperforms a prior whitebox activation-based method across model families (1B–32B). Practical consequence: exposing logits through APIs or internal services is enough for dataset exfiltration, and synthetic data generation can bake persistent artifacts (e.g., a recurring fictional persona) into many downstream fine‑tunes that CDD will reliably pull back out. For our stack, that means tightening logit exposure policies, treating any model‑generated training data as a source of unexpected leakage, and prioritizing mitigations (differential privacy, data watermarking/auditing, limiting logit returns) when fine‑tuning or using third‑party LLMs in discovery workflows. Code and paper are available for immediate red‑team testing.

AutoMem: Automated Learning of Memory as a Cognitive Skill

Shengguang Wu, Hao Zhu, Yuhui Zhang, Xiaohan Wang · hf_daily_papers

AutoMem reframes memory management for LLM agents as a separable, trainable cognitive skill: treat file-system operations as first-class actions and optimize both the memory schema and the model’s memory policy via two automated loops (LLM-guided schema revision; distillation of good memory decisions). The result: without changing task-action behavior, sharpening memory alone produced 2–4x gains on long-horizon games and made a 32B open model competitive with much larger proprietary systems. For ML engineering and drug-discovery workflows this is important — it suggests big wins can come from investing in memory infrastructure, trajectory logging, and automated schema optimization rather than only bigger models. Practically, expect lower-cost models to close performance gaps if you build tooling to audit, revise, and train memory actions at scale.

Logit-Contribution Scoring Identifies Non-Literal Retrieval Heads

Aryo Pradipta Gema, Beatrice Alex, Pasquale Minervini · hf_daily_papers

LOCOS is a write-aware, single-forward-pass head scorer that exposes which attention heads actually contribute content (via their OV output projected onto the unembedding) rather than just where the model looked. Ablating the top LOCOS heads collapses non-literal retrieval performance (e.g., ROUGE‑L on Qwen3‑8B from 0.401 to 0.000 with 50 heads) while leaving parametric recall and arithmetic intact, showing long-context synthesis is concentrated in a small, manipulable subset of heads. Practical implications: you can surgically edit or prune those heads to change how models synthesize context without destroying stored knowledge, add lightweight runtime checks or mitigations for hallucination in long-context pipelines, and gain interpretable hooks for alignment/debugging in domain-heavy settings like drug‑discovery literature synthesis.

WARP: Weight-Space Analysis for Recovering Training Data Portfolios

Tzu-Heng Huang, Aditya Goyal, John Cooper, Frederic Sala · hf_daily_papers

Weight-space geometry can reveal a fine-tuned model’s training-domain mix: by interpolating between base and fine-tuned weights to simulate a training trajectory, one can recover domain proportions far more accurately than membership-inference techniques. Practically this means released weights leak metadata about what corpora dominated fine-tuning—useful for auditing model provenance and diagnosing dataset shifts, but also a privacy/IP risk for proprietary or sensitive corpora. For you: treat any release of base-plus-finetuned weights as a potential disclosure vector (apply stricter access, DP, or weight obfuscation if training data secrecy matters), and consider adopting weight-space diagnostics to detect domain drift, dataset imbalance, or covert fine-tuning when evaluating third-party models in drug-discovery pipelines.

BaryGraph - knowledge graph where every relationship is its own embedded document (not an edge) [R]

reddit_ml

BaryGraph treats relationships as first-class embedded documents (“BaryEdges”) and recursively composes them into MetaBary triads to surface structural bridges that pointwise embeddings miss. That algebraic construction (cheap because it reuses base embeddings) encodes relational overlap and motif-level similarity better than raw cosine, making it effective at surfacing cross-domain analogies — exactly the kind of mechanistic connections that RAG often fails to find. For our work: this is a lightweight, production-friendly pattern you could prototype over domain corpora (PubMed, patents, or geospatial logs) to surface analogies or shared structural motifs between disparate literatures. Caveats: current validation is on Wiktionary (not scientific text), the quality hyperparameter and relation-type embeddings are critical, and the “forest” design may miss multi-parent relations — expect false-positive bridges and need human vetting. Suggestion: try the public MCP server and run probe pairs from drug-discovery or geospatial domains to judge signal vs. artifact.

What does "Safe AI" look like? [D]

reddit_ml

Open-weight LLMs are unlikely to be made impervious to post-release fine-tuning; determined actors can modify weights, reimplement models, or splice behavior quickly. So ‘‘fine-tuning resistance’’ should be treated as a pragmatic deterrence goal, not an absolute. Useful wins are measures that raise attacker cost, reduce the reliability or utility of safety removal, and provide tamper-evidence or traceability—e.g., cryptographic signing of checkpoints, watermarking outputs, secret adapters or architectural friction, API/compute gating, and stronger forensic/monitoring tooling. For a drug-discovery shop, this changes the release calculus: prefer controlled APIs or protected weights for high-risk capabilities, invest in detection/watermarking, and prioritize research on how safety behaviors degrade under fine-tuning and how much extra compute/skill is required to undo them.

Scaling Laws for Grid-Based Approximate Nearest Neighbor Search in High Dimensions

Matthew J Liu, Wei Hang Zheng, Vidhan Purohit, Siqi Xie · hf_daily_papers

Multiprobe grid ANN keeps a near-constant dimensional-scaling exponent on GloVe embeddings while graph/tree/partition methods slow down with increasing d, and it achieves near-linear query scaling in N with substantially lower indexing cost. Practically, that makes multiprobe-grid attractive for rebuild-heavy pipelines or very high-dimensional embedding spaces—think frequent retraining/reindexing of compound or protein representations in drug discovery, or high‑dimensional geospatial feature indexes—where indexing cost and dimensional robustness matter more than absolute best‑case query latency. Also note the broader point: with self-attention interpretable as ANN, these N/d scaling laws provide a quantitative lever for cost models of efficient/sparse transformer variants. Code is available if you want to benchmark it against HNSW/IVF in your stacks.

AGVBench: A Reliability-Oriented Benchmark of Data Augmentation for Vein Recognition

Haiyang Li, Yuming Fu, Qun Song, Hongchao Liao · hf_daily_papers

AGVBench shows that for fine-grained biometric imaging, augmentation choices are a trade-off: multi-image mixing (MixUp, PuzzleMix, StarMixup) consistently raises recognition accuracy across CNNs, ViTs and vein-specific models but worsens calibration and adversarial robustness, while heavy geometric transforms often destroy topology and reduce performance. The upshot for domain-sensitive imaging (microscopy, structural biology, geospatial scans) is that accuracy-focused augmentation tuning is misleading — you need robustness and calibration metrics, adversarial tests, and topology-preserving augmentations baked into evaluation. Practically: treat mixing methods with caution or augment them with robustness regularization, prefer domain-aware spatial transforms, and reuse AGVBench’s code/protocols as a reproducible template to benchmark augmentation trade-offs in Isomorphic’s imaging pipelines.

Parameter-Efficient Quantum-Inspired Fast Weight Programmers for Traffic-Matrix Forecasting

Kuo-Chung Peng, Jiun-Cheng Jiang, Chun-Hua Lin, Tai-Yue Li · hf_daily_papers

Quantum-inspired fast-weight recurrent modules (G-QKANFWP family) give better accuracy-per-parameter than matched LSTMs on dense origin–destination traffic-matrix forecasting: lower pooled RMSE, faster convergence (lower validation-loss AULC), and more per-channel wins while using only ~22% of the parameters of a larger LSTM. Crucially, gains aren’t just from gating or Fast-Weight framing—the quantum-inspired Kolmogorov–Arnold design appears to improve learning dynamics under strict memory and training-budget constraints. For anyone building production time-series or geospatial models, this is a practical pattern for squeezing latency and memory without resorting to transformers or diffusion models. Actionable follow-ups: inspect the Kolmogorov–Arnold gating and fast-weight update rules for compatibility with batched GPU/TPU kernels, quantization, and low-memory online inference; test transfer to sparse OD graphs or sequence models used in drug-discovery pipelines.

Finance & FIRE

The common thread here is that FIRE planning is getting less forgiving of lazy assumptions: you can’t anchor on a nominal target, a reliable state backstop, or the idea that “income” assets are inherently safer just because they throw off cash. In practice the edge comes from treating retirement as a liability-matching problem under policy uncertainty and liquidity stress — maximise ISA/SIPP shelter, keep explicit buffers, prefer liquid low-cost exposures, and model spending plans against real purchasing power rather than round numbers or yield optics.

Weekend reading: No age pensioners

monevator

Younger cohorts now broadly expect little or no state pension and shifting retirement ages, so treat the UK state pension as unreliable tail risk rather than baseline income. For portfolio and FIRE planning, that means prioritising personal savings and tax-efficient wrappers (maximise ISAs and SIPPs), automating contributions, and modelling retirement cashflows with conservative assumptions about pension size and retirement age. Asset allocation should favour long-term growth (low-cost global equity ETFs) while keeping a small allocation to real assets or inflation-linked bonds to hedge higher long-run rates and fiscal stress. For someone focused on UK/EU tax efficiency and early retirement, the practical takeaway is: plan as if you’ll self-fund most retirement, use tax wrappers aggressively, and stress-test scenarios where welfare support is means-tested or curtailed.

The Living is Yield-y model portfolio: one year update [Members]

monevator

After a year running a yield-focused model, the practical lesson is clear: harvesting portfolio income can fund living expenses in the short term, but only if you treat yield as an active strategy rather than a passive entitlement. Income-focused holdings outperform on headline yield during a rising-rate regime, yet total-return variance, dividend cuts, and sequence-of-returns risk mean you need a buffer (cash or short-term bonds worth ~1–2 years of planned withdrawals), disciplined rebalancing, and a filter for yield sustainability (payout ratios, balance-sheet health). For a UK investor, prioritise tax wrappers (max out ISA allowances, use SIPPs where appropriate) to prevent high income from being eaten by tax. Operationally, automate monitoring of yield sustainability and rebalance thresholds — easy to prototype given your ML/infra skills.

Friday links: constant reinvention

abnormal_returns

Liquidity stress in private markets is no longer theoretical: Blue Owl and PitchBook underline growing redemption queues at semi‑liquid private‑credit funds, a structural mismatch that raises the probability of forced sales and spread widening if another shock hits. For a FIRE‑minded, ETF‑centric investor, that argues against allocating retail capital to products whose liquidity can evaporate — prefer liquid credit ETFs, shorter‑duration instruments, or explicit cash buffers. On public markets, PE’s Jersey Mike’s IPO and Kroger’s Giant Eagle takeover show continued buyout restaging and consolidation in consumer staples, which can lift returns for scale players but compress competition; Apple’s memory‑price pressure is a reminder of supplier‑driven margin risk in hardware exposure. Lastly, the growing financialization of the art market reduces its diversification value — expect higher correlations and liquidity risk for alternative allocations.

How Much is One Million Dollars Worth?

wealth_common_sense

One million is a headline number, not a plan — its purchasing power hinges on your time horizon, asset allocation, housing choices and tax wrappers. Prioritize tax-advantaged retirement accounts (ISA/SIPP), an emergency buffer, and clear separation of small‑business cashflow before treating a nominal target as your goal. Selling long‑term equities to buy a home creates opportunity cost, timing risk and potential tax consequences; weigh current mortgage rates, expected housing returns, and how reliant your withdrawal plan is on equity growth. For FIRE-minded engineers, translate “£1M” into a goals-based figure (portfolio mix + housing + tax shelters) and optimise where marginal savings produce the biggest reduction in run-rate risk.

Startup Ecosystem

The through-line in startup infrastructure right now is a shift from raw capability chasing toward control: control over where models run, what dependencies enter the stack, how vendors handle telemetry, and whether cost optimizations are actually robust enough for production. That matters especially in Europe, where open tooling is maturing into real institutional infrastructure at the same time founders are being pushed to treat security, provenance, and product reliability not as compliance overhead, but as core parts of the moat.

North Korea-linked npm packages impersonate Rollup polyfill tools to steal developer secrets

the_next_web

Malicious npm packages masquerading as Rollup polyfill tooling (rollup-packages-polyfill-core, rollup-runtime-polyfill-core) tied to DPRK actors were used to exfiltrate developer credentials and gain remote access. For ML and drug-discovery engineering this is a concrete supply-chain + espionage risk: a compromised dev machine or CI runner can leak proprietary models, training data, model weights, cloud credentials, and container images. Immediate actions: search installs and CI logs for those package names, revoke/rotate any npm/CI tokens that may have been exposed, and audit recent CI runs for unexpected egress. Longer term: enforce org-scoped registries and lockfile-only installs, tighten npm token scopes and use ephemeral CI credentials, add SBOM/dependency-supply-chain scanning and package signature checks, and isolate/ephemeralize build runners to limit lateral/cloud impact.

Jamesob's guide to running SOTA LLMs locally

hacker_news

A community-curated “local-llm” guide has crystallised the practical recipe for running SOTA LLMs offline — quantization (GPTQ/AWQ), ggml/llama.cpp runtimes, tokenizer/runtime builds, Docker recipes, and memory/speed tradeoffs that get near-production throughput on commodity hardware. For an ML infra engineer this materially lowers friction to prototype, benchmark, and iterate on large models without cloud API limits or recurring hosting costs, and surfaces which quantization/runtime choices give the best quality vs cost tradeoffs. Operational implications: faster on‑prem experimentation for drug-discovery and geospatial models, potential cost savings if we shift some inference locally, and attention needed on model licensing and secure weight management. Next actions: reproduce a few benchmark configs with our internal models, measure quality loss vs latency/cost, and consider adding a GGML/GPTQ inference path to the infra roadmap.

Alibaba bans Claude Code after Anthropic is caught tracking Chinese users with hidden code

the_next_web

Alibaba has blocked use of Anthropic’s Claude Code after hidden logic was found that identified Chinese users, deepening an already tense dispute over alleged IP-distillation. Beyond the immediate PR hit for Anthropic, this underscores a larger enterprise risk: third-party AI tools can carry geo‑targeting or telemetry that creates compliance, export-control, and data‑leak surface area. Expect stricter vendor vetting, accelerated demand for on‑prem/self‑hosted developer models, and more aggressive software‑supply‑chain audits—particularly from large multinational customers and regulators. For you: treat hosted code-generation agents as high-risk dependencies—lock down prompt/data flows, require binary/traffic inspection for new AI tools, prefer self‑hosted or vetted models for proprietary/PHI work, and add model/tool provenance checks to procurement and security reviews.

60% Fable cost cut by converting code to images and having the model OCR it

hacker_news

A straightforward pipeline converts code/text to images and feeds them to a multimodal model that effectively OCRs the image input, cutting billed token/usage cost by roughly 60% in their tests. The insight: you can exploit differences in how providers bill/tokenize modalities to get big cost wins, but you trade added latency, OCR-induced errors, more brittle pipelines, harder provenance/auditing, and exposure to policy changes by the model provider. For production ML systems this is a pragmatic lever—worth experimentation—but treat it like a performance optimization, not a default. Run side-by-side benchmarks (cost, latency, fidelity), add stronger validation/round-tripping checks, and watch for provider responses or security/PII leakage when converting structured artifacts into images.

Half-Baked Product

hacker_news

Shipping “half-baked” products trades short-term attention for long-term trust — a risk that compounds for ML-first teams because model failures are opaque, data gets polluted, and users can’t easily judge correctness. Practical moves: focus on one narrow, reliable use-case and make it rock-solid; enforce production-grade gates for demos and PR so external expectations match reality; invest early in observability, automated canaries, feature flags and drift detection to limit blast radius; design feedback loops that preserve clean training signals instead of amplifying early mistakes. For founders and engineers this reduces costly rework, protects credibility with investors/partners, and shortens the path to sustainable product–market fit — especially critical in regulated or high-stakes domains like drug discovery or geospatial systems.

Pytorch: the software layer underpinning Europe's AI ambitions

tech_eu

PyTorch is consolidating into a neutral foundation that’s becoming the default home for a broader open-AI stack (vLLM, DeepSpeed, Ray, Helion) and is coordinating stewardship of critical pieces like SafeTensors via the Linux Foundation. For infrastructure-minded teams this reduces single-vendor risk, accelerates standardisation of model formats and inference stacks, and makes it easier to adopt robust, community-maintained optimisations and security practices. Practically: expect faster maturation of production-grade tooling for training and inference, fewer nasty model-loading supply-chain surprises, and clearer upgrade/compatibility paths — all of which lower integration and maintenance friction for teams deploying large models (including in drug discovery). Watch governance moves and license/trademark policy for anything that could affect vendor integrations or procurement.