[FS_ULBC] Analysis on complexity evaluation of ULBC with WMOPS
This contribution examines the use of WMOPS (Weighted Million Operations Per Second) as a complexity metric for ULBC (Ultra Low Bitrate Codec). WMOPS has been proposed as one of the possible complexity metrics and is traditionally used for evaluating 3GPP speech codecs complexity. The analysis focuses on the WMS tool used for automated WMOPS calculation with floating point C code.
The source conducted systematic testing of the WMC tool against the examples provided in ITU-T standards documentation (specifically clause 18.12.7 and related tables in the ITU-T Software Tool Library 2024 User's Manual). Several discrepancies were identified:
Issue: Extra MOVE operations are counted by the WMC tool
b = a / L should count as 1 MULT (since 1/L is constant, operation becomes multiplication)Issue: Missing operations in WMC tool output
(*rnd_T0)++ should count as 1 ADD + 1 STORE (equivalent to *rnd_T0 = *rnd_T0 + 1)Issue: Missing TEST operation counting
if (a!=b || c==d) should count as 2 ADD + 2 BRANCH + 1 TESTIssue: Extra MOVE operation and incorrect INDIRECT counting
Indice[0] = indirect_dico1[indice[0]] should count as 2 INDIRECTIssue: Arithmetic operations inside array subscripts not counted
a[i*2+1] should count arithmetic operations within the subscript (1 INDIRECT + 1 MULT + 1 ADD)The source identifies three key observations:
Systematic discrepancies exist between ITU-T standards documentation and WMC tool implementation, with both over-counting (e.g., extra MOVE operations) and under-counting (e.g., missing operations in array subscripts) observed
Potential significance for AI codecs: Some discrepancies, particularly the counting of MOVE operators and instrumentation inside arrays, could significantly impact WMOPS measurements for AI-based codecs
Need for clarification: If WMOPS is adopted as a complexity metric for ULBC, these differences must be carefully addressed and the calculation methodology must be clearly defined
The source proposes to document the findings from Clause 2 and Clause 3 in clause 6.2 of the permanent document to ensure proper consideration of these WMOPS calculation issues in the ULBC complexity evaluation framework.