Source-linked AI summary

Type-Balanced Federated Learning for Visual Analog Meter Reading

Weida Zhao, Logan Bellamy, Yazhou Tu, Jiaqi Wang

arXiv:2609.31998v1cs.CV

TL;DR

Meter-reading sites may have limited labels and may be unable to pool raw images, while instrument types and data volumes vary across clients. The paper presents a federated reading pipeline and MeterFL benchmark, with type-balanced aggregation for segmentation. It reports higher pointer IoU and lower client variation than compared federated methods, while reading accuracy remains statistically comparable to centralized training.

  • Problem

    Sites have limited labeled meter images and may be unable to share raw images, while existing meter benchmarks do not establish a common federated protocol.

    Source: §1 · p. 1
  • Method

    The paper introduces MeterFL and a four-stage reading pipeline whose tick-and-pointer segmentation component is trained federatively with equal total aggregation weight per instrument type.

    Source: §1 · p. 1, §3.1 · p. 2, §3.2 · p. 3
  • Results

    Type balancing reaches average pointer IoU 0.576 and client STD 0.153, while reading accuracy is 87.2% versus centralized training's 87.9%, a difference that is not statistically significant.

    Source: §4.3 · p. 4
  • Takeaways & Limitations

    The results support type-balanced aggregation as a potential way to scale federated meter reading across distributed deployments without sharing client images.

    Source: §5 · p. 4

Abstract

from arXiv · show

Analog dial meters are widely deployed in industrial applications and utility sites, where environments and meter types vary and inspection data may be sensitive. Currently, automatic meter readers must be individually developed and deployed for each environment and meter type in practice. Deep learning could handle this variability but requires diverse labeled data that are costly to collect and update. In practice, meter images are distributed across independent sites, each with limited labels, while raw images often cannot be pooled because of ownership, governance, or privacy constraints. To address these challenges, we present a federated framework for visual analog meter reading that enables multiple sites to collaboratively train a reading model without sharing their raw images. Our framework consists of a four-stage pipeline: (1) dial localization, (2) thin-structure segmentation trained federatively across clients, (3) polar unwrapping, and (4) tick-counting decoding for final reading. To enable systematic evaluation of this setting, we release MeterFL, a 1,382-image mask-annotated dataset organized into deployment-motivated pseudo-clients derived from visual attributes via deterministic rules, with dHash near-duplicate control between the segmentation train and test splits. We evaluate both segmentation quality and end-to-end reading accuracy. MeterFL is publicly available at https://github.com/weidazhaoooo/Meter-FL.

1. INTRODUCTION

Sites may have few labeled meter images and cannot always share them, while standard federated aggregation can still favor common instrument types. The paper introduces MeterFL and type-balanced aggregation, reporting improved pointer segmentation and reduced cross-client variation.

  • Sites may have limited labeled data and visual diversity, while ownership or privacy requirements can prevent pooling raw inspection images.The passages note that sites may contribute complementary meter types and imaging conditions.Source: §1 · p. 1
  • FedAvg can give data-rich instrument types most of the weight, while uniform client weights do not necessarily balance types; a common federated benchmark is also lacking.The paper calls for reproducible client partitions and evaluation of both segmentation and downstream readings.Source: §1 · p. 1
  • Type-balanced aggregation improves average pointer IoU over FedAvg and local training across three initializations, and reduces cross-client IoU variation relative to FedAvg.With synthetic initialization, it achieves the highest average pointer IoU (0.576) and lowest client STD (0.153) among the compared federated methods.Source: §1 · p. 1

2. RELATED WORK

Prior meter readers use handcrafted geometry or learning-based visual models, while federated visual learning has been studied in other domains and for digital registers. This paper distinguishes its analog task by combining dense tick and pointer segmentation with geometric decoding across heterogeneous instrument types.

  • Conventional meter readers combine localization, pointer detection, scale extraction, and geometric interpolation, while learning-based readers use detection, segmentation, or keypoint networks.Synthetic-data training and VLM-based reading are discussed as related approaches; the paper retains explicit tick and pointer geometry for comparison with VLM readers.Source: §2 · p. 1
  • Prior federated visual learning includes medical imaging and digital-register recognition, whereas this task requires dense tick/pointer segmentation and geometric decoding of continuous analog readings.The analog-meter setting also involves heterogeneous instrument types across clients.Source: §2 · p. 1
  • FedAvg uses sample-size weights, FedProx constrains local updates, FedBN retains client-specific normalization, FedSAM uses sharpness-aware optimization, and q-FFL emphasizes high-loss clients.The paper's rule instead assigns each declared instrument type a fixed aggregate share, independent of its data volume or number of clients.Source: §2 · p. 2

