W3C

– DRAFT –
WebML WG Teleconference – 19 November 2026

19 November 2026

Attendees

Present
Anssi_Kostiainen, Dwayne_Robinson, Ehsan_Toreini, Markus_Tavenrath, Mike_Wyrzykowski, Mikhail_Klimenko, Rafael_Cintron, Reilly_Grant, Roy_Ruoxi_Ran, toreini
Regrets
-
Chair
Anssi
Scribe
Anssi, anssik

Meeting minutes

Repository: webmachinelearning/webnn

TPAC F2F debrief

Repository: webmachinelearning/webnn

Anssi: the F2F meeting was well attended and we had productive discussions on various topics
… two major themes emerged from the discussions:
… - WebNN API advances to support new use cases, dynamic LMs
… - new implementations are emerging, diversifying the ecosystem, and driving broader adoption of WebNN
… key references from the TPAC F2F meeting:

F2F minutes

F2F resolutions

F2F agenda archived

Anssi: we made a number of resolutions that guide the development and direction of WebNN

Anssi: I'd like to highlight a few areas of focus:
… - device selection & effective compute policy API, need to understand what users and developers need
… - LLM enablement, this feature work is informed by well-known models and backend capabilities
… - new implementation experience validate implementation agnosticism
… - weights & memory, how to reduce memory footprint and optimize weight storage and loading

Anssi: any other major focus areas that emerged from our discussions?

Anssi: WebGPU F2F key outcomes?

Rafael: discussion around subgroup matrix and how to advance that, popular for ML on the web, on the last day meetup with European WebGPU developers, Joshua Lochner talked about all kernel optimizations, informative, WebGPU-based 3D ML on the web
… WebGPU has been out for some years and finally gets usage in products

MarkusT: new data types where discussed
… JoshuaL acknowledged issues, wanted to optimize kernels for specific devices, want to find the best kernel for best device, but this needs a complex database of kernels
… on WebGPU fingerprinting must be used to identify the best kernel to use for optimal performance, WebNN has this encapsulated within vendor-specific execution providers
… more compute vs graph-based API discussion expected
… we don't want operator proliferation, but still good to have a way to carry a bigger op to the backend
… subgraphs get important

Charter 2027

Repository: webmachinelearning/machine-learning-charter

Anssi: as discussed at F2F, Dublin resolutions will inform WebML WG rechartering for 2027
… I will work with the W3C Team on this rechartering process
… but want to solicit input from the WebML WG participants early

Current WebML WG Charter

WebML WG Charter GH repo

Anssi: next, I will discuss a few areas that I believe we should focus on in the WebML WG charter 2027 based on ecosystem developments and community feedback

Anssi: LLM enablement is a key focus area for the upcoming charter period
… this is a natural evolution of the WG's existing mandate to define "common building blocks required by well-known model architectures"

<mtavenrath> Joshua Lochners presentation about WebGPU ML kernel optimization: https://www.youtube.com/watch?v=28lkhmH4c1s

Anssi: my expectation is we will make an editorial update to the Scope section to reflect this

https://www.w3.org/2025/03/webmachinelearning-charter.html#scope

Anssi: new implementation experience from RustNN demonstrated the benefits of a WebNN model format
… the WebML CG is the incubator for new proposed deliverables in the WebNN ecosystem
… and the proposed WebNN model format is a candidate to be adopted by the WebML CG
… associated conversion tools (onnx2webnn, torch2webnn, etc.) could optionally be adopted into the W3C Open Source Program
… in context of the WebML WG rechartering, we should explicitly acknowledge the WebML CG as the incubation space for the WebNN model format

Anssi: at F2F in our "device selection & effective compute policy" session we acknowledged the users' and developers' need to control where AI models run, client or cloud, with early implementation experience from DAOP:

webmachinelearning/daop

