中文
相关论文

相关论文: Two heads are better than two tapes

200 篇论文

Linear automata are automata with two reading heads starting from the two extremes of the input, are equivalent to 5' -> 3' Watson-Crick (WK) finite automata. The heads read the input in opposite directions and the computation finishes when…

形式语言与自动机理论 · 计算机科学 2025-07-22 Benedek Nagy

We show that alternating Turing machines, with a novel and natural definition of acceptance, accept precisely the inductive (Pi-1-1) languages. Total alternating machines, that either accept or reject each input, accept precisely the…

计算机科学中的逻辑 · 计算机科学 2015-07-01 Daniel M Leivant

The P versus NP problem is studied under the relational model of E. F. Codd. I found that the term "complete configuration" is unnecessary and harmful in computational complexity theory because of excessive symbol redundancy. For an input,…

计算复杂性 · 计算机科学 2018-10-23 Aizhong Li

We introduce a new type of generalized Turing machines (GTMs), which are intended as a tool for the mathematician who studies computability in Analysis. In a single tape cell a GTM can store a symbol, a real number, a continuous real…

逻辑 · 数学 2015-07-01 Nazanin Tavana , Klaus Weihrauch

The deterministic membership problem for timed automata asks whether the timed language recognised by a nondeterministic timed automaton can be recognised by a deterministic timed automaton. We show that the problem is decidable when the…

形式语言与自动机理论 · 计算机科学 2020-07-21 Lorenzo Clemente , Sławomir Lasota , Radosław Piórkowski

We introduce and study input-driven deterministic and nondeterministic double-head pushdown automata. A double-head pushdown automaton is a slight generalization of an ordinary pushdown automaton working with two input heads that move in…

形式语言与自动机理论 · 计算机科学 2017-08-23 Markus Holzer , Martin Kutrib , Andreas Malcher , Matthias Wendlandt

Computations, where the number of results is much smaller than the input data and are produced through some sort of accumulation, are called Reductions. Reductions appear in many scientific applications. Usually, reductions admit an…

编程语言 · 计算机科学 2018-01-19 Nirmal Prajapati

A simple communication complexity argument proves that no one-layer transformer can solve the induction heads task unless its size is exponentially larger than the size sufficient for a two-layer transformer.

机器学习 · 计算机科学 2024-08-27 Clayton Sanford , Daniel Hsu , Matus Telgarsky

We assume that recommender systems are more successful, when they are based on a thorough understanding of how people process information. In the current paper we test this assumption in the context of social tagging systems. Cognitive…

信息检索 · 计算机科学 2014-05-09 Dominik Kowald , Paul Seitlinger , Christoph Trattner , Tobias Ley

Transformers have become the go-to architecture for language and vision tasks, yet their theoretical properties, especially memorization capacity, remain elusive. This paper investigates the memorization abilities of multi-head attention…

机器学习 · 计算机科学 2024-03-05 Sadegh Mahdavi , Renjie Liao , Christos Thrampoulidis

External tools help large language models succeed at tasks where they would otherwise typically fail. In existing frameworks, choosing tools at test time relies on naive greedy decoding, regardless of whether the model has been fine-tuned…

计算与语言 · 计算机科学 2025-09-23 Lisa Alazraki , Marek Rei

We introduce 2-way finite automata with quantum and classical states (2qcfa's). This is a variant on the 2-way quantum finite automata (2qfa) model which may be simpler to implement than unrestricted 2qfa's; the internal state of a 2qcfa…

计算复杂性 · 计算机科学 2007-05-23 Andris Ambainis , John Watrous

Prior work on in-context copying has shown the existence of induction heads, which attend to and promote individual tokens during copying. In this work we discover a new type of induction head: concept-level induction heads, which copy…

计算与语言 · 计算机科学 2025-07-22 Sheridan Feucht , Eric Todd , Byron Wallace , David Bau

Tiling recognizable two-dimensional languages, also known as REC, generalize recognizable string languages to two dimensions and share with them several theoretical properties. Nevertheless REC is not closed under complementation and the…

元胞自动机与格子气 · 物理学 2010-12-06 Dora Giammarresi

The Transformer translation model is based on the multi-head attention mechanism, which can be parallelized easily. The multi-head attention network performs the scaled dot-product attention function in parallel, empowering the model by…

计算与语言 · 计算机科学 2021-09-13 Hongfei Xu , Qiuhui Liu , Josef van Genabith , Deyi Xiong

The input/output complexity, which is the complexity of data exchange between the main memory and the external memory, has been elaborately studied by a lot of former researchers. However, the existing works failed to consider the…

计算复杂性 · 计算机科学 2022-08-23 Hengzhao Ma , Jianzhong Li , Xiangyu Gao , Tianpeng Gao

Recent work has identified a subset of attention heads in Transformer as retrieval heads, which are responsible for retrieving information from the context. In this work, we first investigate retrieval heads in multilingual contexts. In…

计算与语言 · 计算机科学 2026-03-02 Shaswat Patel , Vishvesh Trivedi , Yue Han , Yihuai Hong , Eunsol Choi

We prove that triangulated IC-planar and NIC-planar graphs can be recognized in cubic time. A graph is 1-planar if it can be drawn in the plane with at most one crossing per edge. A drawing is IC-planar if, in addition, each vertex is…

离散数学 · 计算机科学 2016-10-28 Franz J. Brandenburg

Given two point sets S and T, in a many-to-many matching between S and T each point in S is assigned to one or more points in T and vice versa. A generalization of the many-to-many matching problem is the limited capacity many-to-many…

计算几何 · 计算机科学 2012-10-31 Fatemeh Rajabi-Alni , Alireza Bagheri

We provide two complexity measures that can be used to measure the running time of algorithms to compute multiplications of long integers. The random access machine with unit or logarithmic cost is not adequate for measuring the complexity…

计算复杂性 · 计算机科学 2014-02-11 Martin Fürer