3. METHODOLOGY

The method localizes a dial, segments its ticks and pointer, unwraps the circular scale, and decodes a reading through tick counting and interpolation. Federated training updates only the segmentation component, with aggregation that gives each instrument type an equal total share.

3.1. Meter-Reading Pipeline

  • A four-stage pipeline localizes the dial, segments ticks and pointer, unwraps the mask into a polar strip, and decodes the reading by tick counting and interpolation.The detector is trained separately and fixed; polar unwrapping and decoding have no trainable parameters.Source: §3.1 · p. 2
  • Polar unwrapping uses the tick-pixel centroid as dial center and transforms the predicted mask into a linear strip, starting at the largest gap between neighboring ticks.For decoding, tick and pointer pixel counts form angular signals; grouped above-threshold columns provide their positions for interpolation.Source: §3.1 · p. 2

3.2. Type-Balanced Federated Aggregation

  • Clients train the segmentation model locally and share model parameters; images and annotations remain local.Local training uses class-weighted cross-entropy, photometric augmentation, and light Gaussian input noise.Source: §3.2 · p. 2
  • The server gives each instrument type an equal total aggregation weight and weights clients within a type by training-set size.Each type therefore contributes 1/|T| of the aggregate, regardless of its number of clients or images; the section's figure describes metadata-driven pseudo-client construction.Source: §3.2 · p. 3, Figure 2 · p. 3

4. EXPERIMENTS

Experiments evaluate MeterFL across federated and centralized training, with segmentation and complete-pipeline reading metrics. Type-balanced aggregation leads on pointer IoU and cross-client balance, while reading accuracy is closer to centralized training.

4.1. The MeterFL Benchmark

  • MeterFL contains 1,382 mask-annotated images organized into pseudo-clients formed from instrument-by-domain cells, with near-duplicate groups kept within one split.The benchmark’s pseudo-clients are derived from visible attributes and deterministic rules; dHash controls train/test near-duplicate leakage.Source: §4.1 · p. 3

4.2. Experimental Setup

  • Evaluation uses eight clients, 1,102 training images, and 272 test images for segmentation, plus 269 GT-decodable images for complete-pipeline reading.Models train for 60 rounds of five local epochs over three seeds; the setup reports average pointer IoU, client IoU STD, median %FS, within-5%FS share, and Acc.Source: §4.2 · p. 3

4.3. Main Results: Centralized versus Federated Training

  • 1.4%FS median and 87.2% Acc are achieved by the federated framework, compared with 2.1%FS for pooled LoRA-SFT and 2.4%FS and 77.0% Acc for the PRI-style variant.The framework’s only learned component is a 30.6M-parameter U-Net, trained without pooling images.Source: §4.3 · p. 4, Table 1 · p. 4
  • 0.576 IoU and 0.153 STD are the best federated results in both columns for type balancing, which reduces the four pressure-gauge clients’ aggregate share from 96% to 25%.The comparison covers eight clients and 272 test images; type balancing adds no communication.Source: §4.3 · p. 4, Table 1 · p. 4
  • 87.2% TB Acc is not significantly different from centralized training’s 87.9%, while the share within 5%FS is significantly higher for TB than FedAvg, 84.1% versus 80.4%.The paired 95% confidence interval for Acc includes zero; for the within-5%FS difference it is [+0.3, +7.3].Source: §4.3 · p. 4, Table 1 · p. 4

4.4. Ablations and Sensitivity

  • Across three initializations, TB has the highest pointer IoU, 0.029–0.103 above the next method; end-to-end Acc varies less, from 83.6–87.2% across methods and initializations.Controls also report that type-balanced sampling improves pooled training, TB reaches similar average IoU without pooling, and retaining the dial crop and using U-Net improve K=20 pointer IoU over their alternatives.Source: §4.4 · p. 4, Figure 4 · p. 4, Figure 5 · p. 4

5. CONCLUSION

The paper presents a type-balanced federated framework for visual analog meter reading. It reports improved pointer segmentation, reduced cross-client performance disparity, and reading performance close to centralized training without sharing client images.

  • Type-balanced federated learning improves pointer segmentation over FedAvg and local training while reducing cross-client performance disparity.Source: §5 · p. 4
  • The framework achieves performance close to centralized training without sharing client images.Source: §5 · p. 4
  • The work presents a federated framework for visual analog meter reading.Source: §5 · p. 4
Loading 2609.31998v1…