Keypoint Annotation for Electrocommunication Source Separation with PIKAChU and RAIChU

Kaden Zheng, Sonja Johnson-Yu, Satpreet Harcharan Singh, Denis Turcu, Federico Pedraja, Pratyusha Sharma, Naomi Saphra, Nathaniel Sawtell, Kanaka RajanAiForAnimalComms @ NeurIPS 2025

TL;DR

This paper introduces PIKACHU and RAIChU, novel methods for automatically annotating keypoints of weakly electric fish from their electrical signals. By inverting a physics-based model and incorporating geometric priors, these methods significantly improve the accuracy of source separation in animal communication studies, reducing the need for laborious manual labeling.

What Problem Does This Paper Address?

Understanding animal communication often hinges on identifying which individual produced a specific signal. In modalities like acoustic or electric communication, this "source separation" is crucial. While automatic keypoint tracking algorithms can help by identifying animal positions, they typically require a large number of hand-labeled examples to train effectively. This manual annotation is time-consuming and labor-intensive, creating a bottleneck for research, especially in complex social behaviors like schooling. This paper tackles this challenge by developing an automated method to generate these keypoint labels, specifically for weakly electric fish that communicate via electric pulses.

Methods

The core of the proposed solution lies in two main algorithms: PIKACHU and RAIChU.

  • PIKACHU (Physics-Informed Keypoint Annotator for Channel Unmixing): This method leverages a physics-based forward model that predicts the electric field generated by a fish at a given position. By inverting this model, PIKACHU estimates the fish's pose (position and keypoints) by finding the pose that best matches the recorded electric field. This is achieved through an optimization process that minimizes the difference between the predicted and observed electric signals.
  • RAIChU (Regularizer-Augmented Inverter for Channel Unmixing): Recognizing that real-world measurements can deviate from idealized physics models, RAIChU builds upon PIKACHU by incorporating additional components. It includes a "residual normalizer" to account for systematic mismatches and, crucially, "geometric priors." These priors are weak constraints based on the expected anatomy of the fish (head, middle, tail) and their typical arrangement, helping to resolve ambiguities in pose estimation (e.g., head-tail flips) and improve accuracy, especially near boundaries. RAIChU uses a two-stage optimization: a global search (Differential Evolution) to find a good basin of attraction, followed by a local refinement (L-BFGS-B) for speed.

Datasets

The paper utilizes a "2-fish-1-silent" dataset for evaluation. This dataset consists of recordings from two fish, where only one fish is capable of emitting electric discharges, ensuring a ground truth for EOD attribution. Synchronized video recordings were used to obtain ground truth 2D keypoint tracking (head, middle, tail) via the SLEAP tool. The evaluation dataset comprises 500 emitting-fish frames. The authors also mention using a synthetic 12x12 position grid for testing.

Key Insights and Ideas

  • Physics-informed inversion as a powerful tool: The paper demonstrates that by understanding the underlying physics of electric field generation, one can effectively invert recorded signals to infer animal pose, bypassing the need for extensive manual labeling.
  • Geometric priors are crucial for disambiguation: Real-world data is noisy and imperfect. Incorporating anatomical and spatial priors (like the relative positions of head, middle, and tail) significantly improves the robustness and accuracy of pose estimation, especially in challenging scenarios like near tank boundaries.
  • Automated annotation as a pathway to scalable research: By automating keypoint annotation, this work opens doors for studying animal communication in larger groups and for longer durations, which was previously limited by the manual effort required for data labeling.
  • Generalizable framework: The core idea of using physics-based models and geometric priors to augment training data for pose estimation has potential applications beyond electrocommunication, extending to other modalities like acoustics.

Key Results

RAIChU significantly outperforms PIKACHU and other baselines:

  • Position Error: RAIChU achieves a mean position error of 2.66 cm, compared to PIKACHU's 4.43 cm.
  • Angle Error: RAIChU achieves a mean angle error of 2.13°, significantly better than PIKACHU's 30.49°.
  • Success Rate: For a <1 cm position error threshold, RAIChU achieves a 50.00% success rate, while PIKACHU achieves only 21.25%. This improvement is even more pronounced near tank boundaries, as shown in synthetic tests.
  • The "Normalizer+Inv" variant (which only uses learned calibration corrections) shows smaller gains than RAIChU, highlighting the importance of geometric priors.
  • A direct neural network baseline significantly underperforms all physics-based methods.

Limitations and Future Work

  • Tank Geometry and Electrode Configuration: The current approach relies on a known tank geometry and fixed electrode array. Future work aims to extend this to naturalistic environments by simultaneously estimating environmental geometry and handling dynamic obstacles.
  • Adaptive Calibration: The system would benefit from adaptive electrode calibration.
  • Three-Dimensional Corrections: The forward model will be refined with better three-dimensional corrections.
  • Multi-Fish Inference: A key future direction is extending the system from single-emitter inference to joint multi-fish inference.
  • Uncertainty Estimates: Incorporating uncertainty estimates will allow the system to accept only high-confidence labels from other tools like SLEAP.
  • Broader Applications: The authors expect this pipeline to transfer to other bioacoustic/electric source-separation problems.

Summary updated

BibTeX
@inproceedings{zheng2025keypoint,
  author = {Kaden Zheng and Sonja Johnson-Yu and Satpreet Harcharan Singh and Denis Turcu and Federico Pedraja and Pratyusha Sharma and Naomi Saphra and Nathaniel Sawtell and Kanaka Rajan},
  title = {{Keypoint Annotation for Electrocommunication Source Separation with PIKAChU and RAIChU}},
  booktitle = {AiForAnimalComms @ NeurIPS},
  year = {2025},
  url = {https://openreview.net/forum?id=RelIvm178s},
}

Loading related content...

Figure