Pavan Krovvidi FingerWave Neural Network
"Every life has a unique print. So does every prediction."
A biologically inspired, boundary-seeded neural PDE, conceived and created by Pavan Kumar Krovvidi.
Your fingerprints were drawn in the womb by waves. Ridges begin at a few reliable initiation sites on the fingertip and travel inward. Where the waves meet, they form the cores and deltas that make every print unique. The FingerWave Neural Network brings that process into AI. It starts from what it can trust, propagates information along the structure, and conserves topology.
pip install pavan-krovvidi-fingerwave
from pavan_krovvidi_fingerwave import PavanKrovvidiFingerWaveNetwork
model = PavanKrovvidiFingerWaveNetwork.from_pretrained()
clean_field = model(x) # x: (B, 4, H, W) -> (B, 2, H, W) orientation field
How it works
| Biology (fingerprint development) | FingerWave component |
|---|---|
| Ridges start at reliable initiation sites | Boundary seeding: a learned confidence map pulls trusted pixels toward an encoder seed |
| Ridges travel across the pad as waves | Wavefront PDE layer: stable reaction–diffusion, `∂Ψ/∂t = ∇·(D∇Ψ) + (α+iβ)Ψ − (1+iγ) |
| Pad geometry steers the waves | Anisotropic diffusion tensor D (faster along ridges than across them) |
| Cores and deltas are conserved | Differentiable topological loss: Ginzburg–Landau energy + soft topological charge |
Orientation is stored as a doubled-angle field Ψ = A·e^{i2θ}, so fingerprint cores (+½) and deltas (−½) become ordinary vortices.
Results (pilot benchmark)
500 synthetic, degraded fingerprints with exact ground truth (≈15% of each image occluded), 3 random seeds, models of equal size (~118k parameters):
| Method | Angle error | Occluded regions | Topological Error Rate ↓ | Class accuracy ↑ |
|---|---|---|---|---|
| Classic smoothing | 8.32° | 16.98° | 44.4% | 55.6% |
| U-Net | 4.79° | 7.66° | 5.8 ± 1.1% | 94.2% |
| U-Net + topological loss | 4.75° | 7.62° | 5.3 ± 0.5% | 94.7% |
| FingerWave | 4.69° | 7.36° | 4.0 ± 0.2% | 96.0% |
| FingerWave without seeding | 10.07° | 12.58° | 37.7 ± 39% | 62.3% |
| FingerWave without anisotropy | 4.70° | 7.32° | 3.9 ± 0.5% | 96.1% |
Key findings
- About 31% fewer topological errors than a same-size U-Net. Every FingerWave run beat every U-Net run.
- Boundary seeding is the essential ingredient. Without it, training became unstable.
- Learned anisotropy gave no extra benefit on this benchmark. This is reported honestly.
Next steps: validation on real fingerprint databases (FVC, NIST), GPU-scale training, and a faster PDE (training is currently about 3.6× slower than the U-Net). See the full research report.
Package contents
| Module | What it provides |
|---|---|
pavan_krovvidi_fingerwave.network |
PavanKrovvidiFingerWaveNetwork, UNet |
pavan_krovvidi_fingerwave.pde |
WavefrontPDELayer (anisotropic, stable, mass-conserving) |
pavan_krovvidi_fingerwave.topo_loss |
topological_loss, count_defects |
pavan_krovvidi_fingerwave.data |
SFinGe-style fingerprint benchmark generator with exact ground truth |
pavan_krovvidi_fingerwave.metrics |
Angle error, core/delta precision and recall, TER, class accuracy |
pavan_krovvidi_fingerwave.viz |
Orientation-field plots (pip install "pavan-krovvidi-fingerwave[viz]") |
import pavan_krovvidi_fingerwave as pk
pk.about() # algorithm, author, components
pk.cite() # citation
Reproduce
pip install -e ".[dev]"
pytest # physics, topology and network tests
python examples/quickstart.py # pretrained demo -> quickstart.png
python benchmarks/run_benchmark.py # full benchmark (~1.5 h on a 2-core CPU)
Possible applications
The method suits data that form a spatial field, carry direction, and are partly missing. Examples include latent fingerprints, diffusion MRI fibre orientation, cryo-EM map completion, and fast surrogates for electrostatics (Poisson–Boltzmann) in drug discovery. These applications are not yet tested.
Citation
If you use this work, please cite it. GitHub's "Cite this repository" button uses CITATION.cff.
@software{krovvidi2026fingerwave,
author = {Krovvidi, Pavan Kumar},
orcid = {0009-0001-3286-7173},
title = {Pavan Krovvidi FingerWave Neural Network: A Biologically Inspired,
Boundary-Seeded Neural PDE},
year = {2026},
doi = {10.5281/zenodo.23766123},
url = {https://github.com/Pavankrovvidi/pavan-krovvidi-fingerwave}
}
License and attribution
Copyright 2026 Pavan Kumar Krovvidi. Licensed under the Apache License 2.0. You may use, modify and distribute this work, including commercially. You must keep the copyright notices and include the NOTICE file that credits the author.
Author
Pavan Kumar Krovvidi: AI Engineer and Independent Researcher, Vizianagaram / Hyderabad, India. M.Sc. Microbiology · healthcare AI · founder of Pure Vibe Coding. LinkedIn · GitHub · ORCID 0009-0001-3286-7173 · pavank9848@gmail.com
Development of this project used AI assistance (Claude, Anthropic). The ideas, decisions and research direction are the author's own.
Metadata
Release files for pavan-krovvidi-fingerwave 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pavan_krovvidi_fingerwave-1.0.1.tar.gz | 469.1 kB | Without provenance | Details for pavan_krovvidi_fingerwave-1.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pavan_krovvidi_fingerwave-1.0.1-py3-none-any.whl | Python 3 | none | any | Details for pavan_krovvidi_fingerwave-1.0.1-py3-none-any.whl |
Total release size: 935.8 kB
Release files / pavan_krovvidi_fingerwave-1.0.1.tar.gz
| Download URL | pavan_krovvidi_fingerwave-1.0.1.tar.gz |
|---|---|
| Size | 469.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5e8adc220882306a4e8e8d0917ffdf96e03300f5d4ea915d48a7353391be1a52
|
|
BLAKE2b-256 checksum How to use checksums |
461158d51620a0c40aca2c6d5873c37b25b2ea4278e5a3dc158b8b544cd93eaf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|
Release files / pavan_krovvidi_fingerwave-1.0.1-py3-none-any.whl
| Download URL | pavan_krovvidi_fingerwave-1.0.1-py3-none-any.whl |
|---|---|
| Size | 466.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
303aa594f72808bf5b1974da307dba5c6adfe467daf8f8cf520b7f32bc6fc003
|
|
BLAKE2b-256 checksum How to use checksums |
be370a53456be6827a87c94045214a597620ecbc0eaa84f7612d4df832d73794
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|
Security for pavan-krovvidi-fingerwave 1.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.