Litcius/Paper detail

Fast Linear Interpolation

Nathan Zhang, Kevin Robert Canini, Sean Silva, Maya R. Gupta

2021ACM Journal on Emerging Technologies in Computing Systems27 citationsDOIOpen Access PDF

Abstract

We present fast implementations of linear interpolation operators for piecewise linear functions and multi-dimensional look-up tables. These operators are common for efficient transformations in image processing and are the core operations needed for lattice models like deep lattice networks, a popular machine learning function class for interpretable, shape-constrained machine learning. We present new strategies for an efficient compiler-based solution using MLIR to accelerate linear interpolation. For real-world machine-learned multi-layer lattice models that use multidimensional linear interpolation, we show these strategies run 5-10× faster on a standard CPU compared to an optimized C++ interpreter implementation.

Topics & Concepts

Computer scienceLinear interpolationInterpolation (computer graphics)Piecewise linear functionCompilerLattice (music)AlgorithmImplementationDeep learningTheoretical computer scienceMathematical optimizationArtificial intelligenceComputational scienceParallel computingComputer engineeringMathematicsProgramming languageImage (mathematics)Pattern recognition (psychology)GeometryPhysicsAcousticsMachine Learning in Materials ScienceMedical Imaging Techniques and ApplicationsAdvanced Neural Network Applications