Writer Independent Offline Signature Verification in Banks using Few Shot Learning

Tuhin Sharma (~tuhin29)



Offline signature verification is one of the most critical tasks in traditional banking and financial industries. The unique challenge is to detect subtle but crucial differences between genuine and forged signatures. This verification task is even more challenging in writer independent scenarios, which is undeniably fiscal to most of the use cases.


Signature is arguably the most popular and widely accepted biometric hallmarks used in the Banking sector for verifying documents, bank checks, forms etc. That is why signature verification is such a critical task and a simple bug in the system can cause severe repercussions. There are two popular ways to do it – Online and Offline. In online process, signature needs to be captured on electronic writing pad and several other types of information like writing speed, pressure etc. are captured. In offline process signature is captured by scanner. While online process performs better than offline process, it comes with a cost due to special hardware requirements. Additionally there are many cases where offline process is the only option such as check transaction and document verification. Offline signature verification can be of two types - writer dependent and writer independent. a writer dependent system needs to be updated with every new signer and for a bank, where every day new consumers can open their account this incurs huge cost. That is why the writer independent scenario is preferable over writer dependent approaches where a generic model is built to classify the signatures as genuine or forged based on the learnt discrepancies between a genuine and a forged signature. In case of standard image classification task, the input image is fed into a series of layers, and finally at the output we generate a probability distribution over all the classes. But it requires a large number of images. In offline signature verification scenario, we neither have enough signature for each signer and the total number signers is huge as well as dynamically changing. Thus, the cost of data collection and periodical retraining is too high. On the other hand, in a few shot image classification, we require only a few signatures for each signer, hence the name Few Shot.

The speaker will discuss the following:

  • Why Signature Verification is Important.
  • Types of Signature Verification
  • Signature Verification using CNN
  • Drawbacks of CNN Classification
  • What is Siamese Network
  • Siamese Architecture
  • Tools to Build and Deploy
  • Demo
  • Pros and Cons of Siamese Network

Learn what few shot learning is and how to build and deploy such models on the cloud to solve various classification tasks on image data with very limited amount of data.


Basic Understanding about Machine Learning and Deep learning especially CNNs.

Video URL:


Content URLs:

codebase - https://github.com/tuhinsharma121/siamese-network-signature
slides - https://github.com/tuhinsharma121/siamese-network-signature/blob/master/offline-signature-verification-using-siamese.pdf

Speaker Info:

Tuhin Sharma is Lead AI Architect at Hypersonix, an Intelligence product for Enterprises with AI-driven Augmented Analytics. Prior that, he founded Binaize, an AI based website conversion product for E-Commerce SMBs. He worked in IBM Watson and RedHat as Data Scientist. He helped multiple startups build personalized recommendation systems to maximize customer engagement using AI across multiple domains like EdTech, Media, E-comm etc. He has filed 5 US patents and published 4 research papers in the field of Machine Learning and Natural Language Processing. He writes Deep Learning articles for O’Reilly. Apart from this, He loves to play table tennis and guitar in his leisure time. His favourite quote is “Life is Beautiful."

Speaker Links:

Past Talks:-

  1. Presented talk at "GIDS 2020" on "Federated Learning for Anomaly Detection" - https://wurreka.com/watch/anomaly-detection-in-smart-buildings-using-federated-learning
  2. Presented talk at "O’reilly AI Conference London 2019" on "Anomaly Detection in Smart Buildings using Federated Learning" - https://www.youtube.com/watch?v=6S3R2pOyyxo
  3. Presented talk at "Datahack Summit 2019" on "Federated Learning using Deep Learning" - https://www.analyticsvidhya.com/datahack-summit-2019/schedule/hack-session-secure-and-privacy-preserving-deep-learning-using-federated-learning/
  4. Presented talk at "ODSC India 2018" on "Hybrid Recommendation Systems in News Media using Probabilistic Graphical Models" - https://confengine.com/odsc-india-2018/proposal/7098/hybrid-recommendation-systems-in-news-media-using-probabilistic-graphical-models


  1. Uncovering hidden patterns through machine learning - https://www.oreilly.com/content/logo-detection-using-apache-mxnet/
  2. Solving Fizzbuzz problem using Apache MxNet - https://www.oreilly.com/radar/uncovering-hidden-patterns-through-machine-learning/

Section: Data Science, Machine Learning and AI
Type: Talks
Target Audience: Beginner
Last Updated: