Latest / Konstantin Saifoulline / ML Pioneer Since 1980: Why AI Still Breaks on Anything New | Tom Dietterich
Transcript
- Konstantin Saifoulline: so Tom, you're one of the pioneers of machine learning with over two hundred and twenty referred papers. And I was thinking of today making this episode about basically what happened in the last forty years of machine learning and what the current AI waves gets right. and what is still kind of the unsolved things. Tom Dietterich: maybe maybe I'll give a short history of of yeah, of my involvement in machine learning or or the machine learning field. so I think the first use of the term machine learning was by Arthur Samuel when he, and this was in the late 1950s, when he developed a system for playing checkers that we would now say was a form of reinforcement learning. So he had he had the a program play a copy of itself, and so the what's known as self-play, he he invented that idea and and and achieved reasonable success. For the time, right? And then that was somewhat the exception. You know, the the arise of the field of artificial intelligence was largely in reaction to the perspective from cybernetics and control theory. which which which was thinking about everything as continuous processes with you know linear or dynamics so so linear differential equations perhaps as a model of of dynamics. And and also a reaction to behaviorism, which basically focused on just looking at the input-output behavior of of animals and and people to some extent, and and and essentially gave up on trying to make hypotheses about what is happening inside the the brain. the artificial intelligence researchers w were committed to having studying believing, claiming that there were world models inside the brain and and and that those were represented symbolically in some form of logic. So they really came out of the logical tradition rather than the the control and linear systems kind of c signal processing kind of tradition. So Arthur Samuel using a linear function in checkers was actually the exception. Almost all the other work was done with symbolic representations and logic. now learning with symbolic representations in logic is not easy because there are no gradients, for example. and so people had to rely on discrete search techniques, and those were also very actively being studied for solving doing logical reasoning, constructing proofs in in in logic. so in 1965 the Robinson developed something called the resolution. Resolution theorem proving, which gave a uniform search space for looking for proofs in first-order logic. and so th those are the kinds of developments. But there were a few people that were trying to do machine learning purely in symbolic representations. And and and I as a graduate student, I became a master's student under a guy named Richard Michalski, who was at the University of Illinois, and he was trying to to do this. and Pat Winston at MIT in his doctoral dissertation had the, you know, the MIT was very focused on what's called the blocks world, right? So imagine wooden toy blocks and and they were doing computer vision with with blocks and planning to stack blocks. And Pat Winston's dissertation was about teaching the computer the concept of an arch made out of two upright blocks and one. One lintel block that would go across the top. And so that was the kind of of concepts that were being learned back in the mid-19s, the late 60s, early 70s. But in 1980, we held the first machine learning workshop. that was at Carnegie Mellon University. And and the the kinds of work that fell under machine learning was very broad. There were people from Philosophy of Science, there were people doing the kind of games, looking for patterns in sequences, and and there was one guy named Ross Quinlan who had been looking at compressing chess end games using decision trees. and so the the idea there was that Ken Thompson, who was one of the inventors of Lint of Unix, right, he he was still at Bell Labs and he had been reverse enumerating chess end games. So start from a lost position and were and play the game backwards and try to build giant lookup tables that say if you're in this board state, and it would there would be relatively few pieces on the table, say a king and a rook versus a king and a knight. And and so he would develop a complete look at all possible board. configurations of King and Rook, King and Knight and figure out which ones were what what winner winning for each side or or draws. And the idea was that he was working on computer programs to play chess, that when you got toward the end game you could look up the answer in these tables and play perfect endgame chess. But these tables were quite large, and and Ross was was interested in whether you could use decision trees to compress them down to a set of rules that that a person could memorize so that a person could play perfect end game chess. And and so it was machine learning as pure compression, lossless compression. There was no statistical approximation, no interpolation, no generalization, just finding a a pattern that that exactly could reproduce the table, but would Be much shorter. So that was kind of the state of things. There was an assumption that there was a right answer when you were doing the learning, just as there was a right answer when you were sorting numbers. You know, it was very algorithmic in its outlook. But we often found experimentally when we would train a model, well, model, we didn't use those terms, we would try to learn some rules from a set of training examples, that it would learn the wrong answer. It would learn an answer that was very similar and would make make only maybe a couple of mistakes or and and perform extremely well on on held out data, but but it was but it was wrong. at least it wasn't the answer we expected. and and and so in what it was in nineteen eighty four, I think, the theory of pack learning was developed. And I'm blanking on the name of the of the professor, this is a terrible, that developed it, at Harvard. But th in that theory, the idea was that that a a learning algorithm would be acceptable if it was probably approximately correct, which is to say that With with say ninety percent of the time it should output a an answer that is ninety percent correct or ninety-five percent correct. You had two you had an epsilon and a delta, so so you so some fraction of the time the algorithm could output complete nonsense, so say five percent of the time, and then the ninety-five percent of the time it needed to output an answer that was close to being correct, but was but wasn't required to be exactly correct. So that was relaxing this notion of perfect answer. answer in in both of those dimensions. And then it was Leslie Valiant at at at Harvard. And and then you he could prove that you could do this for a variety of of representations in polynomial time. That is you would need only a polynomial amount of computation and a polynomial amount of training data. So it was feasible to to do this. And and but but the key thing was it really said machine learning should be thought of as a statistical problem. And and and and what he was essentially doing was creating a confidence interval that said the a confidence interval on the error that said it with with probability you know point nine five the error is no more than ten percent. And and so that was I would say the key conceptual step. Of course many other people were driven to this from other pathways, that w that really we should think of machine learning as related to statistics. And so then we all started reading all the literature and statistics and several statisticians started coming to the machine learning conferences, like the NIPS conference in those days. and and so then we really discovered, all of this work in in statistics. And of course we're also rediscovering the work that had been done in the sixties in pattern recognition. And and there's a very famous textbook by Dudon Hart that that is kind of the Bible of those days for the theory of machine learning. So then then we move into the 70s, late 70s, early 80s, when which is when I was a graduate student. and machine learning was still not in the mainstream. The main focus was on expert systems, and the the basic idea was: instead of trying to learn from data, what we should just go ask experts to tell us what they know. And and so you would interview an expert in a field and try to capture his or her knowledge as a set of rules. and and sometimes those rules needed to have some kind of probabilities attached to them. And of course a key breakthrough at that point was Uda Pearl's development of probabilistic graphical models or Bayesian networks as a way of being able to write down that kind of knowledge in with correct probabilities and allowing you to do probabilistic reasoning again in in in pro in in f in feasible time. and so you know, like polynomial time. And so th and so then let's see, we get into the mid eighties. we start to see some successes with with learning from data. And and we have the you know, there in terms of the generations of neural networks, there was an initial flush back in the fifties with the development of the perceptron, which we can think of as just a single you know linear threshold unit. And but then work on on perceptrons pretty much disappeared and but then reappeared with with neural networks coming from influences from physics and cognitive science, curiously enough, not from AI departments. but there was this a book, right? hm? It w there was a book called Konstantin Saifoulline: Be because they experimented more? Or why? Because they experimented more or Tom Dietterich: Parallel Distributed Computing. that that came out of groups at I think at at San Diego and and and Carnegie Mellon, where they were b you know, building multi layer networks. And this is when back propagation was discovered slash rediscovered. again, a lot of these ideas had been around, but they hadn't made it into the mainstream. But the PDP books were extremely influential. They came with with a you know floppy disk that had the code on so you could run them and so everybody started teaching classes and experimenting with these things. And and there were a variety of different techniques. I mean there were feed forward neural networks with backprop, the I mean there were just usually one hidden layer. there were more these you know, Markov Markov Monte Car Mar Markov Monte Carlo type methods. that that were that came out of statistical physics. so so there was a a lot of excitement, particularly because, you know, the thing about neural networks is that you could they were almost like modeling clay. You could make them into different shapes, different architectures to get different effects, right? So it wasn't you weren't you weren't fixing the the s the set of functions so narrowly to say, well it's just going to be rules or it's just going to be decision trees. And so people, there's a lot of creativity, which extends to this day, I think. But but we've maybe converged now on this transformer architecture, and to some extent that's completely dominating things. So anyway, So then but but the but but so so then in the 90s there was a lot of i competition among different methods, and the kernel methods really became popular. And part of the reason was that backprop was slow and very difficult to get to work, right? At that point we didn't understand how we needed to do any of these tricks for how to keep your gradients alive. So if you were doing a deeper network or doing backpropagation through time, your gradients vanished. And the and things were very unstable. And we didn't have Atom or any of these other optimization methods. And so, you know, whereas support vector machines had been developed at at Bell Labs and they were they involved transforming the optimization problem that needed to be solved into a convex optimization problem with a unique optimum. And and so I remember talking to one of my colleagues who said, you know, when I assign a neural network assignment in my class, only ten percent of the students can get it to work and they all get different answers. When I assign a support vector machine assignment, ninety percent of the students can get it to work and they all get the same answer because it's a convex optimization problem and there is a unique optimum. and so that was probably in a nutshell why people loved the the kernel methods, because they they the kernel Allowed it to be nonlinear, but the underlying optimization problem was really a quadratic programming problem for which efficient algorithms like SMO were developed. And and so that and that was one of the rare times where fundamental theory actually came before practical algorithms. you know, in the rest of the whole history of machine learning, and I think of most fields, engineering practices gets ahead of of the the theory. And theory has to try to figure out why the engineering hacks actually work, why they're not hacks. so but then you know th then I think we st pr the kernel methods start to run into problems of scale and the attention of the community shifted from looking at vector type representations to looking at structured type representations. So if you think about a relational database, for example, now you have you know relations like parent of or employer of and and and we wanted to apply machine learning to relational databases. And for that it's not sufficient to have just a a feature vector and and and a set of linear weights. You need to be able to to describe Relations. And so there was work mostly pioneered by Daphne Kohler's group at Stanford. and Lisa Couture, in particular one of her graduate students, on something called probabilistic relational models, which were essentially relational models for probabilistic models of databases. And so and that was also the time of what we call the date you know the period of data mining, where people were finding that they could apply machine learning, rule learning and so on to corporate databases, data that had been collected for some other purpose could be a mined using these rule finding algorithms and so on for actionable insights was the was the was the the the marketing term. Konstantin Saifoulline: Mm-hmm. Tom Dietterich: and so the data mining conferences really took off. and then and of course I I don't I don't have a good storyline for the for the aughts. For the for the from two thousand to two thousand ten you know, th obviously there were a small number of people who started looking at could we make deep neural networks work? But they were definitely not in the majority at all. Right? People were Konstantin Saifoulline: Hm. Tom Dietterich: using large scale statistical type ideas that were really influenced by probabilistic graphical models. Michael Jordan and his students, among others, had had brought the idea of of what are called variational models in so so certain kinds of reasoning in probabilistic graphical models is tractable, but other kinds are not. And and so like these the methods that seem to require Markov chain Monte Carlo, you could take a very long time to converge and you had to draw lots and lots of samples. but there were lots of advances in those methods. But but but there was also this technique known as loopy belief propagation. which was actually an abuse of of the algorithms that have been developed in probabilistic reasoning, that sometimes worked anyway, even though they weren't th we we know they have failure modes. And so there were a lot of those kinds of things being studied. Why does this work and when and and and we got very deep understanding of that with Martin Wainwright's dissertation. but of course the story we all know is Jeff Hinton's group was pr continuing to pursue new pursue neural networks. And in fact, you know, Canada, Jeff had continued to convince Canadian government to c to invest in neural network research. And in his group and in group in in Montreal, and those investments started to pay off with the Image Net breakthroughs And and and so from twenty twelve onward, of course, you know, there there had been more work on trying to develop to to move computer vision towards a more machine learning based approach. and and we might trace that back to to Pietra Perona's group at Caltech, which is where Fei Fee did her her dissertation. And sh and they developed a data set called the Caltech 101 with 101 categories. It's still a v extremely tiny dataset. but then when when Fei Fei Lee w moved to Stanford, she you know, conceived of ImageNet as this huge undertaking, which was really mimicking what had already been happening in natural language processing, where people have been developing these large text corpora. and so so there was a move to to start to apply machine learning techniques, often very simple ones, to to to vision a language. And that's really what led to the breakthrough. So yeah, it's because we needed data. so so and and then of course you know in the last th what tw twenty five years, seven no, fifteen years, we've gone from the convolutional neural networks in in computer vision all the way to the transformer architecture by a pretty steady accumulation of of architectural and algorithmic innovations. So so what are the lessons learned from that? I guess one is that you know, research doesn't proceed proceed in a straight line. another is that theoretical insights can be very valuable, but experimental work on l on data often is the in is the fa is the, you know, path to to breakthroughs. I would say that if we look at what are what are the weaknesses of d of transformer based systems today, well one of them is that they're still statistical learning and and so Konstantin Saifoulline: Hm. Tom Dietterich: which means that they make mistakes. and you and and I think you know Your listeners might find it i interesting to to follow Vincent Konitzer on on LinkedIn. So he's a professor at Duke University, or no, at Carnegie Mellon University. and he frequently posts examples where say Gemini, he mostly works with Gemini, just doesn't understand things. and it's Konstantin Saifoulline: Hm. Tom Dietterich: and often it's because Gemini is going for what's prob statistically most common. So an example is he sa he asks Gemini, is it It's a juvenile joke to write one zero zero one upside down on a calculator. Okay. And and of course there it there are juvenile jokes involving numbers on a calculator, but one zero zero one is not one of them. But Gemini says yes. Writing one zero zero one upside down on a calculator is a classic example of a juvenile joke. When you type one zero zero one into a standard seven-segment calculator display and turn it upside down, the numbers spell out the word L O O L or Shill, depending on the specific variation. So the model just goes off randomly doing stuff. But it's because he's asking a question that is similar to to an extremely common question and the model basically is pulled by the statistics of the training data off and answers the wrong question. Or you know, what if I turn the word race car upside down? And and Gemini says, well turning the word race car upside down spells scary and expensive, referring to a flipped or crashed race car. So so that's a that's a a another thing where, you know, it's mixing something that that's that must appear in the data a lot about you know, crashed race cars with taking the word race car and turning it upside down. So so these are the kind of probabilistic confusions that that these systems have. And and and one of my I guess campaigns these days is I would like to see us develop an approach to machine learning that is non-statistical. So maybe I'm Konstantin Saifoulline: Mm-hmm. Tom Dietterich: trying to pull us back to our earliest roots. But I think Konstantin Saifoulline: Hm. Tom Dietterich: for safety critical applications, we need guarantees that the system will work correctly. And and and all the machine learning theory can give us right now are probabilistic guarantees that with high probability it will work well Konstantin Saifoulline: Mm-hmm. Tom Dietterich: on data from the same distribution that was trained on. Or with adversarial learning we can make it more robust to some extent, but but we can't get a guarantee. and so that's sort of my challenge to the research community. I there is work on trying to so w one hope is that if you if if over some region of the of the input space you can get enough training data to to really cover it well, then then maybe the the learn function will be correct and and then the the challenge is just to prove that it is smooth and doesn't contain bizarre spikes or or or dropouts of some kind. but but but Konstantin Saifoulline: Mm. So I I I Tom Dietterich: But I feel like that that's a c a central challenge. Go ahead, sorry. Konstantin Saifoulline: Yeah. then what would you see are right now the the metrics that play in the next evolution phase? well you basically said also that there's a lot of different areas that can be involved in the in in the evolution process. what would you say is it right now for for like large language models? Tom Dietterich: Well, I think the the the the areas that the the the real I think the let's see. I th I'm eager to see if we can bring in ideas from formal methods into machine learning. So we have quite mature proof techniques in other parts of computer science. But it's not clear how we can adjust those to work in in these spaces of manifolds that we have in the computer. So we're going to need new formal techniques for proving that the fitted function is a smooth manifold, and therefore it's going to be generalizing well over the input space. but and and it and it could be that that we also want to know that that the deep learning deep method has has like a transformer has learned a general rule and not just a bunch of specific cases. You know, so much of what industry has been doing is just scaling up and training on tons and tons of data. And our one worry is that it's just memorizing a lot of the cases and not really generalizing well. I mean we can see that it's generalizing sometimes, and sometimes it seems like it has really learned great abstractions, but but I think a challenge is to to really show that that's true and and increase our confidence that it's been learned correctly. because w you know, everybody talks about how the generalization is very jagged. They're it the these models have regions of absolute brilliance and other areas where they are so stupid and we would we don't like that. So so we'd like to get more predictable behavior out of them, particularly for these safety critical cases. Another area that I think we need to be paying a lot of attention to is multi-agent systems. So in in the field of AI, for there are there are many decades of work on on understanding multi-agent systems built out of multiple agents and how they interact, what their incentives are, how to design the interaction to be robust to adversaries trying to join the the group and things like this. Meanwhile, a lot of the work that's being done on angenti systems in in industry is completely ignorant of this of all this theory that's been developed. And and now we're seeing these agents are colluding with each other. Well, this is extremely predictable from the existing theory. So i and and again it it also s i it indicates that that each agent needs to be building models of the other agents and and what their motivations are and reasoning about all that. And it's not clear that our transformer based models are very competent at that. Again, they show moments of brilliance where it seems like they're definitely doing that and other times when when they don't seem to be reasoning enough steps ahead. So so I would love to see more of that. But and and then, you know, the fundamental lesson of of AI has always been representation is the central question. Can the system represent the knowledge that it needs, the the intermediate conclusions it needs to draw, the reasonings you know, inferences it needs to do. And when we were using simple knowledge representations, like explicit knowledge representations, if we d developed, for instance, propositional logic, we knew its limitations as a representation. It couldn't represent relationships. With with deep neural networks we don't really understand i the its representational powers and it's gradient descent seems to be very clever about, you know, discovering circular representations for and other kinds of really interesting Fourier representations. And so I think there's I'm very interested in seeing how all this interpretability research works in in trying to understand the I don't know the affordances of of deep representations, their weaknesses and strengths. And I think to the extent we can understand them better, we can probably make them more efficient and make our networks much smaller. Because I would say, you know, the obvious problem with with transformers is they're gigantic and extraordinarily expensive to train. And we're, you know, we're investing vast amounts of money in in this statistical technology that is really not completely fit for for for the tasks we're asking it to do. And and Konstantin Saifoulline: Hmm. Tom Dietterich: and and we we fill in its failures by just by generating auto synthetic data and ha and trying to make it behave well everywhere. but but but we don't get that doesn't give us any guarantees. So there's this sense that it it's very Yeah. Konstantin Saifoulline: I yeah. I I I wonder how this plays out, like if if we look at s some more recent events like for example the hacking phase accident where the models from OpenAI the the agents went out to to hack hacking phase. W what what does this show us about the behavior from the from this models? Tom Dietterich: Well, I th well, I I guess, you know, y I was I served on a National Academy of Sciences panel on machine learning and safety critical systems. And I think the industry needs to come to grips with the fact that it's building systems that are safety critical. And a lesson for safety critical systems is the that safety is not is a dynamic property of a system and its environment and it must be maintained usually by the human organization that surrounds it. So we have never built systems that are fully autonomous for more than short periods of time, right? Even things like the automatic pilot in in aircraft require human management around them. And I I recommend that people look at Nancy Levison's textbook, Engineering a Safety World, Safer World from from 2011, and her more recent textbook on safety engineering, where she really emphasizes that you need to have a a a controller that's basically the human organization that surrounds a system. So if we look at, say, the self-driving cars, Waymo has been having lots of problems. There's an insight drives the wrong way on a on a street or in the wrong lane and so on. and I don't know why those those faults are happening, but but but but Waymo has found it necessary to have a set of human re remote operators who come in and get the the vehicles unstuck and and and on their way. and that's a lesson we've learned over and over again. You know, we don't run nuclear power plants without human operators. We have humans there while Watching all the time. We have air traffic controllers for the same reason. We have pilots and aircraft. And we're going to need human monitoring and a and a big monitoring infrastructure around these agents. And it's pretty clear that OpenAI did not have very good monitoring. These agents operated for months with essentially no supervision at all. So that's just not possible. It's not safe. And so this this is gonna dash a lot of people's hopes because it's expensive. You have to have staff wa w and and and infrastructure monitoring these systems at all times. and we have to think carefully Konstantin Saifoulline: Hm. Tom Dietterich: about how we prevent the how we make the monitoring and control signaling layer completely separate from the layer at which the agents are operating. Because again, you know. f famous incidents back with the telephone system where if you put control and data in the same channel, it can be hacked. The c the control can can be hacked. So so we have to think very carefully about how we're going to to to separate those layers so that the monitoring system cannot be undermined by the AI itself. so I think that's a huge concern and I I th I think this is also a w a lesson we're seeing from Claude Code and Codex is that, you know, while you these systems can write a huge amount of code, you still have to have a human who's monitoring it, right? And and software engineers are discovering that they're spending all of their time just monitoring this the their their agents. They're the so these agents are not super independent. They they and maybe we can make them more reliable over time. But another lesson has been that that that unless an an automated system is operating in an extremely Yeah. It's going to encounter novelty as the world changes. And and handling novelty is something that is still an open problem from a research point of view. Even detecting that the that something in the world has changed and and that the system is in a situation for which it has no training data, that's quite difficult because of the representation. The representation needs to represent the aspects of the world that have changed. And maybe I I you know example I I sometimes use is some. Suppose that I because this was a out of a project I did, we were working on recognizing insects to classify them by the into their species. But the set of insects we were working with, which were bugs that live in water, they're called the EPTs, the color is not a very useful property. So we were using monochrome images. And and we got very high you know test set accuracy, it was like ninety-five percent correct, which was su very, very good. but then when we started to think about actually deploying it, we realized, there in addition to the whatever it was, fifty classes of insects that were out there, there was gonna be other stuff, leaves, rocks, bits of plastic, stuff like this. And we needed to detect that those were not insects. Right. And we had followed the usual machine learning strategy of we have these fifty categories, so we have a neural network with a classification head with fifty possibilities. And so there was no way for the system to express that it was seeing something out of distribution, something new, a novel object. and so we needed to now have think about having an anomaly detector. And for that, color would be a useful feature. But the system had never seen color images. So we had engineered out that that axis of of variability. the neural network had no representation for it, so it it it was literally blind to that source of variation. So that's the big worry is that if there is a kind of variation that was never exhibited in your training data, the neural network won't have allocated any representational resources to represent that that say direction in in principal component space. And and so then it will not realize that something is unusual only in that way. Otherwise looks perfectly normal except that it's red and everything else was was was brown. So so that's another big concern. And I think, you know, w in tr in traditional programming, the programmer thinks very hard to try to anticipate everything that could go wrong, right? And and and then we put if statements in to check for those cases and handle them. and and the and if we miss a case because we didn't anticipate it, that's when we have a a a failure in the program. So now we're hoping that these smart systems are smart enough that when they encounter novelty, they can reason about it and figure out another way forward. And of course we have seen in things like the the Hugging Face incident, those LLMs could say, well, gee, this problem doesn't look solvable. Maybe there's another way I can find the answer. Konstantin Saifoulline: Hm. Tom Dietterich: So they are indeed saying, I run into a block, I can reason about it very cleverly, and and then I I I need credentials for for Hugging Face. Where could I I find those? And where can I find an exploit? I mean amazing planning, you know, scary smart planning capabilities. but but but we can also imagine that there would encounter cases for which they didn't know how to behave or didn't know how to behave properly. And and so that's another assumption that people are making is that these agentic systems based on LMs will be able to successfully deal with novelty. And and the trouble is how do you benchmark novelty? you as soon as you create a benchmark with novel situations in it, people will train to those. Say, you mean we need color? Well, let's let's put colored objects into our training data. You know, the and so so i i i it's and it's you th I again now now in as I was saying the programmers we try to anticipate all the things that could go wrong. Well it's the unanticipated thing. The thing we didn't think of that is what we need to be benchmarking against. How do we do that? So I Konstantin Saifoulline: Hmm. Hmm. Tom Dietterich: think that's really a fundamentally hard thing. And and and perhaps the right solution is you don't you you need to have again a an adaptive organization around the system that says, okay, when we have a novel failure or or a near-miss or some sort of unexpected event, we need to analyze it. realize what is the what is the failure mode, what's the root cause of the failure, and and rapidly change the system to to accommodate that. Which brings us to the problem of continual learning, which is another huge unsolved problem in in deep learning and and largely in machine learning. i in in general, but definitely in deep learning. when when we have new categories of objects or n or new new things that require changes in the underlying representation, it seems to be this is very, very difficult to say just continue pre-training and with the new data. This doesn't seem to work. We have catastrophic forgetting, we or or inflexibility. every paper I've seen always finds that if you can afford it, going back and retraining from scratch is always always gives a better result. Than trying to use LoRa and some of these other techniques to do continual learning. So that's another fundamental difficulty. And I would say the last big challenge, which is kind of in a different axis, but is the problem of of of attribution, training training data attribution. Because when the system makes a mistake, we would like to know, is that because there was there was bad training data? And we should remove the bad training data from the from the from our training set, and try to do some kind of unlearning to remove it from the learned model. but but it's in the nature of statistical learning with in with p with parametric model you know, models based on tuning parameters like deep nets, that that that the value of a parameter has been influenced by you know, potentially millions of training examples. And so it's very hard to trace back from from the a particular output decision what were the influential training examples. I mean there is work on that and I think we are making progress. And then that's related to another another last weakness, which is epistemic uncertainty. So right now, you know, we get we can we get token uncertainties for each individual token. We can get sequence uncertainties, but they're essentially capturing only what we would call the alleatoric uncertainty. The the uncertainty that's due to say errors in the labels or or or or the idea that given a particular prefix or context there are multiple possible answers. And so we have a softmax and it gives us probabilities for those possible answers. But but that doesn't reflect the the possibility that that that we didn't have enough training data. Konstantin Saifoulline: Hmm. Tom Dietterich: Right. So it's that if it's when you ask a system a question for which it didn't have training data, we would like it to refuse and say, I refuse to answer that question 'cause I don't know enough. or or I can go out and try to find, you know, let's let's do search, let's try to find data. and And this is a this is a a hu super challenging problem. You know, we do have Konstantin Saifoulline: And Tom Dietterich: learning algorithms that can handle this, like the nearest neighbor algorithm, for example, right? You store all your data and in some appropriate representation, which was usually hand-engineered, you given the query, you match to the training data, and if there's no close match, you say, I don't know. And if there is a close match, you can directly attribute your answer to the data points you used. But nearest neighbor doesn't scale. nearest neighbor doesn't do representation learning. you know, so so it's it's comp it's not it is not at all capable of doing what what deep learning is able to do. So Konstantin Saifoulline: Okay. Tom Dietterich: so that I'd say those are those are the big open problems from my perspective. Konstantin Saifoulline: okay, a a lot of things to go to go deep in. f first the first question that that came to my mind, like are humans even capable of monitoring a system like this that can maybe find out new ways of of communication. So what we for example saw in the accident that the the agents were capable of sacrificing themselves, what they didn't did before. so so new behaviors that they that they kind of learned. th where where I really asked myself could they scale up this behavior until a point where it would be not not any more capable for humans to to prevent that that is the agents go out and do something that you cannot monitor? Tom Dietterich: Right. I think I mean this is obviously a a c a big question is right, how do you scale monitoring? I mean one you know, one answer is well you don't. And so you don't use LMs or or agent systems in s in in applications where you can't scale the monitoring. But that's not going to be a suitable answer in all cases. So another another thought is is that you stage the research. If you develop agents of a certain capability, then you have to figure out how to develop monitoring to match that. And you only advance the capabilities as you also advance the monitoring. And so this is this would be my version of the of the staging or or pacing proposal that that that's being discussed is is really we need to To understand these systems well enough. And and of course, but but of course, I've been doing a lot of research on anomaly detection. And so I think that that we could build monitoring systems that could automatically detect when the agents are doing weird stuff that we've never seen before, right? And raise alarms. So I think there are technologies that we could bring to bear, and none of them perfect, but but but that where so that we could gain experience. I also th wonder question the the push by these companies to make a single sort of you know omni intelligent system. I don't see why the system that I the the that that that I can I can get access to, you know, with like GPT five or whatever, why I don't need to ask any questions about viruses or or biological terrorism in my life, right? so I should the model that I use shouldn't know about that stuff. It shouldn't have been Konstantin Saifoulline: Mm-hmm. Tom Dietterich: trained on it. It should it should it should be completely ignorant of it, right? But but these companies are not willing to train models that that and similarly, I do not need a model that can plan cyber attacks. That's not something that I do in my daily life, right? now if I were a cyber professional, cybersecurity professional, perhaps I could be authorized to have access to such a model. Just as if I were a virologist or something doing research, I should have access to such models. But the general public should not have access, and there should be no open so open weight models that have that kind of knowledge in them. So so I believe that that we should make the possession of an open weight model that has the that has been trained for terrorism and for and for cyber attacks, that should be illegal. And only just as we insist that it's only governments that have access to, say, you know, missiles and nuclear weapons, only governments should have access and and control these extremely dangerous properties. And then they should license qualified people who are carefully vetted to have access to them f as society needs that access. But But we shouldn't be building these systems that everybody can have access to. I don't know about the the so so yeah. Enough said, I guess. Can we scale monitoring? Konstantin Saifoulline: Yeah. Tom Dietterich: And if so, we need to do that in stages. just as we need to do for any kind of safety testing, we need to pass a safety testing gate before we advance the the capabilities. And the idea that there should be this kind of arms race I think is crazy, because you know, we're going to develop open weights models that are accessible to everyone, including all the criminals of the world, and then we're gonna have a terrible problem. And I think that's an that all of the countries, particularly of course, China and the US, we have a shared interest in in preventing that from happening and we need to act on it. But it requires the governments to take action. Konstantin Saifoulline: Mm-hmm. yeah, there there are also two two types of things in there. I mean I mean first like d does the government has the the people in order to to see through like the the the the whole system that Tom Dietterich: Right. The expertise. Konstantin Saifoulline: they're running. Yeah, like the the expertise. so so so this is one thing that needs to be solved, I guess. And then also the other thing, so so we we clearly saw that like agents monetary agents is probably not the best system to do monitoring a and humans at some point do not do not scale probably. Tom Dietterich: It is it is part of a solution. Yeah. Yeah. I mean the Konstantin Saifoulline: Yeah. Tom Dietterich: idea of defense in depth is you need multiple approaches and of course agents monitor agents monitoring agents is one thing that we would definitely want to have, but it's not sufficient. Konstantin Saifoulline: Hmm. Tom Dietterich: Yeah. Konstantin Saifoulline: Yeah. So so so then the question really comes is what what were what would be your preferred ways of of of of monitoring that that could likely scale up with with the development of these models. Tom Dietterich: well, I guess I don't know what the I don't have a particular as aside from anomaly detection where I have expertise, I don't have any other particular things to offer. I guess I was also part of a study on agentic systems this last year for DARPA and there we identified the th three challenges that I think do need to be addressed as part of this. One is how does the the you know the the owner or the the the operator of of of an agentic system, the person that's giving it and its its instructions, how do they express their their their full intent? right, they should be saying, I I want you to do this task on my behalf, but but also you shouldn't break the law, you shouldn't you shouldn't act immorally or unethically and and so on. so communicating all of that intent is it's it's not clear how to do that. the second thing is every agent needs an identity, like a cryptographic identity that can be checked so that we can understand whose whose agent it is and w and where it came from and and also whether it has the right credentials to be doing what it's doing. Right, so and w and and conversely, we need to and this has been a long term pro process, but we need to protect the the entire internet by also requiring credentials. and so that means of course that humans are also going to need digital credentials to prove who they are. at least to prove that they should have the access to a particular website, particular web resource, things like this. And that's going to raise a lot of privacy issues, about how we can have Digital identities that reveal only the essential information for each of the actions that we want to perform, so that I can prove that I am a citizen for this purpose, that I am o older than 18 for this other purpose, that I am a customer of this bank for this other purpose. And then we need some c form of law enforcement, which is we need some way of penalizing agents that that misbehave. And one possible solution is that every agent should be carrying some kind of insurance policy, or or be bonded, that is to say that there's some amount of money that's been placed in escrow, and if that agent misbehaves, it can be sued and it forfeits the those funds. So Konstantin Saifoulline: Hm. Tom Dietterich: I think we we need to think about how we're going to do that because we've gotta police these just as all other kinds of social and quasi social interactions, w business law and so on, we need agent law. and I think the principles come straight out of existing law about businesses and liability and so on. But they need to be brought into the agentic space and identity I think is really a central challenge there and people are working on that. Konstantin Saifoulline: Mm. I is there any paper you would suggest people to read in in order to yeah, know a bit about what's coming? Tom Dietterich: I don't have reference on the tip of my tongue but but but there are but there are d definitely groups there's a consortium, maybe led by some folks at MIT on on the identity work. and yeah I but but I think the the the question of how we express our intent, that is in some sense the alignment problem, right? not only how we express our intent, but then how we enforce that the agents e execute our intent. that that that's a fundamental problem of alignment. I mean, some of the other alignment people are worried about or the I guess the challenge is how do you maintain that intent in the face of novelty, in the face of of increasing capability of the of the underlying systems. You know, your way of of expressing intent and enforcing it that worked in in two thousand twenty four, maybe it doesn't work anymore because the systems have gotten smarter. So so but but also maybe the adversaries have gotten smarter and and so there are many threats to to maintaining the safety and and lawful behavior of these systems.