FLEX-LBP: Learning Local Binary Patterns with Exact Binary Inference for Texture Classification
Not on the map. Why?
Abstract (arXiv)
Local Binary Patterns (LBP) remain among the most widely used texture descriptors, from industrial inspection to medical imaging. Yet their radius, sampling angles, color transform and thresholds are fixed by hand for each dataset. We present FLEX-LBP, which learns these parameters by backpropagation while every forward pass computes exact binary codes and hard histogram counts. A straight-through estimator acts only in the backward pass, so the deployed descriptor is an interpretable hard-binary LBP with 90 learnable parameters and unchanged inference cost. In a controlled ablation on six color texture benchmarks, the component worth learning is dataset-dependent. One configuration, applied unchanged everywhere, learns the geometry and thresholds with the color transform frozen. It improves the nearest-neighbor accuracy of the identical fixed descriptor by 3.55 points on average over five seeds, significantly on five of six benchmarks and never significantly worse. With a linear discriminant readout, it gains 0.9 points; the fully learned descriptor gains 2.7 and has the highest mean. FLEX-LBP is more accurate than five classical LBP-family descriptors, PCANet and a neural LBP on five of six benchmarks. Its mean nearest-neighbor accuracy exceeds that of frozen ImageNet ResNet-50 features (23.5 million parameters). On the Kather colorectal cancer histology benchmark, the fully learned descriptor reaches 93.8%, significantly above the best classical descriptor (Completed LBP, 92.8%). The learned radii adapt in directions that recur across seeds. Noise drowns single-pixel comparisons and illuminant change flips inter-channel ones; median sampling or gray-world normalization restores 96-97%. The code is available as a drop-in PyTorch layer at https://github.com/medalimoussa/FLEX-LBP.
Key facts. No citing papers in the map yet (data through 24 Nov 2026). Builds on 15 of its 59 references that are in the map. Submitted 12 Nov 2026.
Builds on
15 of 59 references.
References · 15
- 2015Deep Residual Learning for Image Recognitioncited by 53,116
- 2014ImageNet Large Scale Visual Recognition Challengecited by 8,619
- 2013Estimating or Propagating Gradients Through Stochastic Neurons for Conditional Computationcited by 2,231
- 2018CosFace: Large Margin Cosine Loss for Deep Face Recognitioncited by 1,013
- 2015Bilinear CNNs for Fine-grained Visual Recognitioncited by 234
- 2017No Fuss Distance Metric Learning using Proxiescited by 228
- 2019Quantifying the effects of data augmentation and stain color normalization in convolutional neural networks for computational pathologycited by 190
- 2014PCANet: A Simple Deep Learning Baseline for Image Classification?cited by 71
- 2016Deep TEN: Texture Encoding Networkcited by 45
- 2018From BoW to CNN: Two Decades of Texture Representation for Texture Classificationcited by 41
- 2016Local Binary Convolutional Neural Networkscited by 39
- 2015Deep filter banks for texture recognition, description, and segmentationcited by 20
3 more
- 2016Using Filter Banks in Convolutional Neural Networks for Texture Classificationcited by 16
- 2024Histogram Layers for Neural Engineered Featurescited by 5
- 2018Local Binary Pattern Networkscited by 3
Built on by
Not cited yet.