Anssi: this same theme emerged in other TPAC meetings
… TPAC breakout session "Giving the user control over where AI models run in the browser" proposed a pattern to be adopted by Web APIs to allow users to signal their preference for computation placement

Compute Location breakout presentation

Compute Location breakout minutes

Compute Location API (CLAPI) explainer

Anssi: this proposed "Compute Location API" is not a standalone API, but a proposed design pattern to be adopted by Web APIs that make use of significant compute, for example WebNN API as well as built-in AI APIs

Ehsan: a presentation shared at TPAC received good feedback from participants, the main point is we give user an option to signal where the compute workload should execute, a TAG follow-up on Translation API issue around choice between local and cloud-hosted models
… I think it was well-received during the breakout, all feedback welcome

Anssi: in context of this chartering discussion, this could be acknowledged through Coordination with the WebML CG

https://www.w3.org/2025/03/webmachinelearning-charter.html#coordination

MarkusT: I have spent some time thinking WebNN remote execution
… we could have sufficient number of models with small enough inputs and outputs so we could make this work with remote execution and minimal communication overhead

MarkusT: I plan to have a prototype as a next step

Anssi: another theme that has emerged is the need to efficiently manage weights and memory for AI models, loading, compiling, not just execution
… at F2F, Tom shared how Cross-Origin Storage proposal is making progress
… I suggest we acknowledge WICG and Cross-Origin Storage explicitly in the Coordination section of the charter

https://wicg.github.io/cross-origin-storage/

https://www.w3.org/2025/03/webmachinelearning-charter.html#coordination

Reilly: the way WebNN currently works, does not work for Cross-Origin Storage, it does not interact with the web caching mechanism very well due to compilation not being transparent, the WebNN serialization format of RustNN could be a solution

Anssi: we have an open charter issue to evaluate built-in AI APIs readiness to be adopted into the WebML WG

Repository: webmachinelearning/machine-learning-charter

Anssi: issue #36

Anssi: I suggest we continue built-in AI APIs in the context of the WebML CG
… comments?

Anssi: I will work with W3C team to prepare a draft charter for your review, and open charter issues for relevant discussion topics

GPU backed WPT runners

Repository: webmachinelearning/webnn

Anssi: issue #972

<gb> Issue 972 Explore W3C Open Source Program as a way to support GPU-backed WPT runners (by anssiko) [Agenda+]

Anssi: I had a discussion with Tarek from Hugging Face about this, there's interest for sponsorship, I will connect Tarek with W3C team for the next steps

MarkusT: when we did integration for Firefox with RustNN, Hugging Face was interested in sponsoring W3C to get GPU runners for WebNN ecosystem, RustNN

Reilly: we have engineers working on integrating open source LiteRT backend into Chromium, and once in place, the open-source Chromium WPT CI will cover WebNN GPU with that backend, not familiar how the public wpt.fyi runners work

Web Neural Network API

Repository: webmachinelearning/webnn

Dynamic Language Models on NPUs

Anssi: explainer PR #969

<gb> PR 969 Add explainer: Support dynamic language models on NPUs via WebNN (by wangw-1991) [Agenda+]

explainer preview

Anssi: thank you Wei and Wanming for submitting the explainer PR, and thanks to Mikhail, Matt for the review feedback

Anssi: the first iteration of the explainer depended on:
… dynamic shape #883 to allow flexible input sizes determined at inference time

<gb> Issue 883 Support flexible input sizes (by huningxin) [feature request] [operator specific] [Agenda+]

Anssi: subgraphs #907 to support new operators earlier, allow modular composition of computation graphs

<gb> Issue 907 Composite operators / subgraphs (by fdwr) [opset] [Agenda+]

Anssi: proposed built-time metadata #965 to signal usage intent for compile-ahead accelerators

<gb> Issue 965 Proposal: Support build-time metadata to describe how a graph will be driven (by wangw-1991) [Agenda+]

Anssi: stateful model #966 to address growing decode KV cache, there's a new proposed approach for this

