pith. sign in

arxiv: 1903.07288 · v1 · pith:TZLJYAJVnew · submitted 2019-03-18 · 💻 cs.LG · cs.CL· cs.IR· stat.ML

Effects of padding on LSTMs and CNNs

classification 💻 cs.LG cs.CLcs.IRstat.ML
keywords networkspaddingwereanalysiscnnsdataeffectiveimages
0
0 comments X
read the original abstract

Long Short-Term Memory (LSTM) Networks and Convolutional Neural Networks (CNN) have become very common and are used in many fields as they were effective in solving many problems where the general neural networks were inefficient. They were applied to various problems mostly related to images and sequences. Since LSTMs and CNNs take inputs of the same length and dimension, input images and sequences are padded to maximum length while testing and training. This padding can affect the way the networks function and can make a great deal when it comes to performance and accuracies. This paper studies this and suggests the best way to pad an input sequence. This paper uses a simple sentiment analysis task for this purpose. We use the same dataset on both the networks with various padding to show the difference. This paper also discusses some preprocessing techniques done on the data to ensure effective analysis of the data.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.

Forward citations

Cited by 2 Pith papers

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score.

  1. Clustering in pure-attention hardmax transformers and its role in sentiment analysis

    cs.CL 2024-06 unverdicted novelty 7.0

    Hardmax transformers converge to leader-determined clusters, enabling an interpretable model for sentiment analysis.

  2. Linear Models, Variable Selection, Artificial Intelligence

    stat.ME 2026-04 unverdicted novelty 4.0

    An ANN trained on OLS estimates performs variable selection in linear models, with simulation studies showing accuracy across sample sizes and variances and competitive results versus Forward, Backward, AIC, BIC, and ...