Slashdot Mirror


Astonishing Speedup In Solving Linear SDD Systems

eldavojohn writes "A new paper (PDF) out of Carnegie Mellon University shows how to solve symmetric diagonally dominant linear systems much faster than before. The technique employs graph theory, randomized algorithms, and linear algebra to achieve an astonishing advantage over current methods to solve such systems. From the article: 'The result is a significant decrease in computer run times. The Gaussian elimination algorithm runs in time proportional to s^3, where s is the size of the SDD system as measured by the number of terms in the system, even when s is not much bigger the number of variables. The new algorithm, by comparison, has a run time of s*[log(s)]^2. That means, if s = 1 million, that the new algorithm run time would be about a billion times faster than Gaussian elimination.' Developers out there who maintain matrix packages and linear algebra tools might want to take a peak at the paper. Anyone who has modeled real-world systems will be able to tell you that speedups in linear algebra algorithms have a weighty effect on efficiency in simulations — especially as one approaches the theoretical limits of optimality. This research is currently being presented at the IEEE Symposium on Foundations of Computer Science."

157 comments

  1. May I be the first to say by Anonymous Coward · · Score: 5, Funny

    Huh?

    1. Re:May I be the first to say by ghostweed · · Score: 1

      take a peek=have a look take a peak=summit Everest fit of pique=be irritated Oh, and sherbet is the dessert. Sure Bert is Sesame Street. Remember that.

    2. Re:May I be the first to say by Anonymous Coward · · Score: 0

      pique can also mean "excite", as in "to pique one's interest".

    3. Re:May I be the first to say by wastedlife · · Score: 1

      Huh??

      --
      Said, "It's just like dice but it's got more sides And it tells me who lives and who dies"
    4. Re:May I be the first to say by wastedlife · · Score: 1

      Developers out there who maintain matrix packages and linear algebra tools might want to take a peak at the paper.

      Nevermind, I see now what ghostweed was talking about. Would help if he quoted that and made a new thread instead of replying to a random thread with seemingly random babble that makes Spamland seem coherent.

      --
      Said, "It's just like dice but it's got more sides And it tells me who lives and who dies"
    5. Re:May I be the first to say by Nadaka · · Score: 1

      Its a fundamental paradigm shift in the basic efficiencies of solving linear equations. A reduction from quadratic omega to less than square.

    6. Re:May I be the first to say by Gilmoure · · Score: 2, Funny

      Tonight's the night I shall be talking about of flu the subject of word association football. This is a technique out a living much used in the practice makes perfect of psychoanalysister and brother and one that has occupied piper the majority rule of my attention squad by the right number one two three four the last five years to the memory. It is quite remarkable baker charlie how much the miller's son this so-called while you were out word association immigrants' problems influences the manner from heaven in which we sleekit cowering timrous beasties all-American Speke, the famous explorer. And the really well that is surprising partner in crime is that a lot and his wife of the lions' feeding time we may be c d e effectively quite unaware of the fact or fiction section of the Watford Public Library that we are even doing it is a far, far better thing that I do now then, now then, what's going onward christian Barnard the famous hearty part of the lettuce now praise famous mental homes for loonies like me. So on the button, my contention causing all the headaches, is that unless we take into account of Monte Cristo in our thinking George the Fifth this phenomenon the other hand we shall not be able satisFact or Fiction section of the Watford Public Library againily to understand to attention when I'm talking to you and stop laughing, about human nature, man's psychological make-up some story the wife'll believe and hence the very meaning of life itselfish bastard, I'll kick him in the Ball's Pond Road.

      --
      I drank what? -- Socrates
    7. Re:May I be the first to say by mdmkolbe · · Score: 4, Informative

      It lets us compute more precise simulations faster. This helps everything from better weather predictions, to faster simulations for industrial design, to game physics engines.

      Basically if you can solve X=A*B or Ax=b more quickly then you can run simulations faster. The paper shows a way to solve Ax=b faster provided A is diagonally dominant (it usually is). Here A, B and b are given, X and x are unknowns. Upper case is matrix. Lower case is vector.

      In theory simulations that took days (~10^15 cycles) will now take hundreds of microseconds (~10^5 cycles). In practice, we already have techniques that usually work on "most" inputs to these types of simulations. This paper presents a technique that works on "more" inputs to those systems. (But note that their runtime, n*[log(n)]^2, is expected time and not worst case time.) The potential impact is huge but the actual impact is yet to be seen.

      Disclaimer: I've published in this area before so I have some background understanding, but it's been a while and I've read only the abstract of the paper. Once I read the full paper I'll have a better idea of whether it lives up to the hype. I'm hopeful because this could be a very important result. I'm also cautious because they use an approximation algorithm (that is what the " epilon" is about) and also use expected time rather than worst case time. These factors may limit the usefulness of the algorithm.

    8. Re:May I be the first to say by Anonymous Coward · · Score: 0

      Sesame Street's kiiinda neat, just hardly replete with the human elite, and where are the gold teeth and my dead buddy Keith and the elephants' feet and Bob Marley?

    9. Re:May I be the first to say by sirrunsalot · · Score: 2, Interesting

      Or in limerick form, as published in a paper by Roe, LeVeque, and van Leer,

      So medium-term weather prediction
      turns out to be merely a fiction.
      It's just anyone's guess
      if you ask how to dress
      it will offer no useful restrictions.

    10. Re:May I be the first to say by Overunderrated · · Score: 3, Informative

      >"I'm also cautious because they use an approximation algorithm (that is what the " epilon" is about)"

      The iterative methods normally used for linear systems that this could possibly replace all have epsilon (error) terms as well. I do work on the applied numerical methods side, so it's going to take me a bit to parse through the graph-theory heavy stuff here, but it is potentially very exciting.

      Are there actually large-scale applications where gaussian elimination is actually used that makes this a valid comparison? It's my understanding that the roundoff error accumulated for systems of millions of unknowns in the "exact" direct gaussian method can even be worse than the far far faster methods for sparse iterative solvers.

    11. Re:May I be the first to say by Anonymous Coward · · Score: 0

      Really? Do you agree that a large proportion of all those simulations mainly solve elliptic (or similar) PDEs, at least as part of the overall model? And can you quote any kind of elliptic PDE that leads to a diagonally dominant matrix?
      Sigh.

    12. Re:May I be the first to say by marcello_dl · · Score: 1

      Let me spin it a lil'.
      It could mean faster videogames, better porn clips decoding, and more responsive LOLCAT sites. Is OP interested, nao?

      --
      ---- MISSING MISCELLANEOUS DATA SEGMENT --- [sigdash] trolololol
    13. Re:May I be the first to say by Anonymous Coward · · Score: 0

      So, what you're telling us is that they used Proto-matter in the matrix, an unstable substance rejected by every noted scientist in the galaxy? Like the Genesis device? Oh crap!

    14. Re:May I be the first to say by wastedlife · · Score: 1

      New brooms sweep clear. Two wrongs don't make a right. A penny saved is a penny earned.
      Interpretation: A flawed article will require a lot of effort to work with Loose lips sink
      ships.
      Yogi Berra Variant: It's not over till it's over. Common sense to a limit is Natural; But
      more of it is Genius The weak can never forgive. Forgiveness is the attribute of the strong.
      --Mahatma Gandhi
      All frills and no knickers. As good as Greg. Theakston me, but Theakston my brother and
      you'll have God to answer to First deserve then desire.
      There shallow Draughts intoxicate the Brain, If the dog hadn't stopped to take a #### in
      the woods, he would have caught the rabbit. Never shove your Granny when she's shaving.
      Blood will out. An apple a day keeps the doctor away. Going the whole nine yards.
      Different sores must have different salves. Don't make a mountain out of a molehill. If
      you practice wrong you will always do it wrong No crows, no cares.
      The beauty of things lies in the mind that contemplates it Possible Interpretation: Women
      do not like the nice guys. Hair of the dog that bit you. While there's life, there's hope.
      It's better to have loved and lost than never to have loved at all.

      Hello my friend!

      I am ready to kill myself and eat my dog, if medicine prices here (http://slashdot.org) are bad.

      Look, the site and call me 1-800 if its wrong..

      My dog and I are still alive :)

      --
      Said, "It's just like dice but it's got more sides And it tells me who lives and who dies"
    15. Re:May I be the first to say by Gilmoure · · Score: 1

      Frilled women without knickers ROCK!

      --
      I drank what? -- Socrates
    16. Re:May I be the first to say by wastedlife · · Score: 1

      According to the email they are as good as Greg even!

      --
      Said, "It's just like dice but it's got more sides And it tells me who lives and who dies"
  2. Wow? by JargonScott · · Score: 5, Funny

    Good gravy, now I understand why my non-tech wife just stares blankly at me when I'm describing my plain old IT job.

    --
    Nuke Gay Whales for Jesus.
    1. Re:Wow? by Anonymous Coward · · Score: 1, Funny

      She could also be autistic or wishing she were blind AND deaf.

    2. Re:Wow? by box4831 · · Score: 1

      by Jargon Scott (258797)

      I am interested in purchasing some legless dogs from you

      --
      Miller Lite tastes like water that's somehow managed to rot.
    3. Re:Wow? by JargonScott · · Score: 1

      They're like cuddly throw pillows.

      --
      Nuke Gay Whales for Jesus.
    4. Re:Wow? by Anonymous Coward · · Score: 0

      Wife?

      *stares blankly*

  3. A Perfect Slashdot Article by GrifterCC · · Score: 5, Insightful

    I can tell it's truly News for Nerds because I can barely understand what it's saying and it drops causal references to advanced mathematics--the stuff I only wish I'd had the fortitude to study in college.

    I'm serious. This is exactly what I want from Slashdot.

    1. Re:A Perfect Slashdot Article by Anonymous Coward · · Score: 0

      Also: If I'm reading this correctly then This Matters!

      I'm looking forward to reading the paper.

    2. Re:A Perfect Slashdot Article by jgagnon · · Score: 2, Insightful

      I was thinking something similar. I'm a fairly smart guy and this went way over my head. I love math and the problems it can solve when used creatively. I've just never had the energy to pursue it to a level these (and other) researchers have.

      I feel myself chanting "I'm not worthy."

      --
      Remember to maintain your supply of /facepalm oil to prevent chafing.
    3. Re:A Perfect Slashdot Article by $RANDOMLUSER · · Score: 1
      Yup. Then we see:

      Developers out there who maintain matrix packages and linear algebra tools might want to take a peak at the paper.

      Which is exactly what we expect from Slashdot.

      --
      No folly is more costly than the folly of intolerant idealism. - Winston Churchill
    4. Re:A Perfect Slashdot Article by splutty · · Score: 1

      I can tell it's truly News for Nerds because I can barely understand what it's saying and it drops causal references to advanced mathematics--the stuff I only wish I'd had the fortitude to study in college.

      Okay. Now you've confused me. Do you mean it drops causal references to advanced mathematics, in which case this article would have a direct impact on the advance of advanced mathematics itself, or did you mean to say it drops casual references to advanced mathematics, in which case it is assumed that the advance of advanced mathematics is something most people should understand? What?

      Uhm. I think I've confused myself even more now.

      Waaaaah!

      --
      Coz eternity my friend, is a long *ing time.
    5. Re:A Perfect Slashdot Article by Peach+Rings · · Score: 4, Insightful

      Why do you need to go to college? Here, watch Linear Algebra and Algorithms.

      Also there is no remotely advanced math dropped in TFA, though the actual paper of course is cutting edge research.

    6. Re:A Perfect Slashdot Article by ceoyoyo · · Score: 5, Insightful

      Mathematicians like it that way.

      One of the math professors at Berkeley tells his students that math is messy - when you're working on a proof you start from one place, wander around for a while, then get to your destination.

      Then you clean everything up and present it to the world as obvious.

    7. Re:A Perfect Slashdot Article by Anonymous Coward · · Score: 0

      I can tell it's truly News for Nerds because I can barely understand what it's saying and it drops causal references to advanced mathematics--the stuff I only wish I'd had the fortitude to study in college.

      I don't think the submitter understood it either. "The technique employs ... linear algebra" - to solve linear systems. Well, duh! You can hardly solve a problem if you refuse to use the tools which allow you to *state* the problem.

    8. Re:A Perfect Slashdot Article by Anonymous Coward · · Score: 0

      I can tell it's truly News for Nerds because I can barely understand what it's saying and it drops causal references to advanced mathematics--the stuff I only wish I'd had the fortitude to study in college.

      I'm serious. This is exactly what I want from Slashdot.

      I recommend you start visiting arXiv then.

    9. Re:A Perfect Slashdot Article by jdgeorge · · Score: 3, Funny

      Or Khan Academy. Out of curiosity, I watched all of Khan's math topics that weren't over my head. Next, I'm on to Addition 2!

    10. Re:A Perfect Slashdot Article by Mitchell314 · · Score: 1

      SDD means something like a matrix with diagonal entries much larger than the other entries. Matrices are used in computing when you have a bunch of variables, a bunch of (linear) functions of those variables, and you want to solve for them. Classic example: in 3d graphics, you have a point in space (three variables: x, y, and z coordinate) and you want to map it to the computer screen (two variables: x, y). There's a bunch of functions you have relating all of those variables, and you can use matrices to consolidate and represent those functions. Then you can solve them using matrix magic to find the right pixel on the screen to draw.

      Slight problem though, matrices can contain a number of elements. For example, the size of a matrix you'd use in 3d graphics is a 4*4, which is 16 elements. And those element themselves require quite a few calculations themselves. To solve a single matrix system, it takes a lot more work when you increase the size by a little bit. And matrices can get big real fast as you add more and more variables.

      --
      I read TFA and all I got was this lousy cookie
    11. Re:A Perfect Slashdot Article by blackcoot · · Score: 1

      let me summarize: the same math that drives google's search (spectral graph theory) has been shown to be really useful in solving a very common class of linear equations if you're willing to roll the dice (randomize algorithm).

    12. Re:A Perfect Slashdot Article by Anonymous Coward · · Score: 0
    13. Re:A Perfect Slashdot Article by Surt · · Score: 1

      Interestingly enough, if you took college level math, this was probably only one semester over your head. And not actually a particularly complicated topic, for example, if you took 3 semesters total of calculus (including high school level calculus), what's being described here is in fact much easier to understand.

      --
      "Who is the Journal of Quantum Physics going to believe?" --Stephen Hawking
    14. Re:A Perfect Slashdot Article by wwfarch · · Score: 1

      So very true. I was a CS and Math major. Math could be frustrating at times because I'd spend all night and about 10 sheets of paper coming up with a proof. Once I condensed it all down it was about half a page. It's all about finding the correct approach.

    15. Re:A Perfect Slashdot Article by ObsessiveMathsFreak · · Score: 5, Informative

      I can tell it's truly News for Nerds because I can barely understand what it's saying and it drops causal references to advanced mathematics--the stuff I only wish I'd had the fortitude to study in college.

      You more than likely did study this in college. This involves linear algebra, specifically the inversion of matrices and/or solving linear system. Ax=b, where A is an mxn matrix, and x and b are nx1 and mx1 vectors respectively. What we'd like to do is solve for x using x=A^-1 b, where A^-1 is an inverse matrix of some kind. But getting the inverse is a notoriously difficult problem.

      In fact, a large reason digital computers were invented at all was so that "large" matrices could be inverted. And by large, I mean 12x12 matrices (keep in mind this was the 1950s). Computer games, mp3 players, spreadsheets and the internet are all quite incidental byproducts of humanities quest to invert ever larger matrices, in less time. Though just about any half way sophisticated piece of software will invert a matrix at some point.

      The reason for this is as follows: When human beings want to solve any difficult problem, they approximate it with a linear model and solve the associated linear system. Hence the ability to solve linear systems quickly and accurately is of fundamental importance. This goes double in the modern world as we increasingly rely on the ability of computers to handle ever larger linear system--that is, to invert ever larger matrices.

      The biggest problem with matrices, say nxn matrices, is that the time taken for solving them by Gauss elimination goes up as 0(n^3). So while your desktop could probably invert a 1000x1000 matrix in a few seconds, it would take a year invert a million x million matrix, and would take around a million years to invert a billion x billion matrix. (Not that it could store either in memory). While Gauss elimination is a pretty poor algorithm efficiency-wise, this issues are unavoidable for general matrices.

      However, most matrices we actually want to invert in practice are "sparse" or "diagonally dominant". The first property means that most of the elements are zero. So in a billion x billion matrix, instead of storing 10^18 numbers, you'd only have to store a few billion. Diagonally dominant means that largest entries are along the diagonal. Both of these mean you can take a lot of--often hueristic--shortcuts in your inversion algorithims to cut down on time.

      These researchers claim O(s*log(s)^2) complexity for such systems. I suspect there are probably a lot of O(s^2*log(s)) system or the like anyway, but even still this is a nice improvement. I doubt it's as big a breakthrough--I suspect this is hyped anyway--but if it is an improvement you can kind of compare this to something like the Fast Fourier Transform speedup. Again, I doubt it's that large of an improvement.

      I'll finish by mentioning that this all falls under the umbrella of Linear Algebra, which is an absolutely essential skill of higher mathematics, and computational mathematics. Any geeks who prides themselves on their mathematical ability, but doesn't know their linear algebra (linear systems, the four fundamental subspaces, eigenvectors/values, rotation/transformation matrices, etc) shouldn't be holding their skills in such high regard. If you don't know your LA, or have forgotten, one of the best places to start is to watch Gilbert Strang's online lecture series provided by MIT. These lectures are indispensable to anyone working with linear systems. After this, those who need in depth analysis of matrix algorithms should turn to something like "Matrix Algorithms" by G. W. Stewart which goes into more detail and shows the more canonical algorithms. A little knowledge of linear algebra goes a long way in mathematics.

      ...Or failing all that, you could just open up MATLAB... or Octave. I recommend the educational route first though.

      --
      May the Maths Be with you!
    16. Re:A Perfect Slashdot Article by ChrisMaple · · Score: 1

      According to E. T. Bell, Gauss was particularly prone to condensing the proof so much that it was hard to understand. His motto was "few, but polished", amazing for so prolific a man.

      --
      Contribute to civilization: ari.aynrand.org/donate
    17. Re:A Perfect Slashdot Article by arth1 · · Score: 1

      It may also have an application in relational databases, where some searches (and joins) are in fact simple matrix equations.
      This algorithm could possibly be implemented on the database server side to improve performance.

    18. Re:A Perfect Slashdot Article by clong83 · · Score: 1

      I think it's just a matter of what you specialize in. To me, this story is really interesting, and the summary is perfectly understandable. But other times, I just scratch my head at stories that other people get excited about. I deal with solving sparse matrix systems every day, but I don't know the first thing about, say, the latest Mandriva release, or flash drivers. Or why I should care. Anyway, I'm off to read the paper now...

    19. Re:A Perfect Slashdot Article by plcurechax · · Score: 1

      I can tell it's truly News for Nerds because I can barely understand what it's saying and it drops causal references to advanced mathematics

      I recommend you start visiting arXiv then.

      Are you suggesting the OP, a self-described interested lay person, learns or even mere follow mathematic research by reading arXiv? If so, WTF!?

      arXiv is a pre-print archive of original research articles, not exactly a welcoming place for a non-mathematician (or non-subject specialist, e.g. physics, and computer science also use it). Even with an undergrad degree in mathematics, I find it a difficult (and/or useless) place to try to follow progress in the field, without the editorial assistants to filter the wheat from the chaff. And I've been reading original (first source) research papers since the mid-1990s in multiple research disciplines.

      You might as well ask him to read Euclid's Elements in its original Greek. Heck, after the translation, it would be more accessible, as it is intended to be a textbook for learning.

      I would rather suggest, try reading some of the mathematics journals that are intended to be more accessible, such as from MAA and AMS societies. Some are aimed at students of two-year and four-year "colleges" (aka polytechs / technical colleges and universities), while others are just interesting yet often accessible, such as Journal of Recreational Mathematics and Mathematics Magazine and online columns such as Kevin Devlin's Devlin's Angle.

      In the more general sense, I would recommend popular math writers such as Ian Stewart, Simon Singh, Paul J. Nahin, the recently deceased Martin Gardner (slashdot), and many more authors that I cannot recall.

      Unfortunately I can't think of any pop-math books or articles on linear algebra, in the vein of "e: The Story of a Number" (Maor), "An Imaginary Tale" (Nahin), "Flatland" (Abbott), "Flatterland" (Stwart), "A Mathematician's Apology" (Hardy), "Fermat's Last Theorm" / "Fermat's Engima" (US) (Singh), "Does God Play Dice?" (Stewart), "Chaos" (Gleick), and many others.

      To wit, mathematics is I believe the only discipline where fourth year undergrad students take third or fourth year courses with "introduction" or "elementary" in their course titles. But I digress. My point is that one "problem" is that given mathematics long history, and that is has fascinated people across cultures throughout history, the subject has accumulated such a vast body of knowledge, so it is difficult to get a firm understanding on every field within mathematics. So feeling overwhelmed with all the facts and fields to learn is normal.

    20. Re:A Perfect Slashdot Article by Anonymous Coward · · Score: 0

      I don't think the submitter understood it either. ... Well, duh! You can hardly solve a problem if you refuse to use the tools which allow you to *state* the problem.

      Most likely a Visual Basic programmer. ;)

    21. Re:A Perfect Slashdot Article by turkeyfish · · Score: 1

      Then you would be better off visiting mathoverflow or stackoverflow. Thats where the real wizards get the job done. Slashdot is directed more to the computer-social scene, which is important in some respects, but not the place to expect answers to technical questions, unless its about the popularity of computer games and such.

    22. Re:A Perfect Slashdot Article by turkeyfish · · Score: 1

      Sadly, weak math skills can keep one wandering for a long time. Conceptualizing the route from starting point to destination is not often easy to establish, when one is not entirely sure what the destination is supposed to look like when you get there.

      To the extent I understand the paper, it is that certain error bounds can be described that given various inequality relations specify that the correct answer can be shown to be within an ever-more confined region of solution space upon iteration given the assumption that the initial matrix is SSD. Not being sufficiently familiar with the behavior of Chebechev polynomials to be sure, but it would seem that the classifiers that define various "inappropriate" edges in various representations graphs must be met must be correct within a sufficient approximation for the classification (sparsification) to lead to a correct result. I have no clear understanding of how this can be known, not having examined the Tang Spielman result. Perhaps others can provide a more informative outline of the major steps and assumptions involved in each.

    23. Re:A Perfect Slashdot Article by turkeyfish · · Score: 1

      Yes, but for mere mortals the intermediate steps are often critical to keep from getting lost on the way, at least given my level of abilities. I for one still admit to having difficulty following proofs of the fundamental theorem of algebra and I've have the advantage of several hundred years of alternate proofs. Although the steps are clear enough, understanding the leaps between them can still be difficult.

    24. Re:A Perfect Slashdot Article by mldi · · Score: 1

      So true. Contrary to popular belief, good mathematicians are the most creative people I know.

      --
      If you aren't suspicious of your government's actions, you aren't doing your job as a responsible citizen.
    25. Re:A Perfect Slashdot Article by turkeyfish · · Score: 1

      Can't agree with you more. I've struggled to better understand linear algebra for quite some time and found Strang's clarity on the subject of tremendous help. The way he takes you from elementary ideas to the important concepts associate with SVD is truly worth paying close attention to. It makes a lot of seemingly disjunct ideas come together in a meaningful way.

      I only wish there were more additional advanced lecture series to follow up on where his two lecture series leave off.

    26. Re:A Perfect Slashdot Article by sirrunsalot · · Score: 1

      That's the same way you find novel solutions to PDE's! You take a general solution, evaluate it along some strange curve, then pretend it's the problem you intended to solve from the start! Find a physical problem it solves, publish, and repeat.

    27. Re:A Perfect Slashdot Article by t2t10 · · Score: 1

      Sorry, but that's not advanced mathematics; what he's talking about is what every CS undergrad should have learned.

    28. Re:A Perfect Slashdot Article by TheLink · · Score: 1

      arXiv is a nerdier version of "Firehose" minus the comments :).

      --
    29. Re:A Perfect Slashdot Article by Short+Circuit · · Score: 1

      I missed articles like these.

    30. Re:A Perfect Slashdot Article by smi.james.th · · Score: 1

      I don't know, I'm only a second-year EE student and I understood what the blurb at the top of the page said... I haven't read the entire article, but I understood where it's going. If said discovery is true then it's a very interesting discovery indeed. As a poster earlier said, the method of solving systems (in this case referring to systems of linear equations - in this case I'm guessing fairly large ones) would in theory allow simulations etc. that would take hours or days to be done in minutes or seconds, on average.

      If you want to understand more about what the article is talking about, a course or book in Linear Algebra would probably do you well. I'm guessing the part about the computational complexity of the method would be understood by most who frequent slashdot.

      --
      One thing I know, and that is that I am ignorant...
    31. Re:A Perfect Slashdot Article by Anonymous Coward · · Score: 0

      Though just about any half way sophisticated piece of software will invert a matrix at some point.

      NO. If the person doing the work has any sophistication, they will never invert the matrix at all.

      They might factor the matrix into other matrices that can be used to carefully solve the linear system. (LU or QR factorizations, for example.) They might use iterative solvers, that never need do more than matrix-vector multiplies with that matrix. But computing the inverse matrix is best left for textbooks where it is convenient to WRITE the problem as x = inv(A)*b, and homework assignments.

  4. Sounds like multigrid by azaris · · Score: 4, Interesting

    Multigrid is theoretically O(s), so I don't immediately see how this is such a huge leap. Of course the actual complexity also depends on the problem and the implementation. Maybe their method.is applicaple to a wider variety of problems.

    Also, the "iterated sparsifying" sounds a lot like algebraic multigrid.

    1. Re:Sounds like multigrid by HighFlyer · · Score: 4, Interesting

      I had the same thought but I guess multigrid is limited to specific matrices while the new algorithm seems to be more generic. Not sure though, my last contact with multigrid lies 14 years ago (when algebraic multigrid was a hot topic in science).

      --

      -- Truth suffers from too much analysis.
    2. Re:Sounds like multigrid by EdZ · · Score: 2, Informative

      Maybe their method.is applicaple to a wider variety of problems.

      From TFA, that's exactly what this is.

    3. Re:Sounds like multigrid by StripedCow · · Score: 1

      Same thoughts here. I cannot understand why this is a huge leap practically speaking.
      However, the new method might be of theoretical interest, since it uses techniques which are totally different from multigrid.
      The fact that it applies only to SDD matrices is a bit disappointing though (multigrid can be applied to a wider range of problems).

      --
      If Pandora's box is destined to be opened, *I* want to be the one to open it.
    4. Re:Sounds like multigrid by TrekkieGod · · Score: 2, Interesting

      Multigrid is theoretically O(s), so I don't immediately see how this is such a huge leap. Of course the actual complexity also depends on the problem and the implementation. Maybe their method.is applicaple to a wider variety of problems.

      Also, the "iterated sparsifying" sounds a lot like algebraic multigrid.

      I think the wider variety of problems is exactly the major advantage. A symmetrically diagonally dominant matrix is not necessarily sparse, but it does come up a lot. I know from experience that nodal-analysis based circuit simulators will end up like that most of the time, since each matrix cell represents a node connection, and when you have a circuit element between node i and j, it's obviously also between j and i (exceptions made when modeling things like transistors, because you need to handle the gate differently). The diagonal values consist of the sum of the entire row plus whatever's connected to ground, so it's always dominant.

      That said, circuit simulators also tend to come up with sparse matrices most of the time, since you rarely have every node being connected to every other node...

      --

      Warning: Opinions known to be heavily biased.

    5. Re:Sounds like multigrid by blackcoot · · Score: 1

      how so?

    6. Re:Sounds like multigrid by DriedClexler · · Score: 4, Funny

      I know an O(s) algorithm for solving linear systems, but it only works on diagonal matrices ...

      --
      Information theory is life. The rest is just the KL divergence.
    7. Re:Sounds like multigrid by Anonymous Coward · · Score: 1, Funny

      I know an O(s) algorithm for solving any matrix, but it won't fit in the margin of this page.

    8. Re:Sounds like multigrid by Anonymous Coward · · Score: 0

      Am I missing something here? I'm not super familiar with what multigrid methods are, but the wikipedia article says they're for numerical approximations to differential equations, with generalized versions existing for solving sparse linear algebraic systems. The article in the story is for solving algebraic linear equations which are symmetric diagonally dominant (which you can probably approximate with sparse matrices, but aren't strictly "sparse" as I've heard the term). The O(n) given for the multigrid method says n is the number of discrete nodes you're using to approximate your differential equation, where n is the number you've chosen to give you a particular level of accuracy, so this O(n) figure seems to only apply for the differential equation solving version of multigrid, in which case, your n is going to vary depending on how accurate you want your solution. So for example, if you want your solution to be no more than 1e-6 off from the true solution at each node, maybe you need to take n=100, while if you want your solution to be within 1e-7 at of the true node, maybe you need to take n=1000, or maybe you need n=1000000000000. It's not specified and will depend on the problem you are solving. So the O(n) gives you the amount of computational effort required for a given n, and the accuracy of the problem can vary wildly.

      The article's method seems to solve the linear system in n*log(n)^2. I didn't look at the article, but I'm assuming this is solving the system exactly to within machine precision - no variation in what "n" will be, depending on what accuracy you want, and no variation depending on what sort of problem you are solving.

  5. Grain of salt by l00sr · · Score: 4, Informative

    Though the result sounds genuinely interesting, I'm not sure the comparison to Gaussian elimination is fair. The summary gives the O(s^3) asymptotic run time of Gaussian elimination for dense matrices, but there are much better alternatives for a sparse matrix, which is what the paper applies to. For example, if your matrix has the sparsity pattern of a planar graph, it has been known for 30 years that you can do Gaussian elimination in O(n^1.5). This result, however, seems to have the potential to be more widely applicable while producing a better asymptotic bound. So, sounds like great work, but not quite as amazing as the hype in the summary.

    1. Re:Grain of salt by Peach+Rings · · Score: 1

      Also the summary seems to have a fundamental misunderstanding of asymptotic analysis :)

    2. Re:Grain of salt by Anonymous Coward · · Score: 0

      Where did you get the notion that the method presented only applies to sparse matrices?

    3. Re:Grain of salt by blackcoot · · Score: 2, Informative

      not really.

      the method applies to the _general_ (i.e. dense) case of diagonally dominant (i.e. |A_i,i| > |A_i,j| for all i,j) symmetric systems that show up all the time (grammian matrices, for example), not just the sparse case.

    4. Re:Grain of salt by Froze · · Score: 1

      Math typo:
      I think you meant for all j != i

      --
      -- The morphemes of your disquisition are ascertainable, but they have eschewed an ambit of transpicuous exposition.
    5. Re:Grain of salt by ObsessiveMathsFreak · · Score: 2, Interesting

      For example, if your matrix has the sparsity pattern of a planar graph, it has been known for 30 years that you can do Gaussian elimination in O(n^1.5).

      This algorithm is supposed to run in O(n log(n)^2) time, which is actually better than O(n^1.5). Not a lot better mind you, but if you make n very large and don't have a lot of overheads, you should see improvements.

      --
      May the Maths Be with you!
    6. Re:Grain of salt by Anonymous Coward · · Score: 0

      Yes, but, 's' is not a size of problem (n, number of variables or vertices), but number of non-zero terms (edges). Becuase for dense graph/matrix, s=n^2, then this methods is really O(n^2 \log^2 n), which is better than Gausiann elimination or Cholesky decomposition (both being O(n^3)). But, this algorithm is a) probabilistic, b) approximate. You need to repeat it many times, to have good confidence, and small error. In what it is better than Gauss-Seidel iteration?

    7. Re:Grain of salt by VicDiesel · · Score: 1

      I'll have to read the paper to see precisely how widely applicable it is, but SDD systems are not quite as interesting as they claim. Nor is solving linear systems with them. Netflix and Google &c do not solve linear systems with their SDD matrices: they need the dominant eigenvector. To find that you run the power method, which is matrix-vector multipication. Much simpler. CFD and such applications they mention do give rise to SDD systems, but only in the case of diffusion, no convection. Also, diagonal dominance comes from using 2nd order methods (finite element or finite difference) only. Higher degrees of approximation gives SPD (symmetric positive definite) systems. Now, if they could crack that problem it would be truly interesting. V.

    8. Re:Grain of salt by unperson · · Score: 1

      My thoughts exactly...

      Symmetric, (Strictly) diagonally dominant matrices are great: Non-singular, real spectrum, diagonalizable...In fact, purely from the fact that the eigenvalues can be bounded away from 0, many iterative methods will have provably fast O(n^2) convergence...beating the classic O(n^3) by an order of magnitude.

      I'm not up to speed in the particular tricks used for the Symmetric, DD regime, but certainly one would only "naively" try solving this using Gaussian elimination, due to the special structure. One thing I thought was interesting was that the authors mention that the "previous" fast algorithm solves in:

      O(n*log(n)^25).

      Well, for n 10^52 (HUUUUUUUUUUUGE!!!) n^2 is less than nlog(n)^25, so there complexity constant becomes really important!!! I can't imagine that the "previous" algorithm was useful (practically speaking!)

      -unperson

    9. Re:Grain of salt by TemporalBeing · · Score: 1

      So using TFA's numbers, which is it? Original run-time would have been: 1m^3 = 1,000,000,000,000,000,000 -> 1,000,000,000,000 million -> 1,000,000 million million -> 1 million million million
      But which is the new run-time? it's vastly different depending on order of operation:
      (1000000*log(1000000))^2 -> (1000000*6)^2 -> 36,000,000,000,000 ->36,000,000M->36 million million
      1000000*(log(1000000)^2) 1000000*(6^2) -> 1000000*36 = 36 million

      --
      Truth is like the sun. You can shut it out for a time, but it ain't goin' away. - Elvis Presley (source: imdb.com)
    10. Re:Grain of salt by Anonymous Coward · · Score: 1, Informative

      If you took even a casual look at the actual paper (ie the first page summary), you would have seen that the paper is primarily concerned with new sparsification techniques.

      In other words, the whole point is that it can quickly and robustly sparsify a general class of SDD systems. The resulting sparse approximation is then easily solved as you note.

    11. Re:Grain of salt by Kim0 · · Score: 1

      It cannot possibly be faster than O(n^2) in the general case, because the size of the matrix is O(n^2), and each element has to be read at least once.

    12. Re:Grain of salt by blackcoot · · Score: 1

      touche.

    13. Re:Grain of salt by blackcoot · · Score: 1

      a couple thoughts:

      1) approximate randomized algorithms are your friend, especially when we talk about things like (RAN|MAP|MLE|M)SAC in model fitting. for some classes of problems, random approximate algorithms are the *only* attack that we have that are feasible in terms of time/space complexity.

      2) your analysis fails to account for the hidden leading constant (otherwise there's no reason to consider quicksort when you have heapsort) and what happens when N gets to be large enough. the fact is that for big enough N or big enough S, the lower order algorithms will start to become dramatically faster, even if repeated applications are necessary to cross-validate results.

      3) unless you're using arbitrary precision math, all of these algorithms are approximate anyway and great care must be taken to understand how these systems can be (pre)conditioned to minimize the compounded effects of fixed precision arightmetic.

  6. WTF, Over? by toygeek · · Score: 4, Funny

    Who knew that when I got up to check my daily's (Incl /.) that I'd end up with scrambled brains for breakfast.

    1. Re:WTF, Over? by gstoddart · · Score: 1

      Who knew that when I got up to check my daily's (Incl /.) that I'd end up with scrambled brains for breakfast.

      Mmmmm ..... brains!!!

      --
      Lost at C:>. Found at C.
    2. Re:WTF, Over? by WalkingBear · · Score: 1

      Who knew that when I checked *my* daily's, including /., that I'd see one of the very rare articles that stretches my brain a bit.

      Math.. it's what's for breakfast.

  7. Take a "peak"? by jcwren · · Score: 5, Funny

    Take a Mt. McKinley at the paper? Or a K2?

    Spell checkers are not a replacement for actually reading what you've written.

    1. Re:Take a "peak"? by MightyYar · · Score: 1

      Maybe it was a pun?

      --
      W..w..W - Willy Waterloo washes Warren Wiggins who is washing Waldo Woo.
    2. Re:Take a "peak"? by Arrepiadd · · Score: 1

      Or maybe spell checkers are not a replacement for the editor's work, as not all submitters in Slashdot have English as their first language and peek/peak aren't that hard to confuse (as then/than, farther/further, ...).

    3. Re:Take a "peak"? by Anonymous Coward · · Score: 0

      Maybe the op meant "leak"? Or "leek"?

    4. Re:Take a "peak"? by gwgwgw · · Score: 1

      How about others watching hard work's relevance evaporate before new algorithms. Might not they show pique?

      I guess the author is too young to have used PEEK and POKE or he'd never made that error.

      --
      That was Zen, this is Tao
  8. 2,000 year-old problem for developers by digitaldc · · Score: 3, Funny

    "Solving these linear systems can be time consuming on even the fastest computers and is an enduring computational problem that mathematicians have sweated for 2,000 years."

    I know what you mean. I remember Pythagoras, Euclid and Aristotle writing about sweating over their laptops while trying to smooth-out their proofs and algorthims.

    --
    He who knows best knows how little he knows. - Thomas Jefferson
    1. Re:2,000 year-old problem for developers by Anonymous Coward · · Score: 1, Funny

      Archimedes too.. he used to move the sand grains of his finite state machine with a stick to perform such calculations :)

  9. This is exactly what I want from Slashdot, too by G3ckoG33k · · Score: 2, Insightful

    I mean the article "In Florida, a Cell Phone Network With No Need For a Spectrum License"...

    What is that?! Not news for nerds... Possibly news for techies.

  10. Why use a direct solver? by ponraul · · Score: 3, Informative

    Comparing the solver's complexity to Gaussian-Elimination isn't useful. No one in their right mind uses direct solvers on large linear systems.

    Anyway, if the system is symmetric and dominant diagonal, SOR is the standard choice in iterative solvers.

    1. Re:Why use a direct solver? by Anonymous Coward · · Score: 0

      Well, if your system is symmetric, sparse and dominant diagonal, you have a couple of choices in the domain of iterative solvers.

      But it is well known that you require:
        * a well conditioned system
        * or a pre-conditioning algorithm

      These iterative solvers do not work equally well on all systems...

      For just sparse but not diagonal-symmetric system here is still the option to use sparse variants of the Gaussian which only solve
      sub-matrices the tedious way. These exist for more than 30 years and are still widely used.

      Therefore the abstract is a big hype.

    2. Re:Why use a direct solver? by VicDiesel · · Score: 1

      Let me give you a system from high order finite elements and see your iterative method crash and burn. And SOR has not been the standard choice for the last 30 years. Some version of Conjugate Gradient methods (such as GMRES or BiCGstab) is what almost everyone uses.

    3. Re:Why use a direct solver? by emt377 · · Score: 1

      Comparing the solver's complexity to Gaussian-Elimination isn't useful. No one in their right mind uses direct solvers on large linear systems.

      It's useful because every other solver is compared to the same standard.

  11. Must be sparse by Anonymous Coward · · Score: 0

    Only works for sparse matrices.
    Yawn...

    1. Re:Must be sparse by interval1066 · · Score: 1

      Right, sparse or loosely-coupled systems; that means these concepts can model data that is made up mostly of zeros. If anyone gives a crap the application that comes to mind is bitmap compression & maybe some steganography applications. Of course if you lived your whole life and never heard of this stuff you could quite probably have lived a full and enriching life anyway.

      --
      Python: 'And then suddenly you have a language which says "we're all stuck with whatever the whiniest coder wants".'
    2. Re:Must be sparse by gnasher719 · · Score: 1

      Right, sparse or loosely-coupled systems; that means these concepts can model data that is made up mostly of zeros.

      It has to be sparse, because O (s * (ln (s))^2) doesn't even allow you to look at each of the s^2 elements of the matrix when s is large enough.
      There must be some dependency on _how_ sparse the matrix is, or something like "O (s * (ln (s))^2) if the number of elements off the diagonal is at most O (s * ln (s))".

    3. Re:Must be sparse by goodmanj · · Score: 1

      Sparse symmetric systems are actually *very* common in the physical world. The numerical solution to any elliptic partial differential equation will generally boil down to the solution of a sparse symmetric matrix equation -- that includes the static Maxwell's equations for electricity and magnetism, pressure equations for fluid flow, and many others.

    4. Re:Must be sparse by Anonymous Coward · · Score: 0

      This method is not just for sparse systems. s is the number of matrix non-zeros.

    5. Re:Must be sparse by frank_adrian314159 · · Score: 1

      If anyone gives a crap the application that comes to mind is bitmap compression & maybe some steganography applications.

      And FEA and electronic circuit simulation and molecular simulations (with and without solvation) and a whole lot o'analog crap that gets simulated every day. Very sparse matrix algebra. Although I still wonder how well the numerics hold up under stiffness, ill-conditioning, etc.

      --
      That is all.
    6. Re:Must be sparse by Anonymous Coward · · Score: 0

      Well, I read O(s log(s)^2), and said. WTF? It is impossible, any solving algorithm will need at least O(s^2), to at least read all matrix elements... But then read that s is not equal n. (in fact for dense matrix it would be s=n^2)

  12. Not worthy of the front page. by mcg1969 · · Score: 4, Informative

    I agree with a previous poster who said it is unfair to compare this algorithm to Gaussian Elimination. Frankly, it seems to me that the poster has taken enough numerical analysis to know that GE is O(n^3), but is not familiar with the much wider body of research into efficient methods for solving structured linear systems.

    Symmetric diagonally dominant linear systems are among the best conditioned systems you could possibly construct, which means that it is a rare case that you would ever use GE. Instead, you would use an iterative method, such as conjugate gradients or a stationary method like the Chebyshev method discussed in the paper. While it does seem that they are proposing a novel way to construct an efficient iterative method, the truth is that once you've entered the realm of iterative methods it's not likely there is going to be a single approach that works best in every instance. Even the paper's author agree that this is a "conceptually simple and possibly practical iterative solver." They rightly recognize that what works well on paper may not always prove useful in practice. So I think we should take the authors' own advice and wait for further research into this approach.

    1. Re:Not worthy of the front page. by Rockoon · · Score: 1

      You are correct. There are quite a few algorithm fields where papers use 'standardized' problems to compare their results to other methods, but those problems contain only extremely simplified and extremely degenerate cases, rather than practical use cases.

      In the case of things like Genetic Algorithms, the simplified problem is often the "One Max" problem and the hard problem is the degenerate "Trap" problem (where the next-best solutions are all maximally far away in state space.)

      In the theoretical the research which tackles these standardized problems are interesting, but in applied usage the user doesnt really care at all about those standardized cases because they don't even remotely resemble the problem they are solving.

      So while reading the article, all I can think is "its great for 'denoising, image blending and segmentation'" but continue to wonder what practical use this will have that I could leverage for solving problems that I might encounter. Will I one day be combing over their paper in order to implement it, or will I be skipping over their paper because someone else actually generalized it? (ie, like I skipped over Compact Genetic Algorithms w/Tournament Selection and went straight to Extended Compact Genetic Algorithms)

      --
      "His name was James Damore."
    2. Re:Not worthy of the front page. by Anonymous Coward · · Score: 0

      The iterative CG-type method LSQR (http://www.stanford.edu/group/SOL/software/lsqr.html) is our workhorse for most systems. The main reason for this is that matrix A may be square or rectangular (over-determined or under-determined), and may have any rank. For square systems the method is not so effective, unless you can find a good preconditioner.

    3. Re:Not worthy of the front page. by sirrunsalot · · Score: 1

      Even the paper's author agree that this is a "conceptually simple and possibly practical iterative solver." They rightly recognize that what works well on paper may not always prove useful in practice. So I think we should take the authors' own advice and wait for further research into this approach.

      Agreed. Reminds me of what a professor said after talking for a while about optimal matrix-matrix multiplication. The current leader is O(n^2.376), but the constant in front is so large that it's not advantageous for anything our computers can handle. "But you can get quite a few papers out of it!"

    4. Re:Not worthy of the front page. by mcg1969 · · Score: 1

      Yes, that's a great algorithm, I use it too sometimes. Michael Saunders was one of my dissertation readers. Wickedly smart man, and more importantly, his software *works*.

  13. Fuckin' linear SDD systems... by Anonymous Coward · · Score: 0

    ...how do they work?

  14. Gilbert Strang is awesome. by nten · · Score: 2, Interesting

    If I had had Gilbert Strang as an instructor for linear algebra instead of who I did have, maybe I would understand what the article is talking about. Having watched those videos I repeatedly said to myself "oh thats what we were doing!" Are covariance matrices SDDs? If so could this be used to speed up principle component analysis?

    --
    refactor the law, its bloated, confusing and unmaintainable.
    1. Re:Gilbert Strang is awesome. by Anonymous Coward · · Score: 0
      Well that really depends on your definition of

      the theoretical limits of optimality

      . My definition for that is "wtf, huh?".

    2. Re:Gilbert Strang is awesome. by Daniel+Dvorkin · · Score: 1

      Are covariance matrices SDDs?

      I think SDD is sufficient for positive definiteness, and therefore for a matrix to be a valid covariance matrix, but not necessary. Anyone got an answer on this?

      --
      The correlation between ignorance of statistics and using "correlation is not causation" as an argument is close to 1.
    3. Re:Gilbert Strang is awesome. by TerranFury · · Score: 1

      Really close.

      Diagonally dominant ==> positive semidefinite

      Strictly diagonally dominant ==> positive definite

      For understanding these things, I really like Gershgorin's circles.

      In terms of random variables... It's possible for a covariance matrix to be only positive semidefinite. E.g., consider a zero-mean random variable x, with E(x^2)=1, and another one y = cx, with c a constant. Then the covariance matrix is [[1 c][c c^2]], which is not full rank (the second column is just 'c' times the first). More generally, this happens because the random variables are not linearly independent.

      Hope that helps!

    4. Re:Gilbert Strang is awesome. by Daniel+Dvorkin · · Score: 1

      Okay, thanks, that makes sense. (The covariance matrix of strictly linearly dependent r.v.s is kind of a degenerate case, though.) My main question is about implication in the other direction; I believe that DD ==> PSD and SDD ==> PD, but I'm guessing that the inverse is not true, i.e. PSD =/=> DD and PD =/=> SDD.

      --
      The correlation between ignorance of statistics and using "correlation is not causation" as an argument is close to 1.
    5. Re:Gilbert Strang is awesome. by TerranFury · · Score: 1

      Yeah, the converse is not true in general.
      E.g.,

          [  4    -2     5  ]
      M = [ -2     5    -5  ]
          [  5    -5     9  ]

      It's PD but EVERY row violates the diagonal dominance property.

      Basically, PD matrices are Grammians -- there exist vectors such that the elements of the matrix are the inner products of those vectors -- and, if you pick a bunch of vectors that are linearly-independent-but-not-too-much-so, then the inner products between them (the off-diagonal elements) can overwhelm their squared norms (the diagonal elements).

      For the above example, one such factorization is

      M = C'*C

      with

          [  2   -1    2.5        ]
      C = [  0    2   -1.25       ]
          [  0    0    sqrt(19)/4 ] .

      Here, all the columns of C are within 35 degrees of a line along the vector (0.8588, -0.4937, 0.1368); you see that they're close enough to being linearly dependent to allow large inner products, but not so much that the matrix loses rank.

      So, picking a bunch of random vectors that lie in a somewhat tight cone and computing their Grammian is a constructive way to produce PD, non-diagonally-dominant matrices, with high probability.

  15. SSD by allanw · · Score: 1

    Who else read the title and was excited thinking there was an astonishing speed-up in SSD systems?

    1. Re:SSD by blackfrancis75 · · Score: 1

      There will be for me - at least, that is, if OSX 10.7 Lion supports TRIM. ;)

    2. Re:SSD by RivenAleem · · Score: 1

      Wait, it isn't? It said something about computer run times. Run time isn't a new name for fetch cycle?

    3. Re:SSD by sirrunsalot · · Score: 1

      Computer nerds are only a subset of the nerds for whom Slashdot exists.

  16. Good news for the ~ mathmeticians by Anonymous Coward · · Score: 0

    ... in the world who make a career out of discovering and trying to use this stuff.

    On a lighter note:
    The basic concepts behind linear algebra are quite simple and I don't understand why it is not taught sooner than to junior/senior level math/physics majors.
    Having studied both the theory and application (albeit only in undergrad courses) of linear algebra in college, I have to wonder why these concepts are not taught to grade school students in place of normal algebra. In my observations as a student and tutor it seems that most prominent source of anxiety for math students is dealing with the concept that the letter x or y or whateverhaveyou represents a number. Having done guass-jordan elimination until my knuckles bled (unfortunately, quite literally. gotta love college), I can imagine a grade-school aged child having far less trouble applying simple arithmetic row operations than most seem to have with basic algebra. Then again, I'm not a PhD educational psychologist, my mother is.

    1. Re:Good news for the ~ mathmeticians by Anonymous Coward · · Score: 0

      It is - we study it in highschool over here in Europe.

  17. Does this mean anything for crypto? by jonwil · · Score: 1

    Is this particular kind of funky advanced math used for anything in crypto or information security and does this new speedup help crack that?

    1. Re:Does this mean anything for crypto? by godrik · · Score: 1

      There are probably no implication for cryptography. Solving linear system is a well known and polynomial problem. We can do it faster now for some well structured matrices. But We already had quite fast algorihtm for doing it. Cryptography usually does not rely on solving linear systems, they are way too easy to solve.

  18. eldavojohn by Any+Web+Loco · · Score: 1

    props to eldavojohn too - most of the stuff he posts is interesting, and the summaries are usually good too.

  19. Smart grid applications by PPH · · Score: 1

    This could be interesting for predictive control of the power grid based on a real time model. Current (no pun intended) technology can't do a real time simulation, or must make some crippling simplification assumptions, or is based on some proprietary algorithms (which may be junk, but we can't validate them). Problems arising from variability of wind energy sources or effects of faults on system stability could be handled much more easily.

    Also, maybe someone can incorporate this into SPICE so I can run simulations of circuits of more than moderate complexity without dying of old age waiting for them to complete.

    --
    Have gnu, will travel.
  20. Applications by goodmanj · · Score: 2, Insightful

    Just to give people an idea of how useful this is, here are a couple examples of real-world problems that this may help with:

    Aerodynamics simulations
    Weather and ocean models
    Electric and magnetic field models
    Earthquake and geophysics models

    It may also be useful for modeling wave processes (light, sound, etc) depending on how they're handled. As a general rule, any time you use a computer to solve problems involving electricity and magnetism or the pressures and stresses on solid or fluid materials, you're going to be encountering linear symmetric diagonally-dominant matrices.

    In many applications, approximate solutions are faster and more useful than the exact solution described here, but it's still a big deal.

  21. I know who needs this by Anonymous Coward · · Score: 0

    Please send this to the IPCC....oh wait, this would probably makes things MORE accurate....

  22. covariance matrices are generally not SSD by S3D · · Score: 1

    SSD - symmetric diagonally dominant, mean the diagonal element is more the sum of abs all the rest in the row. That is a very strong condition, which happen in very specific applications. Never met them in the computer vision and image processing for example.

    1. Re:covariance matrices are generally not SSD by clong83 · · Score: 1

      Perhaps not, but I bet the condition number of any said matrix is also very high. Although perhaps rare in your case, they would still be one of the toughest nuts to crack when they do show up. So this is still good news. If their method works as advertised.

    2. Re:covariance matrices are generally not SSD by Daniel+Dvorkin · · Score: 1

      Never met them in the computer vision and image processing for example.

      On the other hand, I meet them all the time in statistical programming, which makes me think that as image processing algorithms get more probabilistically based, speedups like the one discussed here may be very useful to people working in your field. I know they will be in mine, and I'm looking forward to seeing practical implementations.

      --
      The correlation between ignorance of statistics and using "correlation is not causation" as an argument is close to 1.
    3. Re:covariance matrices are generally not SSD by turkeyfish · · Score: 1

      Sadly, too true. In my experience given the kind of covariance matrices that result from measures taken on fish, condition numbers of such matrices almost enter into a world of intractability, but not quite, so the choice of methods becomes quite important. The difficult is learning enough of the underlying mathematics to understand precisely how to choose among various potential methods and in being able to generate enough data to make it possible to obtain sufficiently stable covariance matrices to begin with given the reality of the consequences of potentially high condition numbers for matrices of interest.

    4. Re:covariance matrices are generally not SSD by TerranFury · · Score: 1

      To give some examples of places where this does matter... Anything that "feels" like heat flow or diffusion.

      • The computer graphics problem of radiosity rendering (where light makes multiple bounces.)
      • Solving for voltages in a resistor network with various sources in it.
      • Computing the pressure induced in an incompressible fluid by a force field (a key step in fluid simulation).

      In all of the above examples, you're inverting a matrix known, depending on the field, as either the graph Laplacian, or the admittance matrix. Basically any time you have a PDE where the Laplacian operator shows up, the discretization will be diagonally dominant.

      In image processing, this can even appear; e.g., various diffusion processes are often used to blur an image.

    5. Re:covariance matrices are generally not SSD by emt377 · · Score: 1

      SSD - symmetric diagonally dominant, mean the diagonal element is more the sum of abs all the rest in the row. That is a very strong condition, which happen in very specific applications. Never met them in the computer vision and image processing for example.

      I'm not familiar with using linear systems for simulations, but I would guess that any system that models inertia would end up SDD. Meaning a bias towards the existing state rather than any other cell's/particle's state. This is very different from imaging or audio, where the convolution for e.g. diffraction rings or echo cancellation isn't SDD.

    6. Re:covariance matrices are generally not SSD by TerranFury · · Score: 1

      If the condition number is very high, all this means is that the matrix is semi-definite, which tells you that some of your random variables are actually linear combinations of others. A conjugate gradient solver should be able to compute the minimum-norm solution for you easily. Or do PCA; this'll directly tell you what the independent variables are (all the components corresponding to nonzero eigenvalues), and you can just use those coordinates and work with a smaller, full-rank matrix.

    7. Re:covariance matrices are generally not SSD by Anonymous Coward · · Score: 0

      You got it all wrong. When a matrix is (strictly) diagonally dominant, according to Hadamard's theorem, it is invertible, and the plain Gauss-Seidel iterative method (easily) solves any associated linear system, and (this is related) its condition number is low. It is, in fact, the easiest kind of linear system to solve, especially if the matrix is sparse. And yes, in most fields of engineering, it is a very rare occurrence.

  23. The Classic Napoleon Dynamite Problem Solved! by Baldrson · · Score: 1
    The world has long been awaiting the algorithm that can predict whether a Netflix viewer will love or hate Napoleon Dynamite.

    Of course, if it can do that....

  24. Help? by CAIMLAS · · Score: 1

    I don't suppose one of you hardware/math geeks could explain to the hordes of lowly IT/storage/server guys what this actually means to us, pragmatically?

    I can't even tell at which 'level' this speed-up would occur. Software support/implementation for SSDs? SSD controllers? What are the practical implications?

    --
    ~/ssh slashdot.org ssh: connect to host slashdot.org port 22: too many beers
    1. Re:Help? by chefmonkey · · Score: 1

      SDD != SSD.

      "SDD" stands for "symmetric diagonally dominant."

  25. Discrete Math &/or Linear Algebra cover it all by Anonymous Coward · · Score: 0

    "I can tell it's truly News for Nerds because I can barely understand what it's saying and it drops causal references to advanced mathematics--the stuff I only wish I'd had the fortitude to study in college. I'm serious. This is exactly what I want from Slashdot." - by GrifterCC (673360) on Friday October 22, @10:12AM (#33984898)

    Per my subject-line above: Linear Algebra (matrix math really, with all of its 1:1 mappings & "wave of the hand left to bottom" (iirc) processing order (You have to SEE this last one to get what I mean here as to how you match/map & proceed thru matrices for multiplication for instance)) &/or Discrete Math (Graph Theory is covered here, & it's only a PART of this course (hardest course I felt I ever took in collegiate academia in fact, bar-none)) both cover a LARGE chunk of what's involved above!

    (Additionally? Well, you don't have to be a "math major" to have taken them in collegiate academia either - they're both typically "std. fare" for Comp. Sci. majors generally also!)

    APK

  26. A billion times faster by Anonymous Coward · · Score: 0

    Can someone please explain how s*[log(s)]^2 is a billion times faster than s^3 if s = 1 000 000?

    1. Re:A billion times faster by chefmonkey · · Score: 1

      Uh. Math?

      1000000 ^ 3 = 1000000000000000000
      1000000 * (log(1000000))^2 = 169000000
      1000000000000000000 / 169000000 = 5917159763

      So it's more like 5.9 billion -- but "billion" is the right order of magnitude.

    2. Re:A billion times faster by chefmonkey · · Score: 1

      Although I should qualify that -- we're talking big-O analysis, not small-o. Big-O only gets you complexity, not run-time. So you can't necessarily make direct comparisons like this. (The easy way to think about this is: you can design a system that performs an analysis in O(n) time, but if the run time of that system is actually 1 year per element, then it can be beat by a reasonably fast O(n^2) algorithm for almost every practical value of n.)

  27. Really cool by frank_adrian314159 · · Score: 2, Informative

    The nice thing about this is that things like electrical circuit simulations, FEA matrices, etc. tend to be SDD. This may speed things up a bit.

    --
    That is all.
  28. Better by turkeyfish · · Score: 1

    Better in the sense that the results that can be produced for a given sized grid can be obtained more quickly. Hence, it is possible to dramatically increase the density of sampled points (finer mesh grid) that would yield more localize accuracy and hence potentially more accurate results. Generally speaking the more better data can be included, the more likely the result will make an accurate prediction given the boundary conditions of the model.

    1. Re:Better by sirrunsalot · · Score: 1

      If the AC was modded troll for that, it's probably only because he said it so strongly. Lyapunov exponents describe divergence of dynamical systems and mean that it takes a dramatic increase in mesh density, solution quality, boundary conditions, etc. to extend the valid range of predictions even slightly. I don't know the current state of the art relative to fundamental physical limits, but I'd be surprised if you or me ever see significant improvements in next weeks forecast.

    2. Re:Better by lars_stefan_axelsson · · Score: 1

      That's not how I took the parent. Rather that local predictions in the same time frame as now could be made better. I.e. I'll know if it will rain on *me* or not, given that there is a front moving into the area.

      --
      Stefan Axelsson
  29. If I had only known by Anonymous Coward · · Score: 0

    If I had known this was going to end up a first post and modded to 5, I would have created an account rather than AC'ed it.

  30. Seti@home Speedup? by gentat · · Score: 1

    Will this help seti@home increase the speed with which its clients can process the collected radio signals? I thought I recalled that it used gaussian something or another.

    1. Re:Seti@home Speedup? by JoshuaZ · · Score: 1

      SETI @ Home looks for certain types of Gaussian distributions in single strength. This has nothing to do with Gaussian elimination. Gauss was one of the most prolific and brightest mathematicians ever. There are a lot of things named after him that don't have to do with each other at all.

  31. I think I have the fortitude by turkeyfish · · Score: 1

    the real question is whether I have the intelligence to sufficiently understand it. I've been trying to better my understanding of linear algebra for a number of years new, but it doesn't come easily. It is at least comforting that I can begin to read research papers such as this and understand some of it.

    Those who have more substantial knowledge and who make an effort to build ladders to help scale the wall of understanding, like Gilbert Strang, Arnold, Shilov, Gantmacher, and others, are really due serious appreciation.

  32. Re:covariance matrices are generally not hardware by Xtifr · · Score: 1

    SSD - symmetric diagonally dominant

    No, SSD is Solid State Drive, which is certainly a more common term to see on Slashdot than SDD. I had to read the summary a couple of times before I realized it was talking about mathematical arrays rather than persistent memory arrays. Then it made a lot more sense! :)

  33. Simplex by c00rdb · · Score: 0

    Can this be seen as an alternative to the simplex method? Solving problems where Ax=b, x>=0, etc....? This is what I'm taking a grad class in now, so its of some interest...

    1. Re:Simplex by TerranFury · · Score: 2, Informative

      No, this is just Ax=b, without inequality constraints.

    2. Re:Simplex by c00rdb · · Score: 0

      Well the problem is easily transformed in that case then.

    3. Re:Simplex by TerranFury · · Score: 1

      What do you mean? There are no positivity constraints on 'x' either, no inequalities anywhere.

  34. nice paper, bad summary by Anonymous Coward · · Score: 0

    This is a good paper. Good algorithm. But way too much hype in the summary.

  35. peak? by Anonymous Coward · · Score: 0

    take a "peek" at the paper, perhaps?

  36. Question about Knuth... by proto · · Score: 1

    Could Donald Knuth explain this category of math? Or is this research (solving SDD linear systems) too current and beyond his reach?
    I'm not trying to be "Funny", just curious.