Multi-Turn Agentic Reinforcement Learning with Tunix and Gemma 4 on Google TPUs

AI 摘要 AI 生成,可能有误

本文是一份开发者指南,介绍如何在 Google Cloud TPU 上使用 Tunix 和 Gemma 4 训练多轮对话、可调用工具的 LLM 智能体。文中阐述了智能体式群组相对策略优化(GRPO)结合异步 vLLM 推演(rollouts)如何在交互环境中大幅提升复杂推理能力和工具使用遵循度。

This post walks developers through training a multi-turn, tool-using LLM agent using Tunix and Gemma 4 on Cloud TPUs. By leveraging agentic Group Relative Policy Optimization (GRPO) and asynchronous vLLM rollouts, the approach significantly improves complex reasoning and tool compliance in interactive environments.

继续阅读全文

为了尊重作者,这里只展示开头几段。你可以去原文阅读,或者在 HorizonReader 里读:划线做笔记、让 AI 帮忙。

更多来自 Google Developers Blog

On-Device Speech Recognition and Text-to-Speech in Google AI Edge Gallery

AI 摘要Google AI Edge Gallery now offers on-device, offline Automatic Speech Recognition (ASR) and Text-to-Speech (TTS) capabilities for building voice applications. Developers can use ML Kit for optimized Android performance, or MediaPipe Tasks and LiteRT for cross-platform integration with open-weight models. The local pipeline pairs lightweight speech models with on-device small language models like Gemini Nano and Gemma 4 to enable real-time streaming transcription and low-latency synthesis.

A2UI 1.0: Build delightful, fast, reliable, agentic experiences

AI 摘要A2UI 1.0 is an open protocol for generative UI that allows AI agents to render interactive, native screens across web, mobile, and desktop applications. It provides open-source renderer SDKs (React, Angular, Lit, Flutter, SwiftUI, Jetpack Compose) and agent SDKs for Python, TypeScript, and Dart. The release adds bidirectional function calls, swappable inference formats, and secure data binding to ease integration of generative UI into product stacks.

How Agent Anomaly Detection scores on benchmarks we didn't write

AI 摘要Agent Anomaly Detection (AAD) monitors AI agents asynchronously by analyzing OpenTelemetry traces and logs to flag goal hijacks and tool misuse, without adding runtime latency. When evaluated on five public security benchmarks not created by its authors, AAD detected 87% of harmful instructions executed by agents. Developers are encouraged to combine AAD with semantic governance and strict tool limits as part of a defense-in-depth strategy for securing agentic applications.

Catch Go bugs that fuzzing misses with Gemini and a constraint solver

How pairing Go's surviving compiler bounds-check traps with Gemini 4 Argon and the Z3 constraint solver catches latent out-of-bounds panics in Go code and uncovers a slice-capacity blind spot in go test -fuzz.

Unlocking Stable On-Policy RL on TPU with Bitwise-Zero Train–Inference Mismatch

How we eliminated floating-point train–inference logprob drift for on-policy LLM reinforcement learning across 64 Cloud TPU v5p chips using a generalizable four-part JAX and Pallas recipe in Tunix.