proomt

Search

Search posts, papers, and topics

All posts

Apple Machine Learning Research1 min readpaperintermediate

Dynamically Scaled Activation Steering

Summary

Dynamically Scaled Activation Steering (DSAS) is a method‑agnostic framework that learns per‑token, per‑layer scaling factors to turn existing activation‑steering interventions on only when a model is likely to produce undesired output (e.g., toxic text). The scaling can be optimized jointly with any steering function, improves the toxicity‑utility trade‑off on language models, transfers to text‑…

  • DSAS separates *when* to steer from *how* to steer by learning context‑dependent scaling factors for any existing activation‑steering transformation.
  • The scaling factors are computed at generation time per token and per layer, allowing strong intervention only on inputs flagged as risky.
  • Joint end‑to‑end optimization of the scaling network and the steering function yields a better Pareto front between toxicity mitigation and utility preservation.
  • Experiments (details in the full paper) show consistent improvements over baseline steering on language models and a text‑to‑image diffusion model, with <5 % extra compute overhead.

Uniform steering degrades model quality on benign inputs. DSAS offers a plug‑in layer that can be added to any existing steering pipeline, preserving performance on safe content while still suppressing harmful generations, a practical need for deployed LLM services.

6/10

Related reading

  1. Zing-0.5: Toward Playable Worlds with Real-Time Joint Action and Text Control

    Zing‑0.5 is a 5 B autoregressive world model that lets users control generated environments in real time using both keyboard actions and text prompts. The paper introduces unified action‑text conditioning, segment‑level teacher distillation, and a low‑cost streaming inference pipeline that runs at 24 FPS (832×480) for about $0.009 per minute, achieving 81 % overall and 88.5 % consistency on a nav…

    Hugging Face Daily Papersarxiv.org1 minpaper
  2. Trajectory as the Teacher: Few-Step Discrete Flow Matching via Energy-Navigated Distillation

    Apple researchers propose Trajectory‑Shaped Discrete Flow Matching (TS‑DFM), a training‑time distillation method that replaces blind stochastic jumps in discrete flow‑matching with an energy‑based compass to select higher‑quality intermediate tokens. On a 170 M‑parameter language model, the 8‑step student outperforms the 1 024‑step teacher by 32 % perplexity while being 128× faster, beating basel…

    Apple Machine Learning Researchapple.com1 minpaper
  3. Why Deploying Physical AI at Scale Demands Safety at Every Layer

    NVIDIA’s Halos platform is a full‑stack safety system for physical AI (autonomous vehicles and industrial robots). It bundles safety‑engineered hardware (DRIVE AGX Thor, IGX Thor), an ASIL‑D certified OS (Halos OS), middleware for isolation and monitoring, AI models for explainability (Alpamayo), and simulation/validation tools (Isaac Lab, Omniverse). The blog argues that scaling physical AI requ…

    Nvidianvidia.com5 min
  4. Scaling Telco Autonomy: Leveraging GNNs with Distributed GraphFlow

    Google Cloud’s blog introduces Distributed GraphFlow (DGF), an open‑source Python library for building and scaling Graph Neural Networks (GNNs) on a Spanner‑backed digital twin of telecom networks. The post outlines the three‑layer architecture (digital twin on Spanner Graph, ML layer with DGF, AI agents) and highlights DGF’s high‑level API (5‑line example) and low‑level primitives, but provides…

    Google Cloud Bloggoogle.com3 min
  5. Article: Architecting Secure and Scalable Facial Verification Systems

    A real‑world post‑mortem of a high‑volume face verification service that moved from a naïve synchronous API to an async, layered pipeline (edge validation, preprocessing, decoupled detection/verification, decision engine) to achieve 8.5k rpm, p99 < 1.8 s, 30 % cost savings, and strict privacy controls.

    InfoQinfoq.com15 min
  6. Article: Your Next DSL Author Is a Language Model

    Typed Domain Grounding (TDG) embeds a DSL inside a mainstream language the LLM already knows (e.g., Kotlin) and uses the host compiler as an oracle. The author describes five building blocks—embedding, choosing a host language with high training‑data frequency, compiler‑driven type safety, a generate‑compile‑repair loop, and an on‑demand teaching tool—and shows measured results from kUML, a Kotli…

    InfoQinfoq.com18 min