16:00:26 RRSAgent has joined #webmachinelearning 16:00:30 logging to https://www.w3.org/2026/11/19-webmachinelearning-irc 16:00:30 RRSAgent, make logs Public 16:00:31 please title this meeting ("meeting: ..."), anssik 16:00:48 Meeting: WebML WG Teleconference – 19 November 2026 16:01:14 Chair: Anssi 16:01:22 Agenda: https://github.com/webmachinelearning/meetings/blob/main/telcons/2026-11-19-wg-agenda.md 16:01:33 Scribe: Anssi 16:01:33 scribeNick: anssik 16:01:46 gb, this is webmachinelearning/webnn 16:01:46 anssik, OK. 16:02:08 Present+ Anssi_Kostiainen 16:02:34 DwayneR has joined #webmachinelearning 16:02:47 Present+ Dwayne_Robinson 16:03:00 Present+ Roy_Ruoxi_Ran 16:03:01 RafaelCintron has joined #webmachinelearning 16:03:06 Present+ Ehsan_Toreini 16:03:08 present+ 16:03:10 Present+ Markus_Tavenrath 16:03:15 Present+ Mike_Wyrzykowski 16:03:23 Present+ Mikhail_Klimenko 16:03:30 Present+ Rafael_Cintron 16:03:37 RRSAgent, draft minutes 16:03:38 I have made the request to generate https://www.w3.org/2026/11/19-webmachinelearning-minutes.html anssik 16:03:53 Topic: TPAC F2F debrief 16:04:14 gb, this is webmachinelearning/webnn 16:04:14 anssik, OK. 16:04:30 mklimenko has joined #webmachinelearning 16:04:32 Anssi: the F2F meeting was well attended and we had productive discussions on various topics 16:04:57 ... two major themes emerged from the discussions: 16:05:06 ... - WebNN API advances to support new use cases, dynamic LMs 16:05:31 ... - new implementations are emerging, diversifying the ecosystem, and driving broader adoption of WebNN 16:05:40 ... key references from the TPAC F2F meeting: 16:05:45 -> F2F minutes https://www.w3.org/2026/10/26-webmachinelearning-minutes.html 16:05:51 -> F2F resolutions https://www.w3.org/2026/10/26-webmachinelearning-minutes.html#ResolutionSummary 16:06:14 -> F2F agenda archived https://github.com/webmachinelearning/meetings/tree/main/2026-10-26-dublin 16:06:31 Anssi: we made a number of resolutions that guide the development and direction of WebNN 16:06:37 Anssi: I'd like to highlight a few areas of focus: 16:06:47 mtavenrath has joined #webmachinelearning 16:06:57 ... - device selection & effective compute policy API, need to understand what users and developers need 16:07:24 ... - LLM enablement, this feature work is informed by well-known models and backend capabilities 16:07:42 ... - new implementation experience validate implementation agnosticism 16:08:21 ... - weights & memory, how to reduce memory footprint and optimize weight storage and loading 16:08:28 Anssi: any other major focus areas that emerged from our discussions? 16:09:18 Anssi: WebGPU F2F key outcomes? 16:10:16 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 16:10:53 ... WebGPU has been out for some years and finally gets usage in products 16:11:29 MarkusT: new data types where discussed 16:12:19 ... 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 16:12:45 Present+ Reilly_Grant 16:13:09 ... 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 16:13:48 ... more compute vs graph-based API discussion expected 16:14:56 ... we don't want operator proliferation, but still good to have a way to carry a bigger op to the backend 16:15:01 ... subgraphs get important 16:15:02 q? 16:15:23 Topic: Charter 2027 16:15:26 gb, this is webmachinelearning/machine-learning-charter 16:15:27 anssik, OK. 16:15:46 Anssi: as discussed at F2F, Dublin resolutions will inform WebML WG rechartering for 2027 16:15:53 ... I will work with the W3C Team on this rechartering process 16:16:00 ... but want to solicit input from the WebML WG participants early 16:16:04 -> Current WebML WG Charter https://www.w3.org/2025/03/webmachinelearning-charter.html 16:16:08 -> WebML WG Charter GH repo https://github.com/w3c/machine-learning-charter 16:16:23 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 16:16:39 Anssi: LLM enablement is a key focus area for the upcoming charter period 16:16:51 ... this is a natural evolution of the WG's existing mandate to define "common building blocks required by well-known model architectures" 16:16:53 Joshua Lochners presentation about WebGPU ML kernel optimization: https://www.youtube.com/watch?v=28lkhmH4c1s 16:17:09 ... my expectation is we will make an editorial update to the Scope section to reflect this 16:17:13 -> https://www.w3.org/2025/03/webmachinelearning-charter.html#scope 16:17:34 Anssi: new implementation experience from RustNN demonstrated the benefits of a WebNN model format 16:17:48 ... the WebML CG is the incubator for new proposed deliverables in the WebNN ecosystem 16:18:12 ... and the proposed WebNN model format is a candidate to be adopted by the WebML CG 16:18:31 ... associated conversion tools (onnx2webnn, torch2webnn, etc.) could optionally be adopted into the W3C Open Source Program 16:18:52 ... in context of the WebML WG rechartering, we should explicitly acknowledge the WebML CG as the incubation space for the WebNN model format 16:19:13 q? 16:19:53 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: 16:19:57 -> https://github.com/webmachinelearning/daop 16:20:07 Anssi: this same theme emerged in other TPAC meetings 16:20:31 ... 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 16:20:36 -> Compute Location breakout presentation https://docs.google.com/presentation/d/17wsUYy6ahb3mDhLb61wgKdCXWxnQmFJGye75vjw-Ono/ 16:20:41 -> Compute Location breakout minutes https://www.w3.org/2026/10/27-compute-location-minutes.html 16:20:45 -> Compute Location API (CLAPI) explainer https://github.com/SamsungInternet/Explainers/blob/main/ComputeLocation/compute-location.md 16:21:00 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 to built-in AI APIs 16:21:09 q+ Ehsan 16:21:16 ack Ehsan 16:22:18 q+ 16:22:24 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 16:22:50 ... I think it was well-received during the breakout, all feedback welcome 16:22:51 q? 16:23:22 Anssi: in context of this chartering discussion, this could be acknowledged through Coordination with the WebML CG 16:23:28 -> https://www.w3.org/2025/03/webmachinelearning-charter.html#coordination 16:23:35 q? 16:23:43 ack mtavenrath 16:24:08 MarkusT: spend some time thinking WebNN remote execution 16:24:33 ... we could have sufficient number of models with small enough input and outputs so we could make this work with remote execution and minimal communication overhead 16:25:44 q? 16:26:09 MarkusT: I plan to have a prototype as a next step 16:26:40 Anssi: another theme that has emerged is the need to efficiently manage weights and memory for AI models, loading, compiling, not just execution 16:26:52 ... at F2F, Tom shared how Cross-Origin Storage proposal is making progress 16:27:01 ... I suggest we acknowledge WICG and Cross-Origin Storage explicit in the Coordination section of the charter 16:27:05 -> https://wicg.github.io/cross-origin-storage/ 16:27:11 -> https://www.w3.org/2025/03/webmachinelearning-charter.html#coordination 16:28:07 Reilly: thy 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 16:28:07 q? 16:28:56 Anssi: we have an open charter issue #36 to evaluate built-in AI APIs readiness to be adopted into the WebML WG 16:28:57 Issue 36 not found 16:29:04 gb, this is webmachinelearning/machine-learning-charter 16:29:04 anssik, OK. 16:29:12 Anssi: issue #36 16:29:13 Issue 36 not found 16:29:40 Anssi: I suggest we continue this work in the context of the WebML CG 16:29:45 ... comments? 16:30:12 Anssi: I will work with W3C team to prepare a draft charter for your review, and open charter issues for relevant discussion topics 16:30:38 Topic: GPU backed WPT runners 16:30:44 gb, this is webmachinelearning/webnn 16:30:44 anssik, OK. 16:30:48 Anssi: issue #972 16:30:49 https://github.com/webmachinelearning/webnn/issues/972 -> Issue 972 Explore W3C Open Source Program as a way to support GPU-backed WPT runners (by anssiko) [Agenda+] 16:30:53 Anssi: I had a discussion with Tarek from Hugging Face 16:31:49 MarkusT: when we did integration for Firefox with RustNN, Hugging Face was interested in sponsoring W3C to get GPU runners for WebNN ecosystem, RustNN 16:34:27 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 16:34:35 q? 16:35:29 ningxin has joined #webmachinelearning 16:35:29 q? 16:35:30 Topic: Web Neural Network API 16:35:34 gb, this is webmachinelearning/webnn 16:35:34 anssik, OK. 16:35:42 Subtopic: Dynamic Language Models on NPUs 16:35:47 Anssi: explainer PR #969 16:35:48 https://github.com/webmachinelearning/webnn/pull/969 -> PR 969 Add explainer: Support dynamic language models on NPUs via WebNN (by wangw-1991) [Agenda+] 16:35:52 -> explainer preview https://github.com/wangw-1991/webnn-spec/blob/main/support-dynamic-language-models-on-npus-via-webnn-explainer.md 16:36:01 Anssi: thank you Wei and Wanming for submitting the explainer PR, and thanks to Mikhail, Matt for the review feedback 16:36:21 Anssi: the first iteration of the explainer depended on: 16:36:34 ... dynamic shape #883 to allow flexible input sizes determined at inference time 16:36:35 https://github.com/webmachinelearning/webnn/issues/883 -> Issue 883 Support flexible input sizes (by huningxin) [feature request] [operator specific] [Agenda+] 16:36:38 ... subgraphs #907 to support new operators earlier, allow modular composition of computation graphs 16:36:39 https://github.com/webmachinelearning/webnn/issues/907 -> Issue 907 Composite operators / subgraphs (by fdwr) [opset] [Agenda+] 16:36:43 ... proposed built-time metadata #965 to signal usage intent for compile-ahead accelerators 16:36:44 https://github.com/webmachinelearning/webnn/issues/965 -> Issue 965 Proposal: Support build-time metadata to describe how a graph will be driven (by wangw-1991) [Agenda+] 16:36:51 ... stateful model #966 to address growing decode KV cache, there's a new proposed approach for this 16:36:52 https://github.com/webmachinelearning/webnn/issues/966 -> Issue 966 Proposal: Support stateful model for WebNN (by wangw-1991) [Agenda+] 16:37:02 ... this first explainer was informed by implementation experience from OpenVINO NPU backend 16:37:31 ... 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 16:37:31 q+ 16:37:52 ... 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 16:37:56 -> https://onnx.ai/onnx/operators/onnx__TensorScatter.html 16:38:30 Anssi: the assumption is this allows each backend to implement in-place KV cache updates efficiently while maintaining a consistent interface 16:38:40 ... explainer PR remains open and welcomes further review and feedback while the team continues to refine the proposal based on the input received 16:38:42 q? 16:38:44 ack mklimenko 16:39:52 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 16:40:06 +1 16:40:17 q+ 16:40:23 Mikhail: 99% of my feedback shared in the explainer PR comments 16:40:24 ack ningxin 16:41:12 Ningxin: thanks for feedback, I'd like to mention Wei and Wanming are working on low-level primitives as summarized by Anssi, current proposal is to introduce a stateful model, model level concept, now we look at operator-level approach 16:41:21 https://github.com/webmachinelearning/webnn/issues/907#issuecomment-5827846675 16:41:22 https://github.com/webmachinelearning/webnn/issues/907 -> Issue 907 Composite operators / subgraphs (by fdwr) [opset] [Agenda+] 16:41:41 ... I'd like to circle back to comment on composite operators in issue #907 16:41:41 https://github.com/webmachinelearning/webnn/issues/907 -> Issue 907 Composite operators / subgraphs (by fdwr) [opset] [Agenda+] 16:42:01 Ningxin: LiteRT tensorScatter alignment is worth exploring 16:42:02 q? 16:42:54 +1 16:42:55 +1 16:43:10 RESOLUTION: Explore a new operator for in-place KV cache updates. (PR #969) 16:43:33 Subtopic: topK operator 16:43:37 Anssi: issue #968 16:43:39 https://github.com/webmachinelearning/webnn/issues/968 -> Issue 968 Add `topK` operator (a sliced `sort`) (by fdwr) [Agenda+] 16:43:40 What Changming mentioned is "What is really missing in the spec is stateful ops, like dynamic_update_slice." https://github.com/webmachinelearning/webnn/issues/907#issuecomment-5827846675 16:43:44 Anssi: we resolved at F2F to add topK to the core operator set: 16:43:49 -> https://www.w3.org/2026/10/26-webmachinelearning-minutes.html#10001 16:43:55 Anssi: thanks Dwayne for taking this forward 16:44:03 Anssi: Dwayne shared IDL sketch for the topK operator, considerations, and current implementation status across relevant APIs: Apple MIL, ONNX, TFLite/LiteRT, PyTorch, StableHLO 16:44:19 ... Matt provided support based on his experience working with MoE routing and in-graph sampling 16:44:24 q+ Dwayne 16:44:59 Dwayne: please take a look at my proposal, there are two open questions 16:45:22 q? 16:45:26 ack DwayneR 16:45:29 ack Dwayne 16:46:04 +1 16:46:22 +1 16:46:23 RESOLUTION: Draft spec PR for topK using the IDL sketch as a basis. (issue #968) 16:46:31 Subtopic: Naming considerations 16:46:36 Anssi: issue #904 16:46:36 https://github.com/webmachinelearning/webnn/issues/904 -> Issue 904 Naming considerations (by fdwr) [opset] [Agenda+] 16:46:43 ... naming is hard, and code should read like prose 16:46:53 ... that said, Dwayne came up with naming considerations that I think should make into the official contributing guidelines for the WebNN API 16:47:02 -> https://github.com/webmachinelearning/webnn/issues/904#issuecomment-6844054619 16:47:03 https://github.com/webmachinelearning/webnn/issues/904 -> Issue 904 Naming considerations (by fdwr) [opset] [Agenda+] 16:47:18 Anssi: I saw Ningxin's +1 16:48:12 +1 16:48:56 +1 16:48:59 RESOLUTION: Update the official contributing guidelines for the WebNN API with naming considerations. (issue #904) 16:49:20 Anssi: I wanted to ask whether we have a migration plan for the existing operators that do not yet follow these naming considerations? 16:49:52 ... AI agents are very good at mechanical or rule-based renaming, mitigating the impact of updated naming considerations on existing code 16:50:52 Dwayne: taking an union of dimensions and naming consideration, there's a dozen 16:51:34 Anssi: taking all changes at a one time I assume 16:51:35 q? 16:52:13 Subtopic: batchNormalization error tolerance 16:52:17 Anssi: issue #950 16:52:18 https://github.com/webmachinelearning/webnn/issues/950 -> Issue 950 Discrepancy in actual and expected output for subgraph test : batchNormalization options.axis=0 + gelu (by hthadicherla) [Agenda+] [web-platform-tests] 16:52:46 ... this is a WPT unit of least precision (ULP) tolerance related issue 16:52:52 ... spacing between consecutive floating-point numbers differ between ORT CPU EP and TFLite, LiteRT GPU 16:53:00 ... Dwayne suggest removing the tests 16:53:06 ... Matt suggests adding a justified error budget 16:53:10 ... thoughts? 16:53:15 q+ Dwayne 16:53:19 ack Dwayne 16:53:43 Dwayne: batchNorm with gelu are fuzzy 16:53:52 ... I can come up with a proposal that satisfies Matt's requirements 16:53:53 q? 16:54:03 q+ 16:54:08 ack mklimenko 16:54:37 Mikhail: previously with of ML workloads with floating point tensors on different level of parallelism, relying on exact ULP wasn't that reliable 16:54:49 ... we used cosine similarity with safequards 16:55:05 ... ULP + cosine similarity with some threshold? 16:55:21 Dwayne: ULP good for small ops, fully with many ops that interact 16:55:44 ... current WPT only has ULP ATOL, not cosine similarity, will look into that 16:55:45 q? 16:57:26 +1 16:57:27 +1 16:57:28 +1 16:57:29 RESOLUTION: Keep batchNorm + gelu combination in WPT and come up with a new tolerance. (issue #950) 16:57:36 Subtopic: Open PRs 16:57:46 Anssi: we have received many small PRs: #973, #975, #976, #977, #978, #979, #980 16:57:47 https://github.com/webmachinelearning/webnn/pull/980 -> PR 980 Read reverse axes from its options and throw on invalid axes (by JinDX) 16:57:47 https://github.com/webmachinelearning/webnn/pull/978 -> PR 978 Match recurrent emulation initial states to the input data type (by JinDX) 16:57:47 https://github.com/webmachinelearning/webnn/pull/973 -> PR 973 Use unsigned bounds when casting scalar values to uint32 (by JinDX) 16:57:48 https://github.com/webmachinelearning/webnn/pull/976 -> PR 976 Describe initialCellState as the initial cell state (by JinDX) 16:57:50 ... and a few more since the agenda was published: #983 #984 16:57:54 https://github.com/webmachinelearning/webnn/pull/979 -> PR 979 Set gatherElements output shape from its indices (by JinDX) 16:57:59 https://github.com/webmachinelearning/webnn/pull/975 -> PR 975 Use the second dimension for lstm gate layout (by JinDX) 16:57:59 https://github.com/webmachinelearning/webnn/pull/977 -> PR 977 Use the first dimension for gruCell gate layout (by JinDX) 16:58:02 https://github.com/webmachinelearning/webnn/pull/983 -> PR 983 Use Float32Array for scatterElements example updates (by JinDX) 16:58:04 ... 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 16:58:05 https://github.com/webmachinelearning/webnn/pull/984 -> PR 984 Align scatterND example updates and indices with their expected results (by JinDX) 16:58:08 ... W3C team contact Roy is working on that 16:58:24 ... 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 16:58:29 ... Roy will then handle the IPR and licensing aspects and merge the PRs once the necessary IPR grants have been secured from the author 16:58:48 q? 16:58:55 q+ Roy_Ruoxi 16:58:57 ack Roy_Ruoxi 16:59:20 Roy: I will take care of IPR aspects, participants should only signal if the PRs are technically correct 17:01:02 RRSAgent, draft minutes 17:01:03 I have made the request to generate https://www.w3.org/2026/11/19-webmachinelearning-minutes.html anssik 17:07:57 s/as well as to/as well as 17:10:59 s/spend some/I have spent some 17:11:24 s/input and/inputs and 17:11:53 s/explicit in/explicitly in 17:12:08 s/thy way/the way 17:13:03 s/Issue 36 not found// 17:13:50 s/continue this work/continue built-in AI APIs 17:16:27 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 17:18:37 s/feedback shared/feedback is shared 17:19:15 s/current proposal/currently shared proposal 17:25:41 RRSAgent, draft minutes 17:25:42 I have made the request to generate https://www.w3.org/2026/11/19-webmachinelearning-minutes.html anssik 17:45:57 s/Issue 36 not found// 17:45:58 RRSAgent, draft minutes 17:45:59 I have made the request to generate https://www.w3.org/2026/11/19-webmachinelearning-minutes.html anssik 17:46:39 s/charter issue #36 to/charter issue to 17:46:40 RRSAgent, draft minutes 17:46:42 I have made the request to generate https://www.w3.org/2026/11/19-webmachinelearning-minutes.html anssik 19:28:45 Zakim has left #webmachinelearning 21:55:20 toreini has joined #webmachinelearning