Seminar Upcoming

The Technion Theory Lunch is a seminar run by the theory group at the Department of Computer Science, Technion. The seminar holds weekly meetings in which graduate students and faculty from the Technion and other universities in Israel and abroad present recent results or other interesting topics in theoretical computer science. The seminar is open to faculty, graduate and undergraduate students interested in theory of computing.

Icon of seminar time  Wednesdays, 13:00-14:00 (food starts at 12:45)
Icon of seminar place  Room 201, Taub Building

If you are interested in giving a talk at the seminar, contact Omri Ben-Eliezer and/or David Wajc.

The seminar’s mailing list is used to announce our weekly meetings, and also to publicize CS theory related events, such as workshops and seminars, in Israel and abroad.

To join or leave our mailing list.

Depth, Width and Tokens: How Transformers Solve Graph Tasks
Show and Hide Ext. Content for Depth, Width and Tokens: How Transformers Solve Graph Tasks
Wed, November 11
Gilad Yehudai (Technion)

Transformers, the architecture behind today’s large language models, can be viewed as a model of parallel computation. The input is a sequence of tokens, each represented by a vector. In every layer, each token gathers information from all other tokens and then updates its own vector. Two parameters determine the size of the model: the depth, which is the number of layers, and the width, which is the dimension of the vectors and so the amount of information each token can hold. A natural question is how large these parameters must be for a transformer to solve a given algorithmic problem. Graph problems such as connectivity, cycle detection and subgraph counting are a good test case. They have clean answers and span a wide range of difficulty, and lower bound techniques from distributed computing and complexity theory can be applied to them. Earlier work showed a close connection between transformers and the Massively Parallel Computation (MPC) model. As a result, many graph problems can be solved with logarithmic depth when the width is sublinear in the number of nodes.

In the first part of the talk, I will show what changes when the width is allowed to grow linearly in the number of nodes. In this regime, a constant number of layers suffices for many problems, including connectivity and cycle detection. Other problems provably require more, from superlinear to nearly quadratic width. The lower bounds come from communication complexity and from conjectured hardness in MPC. Experiments show that wide and shallow models match the accuracy of deep ones and run considerably faster.

In the second part, I will turn to a question that does not arise for text: how a graph should be encoded as a sequence of tokens. We study three natural encodings, based on adjacency rows, the eigenvectors of the Laplacian, and random walk statistics. We show that the same problem can be easy under one encoding and hard, or even impossible, under another. Moreover, a transformer of bounded depth cannot in general convert one encoding into another. The proofs use tools from circuit complexity, communication complexity and spectral graph theory.

Short bio: Gilad Yehudai is a faculty member at the Technion, with a joint appointment in Computer Science and Electrical Engineering. Previously, he was a postdoc at NYU working with Joan Bruna and did his PhD at the Weizmann Institute with Ohad Shamir. His research is in the theory of machine learning, in particular the expressive power of transformers, its connections to computational complexity, and learning theory.

Tomer Ezra (Tel Aviv University)
Show and Hide Ext. Content for Tomer Ezra (Tel Aviv University)
Wed, November 18
Tomer Ezra (Tel Aviv University)
David Wajc (Technion)
Show and Hide Ext. Content for David Wajc (Technion)
Wed, November 25
David Wajc (Technion)
Amir Abboud (Weizmann)
Show and Hide Ext. Content for Amir Abboud (Weizmann)
Wed, December 2
Amir Abboud