Ai Daily Summary

### Major Themes in Recent AI Developments

1. Integration of AI in Robotics

Recent advancements in robotics emphasize the integration of perception, planning, and action within a unified framework. X Square Robot's "World Unified Model" exemplifies this shift, prioritizing the quality of interaction data to enhance robots' capabilities in real-world environments. This model aims to move beyond traditional teleoperation by focusing on event-grounded actions and rigorous data validation, marking a significant evolution in embodied AI.

Key Items: - World Unified Model: Integrates vision, language, and action for holistic robotic intelligence. - Universal Manipulation Interface (UMI): Validates interaction data through physical playback, ensuring quality control. - WALL-WM: Organizes robot behavior around semantic events for better action prediction. - Wall-OSS-0.5: A vision-language-action model designed for immediate applicability on real robots.

2. Emphasis on Data Quality and Transferability

X Square Robot's approach underscores the critical role of high-quality data in training effective AI models. They assert that the bottleneck in general-purpose robotics lies in the scarcity of diverse interaction data, not in model size. Their focus on ensuring data reliability facilitates better learning outcomes across various robotic platforms.

Key Items: - Data Validity Rate: Achieving an 85% validity rate for interaction data emphasizes accurate data collection. - Cross-Embodiment Learning: Exploring generalization of learned behaviors across different robotic embodiments. - Semantic Action Tokens: Introducing action tokens that align with language features for intuitive robot actions.

3. AI's Role in Cybersecurity and Accessibility

The application of AI in cybersecurity and accessibility is gaining traction. Initiatives like MIT's Cybersecurity Clinic demonstrate the practical use of AI in public safety, while Amazon's AI-powered assistant aims to support neurodivergent professionals. These efforts reflect a broader commitment to leveraging AI for societal benefits, enhancing both security and inclusivity.

Key Items: - MIT Cybersecurity Clinic: Aids local governments in defending against cyber threats. - Amazon's AI Assistant: Enhances accessibility for neurodivergent individuals, showcasing AI's potential in inclusivity.

Conclusion

The current landscape of AI research is characterized by significant progress in robotics, with a strong emphasis on integrated systems and high-quality data. The initiatives from X Square Robot highlight a trend toward adaptable and reliable robotic solutions, while the focus on cybersecurity and accessibility underscores AI's societal impact. Overall, the mood in the field is optimistic, driven by innovations that promise practical applications and transformative outcomes.

Top Sources:

  1. Building a Foundation Stack for General-Purpose Robots - https://spectrum.ieee.org/x-square-robot-embodied-ai-stack - X Square Robot proposes a new integrated approach to robotics, emphasizing quality data and event-grounded actions.
  2. OpenAI's ChatGPT-4 Launch - https://openai.com/blog/chatgpt-4 - OpenAI releases its latest language model, enhancing conversational AI capabilities.
  3. Google's AI-Driven Drug Discovery - https://ai.googleblog.com/2023/10/ai-drug-discovery.html - Google demonstrates the use of AI in accelerating drug discovery processes.
  4. MIT's Quantum AI Research - https://news.mit.edu/2023/quantum-ai-research-1001 - MIT unveils breakthroughs in quantum computing that could enhance AI algorithms.
  5. Stanford's AI for Climate Change - https://cs.stanford.edu/ai-climate-change - Stanford researchers explore AI applications to combat climate change.
  6. Amazon's AI-Powered Supply Chain Optimization - https://aws.amazon.com/ai/supply-chain - Amazon implements AI solutions to improve supply chain efficiency.
  7. Microsoft’s AI Ethics Framework - https://blogs.microsoft.com/ai-ethics - Microsoft outlines its new ethical guidelines for AI development.
  8. Facebook's AI and Augmented Reality - https://about.fb.com/news/2023/09/ai-augmented-reality - Facebook integrates AI more deeply into its augmented reality applications.
  9. UC Berkeley's AI for Autonomous Vehicles - https://berkeley.edu/ai-autonomous-vehicles - UC Berkeley advances AI technologies for safer autonomous driving.
  10. NVIDIA's AI in Graphics Rendering - https://www.nvidia.com/en-us/research/ai-graphics-rendering - NVIDIA showcases AI techniques that enhance graphics rendering capabilities.


    📰 Sources

    Building Service Topology at Scale: Architecture, Challenges, and Lessons Learned2026-07-13 22:44:11