<gb> Issue 966 Proposal: Support stateful model for WebNN (by wangw-1991) [Agenda+]

Anssi: this first explainer was informed by implementation experience from OpenVINO NPU backend
… with review feedback from the group, Mikhail's TensorRT-RTX insights, there's now a better shared picture how different backends handle optimizations for dynamic LMs
… the next revision of this explainer is now under development and aims to introduce a new operator for in-place KV cache updates, in spirit of the ONNX TensorScatter operator

https://onnx.ai/onnx/operators/onnx__TensorScatter.html

Anssi: the assumption is this allows each backend to implement in-place KV cache updates efficiently while maintaining a consistent interface
… explainer PR remains open and welcomes further review and feedback while the team continues to refine the proposal based on the input received

Mikhail: thank you for insights into how things work, during review and research process I found out that GPU plugins behave differently, so aligning with OpenVINO GPU would make sense

<ningxin> +1

Mikhail: 99% of my feedback is shared in the explainer PR comments

Ningxin: thanks for feedback, I'd like to mention Wei and Wanming are working on low-level primitives as summarized by Anssi, currently shared proposal is to introduce a stateful model, model level concept, now we look at operator-level approach

<ningxin> webmachinelearning/webnn#907 (comment)

<gb> Issue 907 Composite operators / subgraphs (by fdwr) [opset] [Agenda+]

Ningxin: I'd like to circle back to comment on composite operators in issue #907

<gb> Issue 907 Composite operators / subgraphs (by fdwr) [opset] [Agenda+]

Ningxin: LiteRT tensorScatter alignment is worth exploring

<mklimenko> +1

<DwayneR> +1

