Meeting minutes
<gb> Issue 39 WebML WG/CG F2F Agenda - TPAC 2026 (Dublin, Ireland) (by anssiko) [Agenda+]
Repository: webmachinelearning/webnn
Intros & agenda bashing
Anssi: Welcome everyone to the WebML WG F2F TPAC 2026 meeting
… I'm Anssi, your chair for this meeting
… today's focus is Web Neural Network API, aka WebNN
… tomorrow's focus will be on WebMCP and built-in AI APIs
… I'm glad to see you're so many, so I'd ask folks to introduce themselves when you queue up to speak
Charter orientation
Anssi: WebNN API Candidate Recommendation Snapshot was published 22 Jan 2026 after Kobe
Anssi: Chrome/Edge Developer Trials available, Firefox implementation ongoing
… API stabilizing, less churn compared to earlier stages, landed:
… - minimum data type set and rank range
… - initial WebGPU interop
… - security hardening: element counts limits, validate inputs
Anssi: Kobe resolutions, quick pulse check without reopening settled resolutions
… Dynamic shapes:
… - Kobe resolution: "study more backends and do prototyping before more formally specifying solution"
… - latest status: extensive discussion, explainer delivered, implementation in progress
… Subgraphs:
… - the latest resolution: "Draft a subgraph API proposal and JS usage example code for group review and feedback"
… - latest status: active discussion, stateful ops investigation
… Streaming constants:
… - Kobe resolution: "explore streaming constructor for constants"
… - latest status: discussing streaming constraints via Fetch API; WebGPU interested in a similar approach
Anssi: Charter next steps
… - rechartering for Q2 2027
… - WebNN scope to be influenced by Dublin resolutions
… - planning to start the new year
… questions?
Proposed breaking changes
Anssi: we have some unresolved breaking changes to be discussed and settled
Unblock MLComputePolicy
Anssi: PR #923 remains unmerged, we have 12 March resolution to prepare it and 23 April decision on “fallback”
Anssi: Mingming recently asked: "should we land this PR?"
… any concerns with merging PR #923?
… any implementation-specific concerns?
Reilly: Implementations may require fallback, while developers may want to disable it; this is the central compute-policy conflict
MarkusT: A policy heuristic is useful, but professional applications may need explicit device control, including choosing among accelerators
… explicit selection could be permission-gated to address fingerprinting and privacy concerns
Ehsan: User preferences and privacy should be considered in performance-policy design; the related TPAC breakout can inform this work
Reilly: Privacy review and lessons from WebGPU would help determine reasonable mitigations for exposing device information
Land the rank relaxation and operator renames
Anssi: issue #904 resolved but unlanded, renames include conv2d -> conv (and similar 2D ops) with an alias period for compatibility per 4 Dec 2025 telcon
<gb> Issue 904 2D, or not 2D, that is the question (by fdwr) [opset]
Anssi: scope of renames:
… conv2d -> conv
… convTranspose2d -> convTranspose
… averagePool2d -> averagePool
… l2Pool2d -> l2Pool
… maxPool2d -> maxPool
… resample2d() -> resample
Anssi: how to manage interop with existing code? 4 week transition period?
… 12 Mar resolution: "Generalize/relax the now unnecessary rank restriction for also normalize* ops."
Reilly: Since the API is behind a flag, retaining old names for about a month with console deprecation warnings should be sufficient for migration
Decide whether to remove constant tensor support
Anssi: issue #940 proposes to remove constant tensor feature, has compatibility impact, risk to be evaluated
<gb> Issue 940 Remove the constant tensor support (by mingmingtasd)
Anssi: "constant tensor support" here means constants to be shared between multiple graphs associated with a context
… constant returns an MLOperand, rather than an MLTensor
… key use case prefill/decode with both graphs executing the same transformer, reusing the same immutable constants
… we don't have a resolution for this, how does the group want to move forward?
Reilly: Constant tensors are implementable, but without demonstrated efficiency benefits they may not justify remaining in the specification
MarkusT: External initializers referenced by URL may provide sharing without moving large weights through JavaScript
<Dwayne> Same as Reilly. I'm not opposed to its removal (it seemed there could be useful scenarios, but maybe we don't have them right now).
Reilly: Core ML, ONNX Runtime, and LiteRT generally expect weights in the model for compilation and optimization; shared constants can force less efficient paths
MarkusT: Sharing may still matter for separate model phases, but it introduces allocation and lifetime-management costs
Reilly: Dynamic shapes remove some earlier motivation for multiple fixed-shape graphs sharing weights; model loading and caching may be the broader problem to solve
Mikhail: TensorRT RTX, ONNX Runtime, and OpenVINO are adding weight sharing for separate prefill and decode graphs, particularly to reduce NPU memory use
… framework support is changing quickly, so the group should reassess before removing or reshaping the feature
Sushanth: Marking tensors constant enables folding and retention of materialized or dequantized values for later operations
Reilly: Preventing frameworks from transforming shared constants can disable optimization; jointly building graphs that share weights may map better to backend APIs
<Reilly> +1
<Mikhail> +1
RESOLUTION: Gather additional implementation experience from more backends and frameworks to inform the constant tensor feature and weight sharing between graphs. (issue #940)
Zero-size dimensions blockers
Anssi: issue #391
<gb> Issue 391 Allow 0 size dimensions (dimensions containing a 0 in the list of sizes, not a rank of 0 which is valid) (by huningxin) [feature request] [interop]
Anssi: this discussion started 2023, backend landscape has changes since, e.g. DirectML deprecated
… the answer is arguably "Yes" for all known backends
Anssi: we resolved this as "Allow 0 size dimensions in WebNN"
… what is the spec change?
… any blockers for executing this resolution?
Dwayne: DirectML was the last backend lacking empty-tensor support; models need empty tensors for generality
Reilly: Recent Core ML testing reported that zero-size dimensions work
Dwayne: If all target backends support zero-size dimensions, the specification should allow them
Device selection & effective compute policy
Anssi: the high-level use case is to enable applications like Google Meet to make informed offload decisions between local and cloud compute based on the effective compute policy, that is the policy that is _actually_ used by the implementation
Anssi: I've undestood some Microsoft products have similar requirements to Google Meet
MarkusH: Real-time applications need to decide whether local processing meets latency and quality needs or whether to offload to the cloud
… the effective policy signal must be reliable across hardware and account for sustained workloads, not only a single inference
Anssi: we also have a related breakout later this week: "Giving the user control over where AI models run in the browser" on more general device selection and compute policy considerations
<gb> Issue 72 Giving the user control over where AI models run in the browser (by toreini) [session]
Anssi: we have discussed possible solutions in issue #934
<gb> Issue 934 Effective MLComputePolicy exposure (by anssiko) [policy selection] [Agenda+]
Anssi: implementation experience has been provided by the DAOP incubation
- issue #934 with proposals has various proposals
… - confirm the use case remains valid
… - agree on a target solution to prototype further
MarkusT: Latency alone can select a much more power-hungry accelerator than needed; applications may need to balance latency and energy
Ehsan: Requirements should also be framed from the end user’s perspective to support later horizontal review
Shubham: Runtime inference duration could be exposed and potentially extended with power-related information
Sushanth: System-wide power and dispatch timing cannot isolate one task; measurement needs suitable queue fencing or equivalent mechanisms
MarkusT: Data locality also matters because transferring large tensors to a discrete accelerator may outweigh its compute advantage
Mikhail: Low power should not be equated with NPUs; integrated GPUs can be more efficient for larger models, so policy is system-dependent
<Mikhail> +1
<Hyojin> +1
<Dave> +1
<Dwayne> +1
RESOLUTION: Gather more users' and application developers' feedback on the device selection & effective compute policy API shape preference, use cases and requirements documented in an explainer. Continue solution engineering. (issue #934)
<Ehsan> +1
LLM enablement
Dynamic shapes
Anssi: issue #883 and PR #945 have been discussed extensively after Kobe
<gb> MERGED PR 945 Add dynamic shape explainer (by miaobin)
<gb> Issue 883 Support flexible input sizes (by huningxin) [feature request] [operator specific]
Anssi: we merged the explainer PR #945:
Anssi: next step is to gather implementation experience and proceed to spec work
… next, I want to discuss Open Questions from the explainer and seek group's feedback:
https://
Anssi: 1) Tensor-Derived sizes
… "Dimensions that depend on tensor values, such as the output size of NonZero, are out of scope for this proposal."
… comments?
Reilly: Identify models requiring tensor-derived sizes and confirm that target frameworks can support the feature before adding it
Dwayne: Some models use NonZero, but the first dynamic-shapes phase should avoid shapes that require reading tensor contents back from the GPU
MarkusT: Data-dependent shapes break ahead-of-time shape-graph validation; first establish a current model requirement and backend support
<MarkusT> +1
<Dwayne> +1
<Dave> +1
RESOLUTION: Tensor-Derived sizes, identify models that require tensor-derives sizes. Clarify backend support story. (issue #883)
Anssi: 2) Making the shape subgraph explicit
… proposed solution option 1) an operand property such as isShape or
… proposed solution option 2) a separate MLShapeOperand type, which enforces it in the type system
… comments?
<Reilly> +1 to making the subgraph more explicit.
Bin: Shape computation is currently identified implicitly; options are an operand property or a distinct MLShapeOperand type
… implementations may also need to identify constants used for shapes; the choice can be made while preparing the specification patch
Dwayne: A before-and-after comparison would clarify the two explicit shape-subgraph options
<Dwayne> +1
<Reilly> +1
RESOLUTION: For making the shape subgraph explicit, review before and after usage for the two proposed solutions. (issue #883)
Anssi: 3) Bidirectional broadcasting for Expand
… in dynamic shape scenarios, the shape operand of expand may contain flexible dimensions
… proposed solution: extend the expand op to support bidirectional broadcasting
… comments?
<Dwayne> +1
<Dwayne> +1
<Ningxin> +1
RESOLUTION: Add bidirectional broadcasting support for Expand. (issue #883)
<gb> Issue 883 Support flexible input sizes (by huningxin) [feature request] [operator specific]
Anssi: I'd like to discuss Core ML and LiteRT implementation experience
… does dispatch-time validation raise implementability or security questions?
Bin: The prototype currently targets ONNX Runtime; LiteRT and Core ML implementation details still need investigation
https://
<MarkusT> +1
Reilly: The next step is implementation prototyping to discover concrete LiteRT and Core ML challenges
<Phillis> +1
<Reilly> +1
<Dwayne> +1
RESOLUTION: Draft a spec patch for Dynamic Shapes informed by new implementation experience. (issue #883)
Anssi: does dispatch-time validation raise implementability or security questions?
Reilly: Dynamic shapes increase the need for clearly specified validation and careful implementation security review because backend frameworks may have memory-safety issues
Subgraphs & operator set
Anssi: issue #907 has a resolution that calls for a subgraph API proposal and JS examples
<gb> Issue 907 Composite operators / subgraphs (by fdwr) [opset] [Agenda+]
Anssi: the intent of this feature is to provide abstraction able to express LM computation at a level where its intent survives from the model to the kernel
… today implementations rely on implicit pattern matching, this is fragile and error-prone
… Wanming has prototyped this approach on NPUs via WebNN
Wanming: The prototype currently decomposes high-level operations such as grouped-query attention and simplified layer normalization into primitive WebNN operations
Anssi:
<gb> Issue 883 Support flexible input sizes (by huningxin) [feature request] [operator specific]
Anssi: The group resolved prior to "Draft a subgraph API proposal and JS usage example code for group review and feedback. (issue #907)"
… comments?
MarkusT: Subgraphs may preserve intent across ONNX-to-WebNN conversion, but the group must evaluate how framework dependencies and conversion round trips affect optimization
Reilly: Named subgraphs could become de facto operators recognized by implementations, so behavior and portability must be evaluated carefully
MarkusT: Multiple browser and backend implementations reduce lock-in risk, but generic execution must not depend on one implementation recognizing a named subgraph
<MarkusT> +1
<Mikhail> +1
<Dwayne> +1
RESOLUTION: Continue evaluation of the subgraph API and its impact on model conversion and framework dependency. (issue #907)
Anssi: issue #573 discusses the core operator set, has two open questions:
<gb> Issue 573 Core operator set (by philloooo) [question] [opset]
Anssi: 1) Mixture of Experts (MoE) architecture support
<MarkusT> +1
Anssi: 2) and its component, Top-K
MarkusT: Mixture-of-Experts can be emulated by computing every expert, but efficient model export needs selection operators such as Top-K
Dwayne: Support adding a selection operation, specifically Top-K, without requiring full sorting
Reilly: Track Top-K in a dedicated issue rather than only in the broad core-operator-set issue
<MarkusT> +1
<Ningxin> +1
<Mikhail> +1
RESOLUTION: Add Top-K to the core operator set and file a separate issue for Top-K (related issue #573, new issue to be created)
<Dwayne> +1
Anssi: issue #559 assess the loop operation as a subgraph-adjacent need for state-space models
<gb> Issue 559 Control flow operations: if, while (by philloooo) [opset] [feature request]
Anssi: problem statement "currently WebNN doesn't support control flow operations like if and while"
… key use case is transformer models and the decoder part
Anssi: defer #559 post lunch onnx2webnn discussion
Anssi: issue #689 asks to consider removing lstm and gru operators
<gb> Issue 689 Consider removing `lstm` and `gru` operators (by a-sully) [question] [operator specific]
Anssi: we had a prior agreement not to remove ops before subgraphs API in place
… we have no resolution for this issue
<MarkusT> +1
<Mikhail> +1
<Dwayne> +1
RESOLUTION: Re-assess removal of lstm() and gru() when Subgraph API is available and we have performance data to compare with. (issue #689)
Low precision & quantization
Anssi: low-precision data types issue #930
<gb> Issue 930 RFE: Add support for more floating point low-precision ML data types (`bfloat16`, `fp8`, `nvfp4`) (by mtavenrath) [opset] [feature request] [Agenda+]
Anssi: explainer PR #938 merged
<gb> MERGED PR 938 Add low-precision floating point data types explainer (by mklimenko-nv) [Agenda+]
Anssi: spec PR #956 merged
<gb> MERGED PR 956 Add `bfloat16` and `float8e4m3` to the spec (by mklimenko-nv) [Agenda+]
Anssi: great work getting these PRs landed ahead the F2F
… remaining open question, what is the criteria for adding data types and how unsupported types are reported?
… does it help to try to codify this criteria?
… we have had CONTRIBUTING.md guidelines for proposing and adding new ops
… I suggest we update that docs to mention data types as another consideration when proposing new surface:
Mikhail: New low-precision types should be evaluated case by case based on maturity and support across target frameworks
MarkusT: Data types and operators should have broad hardware and framework support to avoid divergent implementations
ZeroPoint
Anssi: issue #943 proposes to make zeroPoint optional for quantizeLinear and dequantizeLinear
<gb> Issue 943 Make zeroPoint optional for quantizeLinear and dequantizeLinear operations (by Yuhengwe1)
Anssi: ONNX, CoreML, TFLite backend support evaluated
… making zeroPoint optional will save ~3% kernel time per comments
… Dwayne not opposed to making this optional
Mikhail: Symmetric quantization generally preserves accuracy, and omitting zero points can avoid activation reductions and improve performance
MarkusT: Backends that require zero points can emulate the omitted value, so making it optional is implementable
<Mikhail> +1
<MarkusT> +1
<Ningxin> +1
RESOLUTION: Make zeroPoint optional for quantizeLinear and dequantizeLinear. (issue #943)
<gb> Issue 943 Make zeroPoint optional for quantizeLinear and dequantizeLinear operations (by Yuhengwe1)
Core ML constraints
Anssi: two issues related to Core ML
… Core ML constant-only constraints, issue #822
<gb> Issue 822 (de)quantization behaviors on CoreML (by philloooo) [interop]
Reilly: Core ML requires constant parameters for some operations; opSupportLimits could expose whether constants are required or preferred
Dwayne: Prefer indicating that constants are suggested rather than required when operations can accept dynamic inputs
<Sushanth> webmachinelearning/
<gb> Issue 940 Remove the constant tensor support (by mingmingtasd)
Reilly: A required signal may be more actionable for lowering frameworks than a performance hint that never produces an error
<Phillis> +1
Ningxin: Some delegates expect tensor inputs and rely on framework constant folding, so the metadata may need a tri-state rather than only required or preferred
Reilly: Build-time metadata should express general dynamic-shape constraints rather than an LLM-specific maximum prompt length
<Reilly> +1
<Dwayne> +1
<Phillis> +1
<Sushanth> +1
<Ningxin> +1
RESOLUTION: Prototype constant required for opSupportLimits to indicate operations that require constant inputs. (issue #822)
<gb> Issue 822 (de)quantization behaviors on CoreML (by philloooo) [interop]
Anssi: the other issue #903, Core ML blockwise expansion
<gb> Issue 903 Expand the expand operator to support blockwise broadcasting (by fdwr) [opset]
Anssi: we have support signals in the issue, but no resolution
… seems like we could resolved this as proposed in the issue
<Reilly> +1
<Mikhail> +1
RESOLUTION: Add explicit support for blockwise broadcasting in expand(). (issue #903)
New proposal: Build-time metadata
Anssi: a proposal informed by impementation experience to run Qwen3-4B on Intel NPU
Anssi: issue #965, Build-time metadata
<gb> Issue 965 Proposal: Support build-time metadata to describe how a graph will be driven (by wangw-1991)
Anssi: problem statement: "WebNN can mark a dimension as dynamic (#883), but that doesn't tell the backend how the page will use it"
<gb> Issue 883 Support flexible input sizes (by huningxin) [feature request] [operator specific]
Anssi: proposed solution: build-time metadata to describe how a graph will be driven, an optional options to build(), which contains metadata member
Sushanth: Some backends have long compilation times and large artifacts, so applications may need to retain graph variants compiled for several shape ranges
Mikhail: Device- or generation-specific build metadata can become stale and steer future systems toward suboptimal implementations
<Mikhail> +1
<Sushanth> +1
RESOLUTION: Solicit further feedback for build-time metadata support via issue discussion and author an explainer to address this feedback. (issue #965)
New proposal: Stateful model
Anssi: issue #966, stateful model
<gb> Issue 966 Proposal: Support stateful model for WebNN (by wangw-1991)
Anssi: problem statement: "A language model generates one token per dispatch(). Each step reads the KV cache built by all earlier steps and adds to it. WebNN is stateless: nothing carries over from one dispatch to the next."
… stateful model support carries over state between dispatches, as outlined in IDL
… when build() called with useStateful flag, WebNN builds the graph as stateful
… this cache is hidden, no API reads its contents
Reilly: Core ML has explicit state tensors; investigate how internal, developer-inaccessible model state maps to LiteRT and ONNX Runtime
<Mikhail> +1
<Phillis> +1
<Ningxin> +1
<Reilly> +1
RESOLUTION: Solicit feedback via an explainer for stateful model support focusing on backend support investigation. (issue #966)
<gb> Issue 966 Proposal: Support stateful model for WebNN (by wangw-1991)
Related implementation experience: Qwen3-4B on Intel NPU
Anssi: WeiW and Wanming successfully ran a dynamic language model (Qwen3-4B) on the Intel NPU via WebNN, achieving near-native performance
… this work informed the new proposals, build-time metadata and stateful model support, as well as dynamic shapes and subgraphs
… thank you WeiW and Wanming!
Matt: 👋
Demos & implementation status
Chrome/Edge Developer Trial/prototyping feedback
Anssi: issue #964 suggests that WebNN developer advocacy and outreach is crucial to increase adoption and gather more developer feedback
<gb> Issue 964 What is the current testing/shipping status of WebNN in Chrome and Edge, and what should developers use today? (by webmaxru)
Anssi: webnn.io updates:
… enhancements to the API section
… new content covering ONNX Runtime and Transformers.js
… addition of information on LiteRT.js integration
… OT page updated to accurately reflect the current state
Firefox WebNN pass 100% web-platform-tests
Anssi: Firefox WebNN is passing 100% wpt tests on CoreML backend
… thanks to great work by Paul Adenot, Tarek, MarkusT!
Mikhail: RustNN is a Rust WebNN implementation usable as a standalone library, command-line tool, and basis for Firefox WebNN
MarkusT: The compact RustNN command-line runtime demonstrates that WebNN can be deployed with a small footprint while supporting extensible backends
Rafael: Chromium’s origin trial is tentatively targeted for version 160, pending fixes from Windows platform and hardware-vendor backend teams
RustNN running BabyLM models on constrained devices
An experience report: RustNN to Core ML on iPhone, Apple TV and Apple Watch
Anssi: Matt will share an exciting fun demo, a constrained form factor device running some notable BabyLM models
Matt: Testing on real constrained devices is essential because simulators and CI miss device-specific failures and memory behavior
… Core ML dequantization produced incorrect results on an older iPhone OS and failed explicitly on a newer iPad OS, illustrating hardware and driver variability
… SmallLM2 was tuned to fit devices with about 3 GB RAM by carefully managing the KV cache and precision
… an Apple Watch SE achieved about five tokens per second with roughly four seconds to first token using CPU decoding
… GPU and Neural Engine execution can hit watch memory limits; WPT expectations may need review against real hardware behavior
… scheduling depends on application needs: accelerator use may free CPU responsiveness even when raw generation speed or power is worse
… an iPhone XS achieved about 27 tokens per second and roughly three seconds to first token with CPU execution
… portable WebNN model bundles and a small independent runtime enable offline deployment beyond browsers on constrained devices
Shubham: Servo has a RustNN-based demo, and RustNN also supports an OpenHarmony backend in addition to Core ML, ONNX Runtime, and LiteRT
Other demos: LiteRT.js integration, NPU stem separator, Transformers.js demos
Anssi: LiteRT.js on WebNN showcase the new LiteRT.js integration:
Anssi: WebNN Developer Preview demonstrates ONNX Runtime Web integration
https://
Anssi: see especially the new stem separator demo that runs on the NPU:
https://
Anssi: Hugging Face WebNN Spaces has more Transformers.js-based WebNN examples
https://
Anssi: W3C WebNN Samples contains practical WebNN API usage in web apps without frameworks
https://
Reilly: Chromium’s trial was delayed while security issues across underlying backends were addressed; deployment requires sandboxing and hardened backend integrations
Customer requirements
onnx2webnn
Anssi: onnx2webnn project has done validation across top-50 Tranformers.js models
… this work helps inform our work on LLM enablement and operator priorities
ONNX->WebNN operator conversion status
MarkusT: onnx2webnn validates model conversion through WebNN and its backends, helping identify unsupported operators and portability gaps
… direct conversion can avoid shipping a large framework runtime, while backend-specific exporters can preserve efficient execution paths
… contributors are invited to add exporters and hardware backends; the project targets broad compliance rather than one vendor
Matt: with regard to some things that seem "missing" from wave 3 based on the other models I tried converting. again, I'm out of my depth and have a limited sample size :)
Sushanth: RustNN can target Core ML, ONNX Runtime, LiteRT, and other backends; Intel and AMD acceleration paths still need work
Matt: these are the models where the current spec can't seem to run well and they seem to clump around the recurrent and state-space families (Mamba-130M, HGRN2, the RWKV line):
… * a one-token step graph needs no new primitive, but multi-token prefill has no loop or scan with carried state, gru and lstm cannot express those recurrences, and cumulativeSum is not an affine scan, so prefill is either unrolled into thousands of operations or driven one token at a time from the host.
… * two candidates that seem silicon vendor-neutral: a generic scan (or bounded loop) with carried state, and a fused attention operator, since the decomposed attention (rank-5 grouped-query matmuls, exact-numerics softmax rewrites) is exactly what keeps every accelerator plan on the CPU today while every backend ships a native kernel for it.
… * a smaller one is top-k selection, which the spec lacks (argMax only right now, correct?) and which MoE routing and in-graph sampling need.
… * Explicit state aliasing is the other friction: dispatch forbids the same tensor as input and output, so recurrent state travels through two ping-pong banks. This is a killer on lower-end silicon
<Zakim> reillyg, you wanted to do some agenda bashing.
Weights & memory
Anssi: we have discussed streaming and caching across multiple issues, we'll use this session to understand the next steps and plan concrete actions
Cross-Origin Storage
Anssi: I want to acknowledge the API agnostic proposal for hash-addressed Cross-Origin Storage
https://
Anssi: this is complementary to MLGraph caching, allows for efficient storage and retrieval of any large files e.g. graph weights
Thomas: Cross-Origin Storage addresses shared content for JavaScript libraries, fonts, WebAssembly, AI runtimes, and model files by using content hashes
… a public hash list controls which popular resources can be shared, with objective inclusion criteria still under discussion
… the browser can refresh a compact machine-readable hash list out of band, similar to the Public Suffix List
… Chromium implementation work is landing, with developer testing behind flags targeted for the fourth quarter
Rafael: How popular must a file be before it qualifies for the public hash list?
Thomas: The explainer proposes objective signals, but thresholds and sources remain open for discussion
Mikhail: The public hash list should be delivered and refreshed efficiently rather than substantially increasing the browser installer
Reilly: Cross-Origin Storage can cache downloaded resources, but compiled WebNN graphs are difficult to share because application code currently performs model translation
Thomas: The hash list can be updated separately and stored in a compact binary representation
MarkusT: URL-backed initializers could delay loading and let backends fetch weights on demand, with Cross-Origin Storage supplying content-addressed URLs
Reilly: A canonical WebNN model representation could serve as a stable cache key and let the browser control translation and compiled-model caching end to end
<Zakim> reillyg, you wanted to respond.
Reilly: Whether repacked weights are included is an implementation detail, but the browser needs a canonical architecture representation for reusable compiled artifacts
Thomas: WebAssembly caching provides precedent for caching compiled output rather than only source resources
Reilly: Streaming constants remains useful for initial graph construction even if the compiled graph is subsequently cached
<Reilly> +1
<Thomas> +1
<MarkusT> +1
RESOLUTION: Investigate how to integrate WebNN caching with Cross-Origin Storage so that compiled models can be used cross-origin.
MLGraph caching
Anssi: issue #807 has an explainer and I see support for proceeding to prototyping and experimentation
<gb> Issue 807 Caching mechanism for MLGraph (by anssiko) [question] [feature request]
https://
Anssi: Matt provided fresh implementation feedback from RustNN lowering to Core ML
<MarkusT> +1
<Thomas> +1
RESOLUTION: Proceed to prototyping and experimentation for MLGraph caching. (issue #807)
Security hardening
Anssi: we have made progress on several security-related issues that have been brought to the group's attention
… the following issues have normative algorithmic implications:
Anssi: issue #928, relational limits for convolution and pooling
<gb> Issue 928 Consider specify lower limit for conv2d/pool2d kernel sizes, dilations, strides (by philloooo) [security-tracker] [Agenda+]
Anssi: extensively discussed, I think we are fine to resolve this to use relational limits as algorithmic steps in the spec?
<Dwayne> +1
<Ningxin> +1
RESOLUTION: Align the spec with mitigation as implemented in Chromium currently. (issues #928)
Refresh Security Considerations and out-of-bounds handling
Anssi: issue #927
<gb> Issue 927 Security considerations refresh (by anssiko) [security-tracker]
Document operations susceptible to out-of-bounds access as a guidance to implementers.
Anssi: we have decided to integrate OOB mitigations into algorithmic steps of each affacted op, does this address the concern?
<Dwayne> +1
Anssi: OK to remove the inline issue?
<Ningxin> +1
<Dwayne> +1
RESOLUTION: OOB issues are addressed in algorithmic prose, remove in-spec issue banner from Security Considerations. (issues #927)
Anssi: side channel attack possibility was raised a long time ago, is this action to investigate still relevant given the mitigations in place today?
Anssi: this issue raises the security question related to device selection in the WebNN API that'd allow an attacker to target specific implementation that may contain a flaw
… we deprecated and removed device selection API, I believe this mitigated the associated security concerns
Reilly: Limited policy controls can still target devices; implementations must avoid vulnerable devices rather than rely on obscuring device selection
MarkusT: Browsers already block vulnerable devices until drivers are fixed; security by obscurity does not prevent attackers from targeting reachable devices
<MarkusT> +1
<Reilly> +1
<Dwayne> +1
RESOLUTION: For device selection security, the group decided that it is up to the implementation to avoid running models on devices with vulnerabilities. (issue #927)
Numerics & WPT
Anssi: a bunch of issues relating to numbers that suggest WPT changes
GPU backed WPT runners
Anssi: I asked around about GPU-backed WPT runners per our 26 Mar resolution:
https://
Anssi: I talked with Google folks running the wpt.fyi infrastructure, Reilly to give an update
Reilly: Chromium is upstreaming its GPU inference implementation so Chromium CI can exercise GPU execution, though WPT infrastructure still needs GPU-equipped runners
MarkusT: External sponsorship may help fund runners for WebNN-based projects through a W3C program
<Dave> +1
RESOLUTION: Explore W3C Open Source Program as a way to support GPU-backed WPT runners and drive multi-vendor collaboration.
Wrap-up
Anssi: we covered a lot of ground today, LLM enablement remains the top priority
… we will recharter the group with a focus on LLM enablement for the next year
… I suggest we time the new CR Snapshot publications to align with LLM enablement milestones
… thank you for your contributions and engagement in today's discussions