By Parth Jain, Rakesh Sukumar, Yingwu Zhao, Renzo Sanchez-Silva & Nathan FisherA deep dive into the engineering challenges of building a real-time service dependency map at Netflix scale: from streaming architectures and distributed aggregation pipelines to time-travel queries and the methodology that made it work.IntroductionIn our first post, we introduced the problem: engineers at Netflix needed a unified, real-time view of service dependencies to troubleshoot faster, understand blast radius, and navigate our distributed architecture. We described our multi-source approach, combining eBPF network flows, IPC metrics, and distributed tracing into physically separate graph layers that can be queried independently or merged into a comprehensive view.That post explained what we built and why. This post is about how, the engineering reality of building this system at Netflix scale.Here’s the truth: the first version worked perfectly… in our local environment. Production was a different story. Kafka consumers fell behind. Instances ran out of memory. Some nodes received 100x the traffic of others. Garbage collection pauses consumed more CPU than actual business logic.What you’ll learn in this post isn’t a success story, it’s a learning journey. We’ll walk through the architecture decisions that enabled scale, the production challenges that tested those decisions, the optimization methodology that guided us through, and the lessons that apply to any distributed system. Along the way, we’ll share the innovations that made it possible to process millions of flow records per second, reconstruct topology at any point in time, and provide sub-second query responses, all while maintaining near real-time freshness.Architecture Deep-Dive: Building for Streaming and ScaleStreaming-First: Why Real-Time MattersTraditional service topology systems use batch processing, aggregating data hourly or daily, then storing complete snapshots. This approach works at a modest scale but has a fundamental problem: by the time you see the data, it’s already old. During a production incident at 3am, an hour-old dependency map is archaeology, not observability.Our key architectural decision was to build streaming-first. Instead of batch jobs that process historical data, we continuously ingest flow records from multi-region Kafka streams and IPC metrics as Server-Sent Events, process them through reactive pipelines with backpressure handling, and provide near real-time topology updates, typically within tens of minutes, compared to the hours-old or day-old data that batch processing approaches provide.This wasn’t just about freshness, it was essential for our use cases. Live events can’t wait for the next hourly batch. Incident response needs current data. Change validation requires seeing immediate impact. The architecture had to support continuous updates while handling massive scale without falling behind.How Backpressure Enables Real-Time ProcessingThe streaming approach created new challenges, but also required solving a fundamental problem: how do you process millions of flow records per second in real-time without losing data when downstream systems slow down?Traditional approaches fall short at our scale:Unbounded queues: Simple but dangerous. Keep buffering until you run out of memory, then the instance crashes.Drop-based flow control: Discard data when buffers fill. Fast, but now your topology is incomplete, you’ve lost connection information.Batch processing: Process everything, but hours later. By then, the incident is over (or worse, still happening with stale data).We needed something different: the ability to slow down gracefully under load without losing data. This is where reactive streams with backpressure became essential.Here’s how it works: when Stage 3 can’t write to the graph database fast enough, it signals Stage 2 to slow down. Stage 2 signals Stage 1. Stage 1 signals the Kafka consumer to pause. The data waits in Kafka until downstream capacity returns.When a downstream stage can’t keep up, it signals upstream to slow down — backpressure flows in the opposite direction of the dataBackpressure propagates naturally through the entire system. When any stage becomes overwhelmed from traffic spikes, GC pauses, or external slowdowns, the pipeline automatically slows to a sustainable rate. No data is lost in most cases, no instances crash, the system degrades gracefully.This is what enables “real-time” at our scale. During normal operation, we process with minimal latency. During load spikes or temporary slowdowns, we slow down rather than fall over. The data still gets processed, just a few seconds or minutes later instead of immediately. For topology updates, this trade-off is acceptable: slightly delayed real-time updates are vastly better than hour-old batch data or incomplete topology from dropped records.The cost of this approach is complexity. Reactive streams are harder to reason about compared to traditional synchronous blocking models (we’ll discuss this more in the challenges section). But at Netflix scale, backpressure isn’t optional, it’s the mechanism that keeps the system running reliably under production load.Multi-Layer Architecture: Physical Separation for Independent OptimizationAs we covered in our first post, our multi-source approach uses three physically separate topology layers with different storage optimized for each:Network Layer: eBPF flow logs in graph database partition, comprehensive coverage but lacks application contextIPC Layer: Application metrics in a different graph database isolated from the one for Network Layer, rich endpoint details but only instrumented servicesTracing Layer: Distributed traces in columnar storage (Parquet), actual request paths but sampled.(We cover the tracing layer and its integration in our next post).Flow logs and IPC metrics travel through two independently-optimized pipelines into separate graph stores, unified behind a single APIPhysical storage isolation enables independent optimization, each layer has different throughput, query patterns, and evolution timelines. At query time, we execute parallel queries across relevant storage systems and merge results, providing unified views with sub-second latency while maintaining flexibility to evolve each layer independently.The Three-Stage Distributed Aggregation PipelineThe heart of the network layer ingestion is a three-stage distributed pipeline. This architecture solves a fundamental challenge with network flow logs: they only show individual network hops, not the true application-level connections we need to build a useful topology.The Core Problem: Network IntermediariesIn cloud environments, traffic between applications rarely flows directly, it traverses intermediate network components like load balancers, NAT gateways, API gateways, and proxies. Network flow logs show individual hops: App A → Load Balancer and Load Balancer → App B appear as separate flows. But what engineers need is the logical dependency: App A → App B. Without resolving these intermediaries, our topology would be cluttered with infrastructure components rather than showing the service-to-service relationships that matter for troubleshooting.The three-stage pipeline solves this:The flow log pipeline in detail — three stages connected by SSE, with enrichment applied just before the final graph writeStage 1: Initial Aggregation (FlowLog Ingestion Service)Multi-Region Kafka (4 regions) → Filter invalid flow logs → 5-minute time-window batching → Create initial aggregators per window → Distribute via consistent hashing → Stream to Stage 2 via SSEStage 1 consumes flow logs from multi-region Kafka, filters invalid records, batches them into 5-minute time windows, and creates initial aggregator objects. At this stage, we’re still working with raw network hops, identifying which flows involve intermediaries but not yet resolving them. Aggregators stream to Stage 2 for resolution.Stage 2: Network Intermediary Resolution Layer (Intermediate GraphEntity Ingestion Service)Stage 1 Aggregators (via SSE streams) → Group flows by intermediary (load balancer, NAT gateway, proxy, etc.) → Identify pairs: (Source → Intermediary) + (Intermediary → Destination) → Resolve to direct edges: Source → Destination → Track which intermediaries were traversed → Aggregate metrics across both hops → Re-distribute via consistent hashing → Stream to Stage 3 via SSEThis is the key step. Stage 2 performs graph resolution:Collect flows by intermediary: Group aggregators where an intermediary is either source or destination, creating maps of flows going TO intermediaries (Source → Intermediary) and FROM intermediaries (Intermediary → Destination)Resolve direct edges: For each intermediary, join its incoming and outgoing flows to create direct application edges (App A → App B), combining metrics from both hopsResult: Clean application-level topology showing App A → App B instead of App A → Load Balancer → App BThis resolution happens at aggregation time, not query time, with resolved edges flowing to Stage 3.Why can’t we do this in a single stage? The fundamental issue is data locality. To resolve App A → Load Balancer → App B into App A → App B, we need both flows on the same instance to perform the join. But in Stage 1, flows are scattered across instances based on Kafka’s partitioning. Stage 2’s critical function is to redistribute aggregators by intermediary identifier, all flows involving “Load Balancer X” route to the same instance for resolution. This is the classic map-reduce pattern: Stage 1 maps, Stage 2 shuffles and reduces by intermediary, Stage 3 performs final aggregation.A concrete example of why a single stage isn’t enough — Stage 1 scatters flows by partition, Stage 2 reshuffles by intermediary to resolve direct edges, and Stage 3 persists the final result.Stage 3: Final Aggregation and Enrichment (GraphEntity Ingestion Service)Stage 2 Aggregators (via SSE streams)Flow → Final aggregation across time windows → Enrich with external data (query key-value stores) → Convert to graph entities → Persist to graph database (throttled writes)Stage 3 performs final aggregation of resolved edges, enriches graph nodes with external data sources (application health, ownership, metadata), converts aggregators to concrete graph entities (nodes and edges with all properties populated), and persists them to the distributed graph database with controlled throttling to respect storage system limits.Why Three Stages, Not Two?We initially used two stages: aggregate in Stage 1, resolve and persist in Stage 2. This worked in testing but failed at production scale, Stage 2 became overwhelmed by data concentration.The problem: intermediary resolution requires collecting ALL flows involving an intermediary on the same instance. As a result, the instances handling flow logs for popular applications and their intermediaries became ‘hot nodes’ due to significant data concentration. Compounding this, data enrichment (querying external stores for health and metadata) meant the busiest instances were also doing the most I/O.The solution: split responsibilities into three stages. Stage 2 focuses purely on resolution and redistributes. Stage 3 handles enrichment and persistence. Rather than routing all flows for a hot key to one owner, we redistribute in stages. Each flow is distributed, resolved, distributed again, and then persisted, which spreads the work across multiple instances and isolates compute-heavy resolution from I/O-heavy enrichment. Even when intermediaries see 100x typical traffic, no single instance becomes a bottleneck.Why Server-Sent Events Instead of gRPC or Message Queues?We initially used gRPC but it became a performance bottleneck, serialization overhead, connection pool management, and memory pressure for streaming responses consumed more CPU than business logic. Message queues added infrastructure complexity without benefit for our use case.SSE proved ideal: lightweight HTTP-based protocol with minimal serialization, natural backpressure integration with reactive streams, and simpler connection model. The lesson: industry best practices like “use gRPC for service communication” don’t apply universally. For streaming large volumes of pre-aggregated data, lighter-weight alternatives may be more appropriate. Measure, don’t assume.Why IPC Doesn’t Need Three StagesThe IPC pipeline mirrors the same pattern as the flow log pipeline, but needs only a single stage.The IPC layer uses single-stage aggregation because: (1) IPC metrics are already at application level, no intermediaries to resolve, and (2) data is partitioned correctly from the start — each node receives all IPC metrics for its assigned applications via consistent hashing, eliminating the need for redistribution. This highlights a key principle: data partitioning strategy determines processing architecture. When data arrives with the right partitioning, you can aggregate directly; when it doesn’t (like network flows requiring intermediary resolution), you need shuffle/redistribution stages.Dynamic Load Distribution: How Hashing Works with Auto-ScalingHow do we decide which instance receives which aggregator when our Auto Scaling Groups dynamically add or remove instances? Traditional approaches assume static clusters requiring explicit rebalancing, coordination services, or manual data movement when cluster size changes.Our Approach: Dynamic Consistent HashingWe use consistent hashing with dynamic instance discovery from our service registry. Each instance queries the registry to get the current list of healthy ASG instances, maintains them in sorted order (ensuring all instances have the same view), and uses this list for the hash function findOwnerInstance(aggregator.primaryKey). When ASG scales up or down, the hash function naturally redistributes aggregators based on the updated instance list, no explicit coordination needed.The key insight: leverage existing infrastructure. Our service registry already tracks ASG membership for health checking. Using it as our source of truth gives us dynamic cluster membership for free. Consistent hashing provides stable partitioning (most aggregators stay on the same instance during membership changes), while the sorted list ensures consistency.The ResultLoad follows infrastructure automatically. During traffic spikes or live events, new instances immediately receive their share. During deployments, aggregators seamlessly shift to healthy instances. This pattern proved crucial for production stability, no manual intervention, no coordination protocol, just automatic rebalancing.The V1 Journey: Major Challenges at Production ScaleGetting the initial version (V1) to production taught us that scale changes everything. What works in development breaks in production. Every assumption gets tested. And fixing one bottleneck reveals the next.Challenge 1: Kafka Consumer LagThe Problem: Our multi-region Kafka consumers started falling behind. Consumer lag grew from seconds to minutes, then hours. Flow logs were arriving faster than we could process them. If this continued, we’d never catch up, and our “real-time” topology would become increasingly stale.Investigation: We instrumented Kafka consumer metrics heavily. Key findings:Kafka had fewer partitions than optimal for our consumer group sizeEach fetch operation retrieved relatively few recordsNetwork socket buffers weren’t right-sized for our throughputCross-region read latency added overheadSolutions Applied:Increased Kafka partitions: More partitions enabled more parallel consumers in our consumer group, distributing load across more instances.Tuned fetch parameters: Increased records per fetch operation, reducing the number of network round-trips. This trades off per-message latency (we fetch larger batches) for throughput (more records processed per second).Increased socket receive buffer size: Ensured network buffers never limited fetch operations. At our scale, default buffer sizes were too small.Results: Throughput improved significantly, and lag reduced to acceptable levels, typically under a minute even during peak traffic.Lesson: At scale, you can’t optimize in isolation. Fixing Kafka lag revealed the next bottleneck: our instances themselves couldn’t keep up with the higher ingest rate. The pipeline moved faster, which exposed downstream capacity problems.Challenge 2: Hot Nodes and Data AmplificationThe Problem: This was the most severe production issue we faced. Some instances in our Auto Scaling Group were receiving 100x more traffic than others. Memory usage spiked. Garbage collection pauses became frequent and long. More CPU time was spent in GC than in business logic. Eventually, hot instances would go DOWN, triggering cascading failures as their load redistributed to other instances.Root Cause Investigation:Flow logs for popular services dominate traffic volume. A service like our authentication layer or recommendation API is called by hundreds of other services, generating orders of magnitude more flow records than typical services.Our initial architecture used consistent hashing to determine which instance owned aggregation for each destination service. All flow logs for a given destination are routed to the same instance, the “owner” for that destination. This design seemed reasonable: group related data for efficient aggregation.But popular destinations created hot nodes. One instance might own authentication services, another might own a rarely-used backend service. The load distribution was wildly uneven, some instances handled 100x the flow records of others.Worse, data amplification occurred during redistribution. Consider a service called by 100 upstream services across 10 instances. All 10 instances receive flow logs for that destination (because they all have local clients calling it). When they route aggregators to the owner instance, that instance receives 10 separate aggregators it must merge. The data volume multiplied during shuffling.When many instances route data for the same key to one owner, the volume multiplies right where it lands — the root cause of hot nodes.We profiled extensively using async-profiler and heap dump analysis. The results were clear: hot instances spent most of their CPU on garbage collection, trying to manage the rapid allocation and deallocation of aggregator objects as flow logs poured in faster than they could be processed. Memory pressure led to GC thrashing, which consumed CPU, which slowed processing, which increased memory pressure, a vicious cycle.Solution: The Three-Stage Pipeline’s Dual BenefitsThe three-stage pipeline we described earlier, designed primarily for proxy resolution, turned out to be exactly what we needed to solve the hot nodes problem as well. Here’s why:Stage 1 performs initial aggregation locally before any distribution. Instead of sending every flow log to a remote instance immediately, each instance performs online aggregation of raw flow logs into time-windowed aggregators (over 5-minute periods) directly in memory; this allows the raw flow to be discarded and garbage collected quickly, significantly reducing memory pressure, and ensures only the aggregation results are transferred across the network to downstream stages.Stage 2 focuses on proxy resolution but also provides intermediate redistribution. Aggregators from Stage 1 distribute via consistent hashing to Stage 2 instances. Now we’re moving compressed aggregators, not individual flow logs. After resolution, Stage 2 redistributes resolved edges again to Stage 3, providing a second hashing operation that further spreads load.Stage 3 receives resolved aggregators that have been compressed twice and distributed twice. Even for extremely popular services, load has been spread across enough distribution points that no single instance becomes overwhelmed.The key insight: architectural decisions driven by one requirement (proxy resolution) often solve other problems (load distribution) as beneficial side effects. The three-stage pipeline with graduated redistribution achieves both goals, it resolves proxies to show clean application-level topology AND prevents hot nodes by spreading load across multiple distribution points.Switching from gRPC to SSEAs described earlier, this challenge also revealed that gRPC wasn’t the right protocol for inter-stage communication at our scale. We replaced gRPC with Server-Sent Events, dramatically reducing resource consumption on both sender and receiver sides.Results:CPU usage became evenly distributed across instances, no more hot nodes with 10x the load of othersNetwork bandwidth usage dropped significantly due to better aggregation and lighter-weight protocolMemory pressure decreased as we reduced the object allocation rateThe system scaled gracefully with Auto Scaling Group changesLesson: Technology choices must match your specific use case. gRPC is excellent for request-response RPC patterns. For streaming large volumes of aggregated data in a pipeline, lighter-weight alternatives can be more appropriate. Let measurements guide the decision, not industry hype or existing team expertise.Challenge 3: Memory and Garbage CollectionThe Problem: Even after fixing hot nodes, we still saw high heap usage, frequent garbage collection pauses, and instances occasionally going DOWN. GC logs showed pauses consuming significant CPU time, in some cases, more than our business logic.Root Cause: Multiple factors contributed: objects accumulating in heap while waiting for 5-minute aggregation windows to complete, unnecessary conversions between different object types as data flowed through stages, and immutability overhead, following Scala best practices, we used immutable data structures for aggregators, but every update created new objects, overwhelming the garbage collector at millions of records per second.Investigation: Heap dumps and GC logs revealed flow log objects retained beyond their useful lifetime, unnecessary intermediate conversion objects, and constant creation/disposal of immutable aggregator versions. Minor GCs occurred every few seconds, major GCs took hundreds of milliseconds, the JVM spent more time on garbage collection than business logic.Solutions Applied:Faster processing: Process flow logs immediately, aggregate quickly, release references. Optimized Pekko stream stages to minimize object lifetime.Eliminate unnecessary conversions: Route aggregators directly between stages instead of converting to intermediate types.Mutable structures on hotpath: This was controversial, Scala best practices emphasize immutability. But at our scale, immutability created too many objects. We pragmatically chose mutable aggregators on the hotpath (immutability elsewhere), prioritizing performance over convention. Switching to mutable aggregators reduced heap allocation by over 50% and cut GC pause time significantly, though it required more careful code review.Tuned time windows: Balanced data freshness against memory pressure.Results:Heap usage decreased substantiallyGC pauses reduced to acceptable levels (tens of milliseconds instead of hundreds)CPU freed up for business logic instead of garbage collectionInstance stability improved, no more instances going DOWN due to memory issuesLesson: “Best practices” are starting points, not absolute rules. At unique scale, you may need to diverge from conventions. But do it deliberately, with measurement justifying the decision, and with awareness of the trade-offs. Don’t abandon immutability everywhere, just where performance data proves it’s necessary.Challenge 4: Reactive Streams ComplexityThe Problem: Our Pekko Streams pipelines would stall unexpectedly. Backpressure propagation didn’t work as expected. We struggled to debug why certain streams would stop processing without obvious errors. The reactive programming mental model, with its emphasis on async boundaries, backpressure, and demand-driven processing, proved harder to master than anticipated.What We Learned:Reactive streams with backpressure are powerful tools for building systems that handle load spikes gracefully. When downstream consumers slow down (due to temporary load, GC pauses, or external system slowdowns), backpressure allows upstream producers to slow down rather than overflow buffers or drop data.But this power comes with complexity:Non-intuitive behavior: Traditional imperative code flows top-to-bottom. Reactive streams are demand-driven, downstream consumers pull from upstream producers. This inversion of control isn’t intuitive.Async boundaries: The .async operator in Pekko Streams creates a boundary where processing moves to a different thread. This can improve parallelism but also introduces complexity around buffer sizing, demand signaling, and error propagation. We initially misunderstood when to use .async and ended up with over-parallelized streams that created more overhead than benefit.Debugging difficulty: When a stream stalls, there’s no stack trace pointing to the problem. You must understand the internal mechanics, demand signals, buffer states, materializer state to diagnose issues.Our Approach:Deep learning investment: We invested significant time in understanding reactive streams concepts deeply. Reading documentation, experimenting with small examples, and building team expertise.Simplified patterns: Where possible, we simplified our stream graphs. Complex branching and merging patterns are powerful but hard to debug. We preferred linear flows with clear stage boundaries.Better monitoring: We added metrics at stream boundaries, tracking buffer sizes, element throughput, backpressure events. Visibility into stream internals helped diagnose issues.Team education: We documented our learnings, shared patterns that worked, and built institutional knowledge about reactive streams.Lesson: Powerful abstractions require investment. Don’t assume you understand a framework without validation. Build your mental model deliberately, test it with experiments, and be humble about your understanding. Reactive streams are worth mastering for systems that need to handle load gracefully, but expect a learning curve.V2 Evolution: Continuous RefinementV1 got us to production. The major architectural challenges like Kafka lag, hot nodes, memory pressure, were solved. But production at full scale revealed new optimization opportunities. V2 represents the continuous refinement that turns a working system into a production-ready system.Challenge 5: Persistent Heap PressureThe Problem: Despite V1 optimizations, we still observed higher-than-desired heap usage. GC metrics improved but weren’t optimal. Memory profiling showed room for improvement.Root Cause: Deeper analysis revealed we were still doing unnecessary object conversions between stages. We’d convert aggregators to full graph entities (with all properties populated) before routing to the next stage, even though the next stage just needed the compressed aggregator state.Solution: Architectural change to route aggregators directly through all stages, only converting to final graph entities at Stage 3 immediately before persistence. This eliminated two intermediate conversion steps and the associated object allocation.Result: Heap usage dropped further, GC pauses became even less frequent, and memory headroom improved.Challenge 6: Serialization ComplexityThe Problem: Custom serialization logic for SSE messages caused occasional erratic errors that were hard to reproduce and debug. Different parts of the codebase used inconsistent serialization approaches.Solution: Standardized on JSON encoding throughout the pipeline. While slightly less efficient than binary serialization, JSON’s human readability made debugging far easier, and the overhead was negligible compared to other operations. Consistency eliminated an entire class of bugs.Result: Serialization-related errors disappeared. Debugging became easier because we could read SSE message contents directly.Challenge 7: Stream Processing InefficienciesThe Problem: Even after understanding reactive streams better, our Pekko configurations weren’t optimal. We had over-parallelized some stages and under-parallelized others. The .async boundaries weren’t placed optimally.Solution: Through continued profiling and experimentation, we tuned parallelism parameters, adjusted buffer sizes, and refined async boundary placement. We added monitoring at stream boundaries to identify bottlenecks.Result: Throughput improvements and more consistent processing latency.Challenge 8: Uneven Graph Database ThroughputThe Problem: Write distribution to our graph database wasn’t even. Some partitions received heavy write traffic while others sat idle. This caused throttling to kick in unevenly and limited overall write throughput.Solution: Implemented batching of aggregators before writing to the graph database and improved distribution logic across partitions. Rather than writing each aggregator immediately, we batch them and write multiple entities in coordinated operations.Result: More consistent write throughput and better utilization of database capacity.Challenge 9: Data Enrichment at Aggregation TimeBeyond the core topology graph, we needed to enrich nodes with additional context. At Stage 3, before persisting graph entities, we integrate enrichment data from external sources, application health status, ownership information, and other metadata. Performing this enrichment at aggregation time rather than at query time avoids the performance overhead of post-query joins and ensures every topology node has full context when queried.Pattern RecognitionEach V2 challenge followed the same pattern: production revealed an assumption, profiling identified the root cause, targeted fixes improved specific metrics. Measure, hypothesize, validate, iterate. This is how you build at scale, not by getting everything right upfront, but by continuous learning and improvement.Time Travel: Continuous Topology ReconstructionOne of the most powerful capabilities we built enables querying historical topology: “What did the call graph look like when this incident happened?” This time-travel feature required solving an interesting architectural challenge, how to efficiently store and reconstruct topology across time.The ProblemEngineers need to answer temporal questions: What did the topology look like during an incident? How have dependencies evolved? Traditional approaches, full snapshots or event sourcing — either have exponential storage costs or require slow log replay.Our Approach: Time-Windowed Aggregators with Mutation TrackingWe combine three mechanisms:1. Time-Windowed Aggregator Snapshots: Every aggregator stores startTs and endTs timestamps for its 5-minute window. These immutable aggregators persist in the graph database keyed by (entity_id, timestamp), providing checkpoint states every 5 minutes.2. Property-Level Mutation Tracking: The graph database maintains mutation history at the property level, storing only changed properties with timestamps. This is much more efficient than full entity copies and provides sub-window precision beyond the 5-minute aggregation boundaries.3. Query-Time Reconstruction: When querying historical topology, we query the mutation history API for the time range, retrieve all mutations, and reconstruct topology state by applying mutations in order.This approach provides efficient storage (compressed aggregator states + sparse property mutations), fast retrieval (indexed mutation history, no log replay), and flexible analysis (arbitrary time ranges without pre-computing all possibilities).Query-Time Re-Aggregation: We can further aggregate historical data at query time using the same aggregator classes from ingestion. This enables arbitrary groupby dimensions (availability tier, business domain, deployment cluster) that weren’t pre-computed, allowing exploratory analysis without exploding storage costs.Lessons for Distributed SystemsWhile these challenges were specific to service topology, the lessons apply broadly to distributed systems at scale.Scale Changes EverythingWhat works at 100 requests per second fails at 100,000 requests per second. The change isn’t linear, it’s qualitative. Approaches that are fine at modest scale hit fundamental walls at extreme scale.Examples from our journey: immutable data structures create GC pressure at millions of allocations per second; single-stage aggregation fails catastrophically with power-law traffic distribution; standard gRPC becomes heavyweight for streaming aggregation at volume.The lesson: be willing to break conventional wisdom when scale justifies it. But do it based on measurement, not speculation.Optimize One Bottleneck at a TimeDistributed systems have cascading bottlenecks. Fix Kafka lag, and you discover hot node issues. Fix hot nodes, and you discover GC problems. Fix GC, and you discover serialization inefficiencies.This isn’t failure, it’s the nature of complex systems. Each optimization raises throughput, which stresses the next weakest point. The approach: prioritize based on impact, fix the current bottleneck thoroughly with measurement confirming resolution, then move to the next one. Optimization at scale is continuous, not one-time.Distribution Is Key to ScaleSingle aggregation points are inevitable bottlenecks. Consistent hashing distributes load but doesn’t prevent concentration when data itself is unevenly distributed (power-law distributions like ours).Our three-stage pipeline with graduated redistribution solved this. Load spreads across multiple distribution points at each stage. Even with highly skewed data, no single instance becomes overwhelmed. The general principle: use multi-stage processing with redistribution at each stage when dealing with skewed data at scale.Current State and ImpactService Topology operates in production today, processing flow logs, IPC metrics and traces from multiple regions and serving queries with sub-second latency. Teams across Netflix use it daily for incident investigation, blast radius analysis, dependency understanding, and production change management. The system has become essential infrastructure for maintaining reliability at scale.ConclusionService Topology at Netflix represents a journey through building distributed systems at scale. We started with engineers struggling to understand dependencies across scattered tools. We built a multi-layer architecture using streaming aggregation, network intermediary resolution, and time-travel capabilities. And we learned that optimization at scale is continuous, measure, iterate, validate, repeat.The challenges we faced, Kafka lag, hot nodes, memory pressure, required breaking conventional wisdom when data justified it. Each fix revealed the next bottleneck. But that iterative process, guided by constant measurement, is what makes systems work at extreme scale.In our next post, we’ll explore the tracing layer integration, unified querying across heterogeneous storage, and how all three layers combine to provide comprehensive topology visibility.AcknowledgementsService Topology was built by Parth Jain, Rakesh Sukumar, Yingwu Zhao, Renzo Sanchez-Silva, and Nathan Fisher.Special thanks to the many engineers across Netflix who made this possible — the Observability team who built the broader system, the graph database platform team who provided the storage foundation, and the Platform Modernization Engineering and Live teams who provided invaluable feedback and use cases throughout development.Building Service Topology at Scale: Architecture, Challenges, and Lessons Learned was originally published in Netflix TechBlog on Medium, where people are continuing the conversation by highlighting and responding to this story.

