Gonzalo Navarro is featured in People of the ACM
August, 2023.- Gonzalo Navarro, faculty member of the Departamento de Ciencias de la Computación de la Universidad de Chile and researcher at the Millennium Institute for Foundational Research on Data (IMFD), has been named today as “People of the ACM”, a distinction that highlights the unique scientific achievements and personal history of members of the Association for Computing Machinery (ACM) who are at the forefront and make a difference in advancing computing, both as a science and as a profession.

These bulletins present and highlight ACM members whose personal and professional stories are a source of inspiration for the computing community at large. Gonzalo Navarro is the third IMFD researcher to receive this recognition, which was given in May 2018 to Ricardo Baeza-Yates and in January 2021 to Marcelo Arenas.
ACM is the world’s largest educational and scientific computing society, offering resources that advance computing as both a science and a profession. ACM provides the leading digital library in the field of computing, and serves its members and the computing professions with cutting-edge publications, conferences, and professional resources.
In the interview, Gonzalo Navarro highlights the importance of teamwork in developing his various research projects, as well as the need to choose research problems wisely. Below is a translation of the original article in English.

People of the ACM
August 22, 2023
How did you first become interested in algorithms and data structures?
It has been a long journey! I am Argentine and started my undergraduate studies at Universidad Nacional de La Plata. That was in the 80s -Computer Science programs were just taking off in Latin America and university resources were limited (we had a handful of computers for hundreds of students). Still, the program was solid and well thought out, and I am grateful for what it gave me. However, as still happens in many places in Latin America, the curriculum in algorithms and data structures was very basic. After my third year I moved to ESLAI, a cutting-edge undergraduate Computer Science educational project in Argentina that selected a few dozen students per year and provided them with full support through scholarships, equipment, housing, and, most importantly, international professors. I had my first serious algorithms course with Giorgio Ausiello (still working today at Universidad de Roma La Sapienza), based on the book The Design and Analysis of Computer Algorithms by Aho, Hopcroft, and Ullman, and it was like first love: you never forget it. A second course was taught by Jorge Olivos, a brilliant professor from Universidad de Chile who was on sabbatical in Argentina, and who ultimately determined where I live and work today.
After graduating and entering the job market, I realized how boring it was when you are not learning all the time. That was in the 90s, and I suppose working today at companies like Google and similar ones must be much more exciting. So I contacted Jorge Olivos to have him advise me, and he convinced me to go to Chile to do a master’s degree. He was already semi-retired, so he put me in touch with Ricardo Baeza-Yates, who was returning from his PhD work at Universidad de Waterloo with a new and beautiful topic that became my second love: text search. I still remember my fascination with the elegance and beauty of the suffix array data structure. I did my master’s and PhD with Ricardo Baeza-Yates on structured text retrieval and approximate string matching. The combination of text search with text compression, my other main area of interest since then, arose with Nivio Ziviani, a colleague of Ricardo’s from Universidad Federal de Minas Gerais, Brazil, and another prominent figure in the development of web search engines in Latin America. My current interest generalizes those experiences and spans the whole area of compact data structures, a crossroads between data structures and information theory.
Your paper “On Compressing and Indexing Repetitive Sequences,” (co-authored with Sebastian Kreft) was included in a compendium of the most cited papers in theoretical computer science. What challenge were you trying to address with this paper and how did the introduction of LZ-End solve it?
The conference versions of this paper date back to 2010, when the term “data avalanche” could be heard everywhere. I was starting to realize that much of the fastest-growing text data had little information content, since text collections were highly repetitive, and this gave us the opportunity to slow down the data avalanche in those cases. Think of genome collections or reads from the same species in bioinformatics, or versioned document collections like Wikipedia, GitHub, or the Software Heritage project. Today, a decade later, with projects to sequence a million human genomes and the promise of personalized medicine on the horizon, the problem of indexing huge repetitive collections is receiving a lot of attention, from practice in bioinformatics labs to theory in the study of repetitiveness and how it appears in text indexing data structures.
At the time, the concept of self-indexes, which are compressed representations of texts that can be accessed and searched efficiently without even decompressing them, had existed for a decade in the form of compressed suffix arrays. However, these self-indexes focused on statistical compression, which is blind to repetitiveness. Other compression models, such as dictionary-based ones, captured repetition, but accessing the text in compressed form was much more challenging, and searching it without decompressing it was even more so. We had already obtained good results with techniques such as grammar-based compression or run-length compressed suffix arrays, but not with the big prize: the original 1976 Ziv-Lempel parsing, the basis of compressors like gzip and p7zip, provided the best compression on repetitive sequences, and was the hardest model to work with.
Sebastian Kreft was an outstanding master’s student and took on this challenge. We figured out how to adapt old ideas from Juha Kärkkäinen and Esko Ukkonen (whom I met during my postdoc at Universidad de Helsinki in 1999) to reduce text searches to geometric queries and permutations, and to efficiently access the compressed text, inventing LZ-End, a variant of Lempel-Ziv. Our compressed text index still offers the best space on repetitive collections, with competitive search times.
Your paper “Colored Range Queries and Document Retrieval,” (co-authored with Travis Gagie, Juha Kärkkäinen, and Simon J. Puglisi) is also recognized for making important contributions to text search. What are colored range queries and what were the key insights of this paper?
Coloring is just a “colorful” name for categorizing objects into classes. You have a set of objects, each with a “color” (its class), and you perform queries that group them by color. In colored range queries, you have a range of colors and want to answer questions like “What colors appear in this range?” “Which are the most frequent?” and so on. Abstract problems of this kind are studied in theoretical computing and their solutions can be applied to a wide range of situations.
In this paper, we gave new solutions to those problems and then showed how they could be applied to document retrieval. This area extends, in a sense, the classic discipline of information retrieval that works on natural language texts, to apply it to collections of general sequences. It then answers queries such as “Which sequences contain this short pattern?” “Which are the ones where it appears most frequently?” and so on, which make sense in areas such as bioinformatics (for example, finding genes where some DNA marker often appears), data mining (for example, finding trending topics on a social network over a period of time), etc.
Is there any recent research you would like to highlight?
I would like to mention the paper “Worst-Case Optimal Graph Joins in Almost No Space”, which appeared at ACM SIGMOD 2021, because it belongs to the graph database area where I recently started working in the context of my work with IMFD in Chile. To me, it meant discovering a new area with incredibly rich algorithmic content, where the data avalanche puts pressure on the amount of space used by efficient indexes. The best indexes require multiplying the data space to offer different views of the same objects, and therefore are impractical with current data volumes.
This is the perfect scenario for applying compact data structures. Classic structures are highly redundant, and compact data structures aim to offer the same functionality while using space close to the entropy of the data -its true information content- thus eliminating redundancy. We managed to develop new indexes that use almost zero space beyond the size of the plain data, and even compress the data, while supporting database operations competitively and sometimes faster than current systems, which use an order of magnitude more space. I learned a lot in the process of entering a new area of computer science, and my colleagues learned a lot in terms of sophisticated data structures. As a colleague put it, “it is as if you had brought alien technology.” It has been an immensely satisfying adventure that is just beginning.
You have been prolific in terms of authorship. What advice would you give a younger colleague in terms of work habits for a productive career?
The most important piece of advice is: work with other people! At least for me, the difference between finding and developing ideas alone versus doing so while talking and meeting with colleagues is huge. Even in cases where the ideas are originally mine, they emerge and flow much better in inspiring conversations rather than being caged inside my head. An innocent question, a connection to an idea from some other area that your colleague knows better, a key observation about something that was right in front of your nose that you had not seen, makes all the difference. And on other occasions, by sharing an idea with others when you are stuck on how to approach a problem, you can understand it better and come up with better solutions, and so on. Go to conferences and meet people, do extended stays elsewhere and learn how other teams work. You will find this much more rewarding than working alone.
My second piece of advice is: choose your problems wisely. Sometimes you find interesting ideas buried in mediocre publications because the problems are not that relevant. A more experienced colleague, whom you can judge by the impact of their publications, can guide you toward problems worth investing your talent in. Even so, try to work on what you truly enjoy, since it is much easier to be good at things that excite you. And your life will be much more colorful!
