Research Articles
Token Budgeting in Attention Models: Bursty Inputs
Amina Fallowby (Machine Learning Laboratory, Kestrelby Institute of Technology), Priya Wrenford (Machine Learning Laboratory, Cairnwell Research Institute)
Vol. 1 No. 1 (2017) · pp. 17–30 · Published 17 April 2017
Abstract
The comparison uses an input stream alternating between quiet periods and peaks to evaluate two choices: reserving input capacity for low-frequency but relevant evidence and truncating from the end of every input. All outcomes are synthetic. Each configuration is evaluated on the same 180 cases. In the 45 stress cases, relevant clues must appear outside the first input segment; peak and quiet intervals are retained at their original lengths rather than being normalized to the same arrival rate. A case counts as a pass only if it meets this criterion: the held-out prediction must meet its accuracy criterion under the token limit. The comparison holds the training and selection splits fixed across alternatives; evaluation cases are not reused for tuning. Compute or memory assigned to an alternative counts toward its budget even if training does not finish. Across the full set, 138 cases meet the criterion with the first configuration and 134 with the second. The stress cases account for 32 and 29 passes, respectively. The stress results should be read alongside the full-set results rather than treated as a general performance guarantee. The practical trade-off is that retaining low-frequency content can reduce space for local context. The paired design makes the comparison interpretable within the fixture. It does not establish the size of the effect in an independent deployment.
Keywords: attention, long inputs, language models, bursty inputs, synthetic evaluation
References
- Chelba, C., et al. (2013). One billion word benchmark for measuring progress in statistical language modeling. arXiv:1312.3005.
- Donahue, J., Hendricks, L. A., Guadarrama, S., Rohrbach, M., Venugopalan, S., Saenko, K., & Darrell, T. (2015). Long-term recurrent convolutional networks for visual recognition and description. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 2625–2634. Source
- Foster, N., et al. (2011). Frenetic: A network programming language. Proceedings of the 16th ACM SIGPLAN International Conference on Functional Programming, 279–291.
- Jaderberg, M., Vedaldi, A., & Zisserman, A. (2014). Speeding up convolutional neural networks with low rank expansions. arXiv:1405.3866.
- Kadlec, R., Schmid, M., Bajgar, O., & Kleindienst, J. (2016). Text understanding with the attention sum reader network. Proceedings of the 54th Annual Meeting of the Association for Computational Linguistics, 908–918.
- Kim, Y., Jernite, Y., Sontag, D., & Rush, A. M. (2016). Character-aware neural language models. Proceedings of the 30th AAAI Conference on Artificial Intelligence, 2741–2749.
- Kim, Y.-D., Park, E., Yoo, S., Choi, T., Yang, L., & Shin, D. (2015). Compression of deep convolutional neural networks for fast and low power mobile applications. arXiv:1511.06530.
- Kumar, A., et al. (2015). Ask me anything: Dynamic memory networks for natural language processing. arXiv:1506.07285.
- Raychev, V., Vechev, M., & Yahav, E. (2014). Code completion with statistical language models. Proceedings of the 35th ACM SIGPLAN Conference on Programming Language Design and Implementation, 419–428.
- Schwenk, H. (2007). Continuous space language models. Computer Speech & Language, 21(3), 492–518.
- Sennrich, R., Haddow, B., & Birch, A. (2016). Improving neural machine translation models with monolingual data. Proceedings of the 54th Annual Meeting of the Association for Computational Linguistics, 86–96.
- Simonyan, K., Vedaldi, A., & Zisserman, A. (2013). Deep inside convolutional networks: Visualising image classification models and saliency maps. arXiv:1312.6034.
- Stadie, B. C., Levine, S., & Abbeel, P. (2015). Incentivizing exploration in reinforcement learning with deep predictive models. arXiv:1507.00814.
- Tai, K. S., Socher, R., & Manning, C. D. (2015). Improved semantic representations from tree-structured long short-term memory networks. Proceedings of the 53rd Annual Meeting of the Association for Computational Linguistics, 1556–1566.
- Vaswani, A., Zhao, Y., Fossum, V., & Chiang, D. (2013). Decoding with large-scale neural language models improves translation. Proceedings of the 2013 Conference on Empirical Methods in Natural Language Processing, 1387–1392.
- Vijayakumar, A. K., et al. (2016). Diverse beam search: Decoding diverse solutions from neural sequence models. arXiv:1610.02424.