OpenAI GPT-5.6 Sol, Terra, and Luna are now generally available on Amazon Bedrock2026-07-13 21:01:20 Today, GPT-5.6 Sol, Terra, and Luna from OpenAI are generally available on Amazon Bedrock, bringing the smartest family of models from OpenAI yet to Amazon Bedrock’s next-generation inference engine built for high-performance, security and reliability.
How MIT students are helping to prevent cyberattacks2026-07-13 19:10:00 Students from the MIT Cybersecurity Clinic help local governments and other vulnerable organizations defend against digital threats.
NVIDIA Ising Decoding Cuts Color Code Logical Error Rates by Over 300X2026-07-13 19:00:00 Useful quantum computers will require fault tolerant logical operations. Researchers are actively exploring many different quantum error correction (QEC) codes...
AI agents create virtual playgrounds to help robots get crucial training data2026-07-13 18:50:00 “SceneSmith” system uses collaborative AI agents to create realistic 3D environments of places like kitchens, hotels, and living rooms, where robots can simulate everyday chores.
When your brain works differently, AI isn’t a luxury—it’s accessibility2026-07-13 17:50:16 In this post, I share how AI serves as an accessibility tool for neurodivergent professionals. The system is built on Amazon Quick on your desktop, an AI-powered desktop and web assistant that compensates for executive function gaps every day.
Building an agentic AI solution at Bluesight with Amazon Bedrock2026-07-13 17:34:38 In this post, we describe how Bluesight used two AWS engagements and Amazon Bedrock AgentCore to evolve from a single-product AI prototype to Prism, a unified agentic AI solution spanning six healthcare compliance products. Prism Assistant for ControlCheck launched in May 2026 and is already in use by 20 health systems. A more complex multi-product agentic solution is on track for later in 2026.
Implement on-behalf-of token exchange for multi-tenant agents with Amazon Bedrock AgentCore Gateway2026-07-13 17:27:40 Building multi-tenant agents with Amazon Bedrock AgentCore and Apply fine-grained access control with Bedrock AgentCore Gateway interceptors establish the conceptual foundation for on-behalf-of (OBO) token exchange in agentic systems. This post is the implementation guide. It walks through a complete multi-tenant OBO setup against Okta, shows the JSON Web Token (JWT) claim transformations on each hop, and demonstrates how audience binding produces defense in depth that scales across tenants.
Launching UI for generative AI inference recommendations in Amazon SageMaker AI2026-07-13 16:42:15 In this post, we introduce the UI for optimized generative AI inference recommendations in Amazon SageMaker AI Studio, a low-code no-code (LCNC) experience. The API already gives you programmatic access to recommendations, but it assumes you know which parameters to set and how to interpret raw benchmark output. The UI removes that assumption. It guides you through preset use-case profiles, visual comparisons of results, and one-click deployment, so teams without deep infrastructure expertise can get a validated configuration on their own.
Agentic RAG: Let the Agent Search2026-07-13 16:30:00 A minimal OpenAI Agents SDK implementation where retrieval becomes a search-read-decide loop The post Agentic RAG: Let the Agent Search appeared first on Towards Data Science.
Verifying Rust cryptography in SymCrypt, from standards to code2026-07-13 16:00:00 Cryptographic code supports vital protections in modern computing systems. Learn how a new method helps verify code as developers write it while preserving speed and adaptability as it gets implemented and evolves. The post Verifying Rust cryptography in SymCrypt, from standards to code appeared first on Microsoft Research.
The AI Arms Race in Technical Interviews Is Escalating2026-07-13 15:15:03 Software engineering jobs are under threat from AI. Some applicants are fighting back by using AI in the interview process, employing AI assistants that suggest responses on the fly during remote technical interviews.Meanwhile, some employers are countering with—you guessed it—AI. They’re applying AI-powered tools to detect telltale signs of AI use during interviews.This two-sided dynamic is turning hiring into an AI arms race with no clear winners. Yet as interviewers and interviewees navigate this daunting reality, experts believe the human aspect of the job search will prevail.What’s driving the increase of AI in hiring?AI hiring strategist Tatiana Teppoeva characterizes this phenomenon as playing cat and mouse in a climate of relentless AI-fueled tech layoffs and a job market filled with more applicants than open positions. “What AI tools do well is identify if a person is performing according to some pattern or expected outcome,” Teppoeva says. When candidates experience constant rejection because they don’t fit the pattern, they might be forced to game the system using AI interview assistants, she adds.Archie Payne, cofounder and president at technical recruiting firm CalTek Staffing, views it as a rational response to what he describes as a frustrating process from both sides. “Companies started to use AI resume screeners and similar tools to filter applications at scale. Candidates noticed this and started using AI in their interviews as a countermeasure to what they feel is a process that’s been automated against them,” he says.This can lead to an AI-versus-AI loop, according to Ravi Kiran Pagidi, a senior AI data engineer at Navy Federal Credit Union who has been part of technical interview panels for software and data engineering positions. “The process may become less about actual capability and more about who can optimize better for the algorithm,” he says.Tools of the tradeDuring technical interviews, software engineers might be tasked with outlining algorithms and answering questions related to system design and other software development fundamentals. Remote technical interviews usually turn into live programming sessions, with candidates writing code to solve a specific problem.AI interview assistants such as Final Round AI, Interview Coder, and ParakeetAI can listen in, process the audio, and generate answers or code almost instantly. These tools can even be overlaid on the interview screen itself, claiming to appear invisible and undetectable.“You’re able to read off an answer that’s coming to you in real time, so all you have to do is put on a little performance,” says Mudit Saraf, a software engineer at Meta.Saraf and Shraddha Sunil, a software engineer at Microsoft, cofounded Ginger, an AI voice recruiter for first-round interviews. Ginger asks predefined questions and follow-up queries generated in real time, and it flags candidates who use AI during initial screening calls. The software tracks signals that include eye movement, a consistent delay in response times, tab switching, and speech patterns (phrases or sentence structures and flows) that “sound” like AI.Sunil notes that Ginger has been tested mostly for entry-level roles for which applicants might be recent graduates or have only a few years of experience. “These candidates are more used to AI, and they use it a lot, so it’s nothing new to them,” she says.Where AI hiring tools fall shortMore employers are deploying AI-assisted interviewing platforms, Payne has noticed, with some seeing mixed results when it comes to AI detection. “The accuracy isn’t perfect yet in the platforms I’ve seen, and there have been a few times strong candidates were flagged as false positives,” he says. “That can be a serious problem when it can already be a challenge to find people qualified for the position without eliminating top performers for no reason.”Teppoeva warns of other risks AI interviewing tools could pose, including privacy and security of applicant data, whether interview recordings will be used to train the models underpinning these tools, and bias and fairness.A recent study from the Stanford Institute for Human-Centered AI, for instance, found that AI hiring tools can increase racial bias and give rise to systemic rejection. Following 3.4 million real job applicants, whose applications were all assessed by algorithms from a single vendor, the study found evidence of adverse impact for Asian and Black applicants.These pitfalls highlight the need for human oversight. “I would definitely incorporate a human somewhere in the process and let humans have a say to make sure the results are fair,” says Teppoeva.Audits, clear policies, and transparency are also a must for AI hiring tools, according to Pagidi. “Otherwise, qualified candidates may be filtered out unfairly, and companies may think they are improving efficiency while actually weakening the hiring signal,” he says.Reasoning and authenticity go a long wayInstead of implementing AI detection tools, some tech companies including Meta are allowing AI use during technical interviews. AI-native software development platform Factory is treading the same path.“We want our interview process to reflect how candidates actually do their jobs today using AI,” says Varin Nair, a software engineer who leads Factory’s technical hiring process. Applicants build a production-quality system or migrate a real codebase from one framework to another within an hour using AI coding agents. They’re then evaluated based on strategy rather than results.“We explicitly do not grade on how many tests pass or whether they finished. We grade on planning, how they direct the AI, how they debug, and whether they can explain why their solution works,” Nair says.He’s seen candidates surrender to an AI coding tool, accepting everything it returns. “AI is only as good as the judgement of the person using it,” says Nair. “Weak candidates lean on it to do their thinking and stall the moment it falls short, while strong candidates use it to move faster and free themselves to reason about architecture, trade-offs, and product.”Such reasoning remains vital in software development. “Reasoning through edge cases and connecting the answer to production scenarios is where real engineering judgment shows up,” Pagidi says. “Developers will increasingly use AI tools, but they still need to own the final solution.”CalTek’s Payne believes this approach of designing interviews to favor authenticity could benefit companies in the long run. “The best technical assessments I’ve seen lately are collaborative, involving codebase walk-throughs and architecture discussions in addition to coding,” he says. “It’s much harder to use AI to get through this kind of interview, so it’s a process that’s more likely to reveal how candidates really think.”He also advises candidates to use AI to prepare but to keep answers their own during interviews. “Companies are getting better at detecting AI use, and getting caught can impact your long-term career prospects,” says Payne. “Technical communities are smaller than people think.” With each interview, applicants must weigh the risk and benefit of using these tools. Taking that risk, he says, rarely works in the candidate’s favor.
Context Rot: Why Claude Code Sessions Decay, and How to Govern Them2026-07-13 15:00:00 Long sessions rot quietly, well before any token limit is reached. Here’s why, and how to govern your context in Claude Code. The post Context Rot: Why Claude Code Sessions Decay, and How to Govern Them appeared first on Towards Data Science.
Extreme Event Likelihoods with Guided Generative Models2026-07-13 15:00:00 Across science, engineering, and finance, many of the most important risks come from low-likelihood, high-impact events. Estimating the probability of these...
Building Models in Two Worlds: From Latent Constructs to Behavioral Signals2026-07-13 13:30:00 My PhD models tried to explain why people engage. My industry models predict who will. The statistics barely changed. Everything around them did. The post Building Models in Two Worlds: From Latent Constructs to Behavioral Signals appeared first on Towards Data Science.
Empowering India’s next generation of innovators with ATL Saathi2026-07-13 12:37:28 Google and AIM launched ATL Saathi, a Gemini-powered AI tool empowering Indian educators in robotics labs.
The Three Dimensions of Custom Agentic Alignment: Purpose, Principles and Practices2026-07-13 12:00:00 A framework for aligning agentic AI with enterprise intent to ensure consistent scenario‑wide autonomous behavior. The post The Three Dimensions of Custom Agentic Alignment: Purpose, Principles and Practices appeared first on Towards Data Science.
Building a Foundation Stack for General-Purpose Robots2026-07-13 10:19:51 This article is brought to you by X Square Robot.Large language models gave artificial intelligence a working recipe. Pretrain a large model on broad data, and general capability follows. Robotics has no such recipe. Robotics systems have long been assembled from separate perception, planning, and control parts that rarely add up to intelligence a robot can carry from one task to another, or one machine to another. The central problem in embodied AI is to find the equivalent recipe, and the field does not yet agree on what it is.X Square Robot, a Chinese embodied-AI company, has made an unusually explicit bet. It argues that the recipe is an integrated stack, spanning the data a robot learns from, a world model for predicting changes in the physical world, and an action model that brings together perception, planning, reasoning, and decision-making to generate executable robot behavior. The company also believes that the stack should be built and released in the open. X Square Robot shares its vision of bringing robots into real homes.X Square RobotX Square Robot’s embodied AI stackWhat holds the stack together is a small set of principles rather than a single overarching model.The first is that the basic unit of robot data is an interaction, not a trajectory; a demonstration is successful only if it changes the world as intended, not simply because the joints moved. The second is that pretraining should yield usable capability, not just an initialization for later fine-tuning. The third is that behavior should be modeled around physical events rather than fixed slices of time. These principles make the layers interdependent, since the same robot-free data that trains the action model is also structured to feed the world model. It is worth being precise, though. The company describes the world model and the action model as complementary but independent model families that share a code base. Both sit within its broader World Unified Model, which it has presented as an architecture for training vision, language, action, and physical prediction together.Robot learning data: Engineering for quality and cost, not scaleFor the X Square Robot team, one of the biggest constraints on general-purpose robots is the cost and quality of interaction data, not the number of parameters. To address that, the company built its Universal Manipulation Interface (UMI) data collection system, QUANXTA Zero Series. It works by collecting demonstrations from people wearing a rig with dual grippers rather than teleoperating a robot. This approach is not itself new, and builds on established methods for robot-free data capture. What sets it apart are two engineering choices. X Square Robot emphasizes data quality control, recording trajectories and replaying them on a real robot, with only those that actually complete the task counted as valid.X Square RobotThe first is quality control, and it is the most distinctive part. Rather than accepting recorded trajectories as they are, the system runs a closed inspection loop, and its notable step is physical playback. A sample of trajectories is replayed on the real robot, and only those that actually complete the task count as valid. That makes the validity rate a measured quantity rather than an assumption. For example, a gripper that closes a fraction of a second too early still looks like a grasp in the data, yet it has pushed the object away, so it shouldn’t be classified as valid. A smaller clean dataset can be worth more than a larger noisy one.The second choice is how lower-cost human data and scarce robot data are combined. The company pretrains on a large volume of robot-free demonstrations to build general representations, then adds a small amount of real-robot data as an anchor to the specific machine’s dynamics. It reports that this reaches performance comparable to an all-robot dataset at roughly a 20-fold lower cost of collection, driven mainly by how much cheaper the wearable rig is than a teleoperation setup. The resulting dataset is deliberately model-agnostic, formatted to feed both action models and world models. The caveat is that the strongest results are measured on the company’s own robots and data-collection pipelines. Broader independent testing will help confirm and extend these promising results across a wider range of settings.A world model organized around eventsIn developing its world model, called WALL-WM, X Square Robot took a differentiated approach. Most action models predict a fixed-length chunk of motion from the current image and instruction. That is convenient, but it segments behavior into fixed-duration windows, so the boundaries fall where elapsed time dictates rather than where one action ends and the next begins. WALL-WM instead treats an action-grounded semantic event as its unit: a coherent piece of behavior such as reaching, grasping, or placing, something that can be named in language, seen in video, and executed as motion. X Square Robot’s world model, called WALL-WM, treats an action-grounded semantic event as its unit: a coherent piece of behavior such as reaching, grasping, or placing, something that can be named in language, seen in video, and executed as motion.X Square RobotWALL-WM’s design reflects a specific concern about not discarding what large video models already know. To achieve that, a text-to-video model is coupled to a freshly initialized action network that reads from the video features without overwriting them, which preserves the visual prior. From that one process, it offers two modes. An event mode runs in variable-length segments and suits reasoning over long horizons, while a fixed-length mode produces the steady, real-time output a controller needs. That places WALL-WM between mainstream chunk-based action models and pure video world models, keeping the predictive character of a world model while still yielding executable control.In a series of experiments, the company relied on a generalization test that is more specific than most. A model trained on a limited dataset was evaluated on long-horizon tasks in unseen settings and, on the company’s real-robot benchmark, reportedly outscored baselines that had been fine-tuned on related data. That is a meaningful result if it holds. For now, it is measured on the company’s own benchmark. With the code now being released, the broader community will have the opportunity to test, reproduce, and build on them across more settings.A policy that runs before fine-tuning, and action tokens with meaningThe action layer carries two connected ideas. The first is a requirement the company sets for itself with Wall-OSS-0.5, its vision-language-action model: The pretrained model should run on a real robot before any task-specific fine-tuning. The interest is less in the scores than in the design behind them. The model trains three objectives together, namely discrete action tokens, language grounding, and continuous action generation. And it keeps gradients flowing through all of them rather than freezing parts of the network as some rival designs do. It’s also a more strict method, since it reports untuned behavior such as approaching, grasping, and recovering, including on a deformable task held out of training. As part of X Square Robot’s Wall-OSS-0.5 vision-language-action model design, the pretrained model should run on a real robot before any task-specific fine-tuning. X Square RobotThe second idea is the action interface itself, called X-Tokenizer. Most systems that turn continuous motion into discrete tokens produce codes that the language model cannot interpret. X-Tokenizer reframes tokenization as learning a semantic interface, so that the top-level code stands for the intent of a motion while lower-level codes carry finer detail, all aligned with the language model’s own features. A useful consequence is stability. Adding noise to an action barely moves the intent code, which is what lets one tokenizer to be reused across robots without re-tuning. The tokenizer inside the production action model is a related variant of this approach. Together, the two ideas give the action layer something rather powerful: capability that transfers.The future of embodied AI stacksX Square Robot is betting that its unique approach combining three layers, each specialized in solving a key part of the problem, will stand out from other embodied AI stacks. The physical-playback step that grounds data quality is uncommon and sensible. The reframing of world modeling around events, with one backbone serving both reasoning and control, is a genuinely distinct approach. And the pairing of a deployable pretraining standard with a tokenizer designed as a semantic interface gives the action layer unusual coherence. X Square Robot’s valuation has climbed above 20 billion yuan (about US $2.9 billion), suggesting that investors increasingly view data infrastructure, foundation models, and scalable training systems as long-term differentiators in embodied AI.The next phase will bring broader validation. Much of the current evidence comes from X Square’s own robots and benchmarks. With the world model code now being made public, and as the community begins to test, reproduce, and build on the work, the reported capabilities will be tested across more robots, tasks, and settings.X Square Robot’s recent funding rounds reflect similar confidence. The company’s valuation has climbed above 20 billion yuan (about US $2.9 billion), suggesting that investors increasingly view data infrastructure, foundation models, and scalable training systems as long-term differentiators in embodied AI.What’s next for X Square RobotTo learn more about its future plans, the following Q&A with the X Square Robot team further explores the company’s technology, strategy, and vision.What made now the right moment, technically, to commit to this stack? What recently became possible that wasn’t possible a couple of years ago?It is not one breakthrough but several trends maturing together. Foundation models gave us a shared representation across vision, language, and action, so we can model what a robot sees, what it is asked to do, and how its actions change the world in one framework, rather than as separate perception, planning, and control modules. Compute and infrastructure are finally sufficient for large-scale pretraining over long-horizon, multi-embodiment data. Just as importantly, we realized that data, not model size, is the real bottleneck for general robots—what is scarce is diverse, high-quality, reproducible interaction data. And world modeling has become practical. The useful question is no longer how to predict a few seconds of video, but how to understand the ways actions change objects, contacts, and task states. Two years ago these ingredients existed separately. Today they are mature enough to work as one system.“We realized that data, not model size, is the real bottleneck for general robots—what is scarce is diverse, high-quality, reproducible interaction data. And world modeling has become practical.”Your data system captures demonstrations with a wearable VR rig and custom grippers rather than teleoperating robots. What was wrong with standard teleoperation?Teleoperation is built around controlling the robot. It forces the operator to work within the machine’s kinematics, latency, and viewpoint, and the resulting demonstrations are slower, stiffer, and less diverse. We built our system around capturing human skill instead. Manipulation is really about contact, timing, finger coordination, and recovery, not just the path the hand takes, and a wearable rig records those before the behavior is compressed onto one particular robot. It also breaks teleoperation’s expensive scaling law, in which every demonstration needs a robot. People can generate rich data independently of any robot, and the crucial property is that those demonstrations can still be replayed and executed on a physical robot through the model. Mobility is convenient, but that replay is the real point, because it is what lets the same data be reused across different platforms. In X Square Robot’s approach, demonstrations can be replayed and executed on a physical robot through the AI model, allowing the same data to be reused across different platforms.X Square RobotX Square Robot reports that its pipeline has roughly an 85 percent data-validity rate. Why is quality control such an underrated bottleneck?Because errors in robot data are far more expensive than in language data. A small timing or contact error can change what a demonstration means. If a gripper closes a fraction of a second too early, the motion still looks like a grasp, but physically it has pushed the object away. A dataset that mixes failures and accidental successes teaches ambiguity, not skill, because the real unit is the interaction, not the trajectory. So we run automated inspection, kinematic checks, and physical replay, where we play a sample of trajectories back on the real robot and count only the ones that actually complete the task. Data quality sets the ceiling on how good a policy can be. In our experience a smaller, cleaner dataset often beats a much larger, noisier one, which is why we treat quality control as part of the model, not a preprocessing afterthought.The model runs in both “event mode” and “chunk mode.” When does each matter?Both matter, for different reasons. The physical world changes through events—when contact occurs, a grasp forms, or an object slips—not in fixed-frame windows. Event mode concentrates the model’s attention on those moments, and it matters most for long-horizon tasks, like clearing a table, where progress is a sequence of semantic events rather than a smooth stream. It runs in variable-length segments that follow the task rather than a clock. Chunk mode matters for deployment. Real controllers need a stable, real-time interface, and fixed-length chunks integrate cleanly with existing control systems. We organize learning around events in the first place because a fixed window can split one motion in half or merge two together, which turns training into short-horizon pattern matching and weakens the model on long tasks. So the world model’s job is to connect event-level understanding, which is where the reasoning happens, with a fixed-length output a real robot can actually run.Why make “deployable before fine-tuning” the criterion?Pretraining should produce capability, not just a good starting point. If a model is only useful after heavy fine-tuning, then most of the intelligence still lives in the downstream supervision, not in the foundation model. Deployable before fine-tuning is a more honest test of what pretraining actually learned. A well-pretrained robot should already know how to approach, grasp, move, avoid obstacles, and correct itself. Fine-tuning should adapt it to a specific task or robot, not create the ability from nothing. It is also a practical requirement. A robot in a home or a workplace shouldn’t need a brand-new dataset and a new policy every time the task changes, so a foundation model that already carries general skill, and some ability to recover, is the minimum bar for something genuinely useful in the real world.What is the most challenging part of cross-embodiment learning?Robots differ in control frequency, delay, compliance, sensing precision, and contact dynamics, so the same instruction can require different action decompositions and recovery strategies, and a behavior that works on one arm cannot simply be copied to another. Cross-embodiment learning needs an intermediate abstraction, lower than language but higher than joint angles: how you approach an object, how you make contact, how you apply force, and how you recover from a mistake. When we say cross-embodiment, the main capability we mean is multi-embodiment generalization: transferring across robots, training on many embodiments at once, and adapting to different kinematics. Human-to-robot transfer and other techniques are specific approaches to that goal.“A robot in a home or workplace shouldn’t need a new dataset and policy every time the task changes. A useful foundation model should already carry general skills and the ability to recover.”What would you most like to see other researchers attempt to reproduce or stress-test?Three things, above all. Whether event-level representations really generalize beyond our own datasets, across more tasks, scenes, objects, embodiments, and failure conditions. Whether pretraining stays effective on robots the model never saw during training, or whether its capability is still too tightly coupled to what it has already seen. And whether real-robot evaluation can become a shared language for the field, so that we compare not just success rates but the reasons systems fail, where an instruction was misread, where perception broke down, or where recovery fell short. Robotics has been driven too often by impressive demonstrations, and real progress comes from results that are reproducible and diagnosable.What capability is still missing before robots become dependable in homes?Benchmarks measure competence, like whether a model can finish a task. Homes demand reliability, safe and consistent operation over time in a place that changes every day, with objects moving, instructions that are vague, and people interrupting. The missing piece is not a higher one-time success rate: it is robust recovery. A dependable home robot has to know when it is uncertain, when to slow down, when to ask for help, and how to bring the world back to a safe state after it drops something or misunderstands a request. In a real home, failure recovery matters more than raw success, because the home does not reset itself. Homes also demand careful personalization, learning a household’s routines and preferences over time, with safety and trust as first principles. That combination, not any single skill, separates a capable demonstration from a robot people can live with. X Square Robot’s approach is that, in a real home, failure recovery matters more than raw success, because the home does not reset itself and it demands careful personalization, with safety and trust as first principles. X Square RobotHow do the open-source components fit into X Square Robot’s World Unified Model direction?We see these releases as layers of the World Unified Model direction rather than isolated projects. Wall-OSS-0.5, the action model, asks whether an open vision-language-action model can gain directly measurable capability from large-scale pretraining, so it is the capability layer. WALL-WM, the world model, asks how a robot should understand change in the world, shifting from fixed windows to event-level modeling, so it is the representation layer. The data system supplies the interaction data that both of them learn from. Together they form a loop in which models produce capability, world models organize understanding, and the open-source community drives reproduction and improvement. World Unified Model is the broader architecture those layers support, bringing vision, language, action, and physical prediction together. We are releasing these pieces openly because embodied intelligence cannot be solved by one organization; it needs many embodiments, many real tasks, and broad feedback, and the long-term goal is a stack that keeps learning and ultimately moves robots from laboratory demonstrations toward reliable everyday use.

Last updated: 2026-07-14 09:04 UTC