RESOLUTION: Explore a new operator for in-place KV cache updates. (PR #969)

topK operator

Anssi: issue #968

<gb> Issue 968 Add `topK` operator (a sliced `sort`) (by fdwr) [Agenda+]

<ningxin> What Changming mentioned is "What is really missing in the spec is stateful ops, like dynamic_update_slice." webmachinelearning/webnn#907 (comment)

Anssi: we resolved at F2F to add topK to the core operator set:

https://www.w3.org/2026/10/26-webmachinelearning-minutes.html#10001

Anssi: thanks Dwayne for taking this forward

Anssi: Dwayne shared IDL sketch for the topK operator, considerations, and current implementation status across relevant APIs: Apple MIL, ONNX, TFLite/LiteRT, PyTorch, StableHLO
… Matt provided support based on his experience working with MoE routing and in-graph sampling

Dwayne: please take a look at my proposal, there are two open questions

<mklimenko> +1

<mtavenrath> +1

RESOLUTION: Draft spec PR for topK using the IDL sketch as a basis. (issue #968)

Naming considerations

Anssi: issue #904

<gb> Issue 904 Naming considerations (by fdwr) [opset] [Agenda+]

Anssi: naming is hard, and code should read like prose
… that said, Dwayne came up with naming considerations that I think should make into the official contributing guidelines for the WebNN API

webmachinelearning/webnn#904 (comment)

<gb> Issue 904 Naming considerations (by fdwr) [opset] [Agenda+]

Anssi: I saw Ningxin's +1

<mklimenko> +1

<reillyg> +1

RESOLUTION: Update the official contributing guidelines for the WebNN API with naming considerations. (issue #904)

Anssi: I wanted to ask whether we have a migration plan for the existing operators that do not yet follow these naming considerations?
… AI agents are very good at mechanical or rule-based renaming, mitigating the impact of updated naming considerations on existing code

Dwayne: taking an union of dimensions and naming consideration, there's a dozen

Anssi: taking all changes at a one time I assume

batchNormalization error tolerance

Anssi: issue #950

<gb> Issue 950 Discrepancy in actual and expected output for subgraph test : batchNormalization options.axis=0 + gelu (by hthadicherla) [Agenda+] [web-platform-tests]

Anssi: this is a WPT unit of least precision (ULP) tolerance related issue
… spacing between consecutive floating-point numbers differ between ORT CPU EP and TFLite, LiteRT GPU
… Dwayne suggest removing the tests
… Matt suggests adding a justified error budget
… thoughts?

Dwayne: batchNorm with gelu are fuzzy
… I can come up with a proposal that satisfies Matt's requirements

Mikhail: previously with of ML workloads with floating point tensors on different level of parallelism, relying on exact ULP wasn't that reliable
… we used cosine similarity with safequards
… ULP + cosine similarity with some threshold?

Dwayne: ULP good for small ops, fully with many ops that interact
… current WPT only has ULP ATOL, not cosine similarity, will look into that

<DwayneR> +1

<mklimenko> +1

<ningxin> +1

RESOLUTION: Keep batchNorm + gelu combination in WPT and come up with a new tolerance. (issue #950)

Open PRs

Anssi: we have received many small PRs: #973, #975, #976, #977, #978, #979, #980

<gb> PR 980 Read reverse axes from its options and throw on invalid axes (by JinDX)

<gb> PR 978 Match recurrent emulation initial states to the input data type (by JinDX)

<gb> PR 973 Use unsigned bounds when casting scalar values to uint32 (by JinDX)

<gb> PR 976 Describe initialCellState as the initial cell state (by JinDX)

Anssi: and a few more since the agenda was published: #983 #984

<gb> PR 979 Set gatherElements output shape from its indices (by JinDX)

<gb> PR 975 Use the second dimension for lstm gate layout (by JinDX)

<gb> PR 977 Use the first dimension for gruCell gate layout (by JinDX)

<gb> PR 983 Use Float32Array for scatterElements example updates (by JinDX)

Anssi: the author of these PRs is not a WG participant yet, so for any substantive changes we need to secure IPR grants from the author

<gb> PR 984 Align scatterND example updates and indices with their expected results (by JinDX)

Anssi: W3C team contact Roy is working on that
… to help with this, I'd ask the group to review the PRs from a technical perspective and signal in review comments if the contributions are technically acceptable
… Roy will then handle the IPR and licensing aspects and merge the PRs once the necessary IPR grants have been secured from the author

Roy: I will take care of IPR aspects, participants should only signal if the PRs are technically correct

Summary of resolutions

  1. Explore a new operator for in-place KV cache updates. (PR #969)
  2. Draft spec PR for topK using the IDL sketch as a basis. (issue #968)
  3. Update the official contributing guidelines for the WebNN API with naming considerations. (issue #904)
  4. Keep batchNorm + gelu combination in WPT and come up with a new tolerance. (issue #950)
Minutes manually created (not a transcript), formatted by scribe.perl version 250 (Wed Oct 21 13:34:09 2026 UTC).

Diagnostics

Succeeded: s/as well as to/as well as

Succeeded: s/spend some/I have spent some

Succeeded: s/input and/inputs and

Succeeded: s/explicit in/explicitly in

Succeeded: s/thy way/the way

Succeeded: s/Issue 36 not found//

Succeeded: s/continue this work/continue built-in AI APIs

Succeeded: s/from Hugging Face/from Hugging Face about this, there's interest for sponsorship, I will connect Tarek with W3C team for the next steps

Succeeded: s/feedback shared/feedback is shared

Succeeded: s/current proposal/currently shared proposal

Succeeded: s/Issue 36 not found//

Succeeded: s/charter issue #36 to/charter issue to

Maybe present: Anssi, Dwayne, Ehsan, MarkusT, Mikhail, Ningxin, Rafael, Reilly, Roy

All speakers: Anssi, Dwayne, Ehsan, MarkusT, Mikhail, Ningxin, Rafael, Reilly, Roy

Active on IRC: anssik, DwayneR, mklimenko, mtavenrath, ningxin, reillyg